diff --git a/assets/index-109230a1.js.gz b/assets/index-109230a1.js.gz deleted file mode 100644 index d534362..0000000 Binary files a/assets/index-109230a1.js.gz and /dev/null differ diff --git a/assets/index-109230a1.js b/assets/index-5798925a.js similarity index 81% rename from assets/index-109230a1.js rename to assets/index-5798925a.js index 54b79f4..c598238 100644 --- a/assets/index-109230a1.js +++ b/assets/index-5798925a.js @@ -1,13 +1,13 @@ -var RN=Object.defineProperty;var wN=(r,e,t)=>e in r?RN(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var T=(r,e,t)=>(wN(r,typeof e!="symbol"?e+"":e,t),t),dd=(r,e,t)=>{if(!e.has(r))throw TypeError("Cannot "+t)};var K=(r,e,t)=>(dd(r,e,"read from private field"),t?t.call(r):e.get(r)),ct=(r,e,t)=>{if(e.has(r))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(r):e.set(r,t)},Je=(r,e,t,n)=>(dd(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t);var ec=(r,e,t,n)=>({set _(a){Je(r,e,a,t)},get _(){return K(r,e,n)}}),We=(r,e,t)=>(dd(r,e,"access private method"),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function t(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=t(a);fetch(a.href,i)}})();let Qn=[],AN=(r,e)=>{let t,n=[],a={lc:0,l:e||0,value:r,set(i){a.value=i,a.notify()},get(){return a.lc||a.listen(()=>{})(),a.value},notify(i){t=n;let o=!Qn.length;for(let s=0;s{n===t&&(n=n.slice());let s=n.indexOf(i);~s&&(n.splice(s,2),a.lc--,a.lc||a.off())}},subscribe(i,o){let s=a.listen(i,o);return i(a.value),s},off(){}};return a},IN=(r={})=>{let e=AN(r);return e.setKey=function(t,n){typeof n>"u"?t in e.value&&(e.value={...e.value},delete e.value[t],e.notify(t)):e.value[t]!==n&&(e.value={...e.value,[t]:n},e.notify(t))},e};if(typeof DelayNode<"u"){class r extends DelayNode{constructor(t,n,a,i){super(t),n=Math.abs(n),this.delayTime.value=a;const o=t.createGain();o.gain.value=Math.min(Math.abs(i),.995),this.feedback=o.gain;const s=t.createGain();return s.gain.value=n,this.delayGain=s,this.connect(o),this.connect(s),o.connect(this),this.connect=l=>s.connect(l),this}start(t){this.delayGain.gain.setValueAtTime(this.delayGain.gain.value,t+this.delayTime.value)}}AudioContext.prototype.createFeedbackDelay=function(e,t,n){return new r(this,e,t,n)}}var s0={};s0.generateReverb=function(r,e){for(var t=r.audioContext||new AudioContext,n=t.sampleRate,a=r.numChannels||2,i=r.decayTime*1.5,o=Math.round(r.decayTime*n),s=Math.round(i*n),l=Math.round((r.fadeInTime||0)*n),c=Math.pow(1/1e3,1/o),u=t.createBuffer(a,s,n),h=0;h{i.duration=o,i.fade=s,i.lp=l,i.dim=c,i.ir=u,u?i.buffer=this.adjustLength(o,u):s0.generateReverb({audioContext:this,numChannels:2,decayTime:o,fadeInTime:s,lpFreqStart:l,lpFreqEnd:c},h=>{i.buffer=h})},i.generate(r,e,t,n,a),i});var H_={a:{freqs:[660,1120,2750,3e3,3350],gains:[1,.5012,.0708,.0631,.0126],qs:[80,90,120,130,140]},e:{freqs:[440,1800,2700,3e3,3300],gains:[1,.1995,.1259,.1,.1],qs:[70,80,100,120,120]},i:{freqs:[270,1850,2900,3350,3590],gains:[1,.0631,.0631,.0158,.0158],qs:[40,90,100,120,120]},o:{freqs:[430,820,2700,3e3,3300],gains:[1,.3162,.0501,.0794,.01995],qs:[40,80,100,120,120]},u:{freqs:[370,630,2750,3e3,3400],gains:[1,.1,.0708,.0316,.01995],qs:[40,60,100,120,120]}};if(typeof GainNode<"u"){class r extends GainNode{constructor(t,n){if(super(t),!H_[n])throw new Error("vowel: unknown vowel "+n);const{gains:a,qs:i,freqs:o}=H_[n],s=t.createGain();for(let l=0;l<5;l++){const c=t.createGain();c.gain.value=a[l];const u=t.createBiquadFilter();u.type="bandpass",u.Q.value=i[l],u.frequency.value=o[l],this.connect(u),u.connect(c),c.connect(s)}return s.gain.value=8,this.connect=l=>s.connect(l),this}}AudioContext.prototype.createVowelFilter=function(e){return new r(this,e)}}let xN=r=>console.log(r);const ji=(...r)=>xN(...r),MN=r=>{var a;if(typeof r!="string")return[];const[e,t="",n]=((a=r.match(/^([a-gA-G])([#bsf]*)([0-9]*)$/))==null?void 0:a.slice(1))||[];return e?[e,t,n?Number(n):void 0]:[]},LN={c:0,d:2,e:4,f:5,g:7,a:9,b:11},PN={"#":1,b:-1,s:1,f:-1},Nu=(r,e=3)=>{const[t,n,a=e]=MN(r);if(!t)throw new Error('not a note: "'+r+'"');const i=LN[t.toLowerCase()],o=(n==null?void 0:n.split("").reduce((s,l)=>s+PN[l],0))||0;return(Number(a)+1)*12+i+o},AE=r=>Math.pow(2,(r-69)/12)*440,Qc=(r,e,t)=>Math.min(Math.max(r,e),t),BN=r=>12*Math.log(r/440)/Math.LN2+69,YN=(r,e)=>{if(typeof r!="object")throw new Error("valueToMidi: expected object value");let{freq:t,note:n}=r;if(typeof t=="number")return BN(t);if(typeof n=="string")return Nu(n);if(typeof n=="number")return n;if(!e)throw new Error("valueToMidi: expected freq or note to be set");return e};function IE(r,e){return isNaN(Number(r))?(ji(`"${r}" is not a number, falling back to ${e}`,"warning"),e):r}const FN="data:application/javascript;base64,Ly8gTElDRU5TRSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2My4wIHNlZSBodHRwczovL2dpdGh1Yi5jb20vZGt0cjAvV2ViRGlydC9ibG9iL21haW4vTElDRU5TRQovLyBhbGwgdGhlIGNyZWRpdCBnb2VzIHRvIGRrdHIwJ3Mgd2ViZGlydDogaHR0cHM6Ly9naXRodWIuY29tL2RrdHIwL1dlYkRpcnQvYmxvYi81Y2UzZDY5ODM2MmM1NGQ2ZTFiNjhhY2M0N2ViMjk1NWFjNjJjNzkzL2Rpc3QvQXVkaW9Xb3JrbGV0cy5qcwovLyA8MwoKY2xhc3MgQ29hcnNlUHJvY2Vzc29yIGV4dGVuZHMgQXVkaW9Xb3JrbGV0UHJvY2Vzc29yIHsKICBzdGF0aWMgZ2V0IHBhcmFtZXRlckRlc2NyaXB0b3JzKCkgewogICAgcmV0dXJuIFt7IG5hbWU6ICdjb2Fyc2UnLCBkZWZhdWx0VmFsdWU6IDEgfV07CiAgfQoKICBjb25zdHJ1Y3RvcigpIHsKICAgIHN1cGVyKCk7CiAgICB0aGlzLm5vdFN0YXJ0ZWQgPSB0cnVlOwogIH0KCiAgcHJvY2VzcyhpbnB1dHMsIG91dHB1dHMsIHBhcmFtZXRlcnMpIHsKICAgIGNvbnN0IGlucHV0ID0gaW5wdXRzWzBdOwogICAgY29uc3Qgb3V0cHV0ID0gb3V0cHV0c1swXTsKICAgIGNvbnN0IGNvYXJzZSA9IHBhcmFtZXRlcnMuY29hcnNlOwogICAgY29uc3QgYmxvY2tTaXplID0gMTI4OwogICAgY29uc3QgaGFzSW5wdXQgPSAhKGlucHV0WzBdID09PSB1bmRlZmluZWQpOwogICAgaWYgKGhhc0lucHV0KSB7CiAgICAgIHRoaXMubm90U3RhcnRlZCA9IGZhbHNlOwogICAgICBvdXRwdXRbMF1bMF0gPSBpbnB1dFswXVswXTsKICAgICAgZm9yIChsZXQgbiA9IDE7IG4gPCBibG9ja1NpemU7IG4rKykgewogICAgICAgIGZvciAobGV0IG8gPSAwOyBvIDwgb3V0cHV0Lmxlbmd0aDsgbysrKSB7CiAgICAgICAgICBvdXRwdXRbb11bbl0gPSBuICUgY29hcnNlID09IDAgPyBpbnB1dFswXVtuXSA6IG91dHB1dFtvXVtuIC0gMV07CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgICByZXR1cm4gdGhpcy5ub3RTdGFydGVkIHx8IGhhc0lucHV0OwogIH0KfQoKcmVnaXN0ZXJQcm9jZXNzb3IoJ2NvYXJzZS1wcm9jZXNzb3InLCBDb2Fyc2VQcm9jZXNzb3IpOwoKY2xhc3MgQ3J1c2hQcm9jZXNzb3IgZXh0ZW5kcyBBdWRpb1dvcmtsZXRQcm9jZXNzb3IgewogIHN0YXRpYyBnZXQgcGFyYW1ldGVyRGVzY3JpcHRvcnMoKSB7CiAgICByZXR1cm4gW3sgbmFtZTogJ2NydXNoJywgZGVmYXVsdFZhbHVlOiAwIH1dOwogIH0KCiAgY29uc3RydWN0b3IoKSB7CiAgICBzdXBlcigpOwogICAgdGhpcy5ub3RTdGFydGVkID0gdHJ1ZTsKICB9CgogIHByb2Nlc3MoaW5wdXRzLCBvdXRwdXRzLCBwYXJhbWV0ZXJzKSB7CiAgICBjb25zdCBpbnB1dCA9IGlucHV0c1swXTsKICAgIGNvbnN0IG91dHB1dCA9IG91dHB1dHNbMF07CiAgICBjb25zdCBjcnVzaCA9IHBhcmFtZXRlcnMuY3J1c2g7CiAgICBjb25zdCBibG9ja1NpemUgPSAxMjg7CiAgICBjb25zdCBoYXNJbnB1dCA9ICEoaW5wdXRbMF0gPT09IHVuZGVmaW5lZCk7CiAgICBpZiAoaGFzSW5wdXQpIHsKICAgICAgdGhpcy5ub3RTdGFydGVkID0gZmFsc2U7CiAgICAgIGlmIChjcnVzaC5sZW5ndGggPT09IDEpIHsKICAgICAgICBjb25zdCB4ID0gTWF0aC5wb3coMiwgY3J1c2hbMF0gLSAxKTsKICAgICAgICBmb3IgKGxldCBuID0gMDsgbiA8IGJsb2NrU2l6ZTsgbisrKSB7CiAgICAgICAgICBjb25zdCB2YWx1ZSA9IE1hdGgucm91bmQoaW5wdXRbMF1bbl0gKiB4KSAvIHg7CiAgICAgICAgICBmb3IgKGxldCBvID0gMDsgbyA8IG91dHB1dC5sZW5ndGg7IG8rKykgewogICAgICAgICAgICBvdXRwdXRbb11bbl0gPSB2YWx1ZTsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0gZWxzZSB7CiAgICAgICAgZm9yIChsZXQgbiA9IDA7IG4gPCBibG9ja1NpemU7IG4rKykgewogICAgICAgICAgbGV0IHggPSBNYXRoLnBvdygyLCBjcnVzaFtuXSAtIDEpOwogICAgICAgICAgY29uc3QgdmFsdWUgPSBNYXRoLnJvdW5kKGlucHV0WzBdW25dICogeCkgLyB4OwogICAgICAgICAgZm9yIChsZXQgbyA9IDA7IG8gPCBvdXRwdXQubGVuZ3RoOyBvKyspIHsKICAgICAgICAgICAgb3V0cHV0W29dW25dID0gdmFsdWU7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgICByZXR1cm4gdGhpcy5ub3RTdGFydGVkIHx8IGhhc0lucHV0OwogIH0KfQpyZWdpc3RlclByb2Nlc3NvcignY3J1c2gtcHJvY2Vzc29yJywgQ3J1c2hQcm9jZXNzb3IpOwoKY2xhc3MgU2hhcGVQcm9jZXNzb3IgZXh0ZW5kcyBBdWRpb1dvcmtsZXRQcm9jZXNzb3IgewogIHN0YXRpYyBnZXQgcGFyYW1ldGVyRGVzY3JpcHRvcnMoKSB7CiAgICByZXR1cm4gW3sgbmFtZTogJ3NoYXBlJywgZGVmYXVsdFZhbHVlOiAwIH1dOwogIH0KCiAgY29uc3RydWN0b3IoKSB7CiAgICBzdXBlcigpOwogICAgdGhpcy5ub3RTdGFydGVkID0gdHJ1ZTsKICB9CgogIHByb2Nlc3MoaW5wdXRzLCBvdXRwdXRzLCBwYXJhbWV0ZXJzKSB7CiAgICBjb25zdCBpbnB1dCA9IGlucHV0c1swXTsKICAgIGNvbnN0IG91dHB1dCA9IG91dHB1dHNbMF07CiAgICBjb25zdCBzaGFwZTAgPSBwYXJhbWV0ZXJzLnNoYXBlWzBdOwogICAgY29uc3Qgc2hhcGUxID0gc2hhcGUwIDwgMSA/IHNoYXBlMCA6IDEuMCAtIDRlLTEwOwogICAgY29uc3Qgc2hhcGUgPSAoMi4wICogc2hhcGUxKSAvICgxLjAgLSBzaGFwZTEpOwogICAgY29uc3QgYmxvY2tTaXplID0gMTI4OwogICAgY29uc3QgaGFzSW5wdXQgPSAhKGlucHV0WzBdID09PSB1bmRlZmluZWQpOwogICAgaWYgKGhhc0lucHV0KSB7CiAgICAgIHRoaXMubm90U3RhcnRlZCA9IGZhbHNlOwogICAgICBmb3IgKGxldCBuID0gMDsgbiA8IGJsb2NrU2l6ZTsgbisrKSB7CiAgICAgICAgY29uc3QgdmFsdWUgPSAoKDEgKyBzaGFwZSkgKiBpbnB1dFswXVtuXSkgLyAoMSArIHNoYXBlICogTWF0aC5hYnMoaW5wdXRbMF1bbl0pKTsKICAgICAgICBmb3IgKGxldCBvID0gMDsgbyA8IG91dHB1dC5sZW5ndGg7IG8rKykgewogICAgICAgICAgb3V0cHV0W29dW25dID0gdmFsdWU7CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgICByZXR1cm4gdGhpcy5ub3RTdGFydGVkIHx8IGhhc0lucHV0OwogIH0KfQoKcmVnaXN0ZXJQcm9jZXNzb3IoJ3NoYXBlLXByb2Nlc3NvcicsIFNoYXBlUHJvY2Vzc29yKTsK";function l0(r){const e=Mt().createGain();return e.gain.value=r,e}const c0=(r,e,t,n,a,i)=>{const o=Mt().createGain();let s=i;o.gain.setValueAtTime(0,i),s+=r,o.gain.linearRampToValueAtTime(a,s),s+=e;let l=t*a;return o.gain.linearRampToValueAtTime(l,s),{node:o,stop:c=>(s=Math.max(c,s),o.gain.setValueAtTime(l,s),s+=n,o.gain.linearRampToValueAtTime(0,s),s)}},UN=(r,e,t,n,a,i)=>{t=Math.max(.001,t),a=Math.max(.001,a);const o=Mt().createGain();return o.gain.setValueAtTime(1e-4,i),o.gain.exponentialRampToValueAtTime(a,i+r),o.gain.exponentialRampToValueAtTime(t*a,i+r+e),{node:o,stop:s=>{o.gain.exponentialRampToValueAtTime(1e-4,s+n)}}},$N=(r,e,t,n,a,i,o,s,l)=>{const c=o-i,u=i+c,h=i+n*c;r.setValueAtTime(i,s),r.linearRampToValueAtTime(u,s+e),r.linearRampToValueAtTime(h,s+e+t),r.setValueAtTime(h,l),r.linearRampToValueAtTime(i,l+Math.max(a,.1))};function GN(r,e,t,n,a,i){const o={threshold:e??-3,ratio:t??10,knee:n??10,attack:a??.005,release:i??.05};return new DynamicsCompressorNode(r,o)}function hd(r,e,t,n,a,i,o,s,l,c,u,h=.5){const p=r.createBiquadFilter();if(p.type=e,p.Q.value=n,p.frequency.value=t,!isNaN(l)&&l!==0){const _=l*h,b=Qc(2**-_*t,0,2e4),A=Qc(2**(l-_)*t,0,2e4);return $N(p.frequency,a,i,o,s,b,A,c,u),p}return p}let V_=r=>r<.5?1:1-(r-.5)/.5;function qN(r,e,t=0){const n=Mt();if(!t)return r;let a=n.createGain(),i=n.createGain();r.connect(a),e.connect(i),a.gain.value=V_(t),i.gain.value=V_(1-t);let o=n.createGain();return a.connect(o),i.connect(o),o}const fd={};function QN(r,e){var t=e?1e3:1024;if(r=t);return r.toFixed(1)+" "+n[a]}const HN=async(r,e,t,n,a,i,o)=>{let s=0;a!==void 0&&t!==void 0&&ji("[sampler] hap has note and freq. ignoring note","warning");let l=YN({freq:a,note:t},36);s=l-36;const c=Mt();let u;if(Array.isArray(i))e=IE(e,0),u=i[e%i.length];else{const b=I=>Nu(I)-l,A=Object.keys(i).filter(I=>!I.startsWith("_")).reduce((I,M,U)=>!I||Math.abs(b(M)){const a=t?`sound "${t}:${n}"`:"sample";if(r=r.replace("#","%23"),!fd[r]){ji(`[sampler] load ${a}..`,"load-sample",{url:r});const i=Date.now();fd[r]=fetch(r).then(o=>o.arrayBuffer()).then(async o=>{const s=Date.now()-i,l=QN(o.byteLength);return ji(`[sampler] load ${a}... done! loaded ${l} in ${s}ms`,"loaded-sample",{url:r}),await e.decodeAudioData(o)})}return fd[r]};function VN(r){const e=Mt(),t=e.createBuffer(r.numberOfChannels,r.length,e.sampleRate);for(let n=0;nObject.entries(r).forEach(([n,a])=>{if(typeof a=="string"&&(a=[a]),typeof a!="object")throw new Error("wrong sample map format for "+n);t=a._base||t;const i=o=>(t+o).replace("github:","https://raw.githubusercontent.com/");Array.isArray(a)?a=a.map(i):a=Object.fromEntries(Object.entries(a).map(([o,s])=>[o,(typeof s=="string"?[s]:s).map(i)])),e(n,a)});let WN={};function XN(r){const e=Object.entries(WN).find(([t])=>r.startsWith(t));if(e)return e[1]}const da=async(r,e=r._base||"",t={})=>{if(typeof r=="string"){const i=XN(r);if(i)return i(r);if(r.startsWith("bubo:")){const[s,l]=r.split(":");r=`github:Bubobubobubobubo/dough-${l}`}if(r.startsWith("github:")){let[s,l]=r.split("github:");l=l.endsWith("/")?l.slice(0,-1):l,l.split("/").length===2&&(l+="/main"),r=`https://raw.githubusercontent.com/${l}/strudel.json`}if(r.startsWith("shabda:")){let[s,l]=r.split("shabda:");r=`https://shabda.ndre.gr/${l}.json?strudel=1`}if(r.startsWith("shabda/speech")){let[s,l]=r.split("shabda/speech");l=l.startsWith("/")?l.substring(1):l;let[c,u]=l.split(":"),h="f",p="en-GB";c&&([p,h]=c.split("/")),r=`https://shabda.ndre.gr/speech/${u}.json?gender=${h}&language=${p}&strudel=1'`}if(typeof fetch!="function")return;const o=r.split("/").slice(0,-1).join("/");return typeof fetch>"u"?void 0:fetch(r).then(s=>s.json()).then(s=>da(s,e||s._base||o,t)).catch(s=>{throw console.error(s),new Error(`error loading "${r}"`)})}const{prebake:n,tag:a}=t;zN(r,(i,o)=>xu(i,(s,l,c)=>NE(s,l,c,o),{type:"sample",samples:o,baseUrl:e,prebake:n,tag:a}),e)},z_=[];async function NE(r,e,t,n,a){let{s:i,freq:o,unit:s,nudge:l=0,cut:c,loop:u,clip:h=void 0,n:p=0,note:_,speed:b=1,loopBegin:A=0,begin:I=0,loopEnd:M=1,end:U=1,vib:V,vibmod:m=.5}=e;if(b===0)return;u=i.startsWith("wt_")?1:e.loop;const O=Mt(),{attack:S=.001,decay:k=.001,sustain:L=1,release:F=.001}=e,Y=r+l,q=await HN(i,p,_,b,o,n,a);let te;if(V>0){te=Mt().createOscillator(),te.frequency.value=V;const H=Mt().createGain();H.gain.value=m*100,te.connect(H),H.connect(q.detune),te.start(0)}if(O.currentTime>r){ji(`[sampler] still loading sound "${i}:${p}"`,"highlight");return}if(!q){ji(`[sampler] could not load "${i}:${p}"`,"error");return}q.playbackRate.value=Math.abs(b)*q.playbackRate.value,s==="c"&&(q.playbackRate.value=q.playbackRate.value*q.buffer.duration*1);const se=I*q.buffer.duration;u&&(q.loop=!0,q.loopStart=A*q.buffer.duration-se,q.loopEnd=M*q.buffer.duration-se),q.start(Y,se);const{node:ie,stop:ae}=c0(S,k,L,F,1,r);q.connect(ie);const D=O.createGain();ie.connect(D),q.onended=function(){q.disconnect(),te==null||te.stop(),ie.disconnect(),D.disconnect(),t()};const P={node:D,bufferSource:q,stop:(H,z=h===void 0&&u===void 0)=>{let ne=H;if(z){const _e=q.buffer.duration/q.playbackRate.value;ne=r+(U-I)*_e}const oe=ae(ne);q.stop(oe)}};if(c!==void 0){const H=z_[c];H&&(H.node.gain.setValueAtTime(1,Y),H.node.gain.linearRampToValueAtTime(0,Y+.01)),z_[c]=P}return P}const Du=IN();function xu(r,e,t={}){Du.setKey(r,{onTrigger:e,data:t})}function md(r){return Du.get()[r]}let As;const Mt=()=>{if(!As){As=new AudioContext;const r=As.destination.maxChannelCount;As.destination.channelCount=r}return As};let pd;function KN(){return pd||(pd=Mt().audioWorklet.addModule(FN),pd)}function gd(r,e,t){const n=new AudioWorkletNode(r,e);return Object.entries(t).forEach(([a,i])=>{n.parameters.get(a).value=i}),n}async function ZN(r={}){const{disableWorklets:e=!1}=r;typeof window<"u"&&(await Mt().resume(),e?console.log("disableWorklets: AudioWorklet effects coarse, crush and shape are skipped!"):await KN().catch(t=>{console.warn("could not load AudioWorklet effects coarse, crush and shape",t)}))}async function jN(r){return new Promise(e=>{document.addEventListener("click",async function t(){await ZN(r),e(),document.removeEventListener("click",t)})})}let xi={},tc,_d;const u0=(r,e=[0,1])=>{const t=Mt();tc==null&&(tc=new ChannelMergerNode(t,{numberOfInputs:t.destination.channelCount}),_d=new GainNode(t),tc.connect(_d),_d.connect(t.destination));const n=new StereoPannerNode(t);r.connect(n);const a=new ChannelSplitterNode(t,{numberOfOutputs:n.channelCount});n.connect(a),e.forEach((i,o)=>{a.connect(tc,o%n.channelCount,Qc(i,0,t.destination.channelCount-1))})};function JN(r,e,t,n){var a;if(t=Qc(t,0,.98),!xi[r]){const i=Mt().createFeedbackDelay(1,e,t);(a=i.start)==null||a.call(i,n),u0(i,[0,1]),xi[r]=i}return xi[r].delayTime.value!==e&&xi[r].delayTime.setValueAtTime(e,n),xi[r].feedback.value!==t&&xi[r].feedback.setValueAtTime(t,n),xi[r]}const ni={};function eD(r,e,t=1,n=.5,a=1e3,i=2e3){const o=Mt(),s=o.createGain();s.gain.value=i,ni[r]==null&&(ni[r]=o.createOscillator(),ni[r].frequency.value=t,ni[r].type="sine",ni[r].start()),ni[r].connect(s),ni[r].frequency.value!=t&&ni[r].frequency.setValueAtTime(t,e);const l=2;let c=0;const u=[];for(let h=0;h0&&u[h-1].connect(p),u.push(p)}return u[u.length-1]}let Na={},nc=(r,e)=>r!==void 0&&r!==e;function tD(r,e,t,n,a,i){if(!Na[r]){const o=Mt().createReverb(e,t,n,a,i);u0(o,[0,1]),Na[r]=o}return(nc(e,Na[r].duration)||nc(t,Na[r].fade)||nc(n,Na[r].lp)||nc(a,Na[r].dim)||Na[r].ir!==i)&&Na[r].generate(e,t,n,a,i),Na[r]}let Mi;function qp(r=2048){if(!Mi){const e=Mt().createAnalyser();e.fftSize=r,Mi=e,new Float32Array(Mi.frequencyBinCount)}return Mi.fftSize!==r&&(Mi.fftSize=r,new Float32Array(Mi.frequencyBinCount)),Mi}function bd(r,e,t){const n=l0(t);return r.connect(n),n.connect(e),n}const nD=async(r,e,t)=>{const n=Mt();if(typeof r!="object")throw new Error(`expected hap.value to be an object, but got "${r}". Hint: append .note() or .s() to the end`,"error");r.duration=t;let a=n.currentTime+e,{s:i="triangle",bank:o,source:s,gain:l=.8,postgain:c=1,density:u=.03,ftype:h="12db",fanchor:p=.5,cutoff:_,lpenv:b,lpattack:A=.01,lpdecay:I=.01,lpsustain:M=1,lprelease:U=.01,resonance:V=1,hpenv:m,hcutoff:O,hpattack:S=.01,hpdecay:k=.01,hpsustain:L=1,hprelease:F=.01,hresonance:Y=1,bpenv:q,bandf:te,bpattack:se=.01,bpdecay:ie=.01,bpsustain:ae=1,bprelease:D=.01,bandq:P=1,channels:H=[1,2],phaser:z,phaserdepth:ne=.75,phasersweep:oe,phasercenter:_e,coarse:ye,crush:we,shape:Ee,pan:Ce,vowel:he,delay:xe=0,delayfeedback:je=.5,delaytime:Ve=.25,orbit:nt=1,room:et,roomfade:yt,roomlp:Lt,roomdim:St,roomsize:Dt,ir:Pt,i:Rn=0,velocity:ze=1,analyze:En,fft:ht=8,compressor:Ke,compressorRatio:wn,compressorKnee:tn,compressorAttack:Ut,compressorRelease:j}=r;l=IE(l,1),H=(Array.isArray(H)?H:[H]).map(rt=>rt-1),l*=ze;let be=[];const De=()=>{be.forEach(rt=>rt==null?void 0:rt.disconnect())};o&&i&&(i=`${o}_${i}`);let Ne;if(s)Ne=s(a,r,t);else if(md(i)){const{onTrigger:rt}=md(i),it=await rt(a,r,De);it&&(Ne=it.node,it.stop(a+t))}else throw new Error(`sound ${i} not found! Is it loaded?`);if(!Ne)return;if(n.currentTime>a){ji("[webaudio] skip hap: still loading",n.currentTime-a);return}const Me=[];if(Me.push(Ne),Me.push(l0(l)),_!==void 0){let rt=()=>hd(n,"lowpass",_,V,A,I,M,U,b,a,a+t,p);Me.push(rt()),h==="24db"&&Me.push(rt())}if(O!==void 0){let rt=()=>hd(n,"highpass",O,Y,S,k,L,F,m,a,a+t,p);Me.push(rt()),h==="24db"&&Me.push(rt())}if(te!==void 0){let rt=()=>hd(n,"bandpass",te,P,se,ie,ae,D,q,a,a+t,p);Me.push(rt()),h==="24db"&&Me.push(rt())}if(he!==void 0){const rt=n.createVowelFilter(he);Me.push(rt)}if(ye!==void 0&&Me.push(gd(n,"coarse-processor",{coarse:ye})),we!==void 0&&Me.push(gd(n,"crush-processor",{crush:we})),Ee!==void 0&&Me.push(gd(n,"shape-processor",{shape:Ee})),Ke!==void 0&&Me.push(GN(n,Ke,wn,tn,Ut,j)),Ce!==void 0){const rt=n.createStereoPanner();rt.pan.value=2*Ce-1,Me.push(rt)}if(z!==void 0&&ne>0){const rt=eD(nt,a,z,ne,_e,oe);Me.push(rt)}const Re=new GainNode(n,{gain:c});Me.push(Re),u0(Re,H);let $t;if(xe>0&&Ve>0&&je>0){const rt=JN(nt,Ve,je,a);$t=bd(Re,rt,xe)}let ut;if(et>0){let rt;if(Pt!==void 0){let Vt,_t=md(Pt);Array.isArray(_t)?Vt=_t.data.samples[Rn%_t.data.samples.length]:typeof _t=="object"&&(Vt=Object.values(_t.data.samples).flat()[Rn%Object.values(_t.data.samples).length]),rt=await kE(Vt,n,Pt,0)}const it=tD(nt,Dt,yt,Lt,St,rt);ut=bd(Re,it,et)}let Tt;if(En){const rt=qp(2**(ht+5));Tt=bd(Re,rt,En)}Me.slice(1).reduce((rt,it)=>rt.connect(it),Me[0]),be=Me.concat([$t,ut,Tt])};let Sd={};function rD(r,e){const t=Mt();if(Sd[r])return Sd[r];const n=2*t.sampleRate,a=t.createBuffer(1,n,t.sampleRate),i=a.getChannelData(0);let o=0,s,l,c,u,h,p,_;s=l=c=u=h=p=_=0;for(let b=0;bn.stop(a)}}function aD(r,e,t){const n=DE("pink",t);return{node:qN(r,n.node,e),stop:a=>n==null?void 0:n.stop(a)}}const iD=(r,e=1,t="sine")=>{const n=Mt(),a=n.createOscillator();a.type=t,a.frequency.value=r,a.start();const i=new GainNode(n,{gain:e});return a.connect(i),{node:i,stop:o=>a.stop(o)}},oD=(r,e,t,n="sine")=>{const a=r.frequency.value*e,i=a*t;return iD(a,i,n)},W_=["sine","square","triangle","sawtooth"],sD=["pink","white","brown","crackle"];function lD(){[...W_,...sD].forEach(r=>{xu(r,(e,t,n)=>{let{attack:a=.001,decay:i=.05,sustain:o=.6,release:s=.01}=t,l;if(W_.includes(r))l=uD(r,e,t);else{let{density:A}=t;l=DE(r,e,A)}let{node:c,stop:u,triggerRelease:h}=l;const p=l0(.3),{node:_,stop:b}=c0(a,i,o,s,1,e);return c.onended=()=>{c.disconnect(),p.disconnect(),n()},{node:c.connect(p).connect(_),stop:A=>{const I=b(A);h==null||h(A),u(I)}}},{type:"synth",prebake:!0})})}function cD(r,e){const t=new Float32Array(r+1),n=new Float32Array(r+1),a=Mt(),i=a.createOscillator(),o={sawtooth:c=>[0,-1/c],square:c=>[0,c%2===0?0:1/c],triangle:c=>[c%2===0?0:1/(c*c),0]};if(!o[e])throw new Error(`unknown wave type ${e}`);t[0]=0,n[0]=0;let s=1;for(;s<=r;){const[c,u]=o[e](s);t[s]=c,n[s]=u,s++}const l=a.createPeriodicWave(t,n);return i.setPeriodicWave(l),i}function uD(r,e,{n:t,note:n,freq:a,vib:i=0,vibmod:o=.5,noise:s=0,fmh:l=1,fmi:c,fmenv:u="lin",fmattack:h,fmdecay:p,fmsustain:_,fmrelease:b,fmvelocity:A,fmwave:I="sine"}){Mt();let M;!t||r==="sine"?(M=Mt().createOscillator(),M.type=r||"triangle"):M=cD(t,r),n=n||36,typeof n=="string"&&(n=Nu(n)),!a&&typeof n=="number"&&(a=AE(n)),M.frequency.value=Number(a),M.start(e);let U,V;if(c){const{node:S,stop:k}=oD(M,l,c,I);[h,p,_,b,A].find(L=>L!==void 0)?(h=h??.001,p=p??.001,_=_??1,b=b??.001,A=A??1,V=c0(h,p,_,b,A,e),u==="exp"&&(V=UN(h,p,_,b,A,e),V.node.maxValue=c*2,V.node.minValue=1e-5),S.connect(V.node),V.node.connect(M.frequency)):S.connect(M.frequency),U=k}let m;if(i>0){m=Mt().createOscillator(),m.frequency.value=i;const S=Mt().createGain();S.gain.value=o*100,m.connect(S),S.connect(M.detune),m.start(e)}let O;return s&&(O=aD(M,s,e)),{node:(O==null?void 0:O.node)||M,stop:S=>{m==null||m.stop(S),O==null||O.stop(S),U==null||U(S),M.stop(S)},triggerRelease:S=>{V==null||V.stop(S)}}}function dD(r=1,e=.05,t=220,n=0,a=0,i=.1,o=0,s=1,l=0,c=0,u=0,h=0,p=0,_=0,b=0,A=0,I=0,M=1,U=0,V=0){let m=Math.PI*2,O=Mt().sampleRate,S=z=>z>0?1:-1,k=l*=500*m/O/O,L=t*=(1+e*2*Math.random()-e)*m/O,F=[],Y=0,q=0,te=0,se=1,ie=0,ae=0,D=0,P,H;for(n=n*O+9,U*=O,a*=O,i*=O,I*=O,c*=500*m/O**3,b*=m/O,u*=m/O,h*=O,p=p*O|0,H=n+U+a+i+I|0;te1?o>2?o>3?Math.sin((Y%m)**3):Math.max(Math.min(Math.tan(Y),1),-1):1-(2*Y/m%2+2)%2:1-4*Math.abs(Math.round(Y/m)-Y/m):Math.sin(Y),D=(p?1-V+V*Math.sin(m*te/p):1)*S(D)*Math.abs(D)**s*r*1*(tete?0:(teh&&(t+=u,L+=u,se=0),p&&!(++ie%p)&&(t=L,l=k,se||(se=1));return F}const hD=(r,e)=>{let{s:t,note:n=36,freq:a,zrand:i=0,attack:o=0,decay:s=0,sustain:l=.8,release:c=.1,curve:u=1,slide:h=0,deltaSlide:p=0,pitchJump:_=0,pitchJumpTime:b=0,lfo:A=0,znoise:I=0,zmod:M=0,zcrush:U=0,zdelay:V=0,tremolo:m=0,duration:O=.2,zzfx:S}=r;const k=Math.max(O-o-s,0);typeof n=="string"&&(n=Nu(n)),!a&&typeof n=="number"&&(a=AE(n)),t=t.replace("z_","");const L=["sine","triangle","sawtooth","tan","noise"].indexOf(t)||0;u=t==="square"?0:u;const F=dD(...S||[.25,i,a,o,k,c,L,u,h,p,_,b,A,I,M,U,V,l,s,m]),Y=Mt(),q=Y.createBuffer(1,F.length,Y.sampleRate);q.getChannelData(0).set(F);const te=Mt().createBufferSource();return te.buffer=q,te.start(e),{node:te}};function fD(){["zzfx","z_sine","z_sawtooth","z_triangle","z_square","z_tan","z_noise"].forEach(r=>{xu(r,(e,t,n)=>{const{node:a}=hD({s:r,...t},e);return a.onended=()=>{a.disconnect(),n()},{node:a,stop:()=>{}}},{type:"synth",prebake:!0})})}let Od;const mD=()=>{};typeof window<"u"&&window.addEventListener("message",r=>{var e;r.data==="strudel-stop"?mD():(e=r.data)!=null&&e.dough&&(Od==null||Od.node.port.postMessage(r.data))});let vd=null,X_=0;const pD=(r,e)=>{let t=e.osc,n=qp(t.fftSize),a=new Float32Array(n.frequencyBinCount),i=new Uint8Array(n.frequencyBinCount);const o=r.getContext("2d");let s=0,l=1e3/30;function c(h,p,_,b){const I=performance.now();if(I-(X_||0)<1e3/30)return;X_=I,n.fftSize=e.osc.fftSize*4,n.getByteFrequencyData(i),o.clearRect(0,0,h,p);const U=1,V=Math.floor(i.length*U),m=Math.min(V,e.osc.orientation==="horizontal"?h:p),O=e.osc.orientation==="horizontal"?h/m:p/m;let S,k=0,L=0;o.fillStyle=e.osc.color||"rgb(255, 255, 255)";for(let F=0;F=0&&a[V-1]<0?m="negToPos":a[V]<0&&a[V-1]>=0&&(m="posToNeg"),m&&(vd===null||m===vd)){U=V,vd=m;break}}if(e.osc.mode==="freqscope")c(h,p,b,_);else if(e.osc.mode==="3D")for(let V=U;V{const o=r.interface.feedback.getContext("2d");o&&(o.beginPath(),o.arc(e,t,n,0,Math.PI*2),o.fillStyle=a,o.fill(),o.closePath())},_D=(r,e,t)=>{if(t!==void 0&&t<1&&t>9)return;const n=r.clock.bpm/60/r.clock.time_signature[1]*200,a=r.interface.feedback.getContext("2d"),i=s=>{gD(r,50+s,r.interface.feedback.clientHeight-15,8,"#fdba74")},o=s=>{const l=50+s,c=r.interface.feedback.clientHeight-15,u=8;a.clearRect(l-u,c-u,u*2,u*2)};if(e==="local"&&t!==void 0){const s=t*25;r.blinkTimeouts[s]&&clearTimeout(r.blinkTimeouts[s]),i(s),r.blinkTimeouts[s]=setTimeout(()=>{o(s),r.interface.feedback.getContext("2d").clearRect(0,0,r.interface.feedback.width,r.interface.feedback.height)},n)}},bD=()=>{const r=()=>{requestAnimationFrame(r)};requestAnimationFrame(r)},xE=1024;let SD=0,Ir=class{constructor(e,t){this.from=e,this.to=t}};class at{constructor(e={}){this.id=SD++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=On.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}at.closedBy=new at({deserialize:r=>r.split(" ")});at.openedBy=new at({deserialize:r=>r.split(" ")});at.group=new at({deserialize:r=>r.split(" ")});at.contextHash=new at({perNode:!0});at.lookAhead=new at({perNode:!0});at.mounted=new at({perNode:!0});class OD{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const vD=Object.create(null);class On{constructor(e,t,n,a=0){this.name=e,this.props=t,this.id=n,this.flags=a}static define(e){let t=e.props&&e.props.length?Object.create(null):vD,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),a=new On(e.name||"",t,e.id,n);if(e.props){for(let i of e.props)if(Array.isArray(i)||(i=i(a)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[i[0].id]=i[1]}}return a}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(at.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let a of n.split(" "))t[a]=e[n];return n=>{for(let a=n.prop(at.group),i=-1;i<(a?a.length:0);i++){let o=t[i<0?n.name:a[i]];if(o)return o}}}}On.none=new On("",Object.create(null),0,8);class Ul{constructor(e){this.types=e;for(let t=0;t0;for(let l=this.cursor(o|Qt.IncludeAnonymous);;){let c=!1;if(l.from<=i&&l.to>=a&&(!s&&l.type.isAnonymous||t(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(s||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:f0(On.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,a)=>new It(this.type,t,n,a,this.propValues),e.makeTree||((t,n,a)=>new It(On.none,t,n,a)))}static build(e){return yD(e)}}It.empty=new It(On.none,[],[],0);class d0{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new d0(this.buffer,this.index)}}class oo{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return On.none}toString(){let e=[];for(let t=0;t0));l=o[l+3]);return s}slice(e,t,n){let a=this.buffer,i=new Uint16Array(t-e),o=0;for(let s=e,l=0;s=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function LE(r,e){let t=r.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(r=t,t=n.prevSibling):t=n}return r}function Ho(r,e,t,n){for(var a;r.from==r.to||(t<1?r.from>=e:r.from>e)||(t>-1?r.to<=e:r.to0?s.length:-1;e!=c;e+=t){let u=s[e],h=l[e]+o.from;if(ME(a,n,h,h+u.length)){if(u instanceof oo){if(i&Qt.ExcludeBuffers)continue;let p=u.findChild(0,u.buffer.length,t,n-h,a);if(p>-1)return new _a(new ED(o,u,e,h),null,p)}else if(i&Qt.IncludeAnonymous||!u.type.isAnonymous||h0(u)){let p;if(!(i&Qt.IgnoreMounts)&&u.props&&(p=u.prop(at.mounted))&&!p.overlay)return new Dr(p.tree,h,e,o);let _=new Dr(u,h,e,o);return i&Qt.IncludeAnonymous||!_.type.isAnonymous?_:_.nextChild(t<0?u.children.length-1:0,t,n,a)}}}if(i&Qt.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+t:e=t<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let a;if(!(n&Qt.IgnoreOverlays)&&(a=this._tree.prop(at.mounted))&&a.overlay){let i=e-this.from;for(let{from:o,to:s}of a.overlay)if((t>0?o<=i:o=i:s>i))return new Dr(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new ul(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Ho(this,e,t,!1)}resolveInner(e,t=0){return Ho(this,e,t,!0)}enterUnfinishedNodesBefore(e){return LE(this,e)}getChild(e,t=null,n=null){let a=Hc(this,e,t,n);return a.length?a[0]:null}getChildren(e,t=null,n=null){return Hc(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Vc(this,e)}}function Hc(r,e,t,n){let a=r.cursor(),i=[];if(!a.firstChild())return i;if(t!=null){for(;!a.type.is(t);)if(!a.nextSibling())return i}for(;;){if(n!=null&&a.type.is(n))return i;if(a.type.is(e)&&i.push(a.node),!a.nextSibling())return n==null?i:[]}}function Vc(r,e,t=e.length-1){for(let n=r.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class ED{constructor(e,t,n,a){this.parent=e,this.buffer=t,this.index=n,this.start=a}}class _a{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new _a(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&Qt.ExcludeBuffers)return null;let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new _a(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new _a(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new _a(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new ul(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,a=this.index+4,i=n.buffer[this.index+3];if(i>a){let o=n.buffer[this.index+1];e.push(n.slice(a,i,o)),t.push(0)}return new It(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Ho(this,e,t,!1)}resolveInner(e,t=0){return Ho(this,e,t,!0)}enterUnfinishedNodesBefore(e){return LE(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let a=Hc(this,e,t,n);return a.length?a[0]:null}getChildren(e,t=null,n=null){return Hc(this,e,t,n)}get node(){return this}matchContext(e){return Vc(this,e)}}class ul{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Dr)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:a}=this.buffer;return this.type=t||a.set.types[a.buffer[e]],this.from=n+a.buffer[e+1],this.to=n+a.buffer[e+2],!0}yield(e){return e?e instanceof Dr?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:a}=this.buffer,i=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.buffer.start,n);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&Qt.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Qt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Qt.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let a=n<0?0:this.stack[n]+4;if(this.index!=a)return this.yieldBuf(t.findChild(a,this.index,-1,0,4))}else{let a=t.buffer[this.index+3];if(a<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(a)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:a}=this;if(a){if(e>0){if(this.index-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let s=n._tree.children[i];if(this.mode&Qt.IncludeAnonymous||s instanceof oo||!s.type.isAnonymous||h0(s))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==a){if(a==this.index)return o;t=o,n=i+1;break e}a=this.stack[--i]}for(let a=n;a=0;i--){if(i<0)return Vc(this.node,e,a);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[a]&&e[a]!=o.name)return!1;a--}}return!0}}function h0(r){return r.children.some(e=>e instanceof oo||!e.type.isAnonymous||h0(e))}function yD(r){var e;let{buffer:t,nodeSet:n,maxBufferLength:a=xE,reused:i=[],minRepeatType:o=n.types.length}=r,s=Array.isArray(t)?new d0(t,t.length):t,l=n.types,c=0,u=0;function h(m,O,S,k,L){let{id:F,start:Y,end:q,size:te}=s,se=u;for(;te<0;)if(s.next(),te==-1){let H=i[F];S.push(H),k.push(Y-m);return}else if(te==-3){c=F;return}else if(te==-4){u=F;return}else throw new RangeError(`Unrecognized record size: ${te}`);let ie=l[F],ae,D,P=Y-m;if(q-Y<=a&&(D=A(s.pos-O,L))){let H=new Uint16Array(D.size-D.skip),z=s.pos-D.size,ne=H.length;for(;s.pos>z;)ne=I(D.start,H,ne);ae=new oo(H,q-D.start,n),P=D.start-m}else{let H=s.pos-te;s.next();let z=[],ne=[],oe=F>=o?F:-1,_e=0,ye=q;for(;s.pos>H;)oe>=0&&s.id==oe&&s.size>=0?(s.end<=ye-a&&(_(z,ne,Y,_e,s.end,ye,oe,se),_e=z.length,ye=s.end),s.next()):h(Y,H,z,ne,oe);if(oe>=0&&_e>0&&_e-1&&_e>0){let we=p(ie);ae=f0(ie,z,ne,0,z.length,0,q-Y,we,we)}else ae=b(ie,z,ne,q-Y,se-q)}S.push(ae),k.push(P)}function p(m){return(O,S,k)=>{let L=0,F=O.length-1,Y,q;if(F>=0&&(Y=O[F])instanceof It){if(!F&&Y.type==m&&Y.length==k)return Y;(q=Y.prop(at.lookAhead))&&(L=S[F]+Y.length+q)}return b(m,O,S,k,L)}}function _(m,O,S,k,L,F,Y,q){let te=[],se=[];for(;m.length>k;)te.push(m.pop()),se.push(O.pop()+S-L);m.push(b(n.types[Y],te,se,F-L,q-F)),O.push(L-S)}function b(m,O,S,k,L=0,F){if(c){let Y=[at.contextHash,c];F=F?[Y].concat(F):[Y]}if(L>25){let Y=[at.lookAhead,L];F=F?[Y].concat(F):[Y]}return new It(m,O,S,k,F)}function A(m,O){let S=s.fork(),k=0,L=0,F=0,Y=S.end-a,q={size:0,start:0,skip:0};e:for(let te=S.pos-m;S.pos>te;){let se=S.size;if(S.id==O&&se>=0){q.size=k,q.start=L,q.skip=F,F+=4,k+=4,S.next();continue}let ie=S.pos-se;if(se<0||ie=o?4:0,D=S.start;for(S.next();S.pos>ie;){if(S.size<0)if(S.size==-3)ae+=4;else break e;else S.id>=o&&(ae+=4);S.next()}L=D,k+=se,F+=ae}return(O<0||k==m)&&(q.size=k,q.start=L,q.skip=F),q.size>4?q:void 0}function I(m,O,S){let{id:k,start:L,end:F,size:Y}=s;if(s.next(),Y>=0&&k4){let te=s.pos-(Y-4);for(;s.pos>te;)S=I(m,O,S)}O[--S]=q,O[--S]=F-m,O[--S]=L-m,O[--S]=k}else Y==-3?c=k:Y==-4&&(u=k);return S}let M=[],U=[];for(;s.pos>0;)h(r.start||0,r.bufferStart||0,M,U,-1);let V=(e=r.length)!==null&&e!==void 0?e:M.length?U[0]+M[0].length:0;return new It(l[r.topID],M.reverse(),U.reverse(),V)}const Z_=new WeakMap;function Rc(r,e){if(!r.isAnonymous||e instanceof oo||e.type!=r)return 1;let t=Z_.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=r||!(n instanceof It)){t=1;break}t+=Rc(r,n)}Z_.set(e,t)}return t}function f0(r,e,t,n,a,i,o,s,l){let c=0;for(let b=n;b=u)break;S+=k}if(V==m+1){if(S>u){let k=b[m];_(k.children,k.positions,0,k.children.length,A[m]+U);continue}h.push(b[m])}else{let k=A[V-1]+b[V-1].length-O;h.push(f0(r,b,A,m,V,O,k,null,l))}p.push(O+U-i)}}return _(e,t,n,a,0),(s||l)(h,p,o)}class PE{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let a=this.map.get(e);a||this.map.set(e,a=new Map),a.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof _a?this.setBuffer(e.context.buffer,e.index,t):e instanceof Dr&&this.map.set(e.tree,t)}get(e){return e instanceof _a?this.getBuffer(e.context.buffer,e.index):e instanceof Dr?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Ya{constructor(e,t,n,a,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=a,this.open=(i?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let a=[new Ya(0,e.length,e,0,!1,n)];for(let i of t)i.to>e.length&&a.push(i);return a}static applyChanges(e,t,n=128){if(!t.length)return e;let a=[],i=1,o=e.length?e[0]:null;for(let s=0,l=0,c=0;;s++){let u=s=n)for(;o&&o.from=p.from||h<=p.to||c){let _=Math.max(p.from,l)-c,b=Math.min(p.to,h)-c;p=_>=b?null:new Ya(_,b,p.tree,p.offset+c,s>0,!!u)}if(p&&a.push(p),o.to>h)break;o=inew Ir(a.from,a.to)):[new Ir(0,0)]:[new Ir(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let a=this.startParse(e,t,n);for(;;){let i=a.advance();if(i)return i}}}class TD{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function BE(r){return(e,t,n,a)=>new RD(e,r,t,n,a)}class j_{constructor(e,t,n,a,i){if(this.parser=e,this.parse=t,this.overlay=n,this.target=a,this.ranges=i,!i.length||i.some(o=>o.from>=o.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(i))}}class CD{constructor(e,t,n,a,i,o,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=a,this.start=i,this.target=o,this.prev=s,this.depth=0,this.ranges=[]}}const Qp=new at({perNode:!0});class RD{constructor(e,t,n,a,i){this.nest=t,this.input=n,this.fragments=a,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let a of this.inner)a.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new It(n.type,n.children,n.positions,n.length,n.propValues.concat([[Qp,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[at.mounted.id]=new OD(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;tu.frag.from<=a.from&&u.frag.to>=a.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let h=u.from+c.pos,p=u.to+c.pos;h>=a.from&&p<=a.to&&!t.ranges.some(_=>_.fromh)&&t.ranges.push({from:h,to:p})}}s=!1}else if(n&&(o=wD(n.ranges,a.from,a.to)))s=o!=2;else if(!a.type.isAnonymous&&a.fromnew Ir(h.from-a.from,h.to-a.from)):null,a.tree,u)),i.overlay?u.length&&(n={ranges:u,depth:0,prev:n}):s=!1}}else t&&(l=t.predicate(a))&&(l===!0&&(l=new Ir(a.from,a.to)),l.fromnew Ir(u.from-t.start,u.to-t.start)),t.target,c)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function wD(r,e,t){for(let n of r){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function J_(r,e,t,n,a,i){if(e=e.to);n++);let o=a.children[n],s=o.buffer;function l(c,u,h,p,_){let b=c;for(;s[b+2]+i<=e.from;)b=s[b+3];let A=[],I=[];J_(o,c,b,A,I,p);let M=s[b+1],U=s[b+2],V=M+i==e.from&&U+i==e.to&&s[b]==e.type.id;return A.push(V?e.toTree():l(b+4,s[b+3],o.set.types[s[b]],M,U-M)),I.push(M-p),J_(o,s[b+3],u,A,I,p),new It(h,A,I,_)}a.children[n]=l(0,s.length,On.none,0,o.length);for(let c=0;c<=t;c++)r.childAfter(e.from)}class e1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Qt.IncludeAnonymous|Qt.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from=e&&t.enter(n,1,Qt.IgnoreOverlays|Qt.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof It)t=t.children[0];else break}return!1}}let ID=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(Qp))!==null&&t!==void 0?t:n.to,this.inner=new e1(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(Qp))!==null&&e!==void 0?e:t.to,this.inner=new e1(t.tree,-t.offset)}}findMounts(e,t){var n;let a=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let i=this.inner.cursor.node;i;i=i.parent){let o=(n=i.tree)===null||n===void 0?void 0:n.prop(at.mounted);if(o&&o.parser==t)for(let s=this.fragI;s=i.to)break;l.tree==this.curFrag.tree&&a.push({frag:l,pos:i.from-l.offset,mount:o})}}}return a}};function t1(r,e){let t=null,n=e;for(let a=1,i=0;a=s)break;l.to<=o||(t||(n=t=e.slice()),l.froms&&t.splice(i+1,0,new Ir(s,l.to))):l.to>s?t[i--]=new Ir(s,l.to):t.splice(i--,1))}}return n}function kD(r,e,t,n){let a=0,i=0,o=!1,s=!1,l=-1e9,c=[];for(;;){let u=a==r.length?1e9:o?r[a].to:r[a].from,h=i==e.length?1e9:s?e[i].to:e[i].from;if(o!=s){let p=Math.max(l,t),_=Math.min(u,h,n);p<_&&c.push(new Ir(p,_))}if(l=Math.min(u,h),l==1e9)break;u==l&&(o?(o=!1,a++):o=!0),h==l&&(s?(s=!1,i++):s=!0)}return c}function n1(r,e){let t=[];for(let{pos:n,mount:a,frag:i}of r){let o=n+(a.overlay?a.overlay[0].from:0),s=o+a.tree.length,l=Math.max(i.from,o),c=Math.min(i.to,s);if(a.overlay){let u=a.overlay.map(p=>new Ir(p.from+n,p.to+n)),h=kD(e,u,l,c);for(let p=0,_=l;;p++){let b=p==h.length,A=b?c:h[p].from;if(A>_&&t.push(new Ya(_,A,a.tree,-o,i.from>=_||i.openStart,i.to<=A||i.openEnd)),b)break;_=h[p].to}}else t.push(new Ya(l,c,a.tree,-o,i.from>=o||i.openStart,i.to<=s||i.openEnd))}return t}let ND=class Hp{constructor(e,t,n,a,i,o,s,l,c,u=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=a,this.pos=i,this.score=o,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let a=e.parser.context;return new Hp(e,[],t,n,n,0,[],0,a?new r1(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,a=e&65535,{parser:i}=this.p,o=i.dynamicPrecedence(a);if(o&&(this.score+=o),n==0){this.pushState(i.getGoto(this.state,a,!0),this.reducePos),a=2e3&&!(!((t=this.p.parser.nodeSet.types[a])===null||t===void 0)&&t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizes;)this.stack.pop();this.reduceContext(a,l)}storeNode(e,t,n,a=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[s-4]==0&&o.buffer[s-1]>-1){if(t==n)return;if(o.buffer[s-2]>=t){o.buffer[s-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,a);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,a>4&&(a-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=a}}shift(e,t,n){let a=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,a),t<=this.p.parser.maxNode&&this.buffer.push(t,a,n,4);else{let i=e,{parser:o}=this.p;(n>this.pos||t<=o.maxNode)&&(this.pos=n,o.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,a),this.shiftContext(t,a),t<=o.maxNode&&this.buffer.push(t,a,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let a=this.pos;this.reducePos=this.pos=a+e.length,this.pushState(t,a),this.buffer.push(n,a,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),a=e.bufferBase+t;for(;e&&a==e.bufferBase;)e=e.parent;return new Hp(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,a,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new DD(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let a=[];for(let i=0,o;il&1&&s==o)||a.push(t[i],o)}t=a}let n=[];for(let a=0;a>19,a=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],a,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;t=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(a,i)=>{if(!t.includes(a))return t.push(a),e.allActions(a,o=>{if(!(o&393216))if(o&65536){let s=(o>>19)-i;if(s>1){let l=o&65535,c=this.stack.length-s*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=n(o,i+1);if(s!=null)return s}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class r1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class DD{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=a}}class zc{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new zc(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new zc(this.stack,this.pos,this.index)}}function qs(r,e=Uint16Array){if(typeof r!="string")return r;let t=null;for(let n=0,a=0;n=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,s=!0),i+=l,s)break;i*=46}t?t[a++]=i:t=new e(i)}return t}class wc{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const a1=new wc;class xD{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=a1,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,a=this.rangeIndex,i=this.pos+e;for(;in.to:i>=n.to;){if(a==this.ranges.length-1)return null;let o=this.ranges[++a];i+=o.from-n.to,n=o}return i}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,a;if(t>=0&&t=this.chunk2Pos&&ns.to&&(this.chunk2=this.chunk2.slice(0,s.to-n)),a=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),a}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=a1,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let a of this.ranges){if(a.from>=t)break;a.to>e&&(n+=this.input.read(Math.max(a.from,e),Math.min(a.to,t)))}return n}}class Do{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;YE(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}Do.prototype.contextual=Do.prototype.fallback=Do.prototype.extend=!1;class Wc{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e=="string"?qs(e):e}token(e,t){let n=e.pos,a=0;for(;;){let i=e.next<0,o=e.resolveOffset(1,1);if(YE(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(i||a++,o==null)break;e.reset(o,e.token)}a&&(e.reset(n,e.token),e.acceptToken(this.elseToken,a))}}Wc.prototype.contextual=Do.prototype.fallback=Do.prototype.extend=!1;class ya{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function YE(r,e,t,n,a,i){let o=0,s=1<0){let b=r[_];if(l.allows(b)&&(e.token.value==-1||e.token.value==b||MD(b,e.token.value,a,i))){e.acceptToken(b);break}}let u=e.next,h=0,p=r[o+2];if(e.next<0&&p>h&&r[c+p*3-3]==65535&&r[c+p*3-3]==65535){o=r[c+p*3-1];continue e}for(;h>1,b=c+_+(_<<1),A=r[b],I=r[b+1]||65536;if(u=I)h=_+1;else{o=r[b+2],e.advance();continue e}}break}}function i1(r,e,t){for(let n=e,a;(a=r[n])!=65535;n++)if(a==t)return n-e;return-1}function MD(r,e,t,n){let a=i1(t,n,e);return a<0||i1(t,n,r)e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(r.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:r.length}}let LD=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?o1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?o1(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(i instanceof It){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+i.length}}};class PD{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new wc)}getActions(e){let t=0,n=null,{parser:a}=e.p,{tokenizers:i}=a,o=a.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,l=0;for(let c=0;ch.end+25&&(l=Math.max(h.lookAhead,l)),h.value!=0)){let p=t;if(h.extended>-1&&(t=this.addActions(e,h.extended,h.end,t)),t=this.addActions(e,h.value,h.end,t),!u.extend&&(n=h,t>p))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new wc,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new wc,{pos:n,p:a}=e;return t.start=n,t.end=Math.min(n+1,a.stream.end),t.value=n==a.stream.end?a.parser.eofTerm:0,t}updateCachedToken(e,t,n){let a=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(a,e),n),e.value>-1){let{parser:i}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(s>>1)){s&1?e.extended=s>>1:e.value=s>>1;break}}}else e.value=0,e.end=this.stream.clipPos(a+1)}putAction(e,t,n,a){for(let i=0;ie.bufferLength*4?new LD(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],a,i;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;ot)n.push(s);else{if(this.advanceStack(s,n,e))continue;{a||(a=[],i=[]),a.push(s);let l=this.tokens.getMainToken(s);i.push(l.value,l.end)}}break}}if(!n.length){let o=a&&FD(a);if(o)return cr&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw cr&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&a){let o=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,i,n);if(o)return cr&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((s,l)=>l.score-s.score);n.length>o;)n.pop();n.some(s=>s.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let h=this.fragments.nodeAt(a);h;){let p=this.parser.nodeSet.types[h.type.id]==h.type?i.getGoto(e.state,h.type.id):-1;if(p>-1&&h.length&&(!c||(h.prop(at.contextHash)||0)==u))return e.useNode(h,p),cr&&console.log(o+this.stackID(e)+` (via reuse of ${i.getName(h.type.id)})`),!0;if(!(h instanceof It)||h.children.length==0||h.positions[0]>0)break;let _=h.children[0];if(_ instanceof It&&h.positions[0]==0)h=_;else break}}let s=i.stateSlot(e.state,4);if(s>0)return e.reduce(s),cr&&console.log(o+this.stackID(e)+` (via always-reduce ${i.getName(s&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;ca?t.push(b):n.push(b)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return s1(e,t),!0}}runRecovery(e,t,n){let a=null,i=!1;for(let o=0;o ":"";if(s.deadEnd&&(i||(i=!0,s.restart(),cr&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))))continue;let h=s.split(),p=u;for(let _=0;h.forceReduce()&&_<10&&(cr&&console.log(p+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));_++)cr&&(p=this.stackID(h)+" -> ");for(let _ of s.recoverByInsert(l))cr&&console.log(u+this.stackID(_)+" (via recover-insert)"),this.advanceFully(_,n);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),cr&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),s1(s,n)):(!a||a.scorer;class FE{constructor(e){this.start=e.start,this.shift=e.shift||yd,this.reduce=e.reduce||yd,this.reuse=e.reuse||yd,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Vo extends m0{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let s=0;se.topRules[s][1]),a=[];for(let s=0;s=0)i(u,l,s[c++]);else{let h=s[c+-u];for(let p=-u;p>0;p--)i(s[c++],l,h);c++}}}this.nodeSet=new Ul(t.map((s,l)=>On.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:a[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=xE;let o=qs(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;stypeof s=="number"?new Do(o,s):s),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let a=new BD(this,e,t,n);for(let i of this.wrappers)a=i(a,e,t,n);return a}getGoto(e,t,n=!1){let a=this.goto;if(t>=a[0])return-1;for(let i=a[t+1];;){let o=a[i++],s=o&1,l=a[i++];if(s&&n)return l;for(let c=i+(o>>1);i0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),a=n?t(n):void 0;for(let i=this.stateSlot(e,1);a==null;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Ma(this.data,i+2);else break;a=t(Ma(this.data,i+1))}return a}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Ma(this.data,n+2);else break;if(!(this.data[n+2]&1)){let a=this.data[n+1];t.some((i,o)=>o&1&&i==a)||t.push(this.data[n],a)}}return t}configure(e){let t=Object.assign(Object.create(Vo.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let a=e.tokenizers.find(i=>i.from==n);return a?a.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,a)=>{let i=e.specializers.find(s=>s.from==n.external);if(!i)return n;let o=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[a]=l1(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let o=t.indexOf(i);o>=0&&(n[o]=!0)}let a=null;for(let i=0;in)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorer.external(t,n)<<1|e}return r.get}let UD=0;class jr{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=UD++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new jr([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new Xc;return t=>t.modified.indexOf(e)>-1?t:Xc.get(t.base||t,t.modified.concat(e).sort((n,a)=>n.id-a.id))}}let $D=0;class Xc{constructor(){this.instances=[],this.id=$D++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(s=>s.base==e&&GD(t,s.modified));if(n)return n;let a=[],i=new jr(a,e,t);for(let s of t)s.instances.push(i);let o=qD(t);for(let s of e.set)if(!s.modified.length)for(let l of o)a.push(Xc.get(s,l));return i}}function GD(r,e){return r.length==e.length&&r.every((t,n)=>t==e[n])}function qD(r){let e=[[]];for(let t=0;tn.length-t.length)}function os(r){let e=Object.create(null);for(let t in r){let n=r[t];Array.isArray(n)||(n=[n]);for(let a of t.split(" "))if(a){let i=[],o=2,s=a;for(let h=0;;){if(s=="..."&&h>0&&h+3==a.length){o=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!p)throw new RangeError("Invalid path: "+a);if(i.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),h+=p[0].length,h==a.length)break;let _=a[h++];if(h==a.length&&_=="!"){o=0;break}if(_!="/")throw new RangeError("Invalid path: "+a);s=a.slice(h)}let l=i.length-1,c=i[l];if(!c)throw new RangeError("Invalid path: "+a);let u=new Kc(n,o,l>0?i.slice(0,l):null);e[c]=u.sort(e[c])}}return UE.add(e)}const UE=new at;class Kc{constructor(e,t,n,a){this.tags=e,this.mode=t,this.context=n,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=a;for(let s of i)for(let l of s.set){let c=t[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:n}}function QD(r,e){let t=null;for(let n of r){let a=n.style(e);a&&(t=t?t+" "+a:a)}return t}function HD(r,e,t,n=0,a=r.length){let i=new VD(n,Array.isArray(e)?e:[e],t);i.highlightRange(r.cursor(),n,a,"",i.highlighters),i.flush(a)}class VD{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,a,i){let{type:o,from:s,to:l}=e;if(s>=n||l<=t)return;o.isTop&&(i=this.highlighters.filter(_=>!_.scope||_.scope(o)));let c=a,u=zD(e)||Kc.empty,h=QD(i,u.tags);if(h&&(c&&(c+=" "),c+=h,u.mode==1&&(a+=(a?" ":"")+h)),this.startSpan(Math.max(t,s),c),u.opaque)return;let p=e.tree&&e.tree.prop(at.mounted);if(p&&p.overlay){let _=e.node.enter(p.overlay[0].from+s,1),b=this.highlighters.filter(I=>!I.scope||I.scope(p.tree.type)),A=e.firstChild();for(let I=0,M=s;;I++){let U=I=V||!e.nextSibling())););if(!U||V>n)break;M=U.to+s,M>t&&(this.highlightRange(_.cursor(),Math.max(t,U.from+s),Math.min(n,M),"",b),this.startSpan(Math.min(n,M),c))}A&&e.parent()}else if(e.firstChild()){p&&(a="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,a,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}}function zD(r){let e=r.type.prop(UE);for(;e&&e.context&&!r.matchContext(e.context);)e=e.next;return e||null}const ke=jr.define,ac=ke(),ui=ke(),c1=ke(ui),u1=ke(ui),di=ke(),ic=ke(di),Td=ke(di),ua=ke(),Li=ke(ua),sa=ke(),la=ke(),Vp=ke(),Is=ke(Vp),oc=ke(),Q={comment:ac,lineComment:ke(ac),blockComment:ke(ac),docComment:ke(ac),name:ui,variableName:ke(ui),typeName:c1,tagName:ke(c1),propertyName:u1,attributeName:ke(u1),className:ke(ui),labelName:ke(ui),namespace:ke(ui),macroName:ke(ui),literal:di,string:ic,docString:ke(ic),character:ke(ic),attributeValue:ke(ic),number:Td,integer:ke(Td),float:ke(Td),bool:ke(di),regexp:ke(di),escape:ke(di),color:ke(di),url:ke(di),keyword:sa,self:ke(sa),null:ke(sa),atom:ke(sa),unit:ke(sa),modifier:ke(sa),operatorKeyword:ke(sa),controlKeyword:ke(sa),definitionKeyword:ke(sa),moduleKeyword:ke(sa),operator:la,derefOperator:ke(la),arithmeticOperator:ke(la),logicOperator:ke(la),bitwiseOperator:ke(la),compareOperator:ke(la),updateOperator:ke(la),definitionOperator:ke(la),typeOperator:ke(la),controlOperator:ke(la),punctuation:Vp,separator:ke(Vp),bracket:Is,angleBracket:ke(Is),squareBracket:ke(Is),paren:ke(Is),brace:ke(Is),content:ua,heading:Li,heading1:ke(Li),heading2:ke(Li),heading3:ke(Li),heading4:ke(Li),heading5:ke(Li),heading6:ke(Li),contentSeparator:ke(ua),list:ke(ua),quote:ke(ua),emphasis:ke(ua),strong:ke(ua),link:ke(ua),monospace:ke(ua),strikethrough:ke(ua),inserted:ke(),deleted:ke(),changed:ke(),invalid:ke(),meta:oc,documentMeta:ke(oc),annotation:ke(oc),processingInstruction:ke(oc),definition:jr.defineModifier(),constant:jr.defineModifier(),function:jr.defineModifier(),standard:jr.defineModifier(),local:jr.defineModifier(),special:jr.defineModifier()};$E([{tag:Q.link,class:"tok-link"},{tag:Q.heading,class:"tok-heading"},{tag:Q.emphasis,class:"tok-emphasis"},{tag:Q.strong,class:"tok-strong"},{tag:Q.keyword,class:"tok-keyword"},{tag:Q.atom,class:"tok-atom"},{tag:Q.bool,class:"tok-bool"},{tag:Q.url,class:"tok-url"},{tag:Q.labelName,class:"tok-labelName"},{tag:Q.inserted,class:"tok-inserted"},{tag:Q.deleted,class:"tok-deleted"},{tag:Q.literal,class:"tok-literal"},{tag:Q.string,class:"tok-string"},{tag:Q.number,class:"tok-number"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:"tok-string2"},{tag:Q.variableName,class:"tok-variableName"},{tag:Q.local(Q.variableName),class:"tok-variableName tok-local"},{tag:Q.definition(Q.variableName),class:"tok-variableName tok-definition"},{tag:Q.special(Q.variableName),class:"tok-variableName2"},{tag:Q.definition(Q.propertyName),class:"tok-propertyName tok-definition"},{tag:Q.typeName,class:"tok-typeName"},{tag:Q.namespace,class:"tok-namespace"},{tag:Q.className,class:"tok-className"},{tag:Q.macroName,class:"tok-macroName"},{tag:Q.propertyName,class:"tok-propertyName"},{tag:Q.operator,class:"tok-operator"},{tag:Q.comment,class:"tok-comment"},{tag:Q.meta,class:"tok-meta"},{tag:Q.invalid,class:"tok-invalid"},{tag:Q.punctuation,class:"tok-punctuation"}]);const WD=303,d1=1,XD=2,KD=304,ZD=306,jD=307,JD=3,ex=4,tx=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],GE=125,nx=59,h1=47,rx=42,ax=43,ix=45,ox=new FE({start:!1,shift(r,e){return e==JD||e==ex||e==ZD?r:e==jD},strict:!1}),sx=new ya((r,e)=>{let{next:t}=r;(t==GE||t==-1||e.context)&&r.acceptToken(KD)},{contextual:!0,fallback:!0}),lx=new ya((r,e)=>{let{next:t}=r,n;tx.indexOf(t)>-1||t==h1&&((n=r.peek(1))==h1||n==rx)||t!=GE&&t!=nx&&t!=-1&&!e.context&&r.acceptToken(WD)},{contextual:!0}),cx=new ya((r,e)=>{let{next:t}=r;if((t==ax||t==ix)&&(r.advance(),t==r.next)){r.advance();let n=!e.context&&e.canShift(d1);r.acceptToken(n?d1:XD)}},{contextual:!0}),ux=os({"get set async static":Q.modifier,"for while do if else switch try catch finally return throw break continue default case":Q.controlKeyword,"in of await yield void typeof delete instanceof":Q.operatorKeyword,"let var const function class extends":Q.definitionKeyword,"import export from":Q.moduleKeyword,"with debugger as new":Q.keyword,TemplateString:Q.special(Q.string),super:Q.atom,BooleanLiteral:Q.bool,this:Q.self,null:Q.null,Star:Q.modifier,VariableName:Q.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Q.function(Q.variableName),VariableDefinition:Q.definition(Q.variableName),Label:Q.labelName,PropertyName:Q.propertyName,PrivatePropertyName:Q.special(Q.propertyName),"CallExpression/MemberExpression/PropertyName":Q.function(Q.propertyName),"FunctionDeclaration/VariableDefinition":Q.function(Q.definition(Q.variableName)),"ClassDeclaration/VariableDefinition":Q.definition(Q.className),PropertyDefinition:Q.definition(Q.propertyName),PrivatePropertyDefinition:Q.definition(Q.special(Q.propertyName)),UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,Escape:Q.escape,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,RegExp:Q.regexp,Equals:Q.definitionOperator,Arrow:Q.function(Q.punctuation),": Spread":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"InterpolationStart InterpolationEnd":Q.special(Q.brace),".":Q.derefOperator,", ;":Q.separator,"@":Q.meta,TypeName:Q.typeName,TypeDefinition:Q.definition(Q.typeName),"type enum interface implements namespace module declare":Q.definitionKeyword,"abstract global Privacy readonly override":Q.modifier,"is keyof unique infer":Q.operatorKeyword,JSXAttributeValue:Q.attributeValue,JSXText:Q.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Q.angleBracket,"JSXIdentifier JSXNameSpacedName":Q.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Q.attributeName,"JSXBuiltin/JSXIdentifier":Q.standard(Q.tagName)}),dx={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,using:413,interface:419,enum:423,namespace:429,module:431,declare:435,global:439,for:458,of:467,while:470,with:474,do:478,if:482,else:484,switch:488,case:494,try:500,catch:504,finally:508,return:512,throw:516,break:520,continue:524,debugger:528},hx={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},fx={__proto__:null,"<":137},mx=Vo.deserialize({version:14,states:"$6tO`QUOOO%TQUOOO'WQWOOP(eOSOOO*sQ(CjO'#CfO*zOpO'#CgO+YO!bO'#CgO+hO07`O'#DZO-yQUO'#DaO.ZQUO'#DlO%TQUO'#DvO0_QUO'#EOOOQ(CY'#EW'#EWO0xQSO'#ETOOQO'#Ei'#EiOOQO'#Ic'#IcO1QQSO'#GkO1]QSO'#EhO1bQSO'#EhO3dQ(CjO'#JdO6TQ(CjO'#JeO6qQSO'#FWO6vQ#tO'#FoOOQ(CY'#F`'#F`O7RO&jO'#F`O7aQ,UO'#FvO8wQSO'#FuOOQ(CY'#Je'#JeOOQ(CW'#Jd'#JdO8|QSO'#GoOOQQ'#KP'#KPO9XQSO'#IPO9^Q(C[O'#IQOOQQ'#JQ'#JQOOQQ'#IU'#IUQ`QUOOO%TQUO'#DnO9fQUO'#DzO9mQUO'#D|O9SQSO'#GkO9tQ,UO'#ClO:SQSO'#EgO:_QSO'#ErO:dQ,UO'#F_O;RQSO'#GkOOQO'#KQ'#KQO;WQSO'#KQO;fQSO'#GsO;fQSO'#GtO;fQSO'#GvO9SQSO'#GyO<]QSO'#G|O=tQSO'#CbO>UQSO'#HYO>^QSO'#H`O>^QSO'#HbO`QUO'#HdO>^QSO'#HfO>^QSO'#HiO>cQSO'#HoO>hQ(C]O'#HuO%TQUO'#HwO>sQ(C]O'#HyO?OQ(C]O'#H{O9^Q(C[O'#H}O?ZQ(CjO'#CfO@]QWO'#DfQOQSOOO%TQUO'#D|O@sQSO'#EPO9tQ,UO'#EgOAOQSO'#EgOAZQ`O'#F_OOQQ'#Cd'#CdOOQ(CW'#Dk'#DkOOQ(CW'#Jh'#JhO%TQUO'#JhOOQO'#Jl'#JlOOQO'#I`'#I`OBZQWO'#E`OOQ(CW'#E_'#E_OCVQ(C`O'#E`OCaQWO'#ESOOQO'#Jk'#JkOCuQWO'#JlOESQWO'#ESOCaQWO'#E`PEaO?MpO'#C`POOO)CDo)CDoOOOO'#IV'#IVOElOpO,59ROOQ(CY,59R,59ROOOO'#IW'#IWOEzO!bO,59RO%TQUO'#D]OOOO'#IY'#IYOFYO07`O,59uOOQ(CY,59u,59uOFhQUO'#IZOF{QSO'#JfOH}QbO'#JfO+vQUO'#JfOIUQSO,59{OIlQSO'#EiOIyQSO'#JtOJUQSO'#JsOJUQSO'#JsOJ^QSO,5;VOJcQSO'#JrOOQ(CY,5:W,5:WOJjQUO,5:WOLkQ(CjO,5:bOM[QSO,5:jOMuQ(C[O'#JqOM|QSO'#JpO8|QSO'#JpONbQSO'#JpONjQSO,5;UONoQSO'#JpO!!wQbO'#JeOOQ(CY'#Cf'#CfO%TQUO'#EOO!#gQ`O,5:oOOQO'#Jm'#JmOOQO-EkOOQQ'#JY'#JYOOQQ,5>l,5>lOOQQ-EqQ(CjO,5:hOOQO,5@l,5@lO!?bQ,UO,5=VO!?pQ(C[O'#JZO8wQSO'#JZO!@RQ(C[O,59WO!@^QWO,59WO!@fQ,UO,59WO9tQ,UO,59WO!@qQSO,5;SO!@yQSO'#HXO!A[QSO'#KUO%TQUO,5;wO!7[QWO,5;yO!AdQSO,5=rO!AiQSO,5=rO!AnQSO,5=rO9^Q(C[O,5=rO;fQSO,5=bOOQO'#Cr'#CrO!A|QWO,5=_O!BUQ,UO,5=`O!BaQSO,5=bO!BfQ`O,5=eO!BnQSO'#KQO>cQSO'#HOO9SQSO'#HQO!BsQSO'#HQO9tQ,UO'#HSO!BxQSO'#HSOOQQ,5=h,5=hO!B}QSO'#HTO!CVQSO'#ClO!C[QSO,58|O!CfQSO,58|O!EkQUO,58|OOQQ,58|,58|O!E{Q(C[O,58|O%TQUO,58|O!HWQUO'#H[OOQQ'#H]'#H]OOQQ'#H^'#H^O`QUO,5=tO!HnQSO,5=tO`QUO,5=zO`QUO,5=|O!HsQSO,5>OO`QUO,5>QO!HxQSO,5>TO!H}QUO,5>ZOOQQ,5>a,5>aO%TQUO,5>aO9^Q(C[O,5>cOOQQ,5>e,5>eO!MXQSO,5>eOOQQ,5>g,5>gO!MXQSO,5>gOOQQ,5>i,5>iO!M^QWO'#DXO%TQUO'#JhO!M{QWO'#JhO!NjQWO'#DgO!N{QWO'#DgO##^QUO'#DgO##eQSO'#JgO##mQSO,5:QO##rQSO'#EmO#$QQSO'#JuO#$YQSO,5;WO#$_QWO'#DgO#$lQWO'#EROOQ(CY,5:k,5:kO%TQUO,5:kO#$sQSO,5:kO>cQSO,5;RO!@^QWO,5;RO!@fQ,UO,5;RO9tQ,UO,5;RO#${QSO,5@SO#%QQ!LQO,5:oOOQO-E<^-E<^O#&WQ(C`O,5:zOCaQWO,5:nO#&bQWO,5:nOCaQWO,5:zO!@RQ(C[O,5:nOOQ(CW'#Ec'#EcOOQO,5:z,5:zO%TQUO,5:zO#&oQ(C[O,5:zO#&zQ(C[O,5:zO!@^QWO,5:nOOQO,5;Q,5;QO#'YQ(C[O,5:zPOOO'#IT'#ITP#'nO?MpO,58zPOOO,58z,58zOOOO-EuO+vQUO,5>uOOQO,5>{,5>{O#(YQUO'#IZOOQO-E^QSO1G3jO$.OQUO1G3lO$2SQUO'#HkOOQQ1G3o1G3oO$2aQSO'#HqO>cQSO'#HsOOQQ1G3u1G3uO$2iQUO1G3uO9^Q(C[O1G3{OOQQ1G3}1G3}OOQ(CW'#GW'#GWO9^Q(C[O1G4PO9^Q(C[O1G4RO$6pQSO,5@SO!){QUO,5;XO8|QSO,5;XO>cQSO,5:RO!){QUO,5:RO!@^QWO,5:RO$6uQ$IUO,5:ROOQO,5;X,5;XO$7PQWO'#I[O$7gQSO,5@ROOQ(CY1G/l1G/lO$7oQWO'#IbO$7yQSO,5@aOOQ(CW1G0r1G0rO!N{QWO,5:ROOQO'#I_'#I_O$8RQWO,5:mOOQ(CY,5:m,5:mO#$vQSO1G0VOOQ(CY1G0V1G0VO%TQUO1G0VOOQ(CY1G0m1G0mO>cQSO1G0mO!@^QWO1G0mO!@fQ,UO1G0mOOQ(CW1G5n1G5nO!@RQ(C[O1G0YOOQO1G0f1G0fO%TQUO1G0fO$8YQ(C[O1G0fO$8eQ(C[O1G0fO!@^QWO1G0YOCaQWO1G0YO$8sQ(C[O1G0fOOQO1G0Y1G0YO$9XQ(CjO1G0fPOOO-EuO$9uQSO1G5lO$9}QSO1G5yO$:VQbO1G5zO8|QSO,5>{O$:aQ(CjO1G5wO%TQUO1G5wO$:qQ(C[O1G5wO$;SQSO1G5vO$;SQSO1G5vO8|QSO1G5vO$;[QSO,5?OO8|QSO,5?OOOQO,5?O,5?OO$;pQSO,5?OO$$QQSO,5?OOOQO-EqQ(CjO,5VOOQQ,5>V,5>VO%TQUO'#HlO%(SQSO'#HnOOQQ,5>],5>]O8|QSO,5>]OOQQ,5>_,5>_OOQQ7+)a7+)aOOQQ7+)g7+)gOOQQ7+)k7+)kOOQQ7+)m7+)mO%(XQWO1G5nO%(mQ$IUO1G0sO%(wQSO1G0sOOQO1G/m1G/mO%)SQ$IUO1G/mO>cQSO1G/mO!){QUO'#DgOOQO,5>v,5>vOOQO-E|,5>|OOQO-E<`-E<`O!@^QWO1G/mOOQO-E<]-E<]OOQ(CY1G0X1G0XOOQ(CY7+%q7+%qO#$vQSO7+%qOOQ(CY7+&X7+&XO>cQSO7+&XO!@^QWO7+&XOOQO7+%t7+%tO$9XQ(CjO7+&QOOQO7+&Q7+&QO%TQUO7+&QO%)^Q(C[O7+&QO!@RQ(C[O7+%tO!@^QWO7+%tO%)iQ(C[O7+&QO%)wQ(CjO7++cO%TQUO7++cO%*XQSO7++bO%*XQSO7++bOOQO1G4j1G4jO8|QSO1G4jO%*aQSO1G4jOOQO7+%y7+%yO#$vQSO<wOOQO-ExO%TQUO,5>xOOQO-E<[-E<[O%2aQSO1G5pOOQ(CY<QQ$IUO1G0xO%>XQ$IUO1G0xO%@PQ$IUO1G0xO%@dQ(CjO<WOOQQ,5>Y,5>YO%M}QSO1G3wO8|QSO7+&_O!){QUO7+&_OOQO7+%X7+%XO%NSQ$IUO1G5zO>cQSO7+%XOOQ(CY<cQSO<cQSO7+)cO&5kQSO<zAN>zO%TQUOAN?WOOQO<TQSOANAxOOQQANAzANAzO9^Q(C[OANAzO#MsQSOANAzOOQO'#HV'#HVOOQO7+*d7+*dOOQQG22tG22tOOQQANEOANEOOOQQANEPANEPOOQQANBSANBSO&>]QSOANBSOOQQ<bQSOLD,iO&>jQ$IUO7+'sO&@`Q$IUO7+'uO&BUQ,UOG26{OOQO<ROPYXXYXkYXyYXzYX|YX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX!VYX!WYX~O#yYX~P#@lOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO#u:SO#v:TO(SVO(c$YO(j#{O(k#|O~O#y.hO~P#ByO#X:YO#{:YO#y(XX!W(XX~PN}O^'Za!V'Za'l'Za'j'Za!g'Za!S'Zao'Za!X'Za%a'Za!a'Za~P!7sOP#fiX#fi^#fik#fiz#fi!V#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(S#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#,`O^#zi!V#zi'l#zi'j#zi!S#zi!g#zio#zi!X#zi%a#zi!a#zi~P!7sO$W.mO$Y.mO~O$W.nO$Y.nO~O!a)^O#X.oO!X$^X$T$^X$W$^X$Y$^X$a$^X~O!U.pO~O!X)aO$T.rO$W)`O$Y)`O$a.sO~O!V:UO!W(WX~P#ByO!W.tO~O!a)^O$a(lX~O$a.vO~Oq)pO(T)qO(U.yO~O!S.}O~P!&VO!VcX!acX!gcX!g$sX(ccX~P!/ZO!g/TO~P#,`O!V/UO!a#tO(c'fO!g(pX~O!g/ZO~O!U*RO'u%_O!g(pP~O#d/]O~O!S$sX!V$sX!a$zX~P!/ZO!V/^O!S(qX~P#,`O!a/`O~O!S/bO~Ok/fO!a#tO!h%]O(O%QO(c'fO~O'u/hO~O!a+XO~O^%fO!V/lO'l%fO~O!W/nO~P!3XO!]/oO!^/oO'v!kO(V!lO~O|/qO(V!lO~O#T/rO~O'u&POd'`X!V'`X~O!V*kOd(Pa~Od/wO~Oy/xOz/xO|/yOgva(jva(kva!Vva#Xva~Odva#yva~P$ aOy)uO|)vOg$la(j$la(k$la!V$la#X$la~Od$la#y$la~P$!VOy)uO|)vOg$na(j$na(k$na!V$na#X$na~Od$na#y$na~P$!xO#d/{O~Od$|a!V$|a#X$|a#y$|a~P!0dO!a#tO~O#d0OO~O!V*|O^(ua'l(ua~Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!niX!nik!ni!V!ni!e!ni!l!ni#g!ni#h!ni#i!ni#j!ni#k!ni#l!ni#m!ni#n!ni#o!ni#q!ni#s!ni#u!ni#v!ni(c!ni(j!ni(k!ni~O^!ni'l!ni'j!ni!S!ni!g!nio!ni!X!ni%a!ni!a!ni~P$$gOg.TO!X'UO%a.SO~Oi0YO'u0XO~P!1UO!a+XO^'}a!X'}a'l'}a!V'}a~O#d0`O~OXYX!VcX!WcX~O!V0aO!W(yX~O!W0cO~OX0dO~O'u+aO'wTO'zUO~O!X%vO'u%_O]'hX!V'hX~O!V+fO](xa~O!g0iO~P!7sOX0lO~O]0mO~O#X0pO~Og0sO!X${O~O(V(sO!W(vP~Og0|O!X0yO%a0{O(O%QO~OX1WO!V1UO!W(wX~O!W1XO~O]1ZO^%fO'l%fO~O'u#lO'wTO'zUO~O#X$dO#{$dOP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX~O#o1^O&R1_O^(XX!f(XX~P$+]O#X$dO#o1^O&R1_O~O^1aO~P%TO^1cO~O&[1fOP&YiQ&YiV&Yi^&Yia&Yib&Yii&Yik&Yil&Yim&Yis&Yiu&Yiw&Yi|&Yi!Q&Yi!R&Yi!X&Yi!c&Yi!h&Yi!k&Yi!l&Yi!m&Yi!o&Yi!q&Yi!t&Yi!x&Yi#p&Yi$Q&Yi$U&Yi%`&Yi%b&Yi%d&Yi%e&Yi%f&Yi%i&Yi%k&Yi%n&Yi%o&Yi%q&Yi%}&Yi&T&Yi&V&Yi&X&Yi&Z&Yi&^&Yi&d&Yi&j&Yi&l&Yi&n&Yi&p&Yi&r&Yi'j&Yi'u&Yi'w&Yi'z&Yi(S&Yi(b&Yi(o&Yi!W&Yi_&Yi&a&Yi~O_1lO!W1jO&a1kO~P`O!XXO!h1nO~O&h,iOP&ciQ&ciV&ci^&cia&cib&cii&cik&cil&cim&cis&ciu&ciw&ci|&ci!Q&ci!R&ci!X&ci!c&ci!h&ci!k&ci!l&ci!m&ci!o&ci!q&ci!t&ci!x&ci#p&ci$Q&ci$U&ci%`&ci%b&ci%d&ci%e&ci%f&ci%i&ci%k&ci%n&ci%o&ci%q&ci%}&ci&T&ci&V&ci&X&ci&Z&ci&^&ci&d&ci&j&ci&l&ci&n&ci&p&ci&r&ci'j&ci'u&ci'w&ci'z&ci(S&ci(b&ci(o&ci!W&ci&[&ci_&ci&a&ci~O!S1tO~O!V!Za!W!Za~P#ByOl!mO|!nO!U1zO(V!lO!V'OX!W'OX~P?wO!V,yO!W(Za~O!V'UX!W'UX~P!6{O!V,|O!W(ia~O!W2RO~P'WO^%fO#X2[O'l%fO~O^%fO!a#tO#X2[O'l%fO~O^%fO!a#tO!l2`O#X2[O'l%fO(c'fO~O^%fO'l%fO~P!7sO!V$`Oo$ka~O!S&}i!V&}i~P!7sO!V'zO!S(Yi~O!V(RO!S(gi~O!S(hi!V(hi~P!7sO!V(ei!g(ei^(ei'l(ei~P!7sO#X2bO!V(ei!g(ei^(ei'l(ei~O!V(_O!g(di~O|%`O!X%aO!x]O#b2gO#c2fO'u%_O~O|%`O!X%aO#c2fO'u%_O~Og2nO!X'UO%a2mO~Og2nO!X'UO%a2mO(O%QO~O#dvaPvaXva^vakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva'lva(Sva(cva!gva!Sva'jvaova!Xva%ava!ava~P$ aO#d$laP$laX$la^$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la'l$la(S$la(c$la!g$la!S$la'j$lao$la!X$la%a$la!a$la~P$!VO#d$naP$naX$na^$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na'l$na(S$na(c$na!g$na!S$na'j$nao$na!X$na%a$na!a$na~P$!xO#d$|aP$|aX$|a^$|ak$|az$|a!V$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a'l$|a(S$|a(c$|a!g$|a!S$|a'j$|a#X$|ao$|a!X$|a%a$|a!a$|a~P#,`O^#[q!V#[q'l#[q'j#[q!S#[q!g#[qo#[q!X#[q%a#[q!a#[q~P!7sOd'PX!V'PX~P!'oO!V.^Od(]a~O!U2vO!V'QX!g'QX~P%TO!V.aO!g(^a~O!V.aO!g(^a~P!7sO!S2yO~O#y!ja!W!ja~PJqO#y!ba!V!ba!W!ba~P#ByO#y!na!W!na~P!:^O#y!pa!W!pa~P!`O^#wy!V#wy'l#wy'j#wy!S#wy!g#wyo#wy!X#wy%a#wy!a#wy~P!7sOg;lOy)uO|)vO(j)xO(k)zO~OP#fiX#fik#fiz#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(S#fi(c#fi!V#fi!W#fi~P%AWO!f#vOP(RXX(RXg(RXk(RXy(RXz(RX|(RX!e(RX!h(RX!l(RX#g(RX#h(RX#i(RX#j(RX#k(RX#l(RX#m(RX#n(RX#o(RX#q(RX#s(RX#u(RX#v(RX#y(RX(S(RX(c(RX(j(RX(k(RX!V(RX!W(RX~O#y#zi!V#zi!W#zi~P#ByO#y!ni!W!ni~P$$gO!W6_O~O!V'Za!W'Za~P#ByO!a#tO(c'fO!V'[a!g'[a~O!V/UO!g(pi~O!V/UO!a#tO!g(pi~Od$uq!V$uq#X$uq#y$uq~P!0dO!S'^a!V'^a~P#,`O!a6fO~O!V/^O!S(qi~P#,`O!V/^O!S(qi~O!S6jO~O!a#tO#o6oO~Ok6pO!a#tO(c'fO~O!S6rO~Od$wq!V$wq#X$wq#y$wq~P!0dO^$iy!V$iy'l$iy'j$iy!S$iy!g$iyo$iy!X$iy%a$iy!a$iy~P!7sO!a5jO~O!V4VO!X(ra~O^#[y!V#[y'l#[y'j#[y!S#[y!g#[yo#[y!X#[y%a#[y!a#[y~P!7sOX6wO~O!V0aO!W(yi~O]6}O~O(V(sO!V'cX!W'cX~O!V4mO!W(va~OikO'u7UO~P.bO!W7XO~P%$gOl!mO|7YO'wTO'zUO(V!lO(b!rO~O!X0yO~O!X0yO%a7[O~Og7_O!X0yO%a7[O~OX7dO!V'fa!W'fa~O!V1UO!W(wi~O!g7hO~O!g7iO~O!g7lO~O!g7lO~P%TO^7nO~O!a7oO~O!g7pO~O!V(hi!W(hi~P#ByO^%fO#X7xO'l%fO~O!V(ey!g(ey^(ey'l(ey~P!7sO!V(_O!g(dy~O!X'UO%a7{O~O#d$uqP$uqX$uq^$uqk$uqz$uq!V$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq'l$uq(S$uq(c$uq!g$uq!S$uq'j$uq#X$uqo$uq!X$uq%a$uq!a$uq~P#,`O#d$wqP$wqX$wq^$wqk$wqz$wq!V$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq'l$wq(S$wq(c$wq!g$wq!S$wq'j$wq#X$wqo$wq!X$wq%a$wq!a$wq~P#,`O!V'Qi!g'Qi~P!7sO#y#[q!V#[q!W#[q~P#ByOy/xOz/xO|/yOPvaXvagvakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva#yva(Sva(cva(jva(kva!Vva!Wva~Oy)uO|)vOP$laX$lag$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la#y$la(S$la(c$la(j$la(k$la!V$la!W$la~Oy)uO|)vOP$naX$nag$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na#y$na(S$na(c$na(j$na(k$na!V$na!W$na~OP$|aX$|ak$|az$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a#y$|a(S$|a(c$|a!V$|a!W$|a~P%AWO#y$hq!V$hq!W$hq~P#ByO#y$iq!V$iq!W$iq~P#ByO!W8VO~O#y8WO~P!0dO!a#tO!V'[i!g'[i~O!a#tO(c'fO!V'[i!g'[i~O!V/UO!g(pq~O!S'^i!V'^i~P#,`O!V/^O!S(qq~O!S8^O~P#,`O!S8^O~Od(Qy!V(Qy~P!0dO!V'aa!X'aa~P#,`O^%Tq!X%Tq'l%Tq!V%Tq~P#,`OX8cO~O!V0aO!W(yq~O#X8gO!V'ca!W'ca~O!V4mO!W(vi~P#ByOPYXXYXkYXyYXzYX|YX!SYX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!a%RX#o%RX~P&2WO!X0yO%a8kO~O'wTO'zUO(V8pO~O!V1UO!W(wq~O!g8sO~O!g8tO~O!g8uO~O!g8uO~P%TO#X8xO!V#ay!W#ay~O!V#ay!W#ay~P#ByO!X'UO%a8}O~O#y#wy!V#wy!W#wy~P#ByOP$uiX$uik$uiz$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui#y$ui(S$ui(c$ui!V$ui!W$ui~P%AWOy)uO|)vO(k)zOP%XiX%Xig%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi#y%Xi(S%Xi(c%Xi(j%Xi!V%Xi!W%Xi~Oy)uO|)vOP%ZiX%Zig%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi#y%Zi(S%Zi(c%Zi(j%Zi(k%Zi!V%Zi!W%Zi~O#y$iy!V$iy!W$iy~P#ByO#y#[y!V#[y!W#[y~P#ByO!a#tO!V'[q!g'[q~O!V/UO!g(py~O!S'^q!V'^q~P#,`O!S9UO~P#,`O!V0aO!W(yy~O!V4mO!W(vq~O!X0yO%a9]O~O!g9`O~O!X'UO%a9eO~OP$uqX$uqk$uqz$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq#y$uq(S$uq(c$uq!V$uq!W$uq~P%AWOP$wqX$wqk$wqz$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq#y$wq(S$wq(c$wq!V$wq!W$wq~P%AWOd%]!Z!V%]!Z#X%]!Z#y%]!Z~P!0dO!V'cq!W'cq~P#ByO!V#a!Z!W#a!Z~P#ByO#d%]!ZP%]!ZX%]!Z^%]!Zk%]!Zz%]!Z!V%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z'l%]!Z(S%]!Z(c%]!Z!g%]!Z!S%]!Z'j%]!Z#X%]!Zo%]!Z!X%]!Z%a%]!Z!a%]!Z~P#,`OP%]!ZX%]!Zk%]!Zz%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z#y%]!Z(S%]!Z(c%]!Z!V%]!Z!W%]!Z~P%AWOo(WX~P1jO'v!kO~P!){O!ScX!VcX#XcX~P&2WOPYXXYXkYXyYXzYX|YX!VYX!VcX!eYX!fYX!hYX!lYX#XYX#XcX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!acX!gYX!gcX(ccX~P&GnOP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!XXO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'u)TO'wTO'zUO(SVO(b[O(o;_O~O!V:UO!W$ka~Oi%ROk$sOl$rOm$rOs%SOu%TOw:[O|$zO!X${O!c;fO!h$wO#c:bO$Q%XO$m:^O$o:`O$r%YO'u(kO'wTO'zUO(O%QO(S$tO~O#p)[O~P&LdO!WYX!WcX~P&GnO#d9xO~O!a#tO#d9xO~O#X:YO~O#o9}O~O#X:dO!V(hX!W(hX~O#X:YO!V(fX!W(fX~O#d:eO~Od:gO~P!0dO#d:lO~O#d:mO~O!a#tO#d:nO~O!a#tO#d:eO~O#y:oO~P#ByO#d:pO~O#d:qO~O#d:rO~O#d:sO~O#d:tO~O#d:uO~O#y:vO~P!0dO#y:wO~P!0dO$U~!f!|!}#P#Q#T#b#c#n(o$m$o$r%U%`%a%b%i%k%n%o%q%s~'pR$U(o#h!R'n'v#il#g#jky'o(V'o'u$W$Y$W~",goto:"$&a(}PPPP)OP)RP)cP*r.uPPPP5UPP5kP;f>mP?QP?QPPP?QP@rP?QP?QP?QP@vPP@{PAfPF]PPPFaPPPPFaIaPPPIgJbPFaPLoPPPPN}FaPPPFaPFaP!#]FaP!&p!'r!'{P!(n!(r!(nPPPPP!+|!'rPP!,j!-dP!0WFaFa!0]!3f!7z!7z!;oPPP!;vFaPPPPPPPPPPP!?SP!@ePPFa!ArPFaPFaFaFaFaPFa!CUPP!F]P!I`P!Id!In!Ir!IrP!FYP!Iv!IvP!LyP!L}FaFa!MT#!V?QP?QP?Q?QP##a?Q?Q#%]?Q#'l?Q#)b?Q?Q#*O#+|#+|#,Q#,Y#+|#,bP#+|P?Q#,z?Q#.T?Q?Q5UPPP#/aPPP#/y#/yP#/yP#0`#/yPP#0fP#0]P#0]#0x#0]#1d#1j5R)R#1m)RP#1t#1t#1tP)RP)RP)RP)RPP)RP#1z#1}P#1})RP#2RP#2UP)RP)RP)RP)RP)RP)R)RPP#2[#2b#2l#2r#2x#3O#3U#3d#3j#3p#3z#4Q#4[#4k#4q#5b#5t#5z#6Q#6`#6u#8W#8f#8l#8r#8x#9O#9Y#9`#9f#9p#:S#:YPPPPPPPPPP#:`PPPPPPP#;S#>ZP#?j#?q#?yPPPP#DX#F}#Me#Mh#Mk#Nd#Ng#Nj#Nq#NyPP$ P$ T$ {$!z$#O$#dPP$#h$#n$#rP$#u$#y$#|$$r$%Y$%p$%t$%w$%z$&Q$&T$&X$&]R!zRmqOXs!Y#b%e&h&j&k&m,a,f1f1iY!tQ'U-R0y4tQ%kuQ%sxQ%z{Q&`!US&|!d,yQ'[!hS'b!q!wS*^${*cQ+_%tQ+l%|Q,Q&YQ-P'TQ-Z']Q-c'cQ/o*eQ1T,RR:c9t$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7xS#o]9q!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ*n%UQ+d%vQ,S&]Q,Z&eQ.W:ZQ0V+VQ0Z+XQ0f+eQ1],XQ2j.TQ4_0aQ5S1UQ6Q2nQ6W:[Q6y4`R8O6R&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bt!mQ!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4v$^$ri#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ%}{Q&z!dS'Q%a,|Q+d%vQ/z*rQ0f+eQ0k+kQ1[,WQ1],XQ4_0aQ4h0mQ5V1WQ5W1ZQ6y4`Q6|4eQ7g5YQ8f6}R8q7dpnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR,U&a&t^OPXYstuvy!Y!_!f!i!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;a;b[#ZWZ#U#X&}'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q%nwQ%rxS%w{%|Q&T!SQ'X!gQ'Z!hQ(f#qS*Q$w*US+^%s%tQ+b%vQ+{&WQ,P&YS-Y'[']Q.V(gQ/Y*RQ0_+_Q0e+eQ0g+fQ0j+jQ1O+|S1S,Q,RQ2W-ZQ3f/UQ4^0aQ4b0dQ4g0lQ5R1TQ6c3gQ6x4`Q6{4dQ8b6wR9W8cv$yi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h!S%px!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yQ+W%nQ+q&QQ+t&RQ,O&YQ.U(fQ0}+{U1R,P,Q,RQ2o.VQ4|1OS5Q1S1TQ7c5R#O;c#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg;d:W:X:^:`:b:i:k:m:q:s:wW%Oi%Q*k;_S&Q!P&_Q&R!QQ&S!RR+o&O$_$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lT)q$t)rV*o%U:Z:[U'Q!d%a,|S(t#x#yQ+i%yS.O(b(cQ0t+uQ4O/xR7R4m&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b$i$_c#W#c%i%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.i.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;UT#RV#S&{kOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ'O!dR1{,yv!mQ!d!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4vS*]${*cS/g*^*eQ/p*fQ0v+wQ3y/oR3|/rlqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&o!]Q'l!vS(h#s9xQ+[%qQ+y&TQ+z&VQ-W'YQ-e'eS.[(m:eS/}*w:nQ0]+]Q0x+xQ1m,hQ1o,iQ1w,tQ2U-XQ2X-]S4T0O:tQ4Y0^S4]0`:uQ5l1yQ5p2VQ5u2^Q6v4ZQ7s5nQ7t5qQ7w5vR8w7p$d$^c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(e#n'_U*h$|(l3YS+R%i.iQ2k0VQ5}2jQ7}6QR9O8O$d$]c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(d#n'_S(v#y$^S+Q%i.iS.P(c(eQ.l)WQ0S+RR2h.Q&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS#o]9qQ&j!WQ&k!XQ&m!ZQ&n![R1e,dQ'V!gQ+T%nQ-U'XS.R(f+WQ2S-TW2l.U.V0U0WQ5o2TU5|2i2k2oS7z5}6PS8|7|7}S9c8{9OQ9k9dR9n9lU!uQ'U-RT4r0y4t!O_OXZ`s!U!Y#b#f%]%e&_&a&h&j&k&m(_,a,f-x1f1i]!oQ!q'U-R0y4tT#o]9q%WzOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS(t#x#yS.O(b(c!s:{$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bY!sQ'U-R0y4tQ'a!qS'k!t!wS'm!x4vS-b'b'cQ-d'dR2_-cQ'j!sS(Z#e1`S-a'a'mQ/X*QQ/e*]Q2`-dQ3k/YS3t/f/pQ6b3fS6m3z3|Q8Y6cR8a6pQ#ubQ'i!sS(Y#e1`S([#k*vQ*x%^Q+Y%oQ+`%uU-`'a'j'mQ-t(ZQ/W*QQ/d*]Q/j*`Q0[+ZQ1P+}S2]-a-dQ2e-|S3j/X/YS3s/e/pQ3v/iQ3x/kQ5O1QQ5w2`Q6a3fQ6e3kS6i3t3|Q6n3{Q7a5PS8X6b6cQ8]6jQ8_6mQ8n7bQ9S8YQ9T8^Q9V8aQ9_8oQ9g9UQ;O:yQ;Z;SR;[;TV!uQ'U-R%WaOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS#uy!i!r:x$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR;O;a%WbOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xQ%^j!S%ox!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yS%uy!iQ+Z%pQ+}&YW1Q,O,P,Q,RU5P1R1S1TS7b5Q5RQ8o7c!r:y$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ;S;`R;T;a$zeOPXYstuv!Y!_!f!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xY#`WZ#U#X'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q,[&e!p:z$Z$l)i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR:}&}S'R!d%aR1},|$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7x!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ,Z&eQ0V+VQ2j.TQ6Q2nR8O6R!f$Tc#W%i'w'}(i(p)P)Q)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!T:P)U)g,w.i1u1x2z3S3T3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!b$Vc#W%i'w'}(i(p)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!P:R)U)g,w.i1u1x2z3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!^$Zc#W%i'w'}(i(p)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9rQ3e/Sz;b)U)g,w.i1u1x2z3Z3a5m6V6[6]7T7r8P8T8U9Y9a;UQ;g;iR;h;j&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS$mh$nR3^.o'RgOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$if$oQ$gfS)`$j)dR)l$oT$hf$oT)b$j)d'RhOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$mh$nQ$phR)k$n%WjOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7x!s;`$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b#alOPXZs!Y!_!n#Q#b#m#z$l%e&a&d&e&h&j&k&m&q&y'W(u)i*{+V,^,a,f-V.T.p/y0|1^1_1a1c1f1i1k2n3]4q4{5]5^5a6R7Y7_7nv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lQ*s%YQ.{)ug3Y:W:X:^:`:b:i:k:m:q:s:wv$xi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;hQ*V$yS*`${*cQ*t%ZQ/k*a#O;Q#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lf;R:W:X:^:`:b:i:k:m:q:s:wQ;V;cQ;W;dQ;X;eR;Y;fv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg3Y:W:X:^:`:b:i:k:m:q:s:wloOXs!Y#b%e&h&j&k&m,a,f1f1iQ*Y$zQ,o&tQ,p&vR3n/^$^$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ+r&RQ0r+tQ4k0qR7Q4lT*b${*cS*b${*cT4s0y4tS/i*_4qT3{/q7YQ+Y%oQ/j*`Q0[+ZQ1P+}Q5O1QQ7a5PQ8n7bR9_8on)y$u(n*u/[/s/t2s3l4R6`6q9R;P;];^!Y:h(j)Z*P*X.Z.w.|/S/a0T0o0q2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j]:i3X6Z8Q9P9Q9op){$u(n*u/Q/[/s/t2s3l4R6`6q9R;P;];^![:j(j)Z*P*X.Z.w.|/S/a0T0o0q2p2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j_:k3X6Z8Q8R9P9Q9opnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ&[!TR,^&epnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR&[!TQ+v&SR0n+oqnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ0z+{S4y0}1OU7Z4w4x4|S8j7]7^S9Z8i8lQ9h9[R9m9iQ&c!UR,V&_R5V1WS%w{%|R0g+fQ&h!VR,a&iR,g&nT1g,f1iR,k&oQ,j&oR1p,kQ'o!yR-g'oQsOQ#bXT%hs#bQ!|TR'q!|Q#PUR's#PQ)r$tR.x)rQ#SVR'u#SQ#VWU'{#V'|-nQ'|#WR-n'}Q,z'OR1|,zQ._(nR2t._Q.b(pS2w.b2xR2x.cQ-R'UR2Q-RY!qQ'U-R0y4tR'`!qS#]W%`U(S#](T-oQ(T#^R-o(OQ,}'RR2O,}r`OXs!U!Y#b%e&_&a&h&j&k&m,a,f1f1iS#fZ%]U#p`#f-xR-x(_Q(`#hQ-u([W-}(`-u2c5yQ2c-vR5y2dQ)d$jR.q)dQ$nhR)j$nQ$acU)Y$a-j:VQ-j9rR:V)gQ/V*QW3h/V3i6d8ZU3i/W/X/YS6d3j3kR8Z6e#o)w$u(j(n)Z*P*X*p*q*u.X.Y.Z.w.|/Q/R/S/[/a/s/t0T0o0q2p2q2r2s3X3l3m3q4R4j4l6S6T6X6Y6Z6`6g6k6q6s6u8Q8R8S8[8`9P9Q9R9f9o;P;];^;i;jQ/_*XU3p/_3r6hQ3r/aR6h3qQ*c${R/m*cQ*l%PR/v*lQ4W0TR6t4WQ*}%cR0R*}Q4n0tS7S4n8hR8h7TQ+x&TR0w+xQ4t0yR7W4tQ1V,SS5T1V7eR7e5VQ0b+bW4a0b4c6z8dQ4c0eQ6z4bR8d6{Q+g%wR0h+gQ1i,fR5e1iWrOXs#bQ&l!YQ+P%eQ,`&hQ,b&jQ,c&kQ,e&mQ1d,aS1g,f1iR5d1fQ%gpQ&p!^Q&s!`Q&u!aQ&w!bQ'g!sQ+O%dQ+[%qQ+n%}Q,U&cQ,m&rW-^'a'i'j'mQ-e'eQ/l*bQ0]+]S1Y,V,YQ1q,lQ1r,oQ1s,pQ2X-]W2Z-`-a-d-fQ4Y0^Q4f0kQ4i0oQ4}1PQ5X1[Q5c1eU5r2Y2]2`Q5u2^Q6v4ZQ7O4hQ7P4jQ7V4sQ7`5OQ7f5WS7u5s5wQ7w5vQ8e6|Q8m7aQ8r7gQ8y7vQ9X8fQ9^8nQ9b8zR9j9_Q%qxQ'Y!hQ'e!sU+]%r%s%tQ,t&{U-X'Z'[']S-]'a'kQ/c*]S0^+^+_Q1y,vS2V-Y-ZQ2^-bQ3u/gQ4Z0_Q5n2PQ5q2WQ5v2_R6l3yS$vi;_R*m%QU%Pi%Q;_R/u*kQ$uiS(j#t+XQ(n#vS)Z$b$cQ*P$wQ*X$zQ*p%VQ*q%WQ*u%[Q.X:]Q.Y:_Q.Z:aQ.w)pS.|)v/OQ/Q)yQ/R){Q/S)|Q/[*TQ/a*ZQ/s*iQ/t*jh0T+U.S0{2m4z6O7[7{8k8}9]9eQ0o+pQ0q+sQ2p:hQ2q:jQ2r:lQ2s.^S3X:W:XQ3l/]Q3m/^Q3q/`Q4R/{Q4j0pQ4l0sQ6S:pQ6T:rQ6X:^Q6Y:`Q6Z:bQ6`3eQ6g3oQ6k3wQ6q3}Q6s4VQ6u4XQ8Q:mQ8R:iQ8S:kQ8[6fQ8`6oQ9P:qQ9Q:sQ9R8WQ9f:vQ9o:wQ;P;_Q;];gQ;^;hQ;i;kR;j;llpOXs!Y#b%e&h&j&k&m,a,f1f1iQ!ePS#dZ#mQ&r!_U'^!n4q7YQ't#QQ(w#zQ)h$lS,Y&a&dQ,_&eQ,l&qQ,q&yQ-T'WQ.e(uQ.u)iQ0P*{Q0W+VQ1b,^Q2T-VQ2k.TQ3`.pQ4P/yQ4x0|Q5Z1^Q5[1_Q5`1aQ5b1cQ5g1kQ5}2nQ6^3]Q7^4{Q7j5]Q7k5^Q7m5aQ7}6RQ8l7_R8v7n#UcOPXZs!Y!_!n#b#m#z%e&a&d&e&h&j&k&m&q&y'W(u*{+V,^,a,f-V.T/y0|1^1_1a1c1f1i1k2n4q4{5]5^5a6R7Y7_7nQ#WWQ#cYQ%itQ%juS%lv!fS'w#U'zQ'}#XQ(i#sQ(p#wQ(x#}Q(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)U$ZQ)X$`Q)]$dW)g$l)i.p3]Q+S%kQ+h%xS,w&}1zQ-f'hS-k'x-mQ-p(QQ-r(XQ.](mQ.c(qQ.g9pQ.i9sQ.j9tQ.k9wQ.z)tQ/|*wQ1u,rQ1x,uQ2Y-_Q2a-sQ2u.aQ2z9xQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W.hQ3Z:YQ3[:cQ3a:UQ4S0OQ4[0`Q5m:dQ5s2[Q5x2bQ6U2vQ6V:eQ6[:gQ6]:nQ7T4oQ7r5kQ7v5tQ8P:oQ8T:tQ8U:uQ8z7xQ9Y8gQ9a8xQ9r#QR;U;bR#YWR'P!dY!sQ'U-R0y4tS&{!d,yQ'a!qS'k!t!wS'm!x4vS,v&|'TS-b'b'cQ-d'dQ2P-PR2_-cR(o#vR(r#wQ!eQT-Q'U-R]!pQ!q'U-R0y4tQ#n]R'_9qT#iZ%]S#hZ%]S%cm,]U([#f#g#jS-v(](^Q-z(_Q0Q*|Q2d-wU2e-x-y-{S5z2f2gR7y5{`#[W#U#X%`'x(R*y-qr#eZm#f#g#j%](](^(_*|-w-x-y-{2f2g5{Q1`,]Q1v,sQ5i1nQ7q5jT:|&}*zT#_W%`S#^W%`S'y#U(RS(O#X*yS,x&}*zT-l'x-qT'S!d%aQ$jfR)n$oT)c$j)dR3_.oT*S$w*UR*[$zQ0U+UQ2i.SQ4w0{Q6P2mQ7]4zQ7|6OQ8i7[Q8{7{Q9[8kQ9d8}Q9i9]R9l9elqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&b!UR,U&_rmOXs!T!U!Y#b%e&_&h&j&k&m,a,f1f1iR,]&eT%dm,]R0u+uR,T&]Q%{{R+m%|R+c%vT&f!V&iT&g!V&iT1h,f1i",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:366,context:ox,nodeProps:[["group",-26,6,14,16,62,199,203,207,208,210,213,216,226,228,234,236,238,240,243,249,255,257,259,261,263,265,266,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[ux],skippedNodes:[0,3,4,269],repeatNodeCount:33,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$d&j'xpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'xpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$d&j'xp'{!b'n(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'y#S$d&j'o(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$d&j'xp'{!b'o(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$d&j!l$Ip'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'w$(n$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$d&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$_#t$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$_#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$_#t$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'{!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$_#t'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}st%Ztu`k$d&j'xp'{!b(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P+d@`k$d&j'xp'{!b$W#tOY%ZYZ&cZr%Zrs&}st%Ztu@Tuw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![@T![!^%Z!^!_*g!_!c%Z!c!}@T!}#O%Z#O#P&c#P#R%Z#R#S@T#S#T%Z#T#o@T#o#p*g#p$g%Z$g;'S@T;'S;=`BT<%lO@T+dBWP;=`<%l@T(CSB^P;=`<%l>P%#SBl`$d&j'xp'{!b#i$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SCy_$d&j#{$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%DfETa(k%Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>fi$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#@b_!a$b$d&j#y%Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$d&j'xp'{!b'o(;d(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",tokenizers:[lx,cx,2,3,4,5,6,7,8,9,10,11,12,13,sx,new Wc("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(U~~",141,327),new Wc("j~RQYZXz{^~^O'r~~aP!P!Qd~iO's~~",25,309)],topRules:{Script:[0,5],SingleExpression:[1,267],SingleClassItem:[2,268]},dialects:{jsx:12794,ts:12796},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:313,get:r=>dx[r]||-1},{term:329,get:r=>hx[r]||-1},{term:67,get:r=>fx[r]||-1}],tokenPrec:12820});class Ct{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let a=[];return this.decompose(0,e,a,2),n.length&&n.decompose(0,n.length,a,3),this.decompose(t,this.length,a,1),ma.from(a,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),ma.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),a=new Zs(this),i=new Zs(e);for(let o=t,s=t;;){if(a.next(o),i.next(o),o=0,a.lineBreak!=i.lineBreak||a.done!=i.done||a.value!=i.value)return!1;if(s+=a.value.length,a.done||s>=n)return!0}}iter(e=1){return new Zs(this,e)}iterRange(e,t=this.length){return new qE(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let a=this.line(e).from;n=this.iterRange(a,Math.max(a,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new QE(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Ct.empty:e.length<=32?new cn(e):ma.from(cn.split(e,[]))}}class cn extends Ct{constructor(e,t=px(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,a){for(let i=0;;i++){let o=this.text[i],s=a+o.length;if((t?n:s)>=e)return new gx(a,s,n,o);a=s+1,n++}}decompose(e,t,n,a){let i=e<=0&&t>=this.length?this:new cn(f1(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(a&1){let o=n.pop(),s=Ac(i.text,o.text.slice(),0,i.length);if(s.length<=32)n.push(new cn(s,o.length+i.length));else{let l=s.length>>1;n.push(new cn(s.slice(0,l)),new cn(s.slice(l)))}}else n.push(i)}replace(e,t,n){if(!(n instanceof cn))return super.replace(e,t,n);let a=Ac(this.text,Ac(n.text,f1(this.text,0,e)),t),i=this.length+n.length-(t-e);return a.length<=32?new cn(a,i):ma.from(cn.split(a,[]),i)}sliceString(e,t=this.length,n=` +var wN=Object.defineProperty;var AN=(r,e,t)=>e in r?wN(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var T=(r,e,t)=>(AN(r,typeof e!="symbol"?e+"":e,t),t),dd=(r,e,t)=>{if(!e.has(r))throw TypeError("Cannot "+t)};var K=(r,e,t)=>(dd(r,e,"read from private field"),t?t.call(r):e.get(r)),ct=(r,e,t)=>{if(e.has(r))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(r):e.set(r,t)},Je=(r,e,t,n)=>(dd(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t);var ec=(r,e,t,n)=>({set _(a){Je(r,e,a,t)},get _(){return K(r,e,n)}}),We=(r,e,t)=>(dd(r,e,"access private method"),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function t(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=t(a);fetch(a.href,i)}})();let Qn=[],IN=(r,e)=>{let t,n=[],a={lc:0,l:e||0,value:r,set(i){a.value=i,a.notify()},get(){return a.lc||a.listen(()=>{})(),a.value},notify(i){t=n;let o=!Qn.length;for(let s=0;s{n===t&&(n=n.slice());let s=n.indexOf(i);~s&&(n.splice(s,2),a.lc--,a.lc||a.off())}},subscribe(i,o){let s=a.listen(i,o);return i(a.value),s},off(){}};return a},kN=(r={})=>{let e=IN(r);return e.setKey=function(t,n){typeof n>"u"?t in e.value&&(e.value={...e.value},delete e.value[t],e.notify(t)):e.value[t]!==n&&(e.value={...e.value,[t]:n},e.notify(t))},e};if(typeof DelayNode<"u"){class r extends DelayNode{constructor(t,n,a,i){super(t),n=Math.abs(n),this.delayTime.value=a;const o=t.createGain();o.gain.value=Math.min(Math.abs(i),.995),this.feedback=o.gain;const s=t.createGain();return s.gain.value=n,this.delayGain=s,this.connect(o),this.connect(s),o.connect(this),this.connect=l=>s.connect(l),this}start(t){this.delayGain.gain.setValueAtTime(this.delayGain.gain.value,t+this.delayTime.value)}}AudioContext.prototype.createFeedbackDelay=function(e,t,n){return new r(this,e,t,n)}}var s0={};s0.generateReverb=function(r,e){for(var t=r.audioContext||new AudioContext,n=t.sampleRate,a=r.numChannels||2,i=r.decayTime*1.5,o=Math.round(r.decayTime*n),s=Math.round(i*n),l=Math.round((r.fadeInTime||0)*n),c=Math.pow(1/1e3,1/o),u=t.createBuffer(a,s,n),h=0;h{i.duration=o,i.fade=s,i.lp=l,i.dim=c,i.ir=u,u?i.buffer=this.adjustLength(o,u):s0.generateReverb({audioContext:this,numChannels:2,decayTime:o,fadeInTime:s,lpFreqStart:l,lpFreqEnd:c},h=>{i.buffer=h})},i.generate(r,e,t,n,a),i});var H_={a:{freqs:[660,1120,2750,3e3,3350],gains:[1,.5012,.0708,.0631,.0126],qs:[80,90,120,130,140]},e:{freqs:[440,1800,2700,3e3,3300],gains:[1,.1995,.1259,.1,.1],qs:[70,80,100,120,120]},i:{freqs:[270,1850,2900,3350,3590],gains:[1,.0631,.0631,.0158,.0158],qs:[40,90,100,120,120]},o:{freqs:[430,820,2700,3e3,3300],gains:[1,.3162,.0501,.0794,.01995],qs:[40,80,100,120,120]},u:{freqs:[370,630,2750,3e3,3400],gains:[1,.1,.0708,.0316,.01995],qs:[40,60,100,120,120]}};if(typeof GainNode<"u"){class r extends GainNode{constructor(t,n){if(super(t),!H_[n])throw new Error("vowel: unknown vowel "+n);const{gains:a,qs:i,freqs:o}=H_[n],s=t.createGain();for(let l=0;l<5;l++){const c=t.createGain();c.gain.value=a[l];const u=t.createBiquadFilter();u.type="bandpass",u.Q.value=i[l],u.frequency.value=o[l],this.connect(u),u.connect(c),c.connect(s)}return s.gain.value=8,this.connect=l=>s.connect(l),this}}AudioContext.prototype.createVowelFilter=function(e){return new r(this,e)}}let MN=r=>console.log(r);const ji=(...r)=>MN(...r),LN=r=>{var a;if(typeof r!="string")return[];const[e,t="",n]=((a=r.match(/^([a-gA-G])([#bsf]*)([0-9]*)$/))==null?void 0:a.slice(1))||[];return e?[e,t,n?Number(n):void 0]:[]},PN={c:0,d:2,e:4,f:5,g:7,a:9,b:11},BN={"#":1,b:-1,s:1,f:-1},Nu=(r,e=3)=>{const[t,n,a=e]=LN(r);if(!t)throw new Error('not a note: "'+r+'"');const i=PN[t.toLowerCase()],o=(n==null?void 0:n.split("").reduce((s,l)=>s+BN[l],0))||0;return(Number(a)+1)*12+i+o},IE=r=>Math.pow(2,(r-69)/12)*440,Qc=(r,e,t)=>Math.min(Math.max(r,e),t),YN=r=>12*Math.log(r/440)/Math.LN2+69,FN=(r,e)=>{if(typeof r!="object")throw new Error("valueToMidi: expected object value");let{freq:t,note:n}=r;if(typeof t=="number")return YN(t);if(typeof n=="string")return Nu(n);if(typeof n=="number")return n;if(!e)throw new Error("valueToMidi: expected freq or note to be set");return e};function kE(r,e){return isNaN(Number(r))?(ji(`"${r}" is not a number, falling back to ${e}`,"warning"),e):r}const UN="data:application/javascript;base64,Ly8gTElDRU5TRSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2My4wIHNlZSBodHRwczovL2dpdGh1Yi5jb20vZGt0cjAvV2ViRGlydC9ibG9iL21haW4vTElDRU5TRQovLyBhbGwgdGhlIGNyZWRpdCBnb2VzIHRvIGRrdHIwJ3Mgd2ViZGlydDogaHR0cHM6Ly9naXRodWIuY29tL2RrdHIwL1dlYkRpcnQvYmxvYi81Y2UzZDY5ODM2MmM1NGQ2ZTFiNjhhY2M0N2ViMjk1NWFjNjJjNzkzL2Rpc3QvQXVkaW9Xb3JrbGV0cy5qcwovLyA8MwoKY2xhc3MgQ29hcnNlUHJvY2Vzc29yIGV4dGVuZHMgQXVkaW9Xb3JrbGV0UHJvY2Vzc29yIHsKICBzdGF0aWMgZ2V0IHBhcmFtZXRlckRlc2NyaXB0b3JzKCkgewogICAgcmV0dXJuIFt7IG5hbWU6ICdjb2Fyc2UnLCBkZWZhdWx0VmFsdWU6IDEgfV07CiAgfQoKICBjb25zdHJ1Y3RvcigpIHsKICAgIHN1cGVyKCk7CiAgICB0aGlzLm5vdFN0YXJ0ZWQgPSB0cnVlOwogIH0KCiAgcHJvY2VzcyhpbnB1dHMsIG91dHB1dHMsIHBhcmFtZXRlcnMpIHsKICAgIGNvbnN0IGlucHV0ID0gaW5wdXRzWzBdOwogICAgY29uc3Qgb3V0cHV0ID0gb3V0cHV0c1swXTsKICAgIGNvbnN0IGNvYXJzZSA9IHBhcmFtZXRlcnMuY29hcnNlOwogICAgY29uc3QgYmxvY2tTaXplID0gMTI4OwogICAgY29uc3QgaGFzSW5wdXQgPSAhKGlucHV0WzBdID09PSB1bmRlZmluZWQpOwogICAgaWYgKGhhc0lucHV0KSB7CiAgICAgIHRoaXMubm90U3RhcnRlZCA9IGZhbHNlOwogICAgICBvdXRwdXRbMF1bMF0gPSBpbnB1dFswXVswXTsKICAgICAgZm9yIChsZXQgbiA9IDE7IG4gPCBibG9ja1NpemU7IG4rKykgewogICAgICAgIGZvciAobGV0IG8gPSAwOyBvIDwgb3V0cHV0Lmxlbmd0aDsgbysrKSB7CiAgICAgICAgICBvdXRwdXRbb11bbl0gPSBuICUgY29hcnNlID09IDAgPyBpbnB1dFswXVtuXSA6IG91dHB1dFtvXVtuIC0gMV07CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgICByZXR1cm4gdGhpcy5ub3RTdGFydGVkIHx8IGhhc0lucHV0OwogIH0KfQoKcmVnaXN0ZXJQcm9jZXNzb3IoJ2NvYXJzZS1wcm9jZXNzb3InLCBDb2Fyc2VQcm9jZXNzb3IpOwoKY2xhc3MgQ3J1c2hQcm9jZXNzb3IgZXh0ZW5kcyBBdWRpb1dvcmtsZXRQcm9jZXNzb3IgewogIHN0YXRpYyBnZXQgcGFyYW1ldGVyRGVzY3JpcHRvcnMoKSB7CiAgICByZXR1cm4gW3sgbmFtZTogJ2NydXNoJywgZGVmYXVsdFZhbHVlOiAwIH1dOwogIH0KCiAgY29uc3RydWN0b3IoKSB7CiAgICBzdXBlcigpOwogICAgdGhpcy5ub3RTdGFydGVkID0gdHJ1ZTsKICB9CgogIHByb2Nlc3MoaW5wdXRzLCBvdXRwdXRzLCBwYXJhbWV0ZXJzKSB7CiAgICBjb25zdCBpbnB1dCA9IGlucHV0c1swXTsKICAgIGNvbnN0IG91dHB1dCA9IG91dHB1dHNbMF07CiAgICBjb25zdCBjcnVzaCA9IHBhcmFtZXRlcnMuY3J1c2g7CiAgICBjb25zdCBibG9ja1NpemUgPSAxMjg7CiAgICBjb25zdCBoYXNJbnB1dCA9ICEoaW5wdXRbMF0gPT09IHVuZGVmaW5lZCk7CiAgICBpZiAoaGFzSW5wdXQpIHsKICAgICAgdGhpcy5ub3RTdGFydGVkID0gZmFsc2U7CiAgICAgIGlmIChjcnVzaC5sZW5ndGggPT09IDEpIHsKICAgICAgICBjb25zdCB4ID0gTWF0aC5wb3coMiwgY3J1c2hbMF0gLSAxKTsKICAgICAgICBmb3IgKGxldCBuID0gMDsgbiA8IGJsb2NrU2l6ZTsgbisrKSB7CiAgICAgICAgICBjb25zdCB2YWx1ZSA9IE1hdGgucm91bmQoaW5wdXRbMF1bbl0gKiB4KSAvIHg7CiAgICAgICAgICBmb3IgKGxldCBvID0gMDsgbyA8IG91dHB1dC5sZW5ndGg7IG8rKykgewogICAgICAgICAgICBvdXRwdXRbb11bbl0gPSB2YWx1ZTsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0gZWxzZSB7CiAgICAgICAgZm9yIChsZXQgbiA9IDA7IG4gPCBibG9ja1NpemU7IG4rKykgewogICAgICAgICAgbGV0IHggPSBNYXRoLnBvdygyLCBjcnVzaFtuXSAtIDEpOwogICAgICAgICAgY29uc3QgdmFsdWUgPSBNYXRoLnJvdW5kKGlucHV0WzBdW25dICogeCkgLyB4OwogICAgICAgICAgZm9yIChsZXQgbyA9IDA7IG8gPCBvdXRwdXQubGVuZ3RoOyBvKyspIHsKICAgICAgICAgICAgb3V0cHV0W29dW25dID0gdmFsdWU7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgICByZXR1cm4gdGhpcy5ub3RTdGFydGVkIHx8IGhhc0lucHV0OwogIH0KfQpyZWdpc3RlclByb2Nlc3NvcignY3J1c2gtcHJvY2Vzc29yJywgQ3J1c2hQcm9jZXNzb3IpOwoKY2xhc3MgU2hhcGVQcm9jZXNzb3IgZXh0ZW5kcyBBdWRpb1dvcmtsZXRQcm9jZXNzb3IgewogIHN0YXRpYyBnZXQgcGFyYW1ldGVyRGVzY3JpcHRvcnMoKSB7CiAgICByZXR1cm4gW3sgbmFtZTogJ3NoYXBlJywgZGVmYXVsdFZhbHVlOiAwIH1dOwogIH0KCiAgY29uc3RydWN0b3IoKSB7CiAgICBzdXBlcigpOwogICAgdGhpcy5ub3RTdGFydGVkID0gdHJ1ZTsKICB9CgogIHByb2Nlc3MoaW5wdXRzLCBvdXRwdXRzLCBwYXJhbWV0ZXJzKSB7CiAgICBjb25zdCBpbnB1dCA9IGlucHV0c1swXTsKICAgIGNvbnN0IG91dHB1dCA9IG91dHB1dHNbMF07CiAgICBjb25zdCBzaGFwZTAgPSBwYXJhbWV0ZXJzLnNoYXBlWzBdOwogICAgY29uc3Qgc2hhcGUxID0gc2hhcGUwIDwgMSA/IHNoYXBlMCA6IDEuMCAtIDRlLTEwOwogICAgY29uc3Qgc2hhcGUgPSAoMi4wICogc2hhcGUxKSAvICgxLjAgLSBzaGFwZTEpOwogICAgY29uc3QgYmxvY2tTaXplID0gMTI4OwogICAgY29uc3QgaGFzSW5wdXQgPSAhKGlucHV0WzBdID09PSB1bmRlZmluZWQpOwogICAgaWYgKGhhc0lucHV0KSB7CiAgICAgIHRoaXMubm90U3RhcnRlZCA9IGZhbHNlOwogICAgICBmb3IgKGxldCBuID0gMDsgbiA8IGJsb2NrU2l6ZTsgbisrKSB7CiAgICAgICAgY29uc3QgdmFsdWUgPSAoKDEgKyBzaGFwZSkgKiBpbnB1dFswXVtuXSkgLyAoMSArIHNoYXBlICogTWF0aC5hYnMoaW5wdXRbMF1bbl0pKTsKICAgICAgICBmb3IgKGxldCBvID0gMDsgbyA8IG91dHB1dC5sZW5ndGg7IG8rKykgewogICAgICAgICAgb3V0cHV0W29dW25dID0gdmFsdWU7CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgICByZXR1cm4gdGhpcy5ub3RTdGFydGVkIHx8IGhhc0lucHV0OwogIH0KfQoKcmVnaXN0ZXJQcm9jZXNzb3IoJ3NoYXBlLXByb2Nlc3NvcicsIFNoYXBlUHJvY2Vzc29yKTsK";function l0(r){const e=Mt().createGain();return e.gain.value=r,e}const c0=(r,e,t,n,a,i)=>{const o=Mt().createGain();let s=i;o.gain.setValueAtTime(0,i),s+=r,o.gain.linearRampToValueAtTime(a,s),s+=e;let l=t*a;return o.gain.linearRampToValueAtTime(l,s),{node:o,stop:c=>(s=Math.max(c,s),o.gain.setValueAtTime(l,s),s+=n,o.gain.linearRampToValueAtTime(0,s),s)}},$N=(r,e,t,n,a,i)=>{t=Math.max(.001,t),a=Math.max(.001,a);const o=Mt().createGain();return o.gain.setValueAtTime(1e-4,i),o.gain.exponentialRampToValueAtTime(a,i+r),o.gain.exponentialRampToValueAtTime(t*a,i+r+e),{node:o,stop:s=>{o.gain.exponentialRampToValueAtTime(1e-4,s+n)}}},GN=(r,e,t,n,a,i,o,s,l)=>{const c=o-i,u=i+c,h=i+n*c;r.setValueAtTime(i,s),r.linearRampToValueAtTime(u,s+e),r.linearRampToValueAtTime(h,s+e+t),r.setValueAtTime(h,l),r.linearRampToValueAtTime(i,l+Math.max(a,.1))};function qN(r,e,t,n,a,i){const o={threshold:e??-3,ratio:t??10,knee:n??10,attack:a??.005,release:i??.05};return new DynamicsCompressorNode(r,o)}function hd(r,e,t,n,a,i,o,s,l,c,u,h=.5){const p=r.createBiquadFilter();if(p.type=e,p.Q.value=n,p.frequency.value=t,!isNaN(l)&&l!==0){const _=l*h,b=Qc(2**-_*t,0,2e4),A=Qc(2**(l-_)*t,0,2e4);return GN(p.frequency,a,i,o,s,b,A,c,u),p}return p}let V_=r=>r<.5?1:1-(r-.5)/.5;function QN(r,e,t=0){const n=Mt();if(!t)return r;let a=n.createGain(),i=n.createGain();r.connect(a),e.connect(i),a.gain.value=V_(t),i.gain.value=V_(1-t);let o=n.createGain();return a.connect(o),i.connect(o),o}const fd={};function HN(r,e){var t=e?1e3:1024;if(r=t);return r.toFixed(1)+" "+n[a]}const VN=async(r,e,t,n,a,i,o)=>{let s=0;a!==void 0&&t!==void 0&&ji("[sampler] hap has note and freq. ignoring note","warning");let l=FN({freq:a,note:t},36);s=l-36;const c=Mt();let u;if(Array.isArray(i))e=kE(e,0),u=i[e%i.length];else{const b=I=>Nu(I)-l,A=Object.keys(i).filter(I=>!I.startsWith("_")).reduce((I,M,U)=>!I||Math.abs(b(M)){const a=t?`sound "${t}:${n}"`:"sample";if(r=r.replace("#","%23"),!fd[r]){ji(`[sampler] load ${a}..`,"load-sample",{url:r});const i=Date.now();fd[r]=fetch(r).then(o=>o.arrayBuffer()).then(async o=>{const s=Date.now()-i,l=HN(o.byteLength);return ji(`[sampler] load ${a}... done! loaded ${l} in ${s}ms`,"loaded-sample",{url:r}),await e.decodeAudioData(o)})}return fd[r]};function zN(r){const e=Mt(),t=e.createBuffer(r.numberOfChannels,r.length,e.sampleRate);for(let n=0;nObject.entries(r).forEach(([n,a])=>{if(typeof a=="string"&&(a=[a]),typeof a!="object")throw new Error("wrong sample map format for "+n);t=a._base||t;const i=o=>(t+o).replace("github:","https://raw.githubusercontent.com/");Array.isArray(a)?a=a.map(i):a=Object.fromEntries(Object.entries(a).map(([o,s])=>[o,(typeof s=="string"?[s]:s).map(i)])),e(n,a)});let XN={};function KN(r){const e=Object.entries(XN).find(([t])=>r.startsWith(t));if(e)return e[1]}const da=async(r,e=r._base||"",t={})=>{if(typeof r=="string"){const i=KN(r);if(i)return i(r);if(r.startsWith("bubo:")){const[s,l]=r.split(":");r=`github:Bubobubobubobubo/dough-${l}`}if(r.startsWith("github:")){let[s,l]=r.split("github:");l=l.endsWith("/")?l.slice(0,-1):l,l.split("/").length===2&&(l+="/main"),r=`https://raw.githubusercontent.com/${l}/strudel.json`}if(r.startsWith("shabda:")){let[s,l]=r.split("shabda:");r=`https://shabda.ndre.gr/${l}.json?strudel=1`}if(r.startsWith("shabda/speech")){let[s,l]=r.split("shabda/speech");l=l.startsWith("/")?l.substring(1):l;let[c,u]=l.split(":"),h="f",p="en-GB";c&&([p,h]=c.split("/")),r=`https://shabda.ndre.gr/speech/${u}.json?gender=${h}&language=${p}&strudel=1'`}if(typeof fetch!="function")return;const o=r.split("/").slice(0,-1).join("/");return typeof fetch>"u"?void 0:fetch(r).then(s=>s.json()).then(s=>da(s,e||s._base||o,t)).catch(s=>{throw console.error(s),new Error(`error loading "${r}"`)})}const{prebake:n,tag:a}=t;WN(r,(i,o)=>xu(i,(s,l,c)=>DE(s,l,c,o),{type:"sample",samples:o,baseUrl:e,prebake:n,tag:a}),e)},z_=[];async function DE(r,e,t,n,a){let{s:i,freq:o,unit:s,nudge:l=0,cut:c,loop:u,clip:h=void 0,n:p=0,note:_,speed:b=1,loopBegin:A=0,begin:I=0,loopEnd:M=1,end:U=1,vib:V,vibmod:m=.5}=e;if(b===0)return;u=i.startsWith("wt_")?1:e.loop;const O=Mt(),{attack:S=.001,decay:k=.001,sustain:L=1,release:F=.001}=e,Y=r+l,q=await VN(i,p,_,b,o,n,a);let te;if(V>0){te=Mt().createOscillator(),te.frequency.value=V;const H=Mt().createGain();H.gain.value=m*100,te.connect(H),H.connect(q.detune),te.start(0)}if(O.currentTime>r){ji(`[sampler] still loading sound "${i}:${p}"`,"highlight");return}if(!q){ji(`[sampler] could not load "${i}:${p}"`,"error");return}q.playbackRate.value=Math.abs(b)*q.playbackRate.value,s==="c"&&(q.playbackRate.value=q.playbackRate.value*q.buffer.duration*1);const se=I*q.buffer.duration;u&&(q.loop=!0,q.loopStart=A*q.buffer.duration-se,q.loopEnd=M*q.buffer.duration-se),q.start(Y,se);const{node:ie,stop:ae}=c0(S,k,L,F,1,r);q.connect(ie);const D=O.createGain();ie.connect(D),q.onended=function(){q.disconnect(),te==null||te.stop(),ie.disconnect(),D.disconnect(),t()};const P={node:D,bufferSource:q,stop:(H,z=h===void 0&&u===void 0)=>{let ne=H;if(z){const _e=q.buffer.duration/q.playbackRate.value;ne=r+(U-I)*_e}const oe=ae(ne);q.stop(oe)}};if(c!==void 0){const H=z_[c];H&&(H.node.gain.setValueAtTime(1,Y),H.node.gain.linearRampToValueAtTime(0,Y+.01)),z_[c]=P}return P}const Du=kN();function xu(r,e,t={}){Du.setKey(r,{onTrigger:e,data:t})}function md(r){return Du.get()[r]}let ws;const Mt=()=>{if(!ws){ws=new AudioContext;const r=ws.destination.maxChannelCount;ws.destination.channelCount=r}return ws};let pd;function ZN(){return pd||(pd=Mt().audioWorklet.addModule(UN),pd)}function gd(r,e,t){const n=new AudioWorkletNode(r,e);return Object.entries(t).forEach(([a,i])=>{n.parameters.get(a).value=i}),n}async function jN(r={}){const{disableWorklets:e=!1}=r;typeof window<"u"&&(await Mt().resume(),e?console.log("disableWorklets: AudioWorklet effects coarse, crush and shape are skipped!"):await ZN().catch(t=>{console.warn("could not load AudioWorklet effects coarse, crush and shape",t)}))}async function JN(r){return new Promise(e=>{document.addEventListener("click",async function t(){await jN(r),e(),document.removeEventListener("click",t)})})}let xi={},tc,_d;const u0=(r,e=[0,1])=>{const t=Mt();tc==null&&(tc=new ChannelMergerNode(t,{numberOfInputs:t.destination.channelCount}),_d=new GainNode(t),tc.connect(_d),_d.connect(t.destination));const n=new StereoPannerNode(t);r.connect(n);const a=new ChannelSplitterNode(t,{numberOfOutputs:n.channelCount});n.connect(a),e.forEach((i,o)=>{a.connect(tc,o%n.channelCount,Qc(i,0,t.destination.channelCount-1))})};function eD(r,e,t,n){var a;if(t=Qc(t,0,.98),!xi[r]){const i=Mt().createFeedbackDelay(1,e,t);(a=i.start)==null||a.call(i,n),u0(i,[0,1]),xi[r]=i}return xi[r].delayTime.value!==e&&xi[r].delayTime.setValueAtTime(e,n),xi[r].feedback.value!==t&&xi[r].feedback.setValueAtTime(t,n),xi[r]}const ni={};function tD(r,e,t=1,n=.5,a=1e3,i=2e3){const o=Mt(),s=o.createGain();s.gain.value=i,ni[r]==null&&(ni[r]=o.createOscillator(),ni[r].frequency.value=t,ni[r].type="sine",ni[r].start()),ni[r].connect(s),ni[r].frequency.value!=t&&ni[r].frequency.setValueAtTime(t,e);const l=2;let c=0;const u=[];for(let h=0;h0&&u[h-1].connect(p),u.push(p)}return u[u.length-1]}let Na={},nc=(r,e)=>r!==void 0&&r!==e;function nD(r,e,t,n,a,i){if(!Na[r]){const o=Mt().createReverb(e,t,n,a,i);u0(o,[0,1]),Na[r]=o}return(nc(e,Na[r].duration)||nc(t,Na[r].fade)||nc(n,Na[r].lp)||nc(a,Na[r].dim)||Na[r].ir!==i)&&Na[r].generate(e,t,n,a,i),Na[r]}let Mi;function qp(r=2048){if(!Mi){const e=Mt().createAnalyser();e.fftSize=r,Mi=e,new Float32Array(Mi.frequencyBinCount)}return Mi.fftSize!==r&&(Mi.fftSize=r,new Float32Array(Mi.frequencyBinCount)),Mi}function bd(r,e,t){const n=l0(t);return r.connect(n),n.connect(e),n}const rD=async(r,e,t)=>{const n=Mt();if(typeof r!="object")throw new Error(`expected hap.value to be an object, but got "${r}". Hint: append .note() or .s() to the end`,"error");r.duration=t;let a=n.currentTime+e,{s:i="triangle",bank:o,source:s,gain:l=.8,postgain:c=1,density:u=.03,ftype:h="12db",fanchor:p=.5,cutoff:_,lpenv:b,lpattack:A=.01,lpdecay:I=.01,lpsustain:M=1,lprelease:U=.01,resonance:V=1,hpenv:m,hcutoff:O,hpattack:S=.01,hpdecay:k=.01,hpsustain:L=1,hprelease:F=.01,hresonance:Y=1,bpenv:q,bandf:te,bpattack:se=.01,bpdecay:ie=.01,bpsustain:ae=1,bprelease:D=.01,bandq:P=1,channels:H=[1,2],phaser:z,phaserdepth:ne=.75,phasersweep:oe,phasercenter:_e,coarse:ye,crush:we,shape:Ee,pan:Ce,vowel:he,delay:xe=0,delayfeedback:je=.5,delaytime:Ve=.25,orbit:nt=1,room:et,roomfade:yt,roomlp:Lt,roomdim:St,roomsize:Dt,ir:Pt,i:Rn=0,velocity:ze=1,analyze:En,fft:ht=8,compressor:Ke,compressorRatio:wn,compressorKnee:tn,compressorAttack:Ut,compressorRelease:j}=r;l=kE(l,1),H=(Array.isArray(H)?H:[H]).map(rt=>rt-1),l*=ze;let be=[];const De=()=>{be.forEach(rt=>rt==null?void 0:rt.disconnect())};o&&i&&(i=`${o}_${i}`);let Ne;if(s)Ne=s(a,r,t);else if(md(i)){const{onTrigger:rt}=md(i),it=await rt(a,r,De);it&&(Ne=it.node,it.stop(a+t))}else throw new Error(`sound ${i} not found! Is it loaded?`);if(!Ne)return;if(n.currentTime>a){ji("[webaudio] skip hap: still loading",n.currentTime-a);return}const Me=[];if(Me.push(Ne),Me.push(l0(l)),_!==void 0){let rt=()=>hd(n,"lowpass",_,V,A,I,M,U,b,a,a+t,p);Me.push(rt()),h==="24db"&&Me.push(rt())}if(O!==void 0){let rt=()=>hd(n,"highpass",O,Y,S,k,L,F,m,a,a+t,p);Me.push(rt()),h==="24db"&&Me.push(rt())}if(te!==void 0){let rt=()=>hd(n,"bandpass",te,P,se,ie,ae,D,q,a,a+t,p);Me.push(rt()),h==="24db"&&Me.push(rt())}if(he!==void 0){const rt=n.createVowelFilter(he);Me.push(rt)}if(ye!==void 0&&Me.push(gd(n,"coarse-processor",{coarse:ye})),we!==void 0&&Me.push(gd(n,"crush-processor",{crush:we})),Ee!==void 0&&Me.push(gd(n,"shape-processor",{shape:Ee})),Ke!==void 0&&Me.push(qN(n,Ke,wn,tn,Ut,j)),Ce!==void 0){const rt=n.createStereoPanner();rt.pan.value=2*Ce-1,Me.push(rt)}if(z!==void 0&&ne>0){const rt=tD(nt,a,z,ne,_e,oe);Me.push(rt)}const Re=new GainNode(n,{gain:c});Me.push(Re),u0(Re,H);let $t;if(xe>0&&Ve>0&&je>0){const rt=eD(nt,Ve,je,a);$t=bd(Re,rt,xe)}let ut;if(et>0){let rt;if(Pt!==void 0){let Vt,_t=md(Pt);Array.isArray(_t)?Vt=_t.data.samples[Rn%_t.data.samples.length]:typeof _t=="object"&&(Vt=Object.values(_t.data.samples).flat()[Rn%Object.values(_t.data.samples).length]),rt=await NE(Vt,n,Pt,0)}const it=nD(nt,Dt,yt,Lt,St,rt);ut=bd(Re,it,et)}let Tt;if(En){const rt=qp(2**(ht+5));Tt=bd(Re,rt,En)}Me.slice(1).reduce((rt,it)=>rt.connect(it),Me[0]),be=Me.concat([$t,ut,Tt])};let Sd={};function aD(r,e){const t=Mt();if(Sd[r])return Sd[r];const n=2*t.sampleRate,a=t.createBuffer(1,n,t.sampleRate),i=a.getChannelData(0);let o=0,s,l,c,u,h,p,_;s=l=c=u=h=p=_=0;for(let b=0;bn.stop(a)}}function iD(r,e,t){const n=xE("pink",t);return{node:QN(r,n.node,e),stop:a=>n==null?void 0:n.stop(a)}}const oD=(r,e=1,t="sine")=>{const n=Mt(),a=n.createOscillator();a.type=t,a.frequency.value=r,a.start();const i=new GainNode(n,{gain:e});return a.connect(i),{node:i,stop:o=>a.stop(o)}},sD=(r,e,t,n="sine")=>{const a=r.frequency.value*e,i=a*t;return oD(a,i,n)},W_=["sine","square","triangle","sawtooth"],lD=["pink","white","brown","crackle"];function cD(){[...W_,...lD].forEach(r=>{xu(r,(e,t,n)=>{let{attack:a=.001,decay:i=.05,sustain:o=.6,release:s=.01}=t,l;if(W_.includes(r))l=dD(r,e,t);else{let{density:A}=t;l=xE(r,e,A)}let{node:c,stop:u,triggerRelease:h}=l;const p=l0(.3),{node:_,stop:b}=c0(a,i,o,s,1,e);return c.onended=()=>{c.disconnect(),p.disconnect(),n()},{node:c.connect(p).connect(_),stop:A=>{const I=b(A);h==null||h(A),u(I)}}},{type:"synth",prebake:!0})})}function uD(r,e){const t=new Float32Array(r+1),n=new Float32Array(r+1),a=Mt(),i=a.createOscillator(),o={sawtooth:c=>[0,-1/c],square:c=>[0,c%2===0?0:1/c],triangle:c=>[c%2===0?0:1/(c*c),0]};if(!o[e])throw new Error(`unknown wave type ${e}`);t[0]=0,n[0]=0;let s=1;for(;s<=r;){const[c,u]=o[e](s);t[s]=c,n[s]=u,s++}const l=a.createPeriodicWave(t,n);return i.setPeriodicWave(l),i}function dD(r,e,{n:t,note:n,freq:a,vib:i=0,vibmod:o=.5,noise:s=0,fmh:l=1,fmi:c,fmenv:u="lin",fmattack:h,fmdecay:p,fmsustain:_,fmrelease:b,fmvelocity:A,fmwave:I="sine"}){Mt();let M;!t||r==="sine"?(M=Mt().createOscillator(),M.type=r||"triangle"):M=uD(t,r),n=n||36,typeof n=="string"&&(n=Nu(n)),!a&&typeof n=="number"&&(a=IE(n)),M.frequency.value=Number(a),M.start(e);let U,V;if(c){const{node:S,stop:k}=sD(M,l,c,I);[h,p,_,b,A].find(L=>L!==void 0)?(h=h??.001,p=p??.001,_=_??1,b=b??.001,A=A??1,V=c0(h,p,_,b,A,e),u==="exp"&&(V=$N(h,p,_,b,A,e),V.node.maxValue=c*2,V.node.minValue=1e-5),S.connect(V.node),V.node.connect(M.frequency)):S.connect(M.frequency),U=k}let m;if(i>0){m=Mt().createOscillator(),m.frequency.value=i;const S=Mt().createGain();S.gain.value=o*100,m.connect(S),S.connect(M.detune),m.start(e)}let O;return s&&(O=iD(M,s,e)),{node:(O==null?void 0:O.node)||M,stop:S=>{m==null||m.stop(S),O==null||O.stop(S),U==null||U(S),M.stop(S)},triggerRelease:S=>{V==null||V.stop(S)}}}function hD(r=1,e=.05,t=220,n=0,a=0,i=.1,o=0,s=1,l=0,c=0,u=0,h=0,p=0,_=0,b=0,A=0,I=0,M=1,U=0,V=0){let m=Math.PI*2,O=Mt().sampleRate,S=z=>z>0?1:-1,k=l*=500*m/O/O,L=t*=(1+e*2*Math.random()-e)*m/O,F=[],Y=0,q=0,te=0,se=1,ie=0,ae=0,D=0,P,H;for(n=n*O+9,U*=O,a*=O,i*=O,I*=O,c*=500*m/O**3,b*=m/O,u*=m/O,h*=O,p=p*O|0,H=n+U+a+i+I|0;te1?o>2?o>3?Math.sin((Y%m)**3):Math.max(Math.min(Math.tan(Y),1),-1):1-(2*Y/m%2+2)%2:1-4*Math.abs(Math.round(Y/m)-Y/m):Math.sin(Y),D=(p?1-V+V*Math.sin(m*te/p):1)*S(D)*Math.abs(D)**s*r*1*(tete?0:(teh&&(t+=u,L+=u,se=0),p&&!(++ie%p)&&(t=L,l=k,se||(se=1));return F}const fD=(r,e)=>{let{s:t,note:n=36,freq:a,zrand:i=0,attack:o=0,decay:s=0,sustain:l=.8,release:c=.1,curve:u=1,slide:h=0,deltaSlide:p=0,pitchJump:_=0,pitchJumpTime:b=0,lfo:A=0,znoise:I=0,zmod:M=0,zcrush:U=0,zdelay:V=0,tremolo:m=0,duration:O=.2,zzfx:S}=r;const k=Math.max(O-o-s,0);typeof n=="string"&&(n=Nu(n)),!a&&typeof n=="number"&&(a=IE(n)),t=t.replace("z_","");const L=["sine","triangle","sawtooth","tan","noise"].indexOf(t)||0;u=t==="square"?0:u;const F=hD(...S||[.25,i,a,o,k,c,L,u,h,p,_,b,A,I,M,U,V,l,s,m]),Y=Mt(),q=Y.createBuffer(1,F.length,Y.sampleRate);q.getChannelData(0).set(F);const te=Mt().createBufferSource();return te.buffer=q,te.start(e),{node:te}};function mD(){["zzfx","z_sine","z_sawtooth","z_triangle","z_square","z_tan","z_noise"].forEach(r=>{xu(r,(e,t,n)=>{const{node:a}=fD({s:r,...t},e);return a.onended=()=>{a.disconnect(),n()},{node:a,stop:()=>{}}},{type:"synth",prebake:!0})})}let Od;const pD=()=>{};typeof window<"u"&&window.addEventListener("message",r=>{var e;r.data==="strudel-stop"?pD():(e=r.data)!=null&&e.dough&&(Od==null||Od.node.port.postMessage(r.data))});let vd=null,X_=0;const gD=(r,e)=>{let t=e.osc,n=qp(t.fftSize),a=new Float32Array(n.frequencyBinCount),i=new Uint8Array(n.frequencyBinCount);const o=r.getContext("2d");let s=0,l=1e3/30;function c(h,p,_,b){const I=performance.now();if(I-(X_||0)<1e3/30)return;X_=I,n.fftSize=e.osc.fftSize*4,n.getByteFrequencyData(i),o.clearRect(0,0,h,p);const U=1,V=Math.floor(i.length*U),m=Math.min(V,e.osc.orientation==="horizontal"?h:p),O=e.osc.orientation==="horizontal"?h/m:p/m;let S,k=0,L=0;o.fillStyle=e.osc.color||"rgb(255, 255, 255)";for(let F=0;F=0&&a[V-1]<0?m="negToPos":a[V]<0&&a[V-1]>=0&&(m="posToNeg"),m&&(vd===null||m===vd)){U=V,vd=m;break}}if(e.osc.mode==="freqscope")c(h,p,b,_);else if(e.osc.mode==="3D")for(let V=U;V{const o=r.interface.feedback.getContext("2d");o&&(o.beginPath(),o.arc(e,t,n,0,Math.PI*2),o.fillStyle=a,o.fill(),o.closePath())},bD=(r,e,t)=>{if(t!==void 0&&t<1&&t>9)return;const n=r.clock.bpm/60/r.clock.time_signature[1]*200,a=r.interface.feedback.getContext("2d"),i=s=>{_D(r,50+s,r.interface.feedback.clientHeight-15,8,"#fdba74")},o=s=>{const l=50+s,c=r.interface.feedback.clientHeight-15,u=8;a.clearRect(l-u,c-u,u*2,u*2)};if(e==="local"&&t!==void 0){const s=t*25;r.blinkTimeouts[s]&&clearTimeout(r.blinkTimeouts[s]),i(s),r.blinkTimeouts[s]=setTimeout(()=>{o(s),r.interface.feedback.getContext("2d").clearRect(0,0,r.interface.feedback.width,r.interface.feedback.height)},n)}},SD=()=>{const r=()=>{requestAnimationFrame(r)};requestAnimationFrame(r)},ME=1024;let OD=0,Ir=class{constructor(e,t){this.from=e,this.to=t}};class at{constructor(e={}){this.id=OD++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=On.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}at.closedBy=new at({deserialize:r=>r.split(" ")});at.openedBy=new at({deserialize:r=>r.split(" ")});at.group=new at({deserialize:r=>r.split(" ")});at.contextHash=new at({perNode:!0});at.lookAhead=new at({perNode:!0});at.mounted=new at({perNode:!0});class vD{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const ED=Object.create(null);class On{constructor(e,t,n,a=0){this.name=e,this.props=t,this.id=n,this.flags=a}static define(e){let t=e.props&&e.props.length?Object.create(null):ED,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),a=new On(e.name||"",t,e.id,n);if(e.props){for(let i of e.props)if(Array.isArray(i)||(i=i(a)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[i[0].id]=i[1]}}return a}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(at.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let a of n.split(" "))t[a]=e[n];return n=>{for(let a=n.prop(at.group),i=-1;i<(a?a.length:0);i++){let o=t[i<0?n.name:a[i]];if(o)return o}}}}On.none=new On("",Object.create(null),0,8);class Fl{constructor(e){this.types=e;for(let t=0;t0;for(let l=this.cursor(o|Qt.IncludeAnonymous);;){let c=!1;if(l.from<=i&&l.to>=a&&(!s&&l.type.isAnonymous||t(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(s||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:f0(On.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,a)=>new It(this.type,t,n,a,this.propValues),e.makeTree||((t,n,a)=>new It(On.none,t,n,a)))}static build(e){return TD(e)}}It.empty=new It(On.none,[],[],0);class d0{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new d0(this.buffer,this.index)}}class io{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return On.none}toString(){let e=[];for(let t=0;t0));l=o[l+3]);return s}slice(e,t,n){let a=this.buffer,i=new Uint16Array(t-e),o=0;for(let s=e,l=0;s=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function PE(r,e){let t=r.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(r=t,t=n.prevSibling):t=n}return r}function Qo(r,e,t,n){for(var a;r.from==r.to||(t<1?r.from>=e:r.from>e)||(t>-1?r.to<=e:r.to0?s.length:-1;e!=c;e+=t){let u=s[e],h=l[e]+o.from;if(LE(a,n,h,h+u.length)){if(u instanceof io){if(i&Qt.ExcludeBuffers)continue;let p=u.findChild(0,u.buffer.length,t,n-h,a);if(p>-1)return new _a(new yD(o,u,e,h),null,p)}else if(i&Qt.IncludeAnonymous||!u.type.isAnonymous||h0(u)){let p;if(!(i&Qt.IgnoreMounts)&&u.props&&(p=u.prop(at.mounted))&&!p.overlay)return new Dr(p.tree,h,e,o);let _=new Dr(u,h,e,o);return i&Qt.IncludeAnonymous||!_.type.isAnonymous?_:_.nextChild(t<0?u.children.length-1:0,t,n,a)}}}if(i&Qt.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+t:e=t<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let a;if(!(n&Qt.IgnoreOverlays)&&(a=this._tree.prop(at.mounted))&&a.overlay){let i=e-this.from;for(let{from:o,to:s}of a.overlay)if((t>0?o<=i:o=i:s>i))return new Dr(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new cl(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Qo(this,e,t,!1)}resolveInner(e,t=0){return Qo(this,e,t,!0)}enterUnfinishedNodesBefore(e){return PE(this,e)}getChild(e,t=null,n=null){let a=Hc(this,e,t,n);return a.length?a[0]:null}getChildren(e,t=null,n=null){return Hc(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Vc(this,e)}}function Hc(r,e,t,n){let a=r.cursor(),i=[];if(!a.firstChild())return i;if(t!=null){for(;!a.type.is(t);)if(!a.nextSibling())return i}for(;;){if(n!=null&&a.type.is(n))return i;if(a.type.is(e)&&i.push(a.node),!a.nextSibling())return n==null?i:[]}}function Vc(r,e,t=e.length-1){for(let n=r.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class yD{constructor(e,t,n,a){this.parent=e,this.buffer=t,this.index=n,this.start=a}}class _a{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new _a(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&Qt.ExcludeBuffers)return null;let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new _a(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new _a(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new _a(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new cl(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,a=this.index+4,i=n.buffer[this.index+3];if(i>a){let o=n.buffer[this.index+1];e.push(n.slice(a,i,o)),t.push(0)}return new It(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Qo(this,e,t,!1)}resolveInner(e,t=0){return Qo(this,e,t,!0)}enterUnfinishedNodesBefore(e){return PE(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let a=Hc(this,e,t,n);return a.length?a[0]:null}getChildren(e,t=null,n=null){return Hc(this,e,t,n)}get node(){return this}matchContext(e){return Vc(this,e)}}class cl{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Dr)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:a}=this.buffer;return this.type=t||a.set.types[a.buffer[e]],this.from=n+a.buffer[e+1],this.to=n+a.buffer[e+2],!0}yield(e){return e?e instanceof Dr?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:a}=this.buffer,i=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.buffer.start,n);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&Qt.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Qt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Qt.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let a=n<0?0:this.stack[n]+4;if(this.index!=a)return this.yieldBuf(t.findChild(a,this.index,-1,0,4))}else{let a=t.buffer[this.index+3];if(a<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(a)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:a}=this;if(a){if(e>0){if(this.index-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let s=n._tree.children[i];if(this.mode&Qt.IncludeAnonymous||s instanceof io||!s.type.isAnonymous||h0(s))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==a){if(a==this.index)return o;t=o,n=i+1;break e}a=this.stack[--i]}for(let a=n;a=0;i--){if(i<0)return Vc(this.node,e,a);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[a]&&e[a]!=o.name)return!1;a--}}return!0}}function h0(r){return r.children.some(e=>e instanceof io||!e.type.isAnonymous||h0(e))}function TD(r){var e;let{buffer:t,nodeSet:n,maxBufferLength:a=ME,reused:i=[],minRepeatType:o=n.types.length}=r,s=Array.isArray(t)?new d0(t,t.length):t,l=n.types,c=0,u=0;function h(m,O,S,k,L){let{id:F,start:Y,end:q,size:te}=s,se=u;for(;te<0;)if(s.next(),te==-1){let H=i[F];S.push(H),k.push(Y-m);return}else if(te==-3){c=F;return}else if(te==-4){u=F;return}else throw new RangeError(`Unrecognized record size: ${te}`);let ie=l[F],ae,D,P=Y-m;if(q-Y<=a&&(D=A(s.pos-O,L))){let H=new Uint16Array(D.size-D.skip),z=s.pos-D.size,ne=H.length;for(;s.pos>z;)ne=I(D.start,H,ne);ae=new io(H,q-D.start,n),P=D.start-m}else{let H=s.pos-te;s.next();let z=[],ne=[],oe=F>=o?F:-1,_e=0,ye=q;for(;s.pos>H;)oe>=0&&s.id==oe&&s.size>=0?(s.end<=ye-a&&(_(z,ne,Y,_e,s.end,ye,oe,se),_e=z.length,ye=s.end),s.next()):h(Y,H,z,ne,oe);if(oe>=0&&_e>0&&_e-1&&_e>0){let we=p(ie);ae=f0(ie,z,ne,0,z.length,0,q-Y,we,we)}else ae=b(ie,z,ne,q-Y,se-q)}S.push(ae),k.push(P)}function p(m){return(O,S,k)=>{let L=0,F=O.length-1,Y,q;if(F>=0&&(Y=O[F])instanceof It){if(!F&&Y.type==m&&Y.length==k)return Y;(q=Y.prop(at.lookAhead))&&(L=S[F]+Y.length+q)}return b(m,O,S,k,L)}}function _(m,O,S,k,L,F,Y,q){let te=[],se=[];for(;m.length>k;)te.push(m.pop()),se.push(O.pop()+S-L);m.push(b(n.types[Y],te,se,F-L,q-F)),O.push(L-S)}function b(m,O,S,k,L=0,F){if(c){let Y=[at.contextHash,c];F=F?[Y].concat(F):[Y]}if(L>25){let Y=[at.lookAhead,L];F=F?[Y].concat(F):[Y]}return new It(m,O,S,k,F)}function A(m,O){let S=s.fork(),k=0,L=0,F=0,Y=S.end-a,q={size:0,start:0,skip:0};e:for(let te=S.pos-m;S.pos>te;){let se=S.size;if(S.id==O&&se>=0){q.size=k,q.start=L,q.skip=F,F+=4,k+=4,S.next();continue}let ie=S.pos-se;if(se<0||ie=o?4:0,D=S.start;for(S.next();S.pos>ie;){if(S.size<0)if(S.size==-3)ae+=4;else break e;else S.id>=o&&(ae+=4);S.next()}L=D,k+=se,F+=ae}return(O<0||k==m)&&(q.size=k,q.start=L,q.skip=F),q.size>4?q:void 0}function I(m,O,S){let{id:k,start:L,end:F,size:Y}=s;if(s.next(),Y>=0&&k4){let te=s.pos-(Y-4);for(;s.pos>te;)S=I(m,O,S)}O[--S]=q,O[--S]=F-m,O[--S]=L-m,O[--S]=k}else Y==-3?c=k:Y==-4&&(u=k);return S}let M=[],U=[];for(;s.pos>0;)h(r.start||0,r.bufferStart||0,M,U,-1);let V=(e=r.length)!==null&&e!==void 0?e:M.length?U[0]+M[0].length:0;return new It(l[r.topID],M.reverse(),U.reverse(),V)}const Z_=new WeakMap;function Rc(r,e){if(!r.isAnonymous||e instanceof io||e.type!=r)return 1;let t=Z_.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=r||!(n instanceof It)){t=1;break}t+=Rc(r,n)}Z_.set(e,t)}return t}function f0(r,e,t,n,a,i,o,s,l){let c=0;for(let b=n;b=u)break;S+=k}if(V==m+1){if(S>u){let k=b[m];_(k.children,k.positions,0,k.children.length,A[m]+U);continue}h.push(b[m])}else{let k=A[V-1]+b[V-1].length-O;h.push(f0(r,b,A,m,V,O,k,null,l))}p.push(O+U-i)}}return _(e,t,n,a,0),(s||l)(h,p,o)}class BE{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let a=this.map.get(e);a||this.map.set(e,a=new Map),a.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof _a?this.setBuffer(e.context.buffer,e.index,t):e instanceof Dr&&this.map.set(e.tree,t)}get(e){return e instanceof _a?this.getBuffer(e.context.buffer,e.index):e instanceof Dr?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Ya{constructor(e,t,n,a,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=a,this.open=(i?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let a=[new Ya(0,e.length,e,0,!1,n)];for(let i of t)i.to>e.length&&a.push(i);return a}static applyChanges(e,t,n=128){if(!t.length)return e;let a=[],i=1,o=e.length?e[0]:null;for(let s=0,l=0,c=0;;s++){let u=s=n)for(;o&&o.from=p.from||h<=p.to||c){let _=Math.max(p.from,l)-c,b=Math.min(p.to,h)-c;p=_>=b?null:new Ya(_,b,p.tree,p.offset+c,s>0,!!u)}if(p&&a.push(p),o.to>h)break;o=inew Ir(a.from,a.to)):[new Ir(0,0)]:[new Ir(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let a=this.startParse(e,t,n);for(;;){let i=a.advance();if(i)return i}}}class CD{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function YE(r){return(e,t,n,a)=>new wD(e,r,t,n,a)}class j_{constructor(e,t,n,a,i){if(this.parser=e,this.parse=t,this.overlay=n,this.target=a,this.ranges=i,!i.length||i.some(o=>o.from>=o.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(i))}}class RD{constructor(e,t,n,a,i,o,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=a,this.start=i,this.target=o,this.prev=s,this.depth=0,this.ranges=[]}}const Qp=new at({perNode:!0});class wD{constructor(e,t,n,a,i){this.nest=t,this.input=n,this.fragments=a,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let a of this.inner)a.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new It(n.type,n.children,n.positions,n.length,n.propValues.concat([[Qp,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[at.mounted.id]=new vD(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;tu.frag.from<=a.from&&u.frag.to>=a.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let h=u.from+c.pos,p=u.to+c.pos;h>=a.from&&p<=a.to&&!t.ranges.some(_=>_.fromh)&&t.ranges.push({from:h,to:p})}}s=!1}else if(n&&(o=AD(n.ranges,a.from,a.to)))s=o!=2;else if(!a.type.isAnonymous&&a.fromnew Ir(h.from-a.from,h.to-a.from)):null,a.tree,u)),i.overlay?u.length&&(n={ranges:u,depth:0,prev:n}):s=!1}}else t&&(l=t.predicate(a))&&(l===!0&&(l=new Ir(a.from,a.to)),l.fromnew Ir(u.from-t.start,u.to-t.start)),t.target,c)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function AD(r,e,t){for(let n of r){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function J_(r,e,t,n,a,i){if(e=e.to);n++);let o=a.children[n],s=o.buffer;function l(c,u,h,p,_){let b=c;for(;s[b+2]+i<=e.from;)b=s[b+3];let A=[],I=[];J_(o,c,b,A,I,p);let M=s[b+1],U=s[b+2],V=M+i==e.from&&U+i==e.to&&s[b]==e.type.id;return A.push(V?e.toTree():l(b+4,s[b+3],o.set.types[s[b]],M,U-M)),I.push(M-p),J_(o,s[b+3],u,A,I,p),new It(h,A,I,_)}a.children[n]=l(0,s.length,On.none,0,o.length);for(let c=0;c<=t;c++)r.childAfter(e.from)}class e1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Qt.IncludeAnonymous|Qt.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from=e&&t.enter(n,1,Qt.IgnoreOverlays|Qt.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof It)t=t.children[0];else break}return!1}}let kD=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(Qp))!==null&&t!==void 0?t:n.to,this.inner=new e1(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(Qp))!==null&&e!==void 0?e:t.to,this.inner=new e1(t.tree,-t.offset)}}findMounts(e,t){var n;let a=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let i=this.inner.cursor.node;i;i=i.parent){let o=(n=i.tree)===null||n===void 0?void 0:n.prop(at.mounted);if(o&&o.parser==t)for(let s=this.fragI;s=i.to)break;l.tree==this.curFrag.tree&&a.push({frag:l,pos:i.from-l.offset,mount:o})}}}return a}};function t1(r,e){let t=null,n=e;for(let a=1,i=0;a=s)break;l.to<=o||(t||(n=t=e.slice()),l.froms&&t.splice(i+1,0,new Ir(s,l.to))):l.to>s?t[i--]=new Ir(s,l.to):t.splice(i--,1))}}return n}function ND(r,e,t,n){let a=0,i=0,o=!1,s=!1,l=-1e9,c=[];for(;;){let u=a==r.length?1e9:o?r[a].to:r[a].from,h=i==e.length?1e9:s?e[i].to:e[i].from;if(o!=s){let p=Math.max(l,t),_=Math.min(u,h,n);p<_&&c.push(new Ir(p,_))}if(l=Math.min(u,h),l==1e9)break;u==l&&(o?(o=!1,a++):o=!0),h==l&&(s?(s=!1,i++):s=!0)}return c}function n1(r,e){let t=[];for(let{pos:n,mount:a,frag:i}of r){let o=n+(a.overlay?a.overlay[0].from:0),s=o+a.tree.length,l=Math.max(i.from,o),c=Math.min(i.to,s);if(a.overlay){let u=a.overlay.map(p=>new Ir(p.from+n,p.to+n)),h=ND(e,u,l,c);for(let p=0,_=l;;p++){let b=p==h.length,A=b?c:h[p].from;if(A>_&&t.push(new Ya(_,A,a.tree,-o,i.from>=_||i.openStart,i.to<=A||i.openEnd)),b)break;_=h[p].to}}else t.push(new Ya(l,c,a.tree,-o,i.from>=o||i.openStart,i.to<=s||i.openEnd))}return t}let DD=class Hp{constructor(e,t,n,a,i,o,s,l,c,u=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=a,this.pos=i,this.score=o,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let a=e.parser.context;return new Hp(e,[],t,n,n,0,[],0,a?new r1(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,a=e&65535,{parser:i}=this.p,o=i.dynamicPrecedence(a);if(o&&(this.score+=o),n==0){this.pushState(i.getGoto(this.state,a,!0),this.reducePos),a=2e3&&!(!((t=this.p.parser.nodeSet.types[a])===null||t===void 0)&&t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizes;)this.stack.pop();this.reduceContext(a,l)}storeNode(e,t,n,a=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[s-4]==0&&o.buffer[s-1]>-1){if(t==n)return;if(o.buffer[s-2]>=t){o.buffer[s-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,a);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,a>4&&(a-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=a}}shift(e,t,n){let a=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,a),t<=this.p.parser.maxNode&&this.buffer.push(t,a,n,4);else{let i=e,{parser:o}=this.p;(n>this.pos||t<=o.maxNode)&&(this.pos=n,o.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,a),this.shiftContext(t,a),t<=o.maxNode&&this.buffer.push(t,a,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let a=this.pos;this.reducePos=this.pos=a+e.length,this.pushState(t,a),this.buffer.push(n,a,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),a=e.bufferBase+t;for(;e&&a==e.bufferBase;)e=e.parent;return new Hp(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,a,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new xD(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let a=[];for(let i=0,o;il&1&&s==o)||a.push(t[i],o)}t=a}let n=[];for(let a=0;a>19,a=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],a,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;t=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(a,i)=>{if(!t.includes(a))return t.push(a),e.allActions(a,o=>{if(!(o&393216))if(o&65536){let s=(o>>19)-i;if(s>1){let l=o&65535,c=this.stack.length-s*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=n(o,i+1);if(s!=null)return s}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class r1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class xD{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=a}}class zc{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new zc(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new zc(this.stack,this.pos,this.index)}}function Gs(r,e=Uint16Array){if(typeof r!="string")return r;let t=null;for(let n=0,a=0;n=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,s=!0),i+=l,s)break;i*=46}t?t[a++]=i:t=new e(i)}return t}class wc{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const a1=new wc;class MD{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=a1,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,a=this.rangeIndex,i=this.pos+e;for(;in.to:i>=n.to;){if(a==this.ranges.length-1)return null;let o=this.ranges[++a];i+=o.from-n.to,n=o}return i}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,a;if(t>=0&&t=this.chunk2Pos&&ns.to&&(this.chunk2=this.chunk2.slice(0,s.to-n)),a=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),a}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=a1,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let a of this.ranges){if(a.from>=t)break;a.to>e&&(n+=this.input.read(Math.max(a.from,e),Math.min(a.to,t)))}return n}}class No{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;FE(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}No.prototype.contextual=No.prototype.fallback=No.prototype.extend=!1;class Wc{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e=="string"?Gs(e):e}token(e,t){let n=e.pos,a=0;for(;;){let i=e.next<0,o=e.resolveOffset(1,1);if(FE(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(i||a++,o==null)break;e.reset(o,e.token)}a&&(e.reset(n,e.token),e.acceptToken(this.elseToken,a))}}Wc.prototype.contextual=No.prototype.fallback=No.prototype.extend=!1;class ya{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function FE(r,e,t,n,a,i){let o=0,s=1<0){let b=r[_];if(l.allows(b)&&(e.token.value==-1||e.token.value==b||LD(b,e.token.value,a,i))){e.acceptToken(b);break}}let u=e.next,h=0,p=r[o+2];if(e.next<0&&p>h&&r[c+p*3-3]==65535&&r[c+p*3-3]==65535){o=r[c+p*3-1];continue e}for(;h>1,b=c+_+(_<<1),A=r[b],I=r[b+1]||65536;if(u=I)h=_+1;else{o=r[b+2],e.advance();continue e}}break}}function i1(r,e,t){for(let n=e,a;(a=r[n])!=65535;n++)if(a==t)return n-e;return-1}function LD(r,e,t,n){let a=i1(t,n,e);return a<0||i1(t,n,r)e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(r.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:r.length}}let PD=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?o1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?o1(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(i instanceof It){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+i.length}}};class BD{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new wc)}getActions(e){let t=0,n=null,{parser:a}=e.p,{tokenizers:i}=a,o=a.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,l=0;for(let c=0;ch.end+25&&(l=Math.max(h.lookAhead,l)),h.value!=0)){let p=t;if(h.extended>-1&&(t=this.addActions(e,h.extended,h.end,t)),t=this.addActions(e,h.value,h.end,t),!u.extend&&(n=h,t>p))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new wc,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new wc,{pos:n,p:a}=e;return t.start=n,t.end=Math.min(n+1,a.stream.end),t.value=n==a.stream.end?a.parser.eofTerm:0,t}updateCachedToken(e,t,n){let a=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(a,e),n),e.value>-1){let{parser:i}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(s>>1)){s&1?e.extended=s>>1:e.value=s>>1;break}}}else e.value=0,e.end=this.stream.clipPos(a+1)}putAction(e,t,n,a){for(let i=0;ie.bufferLength*4?new PD(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],a,i;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;ot)n.push(s);else{if(this.advanceStack(s,n,e))continue;{a||(a=[],i=[]),a.push(s);let l=this.tokens.getMainToken(s);i.push(l.value,l.end)}}break}}if(!n.length){let o=a&&UD(a);if(o)return cr&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw cr&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&a){let o=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,i,n);if(o)return cr&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((s,l)=>l.score-s.score);n.length>o;)n.pop();n.some(s=>s.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let h=this.fragments.nodeAt(a);h;){let p=this.parser.nodeSet.types[h.type.id]==h.type?i.getGoto(e.state,h.type.id):-1;if(p>-1&&h.length&&(!c||(h.prop(at.contextHash)||0)==u))return e.useNode(h,p),cr&&console.log(o+this.stackID(e)+` (via reuse of ${i.getName(h.type.id)})`),!0;if(!(h instanceof It)||h.children.length==0||h.positions[0]>0)break;let _=h.children[0];if(_ instanceof It&&h.positions[0]==0)h=_;else break}}let s=i.stateSlot(e.state,4);if(s>0)return e.reduce(s),cr&&console.log(o+this.stackID(e)+` (via always-reduce ${i.getName(s&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;ca?t.push(b):n.push(b)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return s1(e,t),!0}}runRecovery(e,t,n){let a=null,i=!1;for(let o=0;o ":"";if(s.deadEnd&&(i||(i=!0,s.restart(),cr&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))))continue;let h=s.split(),p=u;for(let _=0;h.forceReduce()&&_<10&&(cr&&console.log(p+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));_++)cr&&(p=this.stackID(h)+" -> ");for(let _ of s.recoverByInsert(l))cr&&console.log(u+this.stackID(_)+" (via recover-insert)"),this.advanceFully(_,n);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),cr&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),s1(s,n)):(!a||a.scorer;class UE{constructor(e){this.start=e.start,this.shift=e.shift||yd,this.reduce=e.reduce||yd,this.reuse=e.reuse||yd,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Ho extends m0{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let s=0;se.topRules[s][1]),a=[];for(let s=0;s=0)i(u,l,s[c++]);else{let h=s[c+-u];for(let p=-u;p>0;p--)i(s[c++],l,h);c++}}}this.nodeSet=new Fl(t.map((s,l)=>On.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:a[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=ME;let o=Gs(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;stypeof s=="number"?new No(o,s):s),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let a=new YD(this,e,t,n);for(let i of this.wrappers)a=i(a,e,t,n);return a}getGoto(e,t,n=!1){let a=this.goto;if(t>=a[0])return-1;for(let i=a[t+1];;){let o=a[i++],s=o&1,l=a[i++];if(s&&n)return l;for(let c=i+(o>>1);i0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),a=n?t(n):void 0;for(let i=this.stateSlot(e,1);a==null;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Ma(this.data,i+2);else break;a=t(Ma(this.data,i+1))}return a}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Ma(this.data,n+2);else break;if(!(this.data[n+2]&1)){let a=this.data[n+1];t.some((i,o)=>o&1&&i==a)||t.push(this.data[n],a)}}return t}configure(e){let t=Object.assign(Object.create(Ho.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let a=e.tokenizers.find(i=>i.from==n);return a?a.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,a)=>{let i=e.specializers.find(s=>s.from==n.external);if(!i)return n;let o=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[a]=l1(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let o=t.indexOf(i);o>=0&&(n[o]=!0)}let a=null;for(let i=0;in)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorer.external(t,n)<<1|e}return r.get}let $D=0;class jr{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=$D++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new jr([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new Xc;return t=>t.modified.indexOf(e)>-1?t:Xc.get(t.base||t,t.modified.concat(e).sort((n,a)=>n.id-a.id))}}let GD=0;class Xc{constructor(){this.instances=[],this.id=GD++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(s=>s.base==e&&qD(t,s.modified));if(n)return n;let a=[],i=new jr(a,e,t);for(let s of t)s.instances.push(i);let o=QD(t);for(let s of e.set)if(!s.modified.length)for(let l of o)a.push(Xc.get(s,l));return i}}function qD(r,e){return r.length==e.length&&r.every((t,n)=>t==e[n])}function QD(r){let e=[[]];for(let t=0;tn.length-t.length)}function is(r){let e=Object.create(null);for(let t in r){let n=r[t];Array.isArray(n)||(n=[n]);for(let a of t.split(" "))if(a){let i=[],o=2,s=a;for(let h=0;;){if(s=="..."&&h>0&&h+3==a.length){o=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!p)throw new RangeError("Invalid path: "+a);if(i.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),h+=p[0].length,h==a.length)break;let _=a[h++];if(h==a.length&&_=="!"){o=0;break}if(_!="/")throw new RangeError("Invalid path: "+a);s=a.slice(h)}let l=i.length-1,c=i[l];if(!c)throw new RangeError("Invalid path: "+a);let u=new Kc(n,o,l>0?i.slice(0,l):null);e[c]=u.sort(e[c])}}return $E.add(e)}const $E=new at;class Kc{constructor(e,t,n,a){this.tags=e,this.mode=t,this.context=n,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=a;for(let s of i)for(let l of s.set){let c=t[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:n}}function HD(r,e){let t=null;for(let n of r){let a=n.style(e);a&&(t=t?t+" "+a:a)}return t}function VD(r,e,t,n=0,a=r.length){let i=new zD(n,Array.isArray(e)?e:[e],t);i.highlightRange(r.cursor(),n,a,"",i.highlighters),i.flush(a)}class zD{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,a,i){let{type:o,from:s,to:l}=e;if(s>=n||l<=t)return;o.isTop&&(i=this.highlighters.filter(_=>!_.scope||_.scope(o)));let c=a,u=WD(e)||Kc.empty,h=HD(i,u.tags);if(h&&(c&&(c+=" "),c+=h,u.mode==1&&(a+=(a?" ":"")+h)),this.startSpan(Math.max(t,s),c),u.opaque)return;let p=e.tree&&e.tree.prop(at.mounted);if(p&&p.overlay){let _=e.node.enter(p.overlay[0].from+s,1),b=this.highlighters.filter(I=>!I.scope||I.scope(p.tree.type)),A=e.firstChild();for(let I=0,M=s;;I++){let U=I=V||!e.nextSibling())););if(!U||V>n)break;M=U.to+s,M>t&&(this.highlightRange(_.cursor(),Math.max(t,U.from+s),Math.min(n,M),"",b),this.startSpan(Math.min(n,M),c))}A&&e.parent()}else if(e.firstChild()){p&&(a="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,a,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}}function WD(r){let e=r.type.prop($E);for(;e&&e.context&&!r.matchContext(e.context);)e=e.next;return e||null}const ke=jr.define,ac=ke(),ui=ke(),c1=ke(ui),u1=ke(ui),di=ke(),ic=ke(di),Td=ke(di),ua=ke(),Li=ke(ua),sa=ke(),la=ke(),Vp=ke(),As=ke(Vp),oc=ke(),Q={comment:ac,lineComment:ke(ac),blockComment:ke(ac),docComment:ke(ac),name:ui,variableName:ke(ui),typeName:c1,tagName:ke(c1),propertyName:u1,attributeName:ke(u1),className:ke(ui),labelName:ke(ui),namespace:ke(ui),macroName:ke(ui),literal:di,string:ic,docString:ke(ic),character:ke(ic),attributeValue:ke(ic),number:Td,integer:ke(Td),float:ke(Td),bool:ke(di),regexp:ke(di),escape:ke(di),color:ke(di),url:ke(di),keyword:sa,self:ke(sa),null:ke(sa),atom:ke(sa),unit:ke(sa),modifier:ke(sa),operatorKeyword:ke(sa),controlKeyword:ke(sa),definitionKeyword:ke(sa),moduleKeyword:ke(sa),operator:la,derefOperator:ke(la),arithmeticOperator:ke(la),logicOperator:ke(la),bitwiseOperator:ke(la),compareOperator:ke(la),updateOperator:ke(la),definitionOperator:ke(la),typeOperator:ke(la),controlOperator:ke(la),punctuation:Vp,separator:ke(Vp),bracket:As,angleBracket:ke(As),squareBracket:ke(As),paren:ke(As),brace:ke(As),content:ua,heading:Li,heading1:ke(Li),heading2:ke(Li),heading3:ke(Li),heading4:ke(Li),heading5:ke(Li),heading6:ke(Li),contentSeparator:ke(ua),list:ke(ua),quote:ke(ua),emphasis:ke(ua),strong:ke(ua),link:ke(ua),monospace:ke(ua),strikethrough:ke(ua),inserted:ke(),deleted:ke(),changed:ke(),invalid:ke(),meta:oc,documentMeta:ke(oc),annotation:ke(oc),processingInstruction:ke(oc),definition:jr.defineModifier(),constant:jr.defineModifier(),function:jr.defineModifier(),standard:jr.defineModifier(),local:jr.defineModifier(),special:jr.defineModifier()};GE([{tag:Q.link,class:"tok-link"},{tag:Q.heading,class:"tok-heading"},{tag:Q.emphasis,class:"tok-emphasis"},{tag:Q.strong,class:"tok-strong"},{tag:Q.keyword,class:"tok-keyword"},{tag:Q.atom,class:"tok-atom"},{tag:Q.bool,class:"tok-bool"},{tag:Q.url,class:"tok-url"},{tag:Q.labelName,class:"tok-labelName"},{tag:Q.inserted,class:"tok-inserted"},{tag:Q.deleted,class:"tok-deleted"},{tag:Q.literal,class:"tok-literal"},{tag:Q.string,class:"tok-string"},{tag:Q.number,class:"tok-number"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:"tok-string2"},{tag:Q.variableName,class:"tok-variableName"},{tag:Q.local(Q.variableName),class:"tok-variableName tok-local"},{tag:Q.definition(Q.variableName),class:"tok-variableName tok-definition"},{tag:Q.special(Q.variableName),class:"tok-variableName2"},{tag:Q.definition(Q.propertyName),class:"tok-propertyName tok-definition"},{tag:Q.typeName,class:"tok-typeName"},{tag:Q.namespace,class:"tok-namespace"},{tag:Q.className,class:"tok-className"},{tag:Q.macroName,class:"tok-macroName"},{tag:Q.propertyName,class:"tok-propertyName"},{tag:Q.operator,class:"tok-operator"},{tag:Q.comment,class:"tok-comment"},{tag:Q.meta,class:"tok-meta"},{tag:Q.invalid,class:"tok-invalid"},{tag:Q.punctuation,class:"tok-punctuation"}]);const XD=303,d1=1,KD=2,ZD=304,jD=306,JD=307,ex=3,tx=4,nx=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],qE=125,rx=59,h1=47,ax=42,ix=43,ox=45,sx=new UE({start:!1,shift(r,e){return e==ex||e==tx||e==jD?r:e==JD},strict:!1}),lx=new ya((r,e)=>{let{next:t}=r;(t==qE||t==-1||e.context)&&r.acceptToken(ZD)},{contextual:!0,fallback:!0}),cx=new ya((r,e)=>{let{next:t}=r,n;nx.indexOf(t)>-1||t==h1&&((n=r.peek(1))==h1||n==ax)||t!=qE&&t!=rx&&t!=-1&&!e.context&&r.acceptToken(XD)},{contextual:!0}),ux=new ya((r,e)=>{let{next:t}=r;if((t==ix||t==ox)&&(r.advance(),t==r.next)){r.advance();let n=!e.context&&e.canShift(d1);r.acceptToken(n?d1:KD)}},{contextual:!0}),dx=is({"get set async static":Q.modifier,"for while do if else switch try catch finally return throw break continue default case":Q.controlKeyword,"in of await yield void typeof delete instanceof":Q.operatorKeyword,"let var const function class extends":Q.definitionKeyword,"import export from":Q.moduleKeyword,"with debugger as new":Q.keyword,TemplateString:Q.special(Q.string),super:Q.atom,BooleanLiteral:Q.bool,this:Q.self,null:Q.null,Star:Q.modifier,VariableName:Q.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Q.function(Q.variableName),VariableDefinition:Q.definition(Q.variableName),Label:Q.labelName,PropertyName:Q.propertyName,PrivatePropertyName:Q.special(Q.propertyName),"CallExpression/MemberExpression/PropertyName":Q.function(Q.propertyName),"FunctionDeclaration/VariableDefinition":Q.function(Q.definition(Q.variableName)),"ClassDeclaration/VariableDefinition":Q.definition(Q.className),PropertyDefinition:Q.definition(Q.propertyName),PrivatePropertyDefinition:Q.definition(Q.special(Q.propertyName)),UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,Escape:Q.escape,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,RegExp:Q.regexp,Equals:Q.definitionOperator,Arrow:Q.function(Q.punctuation),": Spread":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"InterpolationStart InterpolationEnd":Q.special(Q.brace),".":Q.derefOperator,", ;":Q.separator,"@":Q.meta,TypeName:Q.typeName,TypeDefinition:Q.definition(Q.typeName),"type enum interface implements namespace module declare":Q.definitionKeyword,"abstract global Privacy readonly override":Q.modifier,"is keyof unique infer":Q.operatorKeyword,JSXAttributeValue:Q.attributeValue,JSXText:Q.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Q.angleBracket,"JSXIdentifier JSXNameSpacedName":Q.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Q.attributeName,"JSXBuiltin/JSXIdentifier":Q.standard(Q.tagName)}),hx={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,using:413,interface:419,enum:423,namespace:429,module:431,declare:435,global:439,for:458,of:467,while:470,with:474,do:478,if:482,else:484,switch:488,case:494,try:500,catch:504,finally:508,return:512,throw:516,break:520,continue:524,debugger:528},fx={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},mx={__proto__:null,"<":137},px=Ho.deserialize({version:14,states:"$6tO`QUOOO%TQUOOO'WQWOOP(eOSOOO*sQ(CjO'#CfO*zOpO'#CgO+YO!bO'#CgO+hO07`O'#DZO-yQUO'#DaO.ZQUO'#DlO%TQUO'#DvO0_QUO'#EOOOQ(CY'#EW'#EWO0xQSO'#ETOOQO'#Ei'#EiOOQO'#Ic'#IcO1QQSO'#GkO1]QSO'#EhO1bQSO'#EhO3dQ(CjO'#JdO6TQ(CjO'#JeO6qQSO'#FWO6vQ#tO'#FoOOQ(CY'#F`'#F`O7RO&jO'#F`O7aQ,UO'#FvO8wQSO'#FuOOQ(CY'#Je'#JeOOQ(CW'#Jd'#JdO8|QSO'#GoOOQQ'#KP'#KPO9XQSO'#IPO9^Q(C[O'#IQOOQQ'#JQ'#JQOOQQ'#IU'#IUQ`QUOOO%TQUO'#DnO9fQUO'#DzO9mQUO'#D|O9SQSO'#GkO9tQ,UO'#ClO:SQSO'#EgO:_QSO'#ErO:dQ,UO'#F_O;RQSO'#GkOOQO'#KQ'#KQO;WQSO'#KQO;fQSO'#GsO;fQSO'#GtO;fQSO'#GvO9SQSO'#GyO<]QSO'#G|O=tQSO'#CbO>UQSO'#HYO>^QSO'#H`O>^QSO'#HbO`QUO'#HdO>^QSO'#HfO>^QSO'#HiO>cQSO'#HoO>hQ(C]O'#HuO%TQUO'#HwO>sQ(C]O'#HyO?OQ(C]O'#H{O9^Q(C[O'#H}O?ZQ(CjO'#CfO@]QWO'#DfQOQSOOO%TQUO'#D|O@sQSO'#EPO9tQ,UO'#EgOAOQSO'#EgOAZQ`O'#F_OOQQ'#Cd'#CdOOQ(CW'#Dk'#DkOOQ(CW'#Jh'#JhO%TQUO'#JhOOQO'#Jl'#JlOOQO'#I`'#I`OBZQWO'#E`OOQ(CW'#E_'#E_OCVQ(C`O'#E`OCaQWO'#ESOOQO'#Jk'#JkOCuQWO'#JlOESQWO'#ESOCaQWO'#E`PEaO?MpO'#C`POOO)CDo)CDoOOOO'#IV'#IVOElOpO,59ROOQ(CY,59R,59ROOOO'#IW'#IWOEzO!bO,59RO%TQUO'#D]OOOO'#IY'#IYOFYO07`O,59uOOQ(CY,59u,59uOFhQUO'#IZOF{QSO'#JfOH}QbO'#JfO+vQUO'#JfOIUQSO,59{OIlQSO'#EiOIyQSO'#JtOJUQSO'#JsOJUQSO'#JsOJ^QSO,5;VOJcQSO'#JrOOQ(CY,5:W,5:WOJjQUO,5:WOLkQ(CjO,5:bOM[QSO,5:jOMuQ(C[O'#JqOM|QSO'#JpO8|QSO'#JpONbQSO'#JpONjQSO,5;UONoQSO'#JpO!!wQbO'#JeOOQ(CY'#Cf'#CfO%TQUO'#EOO!#gQ`O,5:oOOQO'#Jm'#JmOOQO-EkOOQQ'#JY'#JYOOQQ,5>l,5>lOOQQ-EqQ(CjO,5:hOOQO,5@l,5@lO!?bQ,UO,5=VO!?pQ(C[O'#JZO8wQSO'#JZO!@RQ(C[O,59WO!@^QWO,59WO!@fQ,UO,59WO9tQ,UO,59WO!@qQSO,5;SO!@yQSO'#HXO!A[QSO'#KUO%TQUO,5;wO!7[QWO,5;yO!AdQSO,5=rO!AiQSO,5=rO!AnQSO,5=rO9^Q(C[O,5=rO;fQSO,5=bOOQO'#Cr'#CrO!A|QWO,5=_O!BUQ,UO,5=`O!BaQSO,5=bO!BfQ`O,5=eO!BnQSO'#KQO>cQSO'#HOO9SQSO'#HQO!BsQSO'#HQO9tQ,UO'#HSO!BxQSO'#HSOOQQ,5=h,5=hO!B}QSO'#HTO!CVQSO'#ClO!C[QSO,58|O!CfQSO,58|O!EkQUO,58|OOQQ,58|,58|O!E{Q(C[O,58|O%TQUO,58|O!HWQUO'#H[OOQQ'#H]'#H]OOQQ'#H^'#H^O`QUO,5=tO!HnQSO,5=tO`QUO,5=zO`QUO,5=|O!HsQSO,5>OO`QUO,5>QO!HxQSO,5>TO!H}QUO,5>ZOOQQ,5>a,5>aO%TQUO,5>aO9^Q(C[O,5>cOOQQ,5>e,5>eO!MXQSO,5>eOOQQ,5>g,5>gO!MXQSO,5>gOOQQ,5>i,5>iO!M^QWO'#DXO%TQUO'#JhO!M{QWO'#JhO!NjQWO'#DgO!N{QWO'#DgO##^QUO'#DgO##eQSO'#JgO##mQSO,5:QO##rQSO'#EmO#$QQSO'#JuO#$YQSO,5;WO#$_QWO'#DgO#$lQWO'#EROOQ(CY,5:k,5:kO%TQUO,5:kO#$sQSO,5:kO>cQSO,5;RO!@^QWO,5;RO!@fQ,UO,5;RO9tQ,UO,5;RO#${QSO,5@SO#%QQ!LQO,5:oOOQO-E<^-E<^O#&WQ(C`O,5:zOCaQWO,5:nO#&bQWO,5:nOCaQWO,5:zO!@RQ(C[O,5:nOOQ(CW'#Ec'#EcOOQO,5:z,5:zO%TQUO,5:zO#&oQ(C[O,5:zO#&zQ(C[O,5:zO!@^QWO,5:nOOQO,5;Q,5;QO#'YQ(C[O,5:zPOOO'#IT'#ITP#'nO?MpO,58zPOOO,58z,58zOOOO-EuO+vQUO,5>uOOQO,5>{,5>{O#(YQUO'#IZOOQO-E^QSO1G3jO$.OQUO1G3lO$2SQUO'#HkOOQQ1G3o1G3oO$2aQSO'#HqO>cQSO'#HsOOQQ1G3u1G3uO$2iQUO1G3uO9^Q(C[O1G3{OOQQ1G3}1G3}OOQ(CW'#GW'#GWO9^Q(C[O1G4PO9^Q(C[O1G4RO$6pQSO,5@SO!){QUO,5;XO8|QSO,5;XO>cQSO,5:RO!){QUO,5:RO!@^QWO,5:RO$6uQ$IUO,5:ROOQO,5;X,5;XO$7PQWO'#I[O$7gQSO,5@ROOQ(CY1G/l1G/lO$7oQWO'#IbO$7yQSO,5@aOOQ(CW1G0r1G0rO!N{QWO,5:ROOQO'#I_'#I_O$8RQWO,5:mOOQ(CY,5:m,5:mO#$vQSO1G0VOOQ(CY1G0V1G0VO%TQUO1G0VOOQ(CY1G0m1G0mO>cQSO1G0mO!@^QWO1G0mO!@fQ,UO1G0mOOQ(CW1G5n1G5nO!@RQ(C[O1G0YOOQO1G0f1G0fO%TQUO1G0fO$8YQ(C[O1G0fO$8eQ(C[O1G0fO!@^QWO1G0YOCaQWO1G0YO$8sQ(C[O1G0fOOQO1G0Y1G0YO$9XQ(CjO1G0fPOOO-EuO$9uQSO1G5lO$9}QSO1G5yO$:VQbO1G5zO8|QSO,5>{O$:aQ(CjO1G5wO%TQUO1G5wO$:qQ(C[O1G5wO$;SQSO1G5vO$;SQSO1G5vO8|QSO1G5vO$;[QSO,5?OO8|QSO,5?OOOQO,5?O,5?OO$;pQSO,5?OO$$QQSO,5?OOOQO-EqQ(CjO,5VOOQQ,5>V,5>VO%TQUO'#HlO%(SQSO'#HnOOQQ,5>],5>]O8|QSO,5>]OOQQ,5>_,5>_OOQQ7+)a7+)aOOQQ7+)g7+)gOOQQ7+)k7+)kOOQQ7+)m7+)mO%(XQWO1G5nO%(mQ$IUO1G0sO%(wQSO1G0sOOQO1G/m1G/mO%)SQ$IUO1G/mO>cQSO1G/mO!){QUO'#DgOOQO,5>v,5>vOOQO-E|,5>|OOQO-E<`-E<`O!@^QWO1G/mOOQO-E<]-E<]OOQ(CY1G0X1G0XOOQ(CY7+%q7+%qO#$vQSO7+%qOOQ(CY7+&X7+&XO>cQSO7+&XO!@^QWO7+&XOOQO7+%t7+%tO$9XQ(CjO7+&QOOQO7+&Q7+&QO%TQUO7+&QO%)^Q(C[O7+&QO!@RQ(C[O7+%tO!@^QWO7+%tO%)iQ(C[O7+&QO%)wQ(CjO7++cO%TQUO7++cO%*XQSO7++bO%*XQSO7++bOOQO1G4j1G4jO8|QSO1G4jO%*aQSO1G4jOOQO7+%y7+%yO#$vQSO<wOOQO-ExO%TQUO,5>xOOQO-E<[-E<[O%2aQSO1G5pOOQ(CY<QQ$IUO1G0xO%>XQ$IUO1G0xO%@PQ$IUO1G0xO%@dQ(CjO<WOOQQ,5>Y,5>YO%M}QSO1G3wO8|QSO7+&_O!){QUO7+&_OOQO7+%X7+%XO%NSQ$IUO1G5zO>cQSO7+%XOOQ(CY<cQSO<cQSO7+)cO&5kQSO<zAN>zO%TQUOAN?WOOQO<TQSOANAxOOQQANAzANAzO9^Q(C[OANAzO#MsQSOANAzOOQO'#HV'#HVOOQO7+*d7+*dOOQQG22tG22tOOQQANEOANEOOOQQANEPANEPOOQQANBSANBSO&>]QSOANBSOOQQ<bQSOLD,iO&>jQ$IUO7+'sO&@`Q$IUO7+'uO&BUQ,UOG26{OOQO<ROPYXXYXkYXyYXzYX|YX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX!VYX!WYX~O#yYX~P#@lOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO#u:SO#v:TO(SVO(c$YO(j#{O(k#|O~O#y.hO~P#ByO#X:YO#{:YO#y(XX!W(XX~PN}O^'Za!V'Za'l'Za'j'Za!g'Za!S'Zao'Za!X'Za%a'Za!a'Za~P!7sOP#fiX#fi^#fik#fiz#fi!V#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(S#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#,`O^#zi!V#zi'l#zi'j#zi!S#zi!g#zio#zi!X#zi%a#zi!a#zi~P!7sO$W.mO$Y.mO~O$W.nO$Y.nO~O!a)^O#X.oO!X$^X$T$^X$W$^X$Y$^X$a$^X~O!U.pO~O!X)aO$T.rO$W)`O$Y)`O$a.sO~O!V:UO!W(WX~P#ByO!W.tO~O!a)^O$a(lX~O$a.vO~Oq)pO(T)qO(U.yO~O!S.}O~P!&VO!VcX!acX!gcX!g$sX(ccX~P!/ZO!g/TO~P#,`O!V/UO!a#tO(c'fO!g(pX~O!g/ZO~O!U*RO'u%_O!g(pP~O#d/]O~O!S$sX!V$sX!a$zX~P!/ZO!V/^O!S(qX~P#,`O!a/`O~O!S/bO~Ok/fO!a#tO!h%]O(O%QO(c'fO~O'u/hO~O!a+XO~O^%fO!V/lO'l%fO~O!W/nO~P!3XO!]/oO!^/oO'v!kO(V!lO~O|/qO(V!lO~O#T/rO~O'u&POd'`X!V'`X~O!V*kOd(Pa~Od/wO~Oy/xOz/xO|/yOgva(jva(kva!Vva#Xva~Odva#yva~P$ aOy)uO|)vOg$la(j$la(k$la!V$la#X$la~Od$la#y$la~P$!VOy)uO|)vOg$na(j$na(k$na!V$na#X$na~Od$na#y$na~P$!xO#d/{O~Od$|a!V$|a#X$|a#y$|a~P!0dO!a#tO~O#d0OO~O!V*|O^(ua'l(ua~Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!niX!nik!ni!V!ni!e!ni!l!ni#g!ni#h!ni#i!ni#j!ni#k!ni#l!ni#m!ni#n!ni#o!ni#q!ni#s!ni#u!ni#v!ni(c!ni(j!ni(k!ni~O^!ni'l!ni'j!ni!S!ni!g!nio!ni!X!ni%a!ni!a!ni~P$$gOg.TO!X'UO%a.SO~Oi0YO'u0XO~P!1UO!a+XO^'}a!X'}a'l'}a!V'}a~O#d0`O~OXYX!VcX!WcX~O!V0aO!W(yX~O!W0cO~OX0dO~O'u+aO'wTO'zUO~O!X%vO'u%_O]'hX!V'hX~O!V+fO](xa~O!g0iO~P!7sOX0lO~O]0mO~O#X0pO~Og0sO!X${O~O(V(sO!W(vP~Og0|O!X0yO%a0{O(O%QO~OX1WO!V1UO!W(wX~O!W1XO~O]1ZO^%fO'l%fO~O'u#lO'wTO'zUO~O#X$dO#{$dOP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX~O#o1^O&R1_O^(XX!f(XX~P$+]O#X$dO#o1^O&R1_O~O^1aO~P%TO^1cO~O&[1fOP&YiQ&YiV&Yi^&Yia&Yib&Yii&Yik&Yil&Yim&Yis&Yiu&Yiw&Yi|&Yi!Q&Yi!R&Yi!X&Yi!c&Yi!h&Yi!k&Yi!l&Yi!m&Yi!o&Yi!q&Yi!t&Yi!x&Yi#p&Yi$Q&Yi$U&Yi%`&Yi%b&Yi%d&Yi%e&Yi%f&Yi%i&Yi%k&Yi%n&Yi%o&Yi%q&Yi%}&Yi&T&Yi&V&Yi&X&Yi&Z&Yi&^&Yi&d&Yi&j&Yi&l&Yi&n&Yi&p&Yi&r&Yi'j&Yi'u&Yi'w&Yi'z&Yi(S&Yi(b&Yi(o&Yi!W&Yi_&Yi&a&Yi~O_1lO!W1jO&a1kO~P`O!XXO!h1nO~O&h,iOP&ciQ&ciV&ci^&cia&cib&cii&cik&cil&cim&cis&ciu&ciw&ci|&ci!Q&ci!R&ci!X&ci!c&ci!h&ci!k&ci!l&ci!m&ci!o&ci!q&ci!t&ci!x&ci#p&ci$Q&ci$U&ci%`&ci%b&ci%d&ci%e&ci%f&ci%i&ci%k&ci%n&ci%o&ci%q&ci%}&ci&T&ci&V&ci&X&ci&Z&ci&^&ci&d&ci&j&ci&l&ci&n&ci&p&ci&r&ci'j&ci'u&ci'w&ci'z&ci(S&ci(b&ci(o&ci!W&ci&[&ci_&ci&a&ci~O!S1tO~O!V!Za!W!Za~P#ByOl!mO|!nO!U1zO(V!lO!V'OX!W'OX~P?wO!V,yO!W(Za~O!V'UX!W'UX~P!6{O!V,|O!W(ia~O!W2RO~P'WO^%fO#X2[O'l%fO~O^%fO!a#tO#X2[O'l%fO~O^%fO!a#tO!l2`O#X2[O'l%fO(c'fO~O^%fO'l%fO~P!7sO!V$`Oo$ka~O!S&}i!V&}i~P!7sO!V'zO!S(Yi~O!V(RO!S(gi~O!S(hi!V(hi~P!7sO!V(ei!g(ei^(ei'l(ei~P!7sO#X2bO!V(ei!g(ei^(ei'l(ei~O!V(_O!g(di~O|%`O!X%aO!x]O#b2gO#c2fO'u%_O~O|%`O!X%aO#c2fO'u%_O~Og2nO!X'UO%a2mO~Og2nO!X'UO%a2mO(O%QO~O#dvaPvaXva^vakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva'lva(Sva(cva!gva!Sva'jvaova!Xva%ava!ava~P$ aO#d$laP$laX$la^$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la'l$la(S$la(c$la!g$la!S$la'j$lao$la!X$la%a$la!a$la~P$!VO#d$naP$naX$na^$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na'l$na(S$na(c$na!g$na!S$na'j$nao$na!X$na%a$na!a$na~P$!xO#d$|aP$|aX$|a^$|ak$|az$|a!V$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a'l$|a(S$|a(c$|a!g$|a!S$|a'j$|a#X$|ao$|a!X$|a%a$|a!a$|a~P#,`O^#[q!V#[q'l#[q'j#[q!S#[q!g#[qo#[q!X#[q%a#[q!a#[q~P!7sOd'PX!V'PX~P!'oO!V.^Od(]a~O!U2vO!V'QX!g'QX~P%TO!V.aO!g(^a~O!V.aO!g(^a~P!7sO!S2yO~O#y!ja!W!ja~PJqO#y!ba!V!ba!W!ba~P#ByO#y!na!W!na~P!:^O#y!pa!W!pa~P!`O^#wy!V#wy'l#wy'j#wy!S#wy!g#wyo#wy!X#wy%a#wy!a#wy~P!7sOg;lOy)uO|)vO(j)xO(k)zO~OP#fiX#fik#fiz#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(S#fi(c#fi!V#fi!W#fi~P%AWO!f#vOP(RXX(RXg(RXk(RXy(RXz(RX|(RX!e(RX!h(RX!l(RX#g(RX#h(RX#i(RX#j(RX#k(RX#l(RX#m(RX#n(RX#o(RX#q(RX#s(RX#u(RX#v(RX#y(RX(S(RX(c(RX(j(RX(k(RX!V(RX!W(RX~O#y#zi!V#zi!W#zi~P#ByO#y!ni!W!ni~P$$gO!W6_O~O!V'Za!W'Za~P#ByO!a#tO(c'fO!V'[a!g'[a~O!V/UO!g(pi~O!V/UO!a#tO!g(pi~Od$uq!V$uq#X$uq#y$uq~P!0dO!S'^a!V'^a~P#,`O!a6fO~O!V/^O!S(qi~P#,`O!V/^O!S(qi~O!S6jO~O!a#tO#o6oO~Ok6pO!a#tO(c'fO~O!S6rO~Od$wq!V$wq#X$wq#y$wq~P!0dO^$iy!V$iy'l$iy'j$iy!S$iy!g$iyo$iy!X$iy%a$iy!a$iy~P!7sO!a5jO~O!V4VO!X(ra~O^#[y!V#[y'l#[y'j#[y!S#[y!g#[yo#[y!X#[y%a#[y!a#[y~P!7sOX6wO~O!V0aO!W(yi~O]6}O~O(V(sO!V'cX!W'cX~O!V4mO!W(va~OikO'u7UO~P.bO!W7XO~P%$gOl!mO|7YO'wTO'zUO(V!lO(b!rO~O!X0yO~O!X0yO%a7[O~Og7_O!X0yO%a7[O~OX7dO!V'fa!W'fa~O!V1UO!W(wi~O!g7hO~O!g7iO~O!g7lO~O!g7lO~P%TO^7nO~O!a7oO~O!g7pO~O!V(hi!W(hi~P#ByO^%fO#X7xO'l%fO~O!V(ey!g(ey^(ey'l(ey~P!7sO!V(_O!g(dy~O!X'UO%a7{O~O#d$uqP$uqX$uq^$uqk$uqz$uq!V$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq'l$uq(S$uq(c$uq!g$uq!S$uq'j$uq#X$uqo$uq!X$uq%a$uq!a$uq~P#,`O#d$wqP$wqX$wq^$wqk$wqz$wq!V$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq'l$wq(S$wq(c$wq!g$wq!S$wq'j$wq#X$wqo$wq!X$wq%a$wq!a$wq~P#,`O!V'Qi!g'Qi~P!7sO#y#[q!V#[q!W#[q~P#ByOy/xOz/xO|/yOPvaXvagvakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva#yva(Sva(cva(jva(kva!Vva!Wva~Oy)uO|)vOP$laX$lag$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la#y$la(S$la(c$la(j$la(k$la!V$la!W$la~Oy)uO|)vOP$naX$nag$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na#y$na(S$na(c$na(j$na(k$na!V$na!W$na~OP$|aX$|ak$|az$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a#y$|a(S$|a(c$|a!V$|a!W$|a~P%AWO#y$hq!V$hq!W$hq~P#ByO#y$iq!V$iq!W$iq~P#ByO!W8VO~O#y8WO~P!0dO!a#tO!V'[i!g'[i~O!a#tO(c'fO!V'[i!g'[i~O!V/UO!g(pq~O!S'^i!V'^i~P#,`O!V/^O!S(qq~O!S8^O~P#,`O!S8^O~Od(Qy!V(Qy~P!0dO!V'aa!X'aa~P#,`O^%Tq!X%Tq'l%Tq!V%Tq~P#,`OX8cO~O!V0aO!W(yq~O#X8gO!V'ca!W'ca~O!V4mO!W(vi~P#ByOPYXXYXkYXyYXzYX|YX!SYX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!a%RX#o%RX~P&2WO!X0yO%a8kO~O'wTO'zUO(V8pO~O!V1UO!W(wq~O!g8sO~O!g8tO~O!g8uO~O!g8uO~P%TO#X8xO!V#ay!W#ay~O!V#ay!W#ay~P#ByO!X'UO%a8}O~O#y#wy!V#wy!W#wy~P#ByOP$uiX$uik$uiz$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui#y$ui(S$ui(c$ui!V$ui!W$ui~P%AWOy)uO|)vO(k)zOP%XiX%Xig%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi#y%Xi(S%Xi(c%Xi(j%Xi!V%Xi!W%Xi~Oy)uO|)vOP%ZiX%Zig%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi#y%Zi(S%Zi(c%Zi(j%Zi(k%Zi!V%Zi!W%Zi~O#y$iy!V$iy!W$iy~P#ByO#y#[y!V#[y!W#[y~P#ByO!a#tO!V'[q!g'[q~O!V/UO!g(py~O!S'^q!V'^q~P#,`O!S9UO~P#,`O!V0aO!W(yy~O!V4mO!W(vq~O!X0yO%a9]O~O!g9`O~O!X'UO%a9eO~OP$uqX$uqk$uqz$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq#y$uq(S$uq(c$uq!V$uq!W$uq~P%AWOP$wqX$wqk$wqz$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq#y$wq(S$wq(c$wq!V$wq!W$wq~P%AWOd%]!Z!V%]!Z#X%]!Z#y%]!Z~P!0dO!V'cq!W'cq~P#ByO!V#a!Z!W#a!Z~P#ByO#d%]!ZP%]!ZX%]!Z^%]!Zk%]!Zz%]!Z!V%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z'l%]!Z(S%]!Z(c%]!Z!g%]!Z!S%]!Z'j%]!Z#X%]!Zo%]!Z!X%]!Z%a%]!Z!a%]!Z~P#,`OP%]!ZX%]!Zk%]!Zz%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z#y%]!Z(S%]!Z(c%]!Z!V%]!Z!W%]!Z~P%AWOo(WX~P1jO'v!kO~P!){O!ScX!VcX#XcX~P&2WOPYXXYXkYXyYXzYX|YX!VYX!VcX!eYX!fYX!hYX!lYX#XYX#XcX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!acX!gYX!gcX(ccX~P&GnOP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!XXO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'u)TO'wTO'zUO(SVO(b[O(o;_O~O!V:UO!W$ka~Oi%ROk$sOl$rOm$rOs%SOu%TOw:[O|$zO!X${O!c;fO!h$wO#c:bO$Q%XO$m:^O$o:`O$r%YO'u(kO'wTO'zUO(O%QO(S$tO~O#p)[O~P&LdO!WYX!WcX~P&GnO#d9xO~O!a#tO#d9xO~O#X:YO~O#o9}O~O#X:dO!V(hX!W(hX~O#X:YO!V(fX!W(fX~O#d:eO~Od:gO~P!0dO#d:lO~O#d:mO~O!a#tO#d:nO~O!a#tO#d:eO~O#y:oO~P#ByO#d:pO~O#d:qO~O#d:rO~O#d:sO~O#d:tO~O#d:uO~O#y:vO~P!0dO#y:wO~P!0dO$U~!f!|!}#P#Q#T#b#c#n(o$m$o$r%U%`%a%b%i%k%n%o%q%s~'pR$U(o#h!R'n'v#il#g#jky'o(V'o'u$W$Y$W~",goto:"$&a(}PPPP)OP)RP)cP*r.uPPPP5UPP5kP;f>mP?QP?QPPP?QP@rP?QP?QP?QP@vPP@{PAfPF]PPPFaPPPPFaIaPPPIgJbPFaPLoPPPPN}FaPPPFaPFaP!#]FaP!&p!'r!'{P!(n!(r!(nPPPPP!+|!'rPP!,j!-dP!0WFaFa!0]!3f!7z!7z!;oPPP!;vFaPPPPPPPPPPP!?SP!@ePPFa!ArPFaPFaFaFaFaPFa!CUPP!F]P!I`P!Id!In!Ir!IrP!FYP!Iv!IvP!LyP!L}FaFa!MT#!V?QP?QP?Q?QP##a?Q?Q#%]?Q#'l?Q#)b?Q?Q#*O#+|#+|#,Q#,Y#+|#,bP#+|P?Q#,z?Q#.T?Q?Q5UPPP#/aPPP#/y#/yP#/yP#0`#/yPP#0fP#0]P#0]#0x#0]#1d#1j5R)R#1m)RP#1t#1t#1tP)RP)RP)RP)RPP)RP#1z#1}P#1})RP#2RP#2UP)RP)RP)RP)RP)RP)R)RPP#2[#2b#2l#2r#2x#3O#3U#3d#3j#3p#3z#4Q#4[#4k#4q#5b#5t#5z#6Q#6`#6u#8W#8f#8l#8r#8x#9O#9Y#9`#9f#9p#:S#:YPPPPPPPPPP#:`PPPPPPP#;S#>ZP#?j#?q#?yPPPP#DX#F}#Me#Mh#Mk#Nd#Ng#Nj#Nq#NyPP$ P$ T$ {$!z$#O$#dPP$#h$#n$#rP$#u$#y$#|$$r$%Y$%p$%t$%w$%z$&Q$&T$&X$&]R!zRmqOXs!Y#b%e&h&j&k&m,a,f1f1iY!tQ'U-R0y4tQ%kuQ%sxQ%z{Q&`!US&|!d,yQ'[!hS'b!q!wS*^${*cQ+_%tQ+l%|Q,Q&YQ-P'TQ-Z']Q-c'cQ/o*eQ1T,RR:c9t$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7xS#o]9q!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ*n%UQ+d%vQ,S&]Q,Z&eQ.W:ZQ0V+VQ0Z+XQ0f+eQ1],XQ2j.TQ4_0aQ5S1UQ6Q2nQ6W:[Q6y4`R8O6R&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bt!mQ!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4v$^$ri#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ%}{Q&z!dS'Q%a,|Q+d%vQ/z*rQ0f+eQ0k+kQ1[,WQ1],XQ4_0aQ4h0mQ5V1WQ5W1ZQ6y4`Q6|4eQ7g5YQ8f6}R8q7dpnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR,U&a&t^OPXYstuvy!Y!_!f!i!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;a;b[#ZWZ#U#X&}'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q%nwQ%rxS%w{%|Q&T!SQ'X!gQ'Z!hQ(f#qS*Q$w*US+^%s%tQ+b%vQ+{&WQ,P&YS-Y'[']Q.V(gQ/Y*RQ0_+_Q0e+eQ0g+fQ0j+jQ1O+|S1S,Q,RQ2W-ZQ3f/UQ4^0aQ4b0dQ4g0lQ5R1TQ6c3gQ6x4`Q6{4dQ8b6wR9W8cv$yi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h!S%px!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yQ+W%nQ+q&QQ+t&RQ,O&YQ.U(fQ0}+{U1R,P,Q,RQ2o.VQ4|1OS5Q1S1TQ7c5R#O;c#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg;d:W:X:^:`:b:i:k:m:q:s:wW%Oi%Q*k;_S&Q!P&_Q&R!QQ&S!RR+o&O$_$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lT)q$t)rV*o%U:Z:[U'Q!d%a,|S(t#x#yQ+i%yS.O(b(cQ0t+uQ4O/xR7R4m&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b$i$_c#W#c%i%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.i.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;UT#RV#S&{kOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ'O!dR1{,yv!mQ!d!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4vS*]${*cS/g*^*eQ/p*fQ0v+wQ3y/oR3|/rlqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&o!]Q'l!vS(h#s9xQ+[%qQ+y&TQ+z&VQ-W'YQ-e'eS.[(m:eS/}*w:nQ0]+]Q0x+xQ1m,hQ1o,iQ1w,tQ2U-XQ2X-]S4T0O:tQ4Y0^S4]0`:uQ5l1yQ5p2VQ5u2^Q6v4ZQ7s5nQ7t5qQ7w5vR8w7p$d$^c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(e#n'_U*h$|(l3YS+R%i.iQ2k0VQ5}2jQ7}6QR9O8O$d$]c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(d#n'_S(v#y$^S+Q%i.iS.P(c(eQ.l)WQ0S+RR2h.Q&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS#o]9qQ&j!WQ&k!XQ&m!ZQ&n![R1e,dQ'V!gQ+T%nQ-U'XS.R(f+WQ2S-TW2l.U.V0U0WQ5o2TU5|2i2k2oS7z5}6PS8|7|7}S9c8{9OQ9k9dR9n9lU!uQ'U-RT4r0y4t!O_OXZ`s!U!Y#b#f%]%e&_&a&h&j&k&m(_,a,f-x1f1i]!oQ!q'U-R0y4tT#o]9q%WzOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS(t#x#yS.O(b(c!s:{$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bY!sQ'U-R0y4tQ'a!qS'k!t!wS'm!x4vS-b'b'cQ-d'dR2_-cQ'j!sS(Z#e1`S-a'a'mQ/X*QQ/e*]Q2`-dQ3k/YS3t/f/pQ6b3fS6m3z3|Q8Y6cR8a6pQ#ubQ'i!sS(Y#e1`S([#k*vQ*x%^Q+Y%oQ+`%uU-`'a'j'mQ-t(ZQ/W*QQ/d*]Q/j*`Q0[+ZQ1P+}S2]-a-dQ2e-|S3j/X/YS3s/e/pQ3v/iQ3x/kQ5O1QQ5w2`Q6a3fQ6e3kS6i3t3|Q6n3{Q7a5PS8X6b6cQ8]6jQ8_6mQ8n7bQ9S8YQ9T8^Q9V8aQ9_8oQ9g9UQ;O:yQ;Z;SR;[;TV!uQ'U-R%WaOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS#uy!i!r:x$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR;O;a%WbOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xQ%^j!S%ox!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yS%uy!iQ+Z%pQ+}&YW1Q,O,P,Q,RU5P1R1S1TS7b5Q5RQ8o7c!r:y$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ;S;`R;T;a$zeOPXYstuv!Y!_!f!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xY#`WZ#U#X'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q,[&e!p:z$Z$l)i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR:}&}S'R!d%aR1},|$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7x!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ,Z&eQ0V+VQ2j.TQ6Q2nR8O6R!f$Tc#W%i'w'}(i(p)P)Q)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!T:P)U)g,w.i1u1x2z3S3T3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!b$Vc#W%i'w'}(i(p)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!P:R)U)g,w.i1u1x2z3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!^$Zc#W%i'w'}(i(p)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9rQ3e/Sz;b)U)g,w.i1u1x2z3Z3a5m6V6[6]7T7r8P8T8U9Y9a;UQ;g;iR;h;j&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS$mh$nR3^.o'RgOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$if$oQ$gfS)`$j)dR)l$oT$hf$oT)b$j)d'RhOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$mh$nQ$phR)k$n%WjOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7x!s;`$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b#alOPXZs!Y!_!n#Q#b#m#z$l%e&a&d&e&h&j&k&m&q&y'W(u)i*{+V,^,a,f-V.T.p/y0|1^1_1a1c1f1i1k2n3]4q4{5]5^5a6R7Y7_7nv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lQ*s%YQ.{)ug3Y:W:X:^:`:b:i:k:m:q:s:wv$xi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;hQ*V$yS*`${*cQ*t%ZQ/k*a#O;Q#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lf;R:W:X:^:`:b:i:k:m:q:s:wQ;V;cQ;W;dQ;X;eR;Y;fv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg3Y:W:X:^:`:b:i:k:m:q:s:wloOXs!Y#b%e&h&j&k&m,a,f1f1iQ*Y$zQ,o&tQ,p&vR3n/^$^$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ+r&RQ0r+tQ4k0qR7Q4lT*b${*cS*b${*cT4s0y4tS/i*_4qT3{/q7YQ+Y%oQ/j*`Q0[+ZQ1P+}Q5O1QQ7a5PQ8n7bR9_8on)y$u(n*u/[/s/t2s3l4R6`6q9R;P;];^!Y:h(j)Z*P*X.Z.w.|/S/a0T0o0q2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j]:i3X6Z8Q9P9Q9op){$u(n*u/Q/[/s/t2s3l4R6`6q9R;P;];^![:j(j)Z*P*X.Z.w.|/S/a0T0o0q2p2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j_:k3X6Z8Q8R9P9Q9opnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ&[!TR,^&epnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR&[!TQ+v&SR0n+oqnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ0z+{S4y0}1OU7Z4w4x4|S8j7]7^S9Z8i8lQ9h9[R9m9iQ&c!UR,V&_R5V1WS%w{%|R0g+fQ&h!VR,a&iR,g&nT1g,f1iR,k&oQ,j&oR1p,kQ'o!yR-g'oQsOQ#bXT%hs#bQ!|TR'q!|Q#PUR's#PQ)r$tR.x)rQ#SVR'u#SQ#VWU'{#V'|-nQ'|#WR-n'}Q,z'OR1|,zQ._(nR2t._Q.b(pS2w.b2xR2x.cQ-R'UR2Q-RY!qQ'U-R0y4tR'`!qS#]W%`U(S#](T-oQ(T#^R-o(OQ,}'RR2O,}r`OXs!U!Y#b%e&_&a&h&j&k&m,a,f1f1iS#fZ%]U#p`#f-xR-x(_Q(`#hQ-u([W-}(`-u2c5yQ2c-vR5y2dQ)d$jR.q)dQ$nhR)j$nQ$acU)Y$a-j:VQ-j9rR:V)gQ/V*QW3h/V3i6d8ZU3i/W/X/YS6d3j3kR8Z6e#o)w$u(j(n)Z*P*X*p*q*u.X.Y.Z.w.|/Q/R/S/[/a/s/t0T0o0q2p2q2r2s3X3l3m3q4R4j4l6S6T6X6Y6Z6`6g6k6q6s6u8Q8R8S8[8`9P9Q9R9f9o;P;];^;i;jQ/_*XU3p/_3r6hQ3r/aR6h3qQ*c${R/m*cQ*l%PR/v*lQ4W0TR6t4WQ*}%cR0R*}Q4n0tS7S4n8hR8h7TQ+x&TR0w+xQ4t0yR7W4tQ1V,SS5T1V7eR7e5VQ0b+bW4a0b4c6z8dQ4c0eQ6z4bR8d6{Q+g%wR0h+gQ1i,fR5e1iWrOXs#bQ&l!YQ+P%eQ,`&hQ,b&jQ,c&kQ,e&mQ1d,aS1g,f1iR5d1fQ%gpQ&p!^Q&s!`Q&u!aQ&w!bQ'g!sQ+O%dQ+[%qQ+n%}Q,U&cQ,m&rW-^'a'i'j'mQ-e'eQ/l*bQ0]+]S1Y,V,YQ1q,lQ1r,oQ1s,pQ2X-]W2Z-`-a-d-fQ4Y0^Q4f0kQ4i0oQ4}1PQ5X1[Q5c1eU5r2Y2]2`Q5u2^Q6v4ZQ7O4hQ7P4jQ7V4sQ7`5OQ7f5WS7u5s5wQ7w5vQ8e6|Q8m7aQ8r7gQ8y7vQ9X8fQ9^8nQ9b8zR9j9_Q%qxQ'Y!hQ'e!sU+]%r%s%tQ,t&{U-X'Z'[']S-]'a'kQ/c*]S0^+^+_Q1y,vS2V-Y-ZQ2^-bQ3u/gQ4Z0_Q5n2PQ5q2WQ5v2_R6l3yS$vi;_R*m%QU%Pi%Q;_R/u*kQ$uiS(j#t+XQ(n#vS)Z$b$cQ*P$wQ*X$zQ*p%VQ*q%WQ*u%[Q.X:]Q.Y:_Q.Z:aQ.w)pS.|)v/OQ/Q)yQ/R){Q/S)|Q/[*TQ/a*ZQ/s*iQ/t*jh0T+U.S0{2m4z6O7[7{8k8}9]9eQ0o+pQ0q+sQ2p:hQ2q:jQ2r:lQ2s.^S3X:W:XQ3l/]Q3m/^Q3q/`Q4R/{Q4j0pQ4l0sQ6S:pQ6T:rQ6X:^Q6Y:`Q6Z:bQ6`3eQ6g3oQ6k3wQ6q3}Q6s4VQ6u4XQ8Q:mQ8R:iQ8S:kQ8[6fQ8`6oQ9P:qQ9Q:sQ9R8WQ9f:vQ9o:wQ;P;_Q;];gQ;^;hQ;i;kR;j;llpOXs!Y#b%e&h&j&k&m,a,f1f1iQ!ePS#dZ#mQ&r!_U'^!n4q7YQ't#QQ(w#zQ)h$lS,Y&a&dQ,_&eQ,l&qQ,q&yQ-T'WQ.e(uQ.u)iQ0P*{Q0W+VQ1b,^Q2T-VQ2k.TQ3`.pQ4P/yQ4x0|Q5Z1^Q5[1_Q5`1aQ5b1cQ5g1kQ5}2nQ6^3]Q7^4{Q7j5]Q7k5^Q7m5aQ7}6RQ8l7_R8v7n#UcOPXZs!Y!_!n#b#m#z%e&a&d&e&h&j&k&m&q&y'W(u*{+V,^,a,f-V.T/y0|1^1_1a1c1f1i1k2n4q4{5]5^5a6R7Y7_7nQ#WWQ#cYQ%itQ%juS%lv!fS'w#U'zQ'}#XQ(i#sQ(p#wQ(x#}Q(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)U$ZQ)X$`Q)]$dW)g$l)i.p3]Q+S%kQ+h%xS,w&}1zQ-f'hS-k'x-mQ-p(QQ-r(XQ.](mQ.c(qQ.g9pQ.i9sQ.j9tQ.k9wQ.z)tQ/|*wQ1u,rQ1x,uQ2Y-_Q2a-sQ2u.aQ2z9xQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W.hQ3Z:YQ3[:cQ3a:UQ4S0OQ4[0`Q5m:dQ5s2[Q5x2bQ6U2vQ6V:eQ6[:gQ6]:nQ7T4oQ7r5kQ7v5tQ8P:oQ8T:tQ8U:uQ8z7xQ9Y8gQ9a8xQ9r#QR;U;bR#YWR'P!dY!sQ'U-R0y4tS&{!d,yQ'a!qS'k!t!wS'm!x4vS,v&|'TS-b'b'cQ-d'dQ2P-PR2_-cR(o#vR(r#wQ!eQT-Q'U-R]!pQ!q'U-R0y4tQ#n]R'_9qT#iZ%]S#hZ%]S%cm,]U([#f#g#jS-v(](^Q-z(_Q0Q*|Q2d-wU2e-x-y-{S5z2f2gR7y5{`#[W#U#X%`'x(R*y-qr#eZm#f#g#j%](](^(_*|-w-x-y-{2f2g5{Q1`,]Q1v,sQ5i1nQ7q5jT:|&}*zT#_W%`S#^W%`S'y#U(RS(O#X*yS,x&}*zT-l'x-qT'S!d%aQ$jfR)n$oT)c$j)dR3_.oT*S$w*UR*[$zQ0U+UQ2i.SQ4w0{Q6P2mQ7]4zQ7|6OQ8i7[Q8{7{Q9[8kQ9d8}Q9i9]R9l9elqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&b!UR,U&_rmOXs!T!U!Y#b%e&_&h&j&k&m,a,f1f1iR,]&eT%dm,]R0u+uR,T&]Q%{{R+m%|R+c%vT&f!V&iT&g!V&iT1h,f1i",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:366,context:sx,nodeProps:[["group",-26,6,14,16,62,199,203,207,208,210,213,216,226,228,234,236,238,240,243,249,255,257,259,261,263,265,266,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[dx],skippedNodes:[0,3,4,269],repeatNodeCount:33,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$d&j'xpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'xpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$d&j'xp'{!b'n(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'y#S$d&j'o(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$d&j'xp'{!b'o(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$d&j!l$Ip'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'w$(n$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$d&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$_#t$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$_#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$_#t$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'{!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$_#t'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}st%Ztu`k$d&j'xp'{!b(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P+d@`k$d&j'xp'{!b$W#tOY%ZYZ&cZr%Zrs&}st%Ztu@Tuw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![@T![!^%Z!^!_*g!_!c%Z!c!}@T!}#O%Z#O#P&c#P#R%Z#R#S@T#S#T%Z#T#o@T#o#p*g#p$g%Z$g;'S@T;'S;=`BT<%lO@T+dBWP;=`<%l@T(CSB^P;=`<%l>P%#SBl`$d&j'xp'{!b#i$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SCy_$d&j#{$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%DfETa(k%Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>fi$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#@b_!a$b$d&j#y%Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$d&j'xp'{!b'o(;d(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",tokenizers:[cx,ux,2,3,4,5,6,7,8,9,10,11,12,13,lx,new Wc("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(U~~",141,327),new Wc("j~RQYZXz{^~^O'r~~aP!P!Qd~iO's~~",25,309)],topRules:{Script:[0,5],SingleExpression:[1,267],SingleClassItem:[2,268]},dialects:{jsx:12794,ts:12796},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:313,get:r=>hx[r]||-1},{term:329,get:r=>fx[r]||-1},{term:67,get:r=>mx[r]||-1}],tokenPrec:12820});class Ct{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let a=[];return this.decompose(0,e,a,2),n.length&&n.decompose(0,n.length,a,3),this.decompose(t,this.length,a,1),ma.from(a,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),ma.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),a=new Ks(this),i=new Ks(e);for(let o=t,s=t;;){if(a.next(o),i.next(o),o=0,a.lineBreak!=i.lineBreak||a.done!=i.done||a.value!=i.value)return!1;if(s+=a.value.length,a.done||s>=n)return!0}}iter(e=1){return new Ks(this,e)}iterRange(e,t=this.length){return new QE(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let a=this.line(e).from;n=this.iterRange(a,Math.max(a,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new HE(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Ct.empty:e.length<=32?new cn(e):ma.from(cn.split(e,[]))}}class cn extends Ct{constructor(e,t=gx(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,a){for(let i=0;;i++){let o=this.text[i],s=a+o.length;if((t?n:s)>=e)return new _x(a,s,n,o);a=s+1,n++}}decompose(e,t,n,a){let i=e<=0&&t>=this.length?this:new cn(f1(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(a&1){let o=n.pop(),s=Ac(i.text,o.text.slice(),0,i.length);if(s.length<=32)n.push(new cn(s,o.length+i.length));else{let l=s.length>>1;n.push(new cn(s.slice(0,l)),new cn(s.slice(l)))}}else n.push(i)}replace(e,t,n){if(!(n instanceof cn))return super.replace(e,t,n);let a=Ac(this.text,Ac(n.text,f1(this.text,0,e)),t),i=this.length+n.length-(t-e);return a.length<=32?new cn(a,i):ma.from(cn.split(a,[]),i)}sliceString(e,t=this.length,n=` `){let a="";for(let i=0,o=0;i<=t&&oe&&o&&(a+=n),ei&&(a+=s.slice(Math.max(0,e-i),t-i)),i=l+1}return a}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],a=-1;for(let i of e)n.push(i),a+=i.length+1,n.length==32&&(t.push(new cn(n,a)),n=[],a=-1);return a>-1&&t.push(new cn(n,a)),t}}class ma extends Ct{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,a){for(let i=0;;i++){let o=this.children[i],s=a+o.length,l=n+o.lines-1;if((t?l:s)>=e)return o.lineInner(e,t,n,a);a=s+1,n=l+1}}decompose(e,t,n,a){for(let i=0,o=0;o<=t&&i=o){let c=a&((o<=e?1:0)|(l>=t?2:0));o>=e&&l<=t&&!c?n.push(s):s.decompose(e-o,t-o,n,c)}o=l+1}}replace(e,t,n){if(n.lines=i&&t<=s){let l=o.replace(e-i,t-i,n),c=this.lines-o.lines+l.lines;if(l.lines>5-1&&l.lines>c>>5+1){let u=this.children.slice();return u[a]=l,new ma(u,this.length-(t-e)+n.length)}return super.replace(i,s,l)}i=s+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` -`){let a="";for(let i=0,o=0;ie&&i&&(a+=n),eo&&(a+=s.sliceString(e-o,t-o,n)),o=l+1}return a}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ma))return 0;let n=0,[a,i,o,s]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;a+=t,i+=t){if(a==o||i==s)return n;let l=this.children[a],c=e.children[i];if(l!=c)return n+l.scanIdentical(c,t);n+=l.length+1}}static from(e,t=e.reduce((n,a)=>n+a.length+1,-1)){let n=0;for(let _ of e)n+=_.lines;if(n<32){let _=[];for(let b of e)b.flatten(_);return new cn(_,t)}let a=Math.max(32,n>>5),i=a<<1,o=a>>1,s=[],l=0,c=-1,u=[];function h(_){let b;if(_.lines>i&&_ instanceof ma)for(let A of _.children)h(A);else _.lines>o&&(l>o||!l)?(p(),s.push(_)):_ instanceof cn&&l&&(b=u[u.length-1])instanceof cn&&_.lines+b.lines<=32?(l+=_.lines,c+=_.length+1,u[u.length-1]=new cn(b.text.concat(_.text),b.length+1+_.length)):(l+_.lines>a&&p(),l+=_.lines,c+=_.length+1,u.push(_))}function p(){l!=0&&(s.push(u.length==1?u[0]:ma.from(u,c)),c=-1,l=u.length=0)}for(let _ of e)h(_);return p(),s.length==1?s[0]:new ma(s,t)}}Ct.empty=new cn([""],0);function px(r){let e=-1;for(let t of r)e+=t.length+1;return e}function Ac(r,e,t=0,n=1e9){for(let a=0,i=0,o=!0;i=t&&(l>n&&(s=s.slice(0,n-a)),a0?1:(e instanceof cn?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,a=this.nodes[n],i=this.offsets[n],o=i>>1,s=a instanceof cn?a.text.length:a.children.length;if(o==(t>0?s:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(a instanceof cn){let l=a.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=e==0?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=a.children[o+(t<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(t>0?1:(l instanceof cn?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class qE{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Zs(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:a}=this.cursor.next(e);return this.pos+=(a.length+e)*t,this.value=a.length<=n?a:t<0?a.slice(a.length-n):a.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class QE{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:a}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ct.prototype[Symbol.iterator]=function(){return this.iter()},Zs.prototype[Symbol.iterator]=qE.prototype[Symbol.iterator]=QE.prototype[Symbol.iterator]=function(){return this});let gx=class{constructor(e,t,n,a){this.from=e,this.to=t,this.number=n,this.text=a}get length(){return this.to-this.from}},xo="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(r=>r?parseInt(r,36):1);for(let r=1;rr)return xo[e-1]<=r;return!1}function m1(r){return r>=127462&&r<=127487}const p1=8205;function Fn(r,e,t=!0,n=!0){return(t?HE:bx)(r,e,n)}function HE(r,e,t){if(e==r.length)return e;e&&VE(r.charCodeAt(e))&&zE(r.charCodeAt(e-1))&&e--;let n=kn(r,e);for(e+=Ar(n);e=0&&m1(kn(r,o));)i++,o-=2;if(i%2==0)break;e+=2}else break}return e}function bx(r,e,t){for(;e>0;){let n=HE(r,e-2,t);if(n=56320&&r<57344}function zE(r){return r>=55296&&r<56320}function kn(r,e){let t=r.charCodeAt(e);if(!zE(t)||e+1==r.length)return t;let n=r.charCodeAt(e+1);return VE(n)?(t-55296<<10)+(n-56320)+65536:t}function p0(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}function Ar(r){return r<65536?1:2}const zp=/\r\n?|\n/;var bn=function(r){return r[r.Simple=0]="Simple",r[r.TrackDel=1]="TrackDel",r[r.TrackBefore=2]="TrackBefore",r[r.TrackAfter=3]="TrackAfter",r}(bn||(bn={}));class Sa{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return i+(e-a);i+=s}else{if(n!=bn.Simple&&c>=e&&(n==bn.TrackDel&&ae||n==bn.TrackBefore&&ae))return null;if(c>e||c==e&&t<0&&!s)return e==a||t<0?i:i+l;i+=l}a=c}if(e>a)throw new RangeError(`Position ${e} is out of range for changeset of length ${a}`);return i}touchesRange(e,t=e){for(let n=0,a=0;n=0&&a<=t&&s>=e)return at?"cover":!0;a=s}return!1}toString(){let e="";for(let t=0;t=0?":"+a:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Sa(e)}static create(e){return new Sa(e)}}class _n extends Sa{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Wp(this,(t,n,a,i,o)=>e=e.replace(a,a+(n-t),o),!1),e}mapDesc(e,t=!1){return Xp(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let a=0,i=0;a=0){t[a]=s,t[a+1]=o;let l=a>>1;for(;n.length0&&pi(n,t,i.text),i.forward(u),s+=u}let c=e[o++];for(;s>1].toJSON()))}return e}static of(e,t,n){let a=[],i=[],o=0,s=null;function l(u=!1){if(!u&&!a.length)return;op||h<0||p>t)throw new RangeError(`Invalid change range ${h} to ${p} (in doc of length ${t})`);let b=_?typeof _=="string"?Ct.of(_.split(n||zp)):_:Ct.empty,A=b.length;if(h==p&&A==0)return;ho&&Bn(a,h-o,-1),Bn(a,p-h,A),pi(i,a,b),o=p}}return c(e),l(!s),s}static empty(e){return new _n(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let a=0;as&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(i.length==1)t.push(i[0],0);else{for(;n.length=0&&t<=0&&t==r[a+1]?r[a]+=e:e==0&&r[a]==0?r[a+1]+=t:n?(r[a]+=e,r[a+1]+=t):r.push(e,t)}function pi(r,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||o==r.sections.length||r.sections[o+1]<0);)s=r.sections[o++],l=r.sections[o++];e(a,c,i,u,h),a=c,i=u}}}function Xp(r,e,t,n=!1){let a=[],i=n?[]:null,o=new dl(r),s=new dl(e);for(let l=-1;;)if(o.ins==-1&&s.ins==-1){let c=Math.min(o.len,s.len);Bn(a,c,-1),o.forward(c),s.forward(c)}else if(s.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(s.len=0&&l=0){let c=0,u=o.len;for(;u;)if(s.ins==-1){let h=Math.min(u,s.len);c+=h,u-=h,s.forward(h)}else if(s.ins==0&&s.lenl||o.ins>=0&&o.len>l)&&(s||n.length>c),i.forward2(l),o.forward(l)}}}}class dl{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?Ct.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?Ct.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class $i{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let n,a;return this.empty?n=a=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),a=e.mapPos(this.to,-1)),n==this.from&&a==this.to?this:new $i(n,a,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return ge.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return ge.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return ge.range(e.anchor,e.head)}static create(e,t,n){return new $i(e,t,n)}}class ge{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:ge.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new ge(e.ranges.map(t=>$i.fromJSON(t)),e.main)}static single(e,t=e){return new ge([ge.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,a=0;ae?4:0)|i)}static normalized(e,t=0){let n=e[t];e.sort((a,i)=>a.from-i.from),t=e.indexOf(n);for(let a=1;ai.head?ge.range(l,s):ge.range(s,l))}}return new ge(e,t)}}function XE(r,e){for(let t of r.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let g0=0;class Ue{constructor(e,t,n,a,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=a,this.id=g0++,this.default=e([]),this.extensions=typeof i=="function"?i(this):i}static define(e={}){return new Ue(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:_0),!!e.static,e.enables)}of(e){return new Ic([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ic(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ic(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function _0(r,e){return r==e||r.length==e.length&&r.every((t,n)=>t===e[n])}class Ic{constructor(e,t,n,a){this.dependencies=e,this.facet=t,this.type=n,this.value=a,this.id=g0++}dynamicSlot(e){var t;let n=this.value,a=this.facet.compareInput,i=this.id,o=e[i]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let h of this.dependencies)h=="doc"?l=!0:h=="selection"?c=!0:((t=e[h.id])!==null&&t!==void 0?t:1)&1||u.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||Kp(h,u)){let _=n(h);if(s?!g1(_,h.values[o],a):!a(_,h.values[o]))return h.values[o]=_,1}return 0},reconfigure:(h,p)=>{let _,b=p.config.address[i];if(b!=null){let A=jc(p,b);if(this.dependencies.every(I=>I instanceof Ue?p.facet(I)===h.facet(I):I instanceof Mn?p.field(I,!1)==h.field(I,!1):!0)||(s?g1(_=n(h),A,a):a(_=n(h),A)))return h.values[o]=A,0}else _=n(h);return h.values[o]=_,1}}}}function g1(r,e,t){if(r.length!=e.length)return!1;for(let n=0;nr[l.id]),a=t.map(l=>l.type),i=n.filter(l=>!(l&1)),o=r[e.id]>>1;function s(l){let c=[];for(let u=0;un===a),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(_1).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,a)=>{let i=n.values[t],o=this.updateF(i,a);return this.compareF(i,o)?0:(n.values[t]=o,1)},reconfigure:(n,a)=>a.config.address[this.id]!=null?(n.values[t]=a.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,_1.of({field:this,create:e})]}get extension(){return this}}const Bi={lowest:4,low:3,default:2,high:1,highest:0};function ks(r){return e=>new KE(e,r)}const $a={highest:ks(Bi.highest),high:ks(Bi.high),default:ks(Bi.default),low:ks(Bi.low),lowest:ks(Bi.lowest)};class KE{constructor(e,t){this.inner=e,this.prec=t}}class wr{of(e){return new Zp(this,e)}reconfigure(e){return wr.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Zp{constructor(e,t){this.compartment=e,this.inner=t}}class Zc{constructor(e,t,n,a,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=a,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let a=[],i=Object.create(null),o=new Map;for(let p of Ox(e,t,o))p instanceof Mn?a.push(p):(i[p.facet.id]||(i[p.facet.id]=[])).push(p);let s=Object.create(null),l=[],c=[];for(let p of a)s[p.id]=c.length<<1,c.push(_=>p.slot(_));let u=n==null?void 0:n.config.facets;for(let p in i){let _=i[p],b=_[0].facet,A=u&&u[p]||[];if(_.every(I=>I.type==0))if(s[b.id]=l.length<<1|1,_0(A,_))l.push(n.facet(b));else{let I=b.combine(_.map(M=>M.value));l.push(n&&b.compare(I,n.facet(b))?n.facet(b):I)}else{for(let I of _)I.type==0?(s[I.id]=l.length<<1|1,l.push(I.value)):(s[I.id]=c.length<<1,c.push(M=>I.dynamicSlot(M)));s[b.id]=c.length<<1,c.push(I=>Sx(I,b,_))}}let h=c.map(p=>p(s));return new Zc(e,o,h,s,l,i)}}function Ox(r,e,t){let n=[[],[],[],[],[]],a=new Map;function i(o,s){let l=a.get(o);if(l!=null){if(l<=s)return;let c=n[l].indexOf(o);c>-1&&n[l].splice(c,1),o instanceof Zp&&t.delete(o.compartment)}if(a.set(o,s),Array.isArray(o))for(let c of o)i(c,s);else if(o instanceof Zp){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(o.compartment)||o.inner;t.set(o.compartment,c),i(c,s)}else if(o instanceof KE)i(o.inner,o.prec);else if(o instanceof Mn)n[s].push(o),o.provides&&i(o.provides,s);else if(o instanceof Ic)n[s].push(o),o.facet.extensions&&i(o.facet.extensions,Bi.default);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(c,s)}}return i(r,Bi.default),n.reduce((o,s)=>o.concat(s))}function js(r,e){if(e&1)return 2;let t=e>>1,n=r.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;r.status[t]=4;let a=r.computeSlot(r,r.config.dynamicSlots[t]);return r.status[t]=2|a}function jc(r,e){return e&1?r.config.staticValues[e>>1]:r.values[e>>1]}const ZE=Ue.define(),jE=Ue.define({combine:r=>r.some(e=>e),static:!0}),JE=Ue.define({combine:r=>r.length?r[0]:void 0,static:!0}),ey=Ue.define(),ty=Ue.define(),ny=Ue.define(),ry=Ue.define({combine:r=>r.length?r[0]:!1});class Ga{constructor(e,t){this.type=e,this.value=t}static define(){return new vx}}class vx{of(e){return new Ga(this,e)}}class Ex{constructor(e){this.map=e}of(e){return new dt(this,e)}}class dt{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new dt(this.type,t)}is(e){return this.type==e}static define(e={}){return new Ex(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let a of e){let i=a.map(t);i&&n.push(i)}return n}}dt.reconfigure=dt.define();dt.appendConfig=dt.define();class Sn{constructor(e,t,n,a,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=a,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&XE(n,t.newLength),i.some(s=>s.type==Sn.time)||(this.annotations=i.concat(Sn.time.of(Date.now())))}static create(e,t,n,a,i,o){return new Sn(e,t,n,a,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(Sn.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Sn.time=Ga.define();Sn.userEvent=Ga.define();Sn.addToHistory=Ga.define();Sn.remote=Ga.define();function yx(r,e){let t=[];for(let n=0,a=0;;){let i,o;if(n=r[n]))i=r[n++],o=r[n++];else if(a=0;a--){let i=n[a](r);i instanceof Sn?r=i:Array.isArray(i)&&i.length==1&&i[0]instanceof Sn?r=i[0]:r=iy(e,Mo(i),!1)}return r}function Cx(r){let e=r.startState,t=e.facet(ny),n=r;for(let a=t.length-1;a>=0;a--){let i=t[a](r);i&&Object.keys(i).length&&(n=ay(n,jp(e,i,r.changes.newLength),!0))}return n==r?r:Sn.create(e,r.changes,r.selection,n.effects,n.annotations,n.scrollIntoView)}const Rx=[];function Mo(r){return r==null?Rx:Array.isArray(r)?r:[r]}var jt=function(r){return r[r.Word=0]="Word",r[r.Space=1]="Space",r[r.Other=2]="Other",r}(jt||(jt={}));const wx=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Jp;try{Jp=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Ax(r){if(Jp)return Jp.test(r);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||wx.test(t)))return!0}return!1}function Ix(r){return e=>{if(!/\S/.test(e))return jt.Space;if(Ax(e))return jt.Word;for(let t=0;t-1)return jt.Word;return jt.Other}}class Et{constructor(e,t,n,a,i,o){this.config=e,this.doc=t,this.selection=n,this.values=a,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let s=0;sa.set(l,s)),t=null),a.set(o.value.compartment,o.value.extension)):o.is(dt.reconfigure)?(t=null,n=o.value):o.is(dt.appendConfig)&&(t=null,n=Mo(n).concat(o.value));let i;t?i=e.startState.values.slice():(t=Zc.resolve(n,a,this),i=new Et(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(s,l)=>l.reconfigure(s,this),null).values),new Et(t,e.newDoc,e.newSelection,i,(o,s)=>s.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:ge.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),a=this.changes(n.changes),i=[n.range],o=Mo(n.effects);for(let s=1;so.spec.fromJSON(s,l)))}}return Et.create({doc:e.doc,selection:ge.fromJSON(e.selection),extensions:t.extensions?a.concat([t.extensions]):a})}static create(e={}){let t=Zc.resolve(e.extensions||[],new Map),n=e.doc instanceof Ct?e.doc:Ct.of((e.doc||"").split(t.staticFacet(Et.lineSeparator)||zp)),a=e.selection?e.selection instanceof ge?e.selection:ge.single(e.selection.anchor,e.selection.head):ge.single(0);return XE(a,n.length),t.staticFacet(jE)||(a=a.asSingle()),new Et(t,n,a,t.dynamicSlots.map(()=>null),(i,o)=>o.create(i),null)}get tabSize(){return this.facet(Et.tabSize)}get lineBreak(){return this.facet(Et.lineSeparator)||` -`}get readOnly(){return this.facet(ry)}phrase(e,...t){for(let n of this.facet(Et.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,a)=>{if(a=="$")return"$";let i=+(a||1);return!i||i>t.length?n:t[i-1]})),e}languageDataAt(e,t,n=-1){let a=[];for(let i of this.facet(ZE))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&a.push(o[e]);return a}charCategorizer(e){return Ix(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:a}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,s=e-n;for(;o>0;){let l=Fn(t,o,!1);if(i(t.slice(l,o))!=jt.Word)break;o=l}for(;sr.length?r[0]:4});Et.lineSeparator=JE;Et.readOnly=ry;Et.phrases=Ue.define({compare(r,e){let t=Object.keys(r),n=Object.keys(e);return t.length==n.length&&t.every(a=>r[a]==e[a])}});Et.languageData=ZE;Et.changeFilter=ey;Et.transactionFilter=ty;Et.transactionExtender=ny;wr.reconfigure=dt.define();function qa(r,e,t={}){let n={};for(let a of r)for(let i of Object.keys(a)){let o=a[i],s=n[i];if(s===void 0)n[i]=o;else if(!(s===o||o===void 0))if(Object.hasOwnProperty.call(t,i))n[i]=t[i](s,o);else throw new Error("Config merge conflict for field "+i)}for(let a in e)n[a]===void 0&&(n[a]=e[a]);return n}class Ji{eq(e){return this==e}range(e,t=e){return hl.create(e,t,this)}}Ji.prototype.startSide=Ji.prototype.endSide=0;Ji.prototype.point=!1;Ji.prototype.mapMode=bn.TrackDel;class hl{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new hl(e,t,n)}}function eg(r,e){return r.from-e.from||r.value.startSide-e.value.startSide}class b0{constructor(e,t,n,a){this.from=e,this.to=t,this.value=n,this.maxPoint=a}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,a=0){let i=n?this.to:this.from;for(let o=a,s=i.length;;){if(o==s)return o;let l=o+s>>1,c=i[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==o)return c>=0?o:s;c>=0?s=l:o=l+1}}between(e,t,n,a){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i_||p==_&&c.startSide>0&&c.endSide<=0)continue;(_-p||c.endSide-c.startSide)<0||(o<0&&(o=p),c.point&&(s=Math.max(s,_-p)),n.push(c),a.push(p-o),i.push(_-o))}return{mapped:n.length?new b0(a,i,n,s):null,pos:o}}}class Ft{constructor(e,t,n,a){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=a}static create(e,t,n,a){return new Ft(e,t,n,a)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:a=0,filterTo:i=this.length}=e,o=e.filter;if(t.length==0&&!o)return this;if(n&&(t=t.slice().sort(eg)),this.isEmpty)return t.length?Ft.of(t):this;let s=new oy(this,null,-1).goto(0),l=0,c=[],u=new eo;for(;s.value||l=0){let h=t[l++];u.addInner(h.from,h.to,h.value)||c.push(h)}else s.rangeIndex==1&&s.chunkIndexthis.chunkEnd(s.chunkIndex)||is.to||i=i&&e<=i+o.length&&o.between(i,e-i,t-i,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return fl.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return fl.from(e).goto(t)}static compare(e,t,n,a,i=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=i),s=t.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=i),l=b1(o,s,n),c=new Ns(o,l,i),u=new Ns(s,l,i);n.iterGaps((h,p,_)=>S1(c,h,u,p,_,a)),n.empty&&n.length==0&&S1(c,0,u,0,0,a)}static eq(e,t,n=0,a){a==null&&(a=1e9-1);let i=e.filter(u=>!u.isEmpty&&t.indexOf(u)<0),o=t.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(i.length!=o.length)return!1;if(!i.length)return!0;let s=b1(i,o),l=new Ns(i,s,0).goto(n),c=new Ns(o,s,0).goto(n);for(;;){if(l.to!=c.to||!tg(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>a)return!0;l.next(),c.next()}}static spans(e,t,n,a,i=-1){let o=new Ns(e,null,i).goto(t),s=t,l=o.openStart;for(;;){let c=Math.min(o.to,n);if(o.point){let u=o.activeForPoint(o.to),h=o.pointFroms&&(a.span(s,c,o.active,l),l=o.openEnd(c));if(o.to>n)return l+(o.point&&o.to>n?1:0);s=o.to,o.next()}}static of(e,t=!1){let n=new eo;for(let a of e instanceof hl?[e]:t?kx(e):e)n.add(a.from,a.to,a.value);return n.finish()}}Ft.empty=new Ft([],[],null,-1);function kx(r){if(r.length>1)for(let e=r[0],t=1;t0)return r.slice().sort(eg);e=n}return r}Ft.empty.nextLayer=Ft.empty;class eo{finishChunk(e){this.chunks.push(new b0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eo)).add(e,t,n)}addInner(e,t,n){let a=e-this.lastTo||n.startSide-this.last.endSide;if(a<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return a<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Ft.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Ft.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function b1(r,e,t){let n=new Map;for(let i of r)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&a.push(new oy(o,t,n,i));return a.length==1?a[0]:new fl(a)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)Cd(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Cd(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Cd(this.heap,0)}}}function Cd(r,e){for(let t=r[e];;){let n=(e<<1)+1;if(n>=r.length)break;let a=r[n];if(n+1=0&&(a=r[n+1],n++),t.compare(a)<0)break;r[n]=t,r[e]=a,e=n}}class Ns{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=fl.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){sc(this.active,e),sc(this.activeTo,e),sc(this.activeRank,e),this.minActive=O1(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:a,rank:i}=this.cursor;for(;t-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>e){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),n&&sc(n,a)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let i=this.cursor.value;if(!i.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[a]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function S1(r,e,t,n,a,i){r.goto(e),t.goto(n);let o=n+a,s=n,l=n-e;for(;;){let c=r.to+l-t.to||r.endSide-t.endSide,u=c<0?r.to+l:t.to,h=Math.min(u,o);if(r.point||t.point?r.point&&t.point&&(r.point==t.point||r.point.eq(t.point))&&tg(r.activeForPoint(r.to),t.activeForPoint(t.to))||i.comparePoint(s,h,r.point,t.point):h>s&&!tg(r.active,t.active)&&i.compareRange(s,h,r.active,t.active),u>o)break;s=u,c<=0&&r.next(),c>=0&&t.next()}}function tg(r,e){if(r.length!=e.length)return!1;for(let t=0;t=e;n--)r[n+1]=r[n];r[e]=t}function O1(r,e){let t=-1,n=1e9;for(let a=0;a=e)return a;if(a==r.length)break;i+=r.charCodeAt(a)==9?t-i%t:1,a=Fn(r,a)}return n===!0?-1:r.length}const ng="ͼ",v1=typeof Symbol>"u"?"__"+ng:Symbol.for(ng),rg=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),E1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Si{constructor(e,t){this.rules=[];let{finish:n}=t||{};function a(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function i(o,s,l,c){let u=[],h=/^@(\w+)\b/.exec(o[0]),p=h&&h[1]=="keyframes";if(h&&s==null)return l.push(o[0]+";");for(let _ in s){let b=s[_];if(/&/.test(_))i(_.split(/,\s*/).map(A=>o.map(I=>A.replace(/&/,I))).reduce((A,I)=>A.concat(I)),b,l);else if(b&&typeof b=="object"){if(!h)throw new RangeError("The value of a property ("+_+") should be a primitive value.");i(a(_),b,u,p)}else b!=null&&u.push(_.replace(/_.*/,"").replace(/[A-Z]/g,A=>"-"+A.toLowerCase())+": "+b+";")}(u.length||p)&&l.push((n&&!h&&!c?o.map(n):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in e)i(a(o),e[o],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=E1[v1]||1;return E1[v1]=e+1,ng+e.toString(36)}static mount(e,t){(e[rg]||new Dx(e)).mount(Array.isArray(t)?t:[t])}}let y1=new Map;class Dx{constructor(e){let t=e.ownerDocument||e,n=t.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let a=y1.get(t);if(a)return e.adoptedStyleSheets=[a.sheet,...e.adoptedStyleSheets],e[rg]=a;this.sheet=new n.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],y1.set(t,this)}else{this.styleTag=t.createElement("style");let a=e.head||e;a.insertBefore(this.styleTag,a.firstChild)}this.modules=[],e[rg]=this}mount(e){let t=this.sheet,n=0,a=0;for(let i=0;i-1&&(this.modules.splice(s,1),a--,s=-1),s==-1){if(this.modules.splice(a++,0,o),t)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},xx=typeof navigator<"u"&&/Mac/.test(navigator.platform),Mx=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Nn=0;Nn<10;Nn++)Oi[48+Nn]=Oi[96+Nn]=String(Nn);for(var Nn=1;Nn<=24;Nn++)Oi[Nn+111]="F"+Nn;for(var Nn=65;Nn<=90;Nn++)Oi[Nn]=String.fromCharCode(Nn+32),ml[Nn]=String.fromCharCode(Nn);for(var Rd in Oi)ml.hasOwnProperty(Rd)||(ml[Rd]=Oi[Rd]);function Lx(r){var e=xx&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||Mx&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?ml:Oi)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function Jc(r){let e;return r.nodeType==11?e=r.getSelection?r:r.ownerDocument:e=r,e.getSelection()}function ag(r,e){return e?r==e||r.contains(e.nodeType!=1?e.parentNode:e):!1}function Px(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function kc(r,e){if(!e.anchorNode)return!1;try{return ag(r,e.anchorNode)}catch{return!1}}function pl(r){return r.nodeType==3?to(r,0,r.nodeValue.length).getClientRects():r.nodeType==1?r.getClientRects():[]}function eu(r,e,t,n){return t?T1(r,e,t,n,-1)||T1(r,e,t,n,1):!1}function tu(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e}function T1(r,e,t,n,a){for(;;){if(r==t&&e==n)return!0;if(e==(a<0?0:vi(r))){if(r.nodeName=="DIV")return!1;let i=r.parentNode;if(!i||i.nodeType!=1)return!1;e=tu(r)+(a<0?0:1),r=i}else if(r.nodeType==1){if(r=r.childNodes[e+(a<0?-1:0)],r.nodeType==1&&r.contentEditable=="false")return!1;e=a<0?vi(r):0}else return!1}}function vi(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function S0(r,e){let t=e?r.left:r.right;return{left:t,right:t,top:r.top,bottom:r.bottom}}function Bx(r){return{left:0,right:r.innerWidth,top:0,bottom:r.innerHeight}}function Yx(r,e,t,n,a,i,o,s){let l=r.ownerDocument,c=l.defaultView||window;for(let u=r,h=!1;u&&!h;)if(u.nodeType==1){let p,_=u==l.body;if(_)p=Bx(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(h=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let I=u.getBoundingClientRect();p={left:I.left,right:I.left+u.clientWidth,top:I.top,bottom:I.top+u.clientHeight}}let b=0,A=0;if(a=="nearest")e.top0&&e.bottom>p.bottom+A&&(A=e.bottom-p.bottom+A+o)):e.bottom>p.bottom&&(A=e.bottom-p.bottom+o,t<0&&e.top-A0&&e.right>p.right+b&&(b=e.right-p.right+b+i)):e.right>p.right&&(b=e.right-p.right+i,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class Ux{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?vi(t):0),n,Math.min(e.focusOffset,n?vi(n):0))}set(e,t,n,a){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=a}}let Co=null;function sy(r){if(r.setActive)return r.setActive();if(Co)return r.focus(Co);let e=[];for(let t=r;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(r.focus(Co==null?{get preventScroll(){return Co={preventScroll:!0},!0}}:void 0),!Co){Co=!1;for(let t=0;tMath.max(1,r.scrollHeight-r.clientHeight-4)}class Xn{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new Xn(e.parentNode,tu(e),t)}static after(e,t){return new Xn(e.parentNode,tu(e)+1,t)}}const O0=[];class Ht{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let n=this.dom,a=null,i;for(let o of this.children){if(o.flags&7){if(!o.dom&&(i=a?a.nextSibling:n.firstChild)){let s=Ht.get(i);(!s||!s.parent&&s.canReuseDOM(o))&&o.reuseDOM(i)}o.sync(e,t),o.flags&=-8}if(i=a?a.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&i!=o.dom&&(t.written=!0),o.dom.parentNode==n)for(;i&&i!=o.dom;)i=R1(i);else n.insertBefore(o.dom,i);a=o.dom}for(i=a?a.nextSibling:n.firstChild,i&&t&&t.node==n&&(t.written=!0);i;)i=R1(i)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,t),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let a=vi(e)==0?0:t==0?-1:1;for(;;){let i=e.parentNode;if(i==this.dom)break;a==0&&i.firstChild!=i.lastChild&&(e==i.firstChild?a=-1:a=1),e=i}a<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Ht.get(n);)n=n.nextSibling;if(!n)return this.length;for(let a=0,i=0;;a++){let o=this.children[a];if(o.dom==n)return i;i+=o.length+o.breakAfter}}domBoundsAround(e,t,n=0){let a=-1,i=-1,o=-1,s=-1;for(let l=0,c=n,u=n;lt)return h.domBoundsAround(e,t,c);if(p>=e&&a==-1&&(a=l,i=c),c>t&&h.dom.parentNode==this.dom){o=l,s=u;break}u=p,c=p+h.breakAfter}return{from:i,to:s<0?n+this.length:s,startDOM:(a?this.children[a-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=O0){this.markDirty();for(let a=e;athis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function dy(r,e,t,n,a,i,o,s,l){let{children:c}=r,u=c.length?c[e]:null,h=i.length?i[i.length-1]:null,p=h?h.breakAfter:o;if(!(e==n&&u&&!o&&!p&&i.length<2&&u.merge(t,a,i.length?h:null,t==0,s,l))){if(n0&&(!o&&i.length&&u.merge(t,u.length,i[0],!1,s,0)?u.breakAfter=i.shift().breakAfter:(ti)&&this.lineBreak(),a=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,o=1,s;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(s=a.exec(t))&&(i=s.index,o=s[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),o>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=o-1);n=i+o}}readNode(e){if(e.cmIgnore)return;let t=Ht.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let a=n.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function w1(r){return r.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(r.nodeName)}class A1{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}let gr=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},ig=typeof document<"u"?document:{documentElement:{style:{}}};const og=/Edge\/(\d+)/.exec(gr.userAgent),my=/MSIE \d/.test(gr.userAgent),sg=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(gr.userAgent),Lu=!!(my||sg||og),I1=!Lu&&/gecko\/(\d+)/i.test(gr.userAgent),wd=!Lu&&/Chrome\/(\d+)/.exec(gr.userAgent),k1="webkitFontSmoothing"in ig.documentElement.style,py=!Lu&&/Apple Computer/.test(gr.vendor),N1=py&&(/Mobile\/\w+/.test(gr.userAgent)||gr.maxTouchPoints>2);var Fe={mac:N1||/Mac/.test(gr.platform),windows:/Win/.test(gr.platform),linux:/Linux|X11/.test(gr.platform),ie:Lu,ie_version:my?ig.documentMode||6:sg?+sg[1]:og?+og[1]:0,gecko:I1,gecko_version:I1?+(/Firefox\/(\d+)/.exec(gr.userAgent)||[0,0])[1]:0,chrome:!!wd,chrome_version:wd?+wd[1]:0,ios:N1,android:/Android\b/.test(gr.userAgent),webkit:k1,safari:py,webkit_version:k1?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:ig.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const qx=256;class va extends Ht{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,n){return this.flags&8||n&&(!(n instanceof va)||this.length-(t-e)+n.length>qx||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new va(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Xn(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Qx(this.dom,e,t)}}class Fa extends Ht{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let a of t)a.setParent(this)}setAttrs(e){if(ly(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,a,i,o){return n&&(!(n instanceof Fa&&n.mark.eq(this.mark))||e&&i<=0||te&&t.push(n=e&&(a=i),n=l,i++}let o=this.length-e;return this.length=e,a>-1&&(this.children.length=a,this.markDirty()),new Fa(this.mark,t,o)}domAtPos(e){return gy(this,e)}coordsAt(e,t){return by(this,e,t)}}function Qx(r,e,t){let n=r.nodeValue.length;e>n&&(e=n);let a=e,i=e,o=0;e==0&&t<0||e==n&&t>=0?Fe.chrome||Fe.gecko||(e?(a--,o=1):i=0)?0:s.length-1];return Fe.safari&&!o&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),o?S0(l,o<0):l||null}class Gi extends Ht{constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}static create(e,t,n){return new Gi(e,t,n)}split(e){let t=Gi.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,n,a,i,o){return n&&(!(n instanceof Gi)||!this.widget.compare(n.widget)||e>0&&i<=0||t0)?Xn.before(this.dom):Xn.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let a=this.dom.getClientRects(),i=null;if(!a.length)return null;let o=this.side?this.side<0:e>0;for(let s=o?a.length-1:0;i=a[s],!(e>0?s==0:s==a.length-1||i.top0?Xn.before(this.dom):Xn.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Ct.empty}get isHidden(){return!0}}va.prototype.children=Gi.prototype.children=zo.prototype.children=O0;function gy(r,e){let t=r.dom,{children:n}=r,a=0;for(let i=0;ai&&e0;i--){let o=n[i-1];if(o.dom.parentNode==t)return o.domAtPos(o.length)}for(let i=a;i0&&e instanceof Fa&&a.length&&(n=a[a.length-1])instanceof Fa&&n.mark.eq(e.mark)?_y(n,e.children[0],t-1):(a.push(e),e.setParent(r)),r.length+=e.length}function by(r,e,t){let n=null,a=-1,i=null,o=-1;function s(c,u){for(let h=0,p=0;h=u&&(_.children.length?s(_,u-p):(!i||i.isHidden&&t>0)&&(b>u||p==b&&_.getSide()>0)?(i=_,o=u-p):(p-1?1:0)!=a.length-(t&&a.indexOf(t)>-1?1:0))return!1;for(let i of n)if(i!=t&&(a.indexOf(i)==-1||r[i]!==e[i]))return!1;return!0}function cg(r,e,t){let n=null;if(e)for(let a in e)t&&a in t||r.removeAttribute(n=a);if(t)for(let a in t)e&&e[a]==t[a]||r.setAttribute(n=a,t[a]);return!!n}function Vx(r){let e=Object.create(null);for(let t=0;t0?3e8:-4e8:t>0?1e8:-1e8,new Ei(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,a;if(e.isBlockGap)n=-5e8,a=4e8;else{let{start:i,end:o}=Sy(e,t);n=(i?t?-3e8:-1:5e8)-1,a=(o?t?2e8:1:-6e8)+1}return new Ei(e,n,a,t,e.widget||null,!0)}static line(e){return new Gl(e)}static set(e,t=!1){return Ft.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}tt.none=Ft.empty;class $l extends tt{constructor(e){let{start:t,end:n}=Sy(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof $l&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&v0(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}$l.prototype.point=!1;class Gl extends tt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Gl&&this.spec.class==e.spec.class&&v0(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Gl.prototype.mapMode=bn.TrackBefore;Gl.prototype.point=!0;class Ei extends tt{constructor(e,t,n,a,i,o){super(t,n,i,e),this.block=a,this.isReplace=o,this.mapMode=a?t<=0?bn.TrackBefore:bn.TrackAfter:bn.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Ei&&zx(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}Ei.prototype.point=!0;function Sy(r,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=r;return t==null&&(t=r.inclusive),n==null&&(n=r.inclusive),{start:t??e,end:n??e}}function zx(r,e){return r==e||!!(r&&e&&r.compare(e))}function ug(r,e,t,n=0){let a=t.length-1;a>=0&&t[a]+n>=r?t[a]=Math.max(t[a],e):t.push(r,e)}class Wn extends Ht{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,a,i,o){if(n){if(!(n instanceof Wn))return!1;this.dom||n.transferDOM(this)}return a&&this.setDeco(n?n.attrs:null),hy(this,e,t,n?n.children:[],i,o),!0}split(e){let t=new Wn;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:a}=this.childPos(e);a&&(t.append(this.children[n].split(a),0),this.children[n].merge(a,this.children[n].length,null,!1,0,0),n++);for(let i=n;i0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){v0(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){_y(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=lg(t,this.attrs||{})),n&&(this.attrs=lg({class:n},this.attrs||{}))}domAtPos(e){return gy(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;this.dom?this.flags&4&&(ly(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(cg(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let a=this.dom.lastChild;for(;a&&Ht.get(a)instanceof Fa;)a=a.lastChild;if(!a||!this.length||a.nodeName!="BR"&&((n=Ht.get(a))===null||n===void 0?void 0:n.isEditable)==!1&&(!Fe.ios||!this.children.some(i=>i instanceof va))){let i=document.createElement("BR");i.cmIgnore=!0,this.dom.appendChild(i)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof va)||/[^ -~]/.test(n.text))return null;let a=pl(n.dom);if(a.length!=1)return null;e+=a[0].width,t=a[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=by(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:a}=this.parent.view.viewState,i=n.bottom-n.top;if(Math.abs(i-a.lineHeight)<2&&a.textHeight=t){if(i instanceof Wn)return i;if(o>t)break}a=o+i.breakAfter}return null}}class Wi extends Ht{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,a,i,o){return n&&(!(n instanceof Wi)||!this.widget.compare(n.widget)||e>0&&i<=0||t0;){if(this.textOff==this.text.length){let{value:i,lineBreak:o,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=i,this.textOff=0}let a=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(cc(new va(this.text.slice(this.textOff,this.textOff+a)),t),n),this.atCursorPos=!0,this.textOff+=a,e-=a,n=0}}span(e,t,n,a){this.buildText(t-e,n,a),this.pos=t,this.openStart<0&&(this.openStart=a)}point(e,t,n,a,i,o){if(this.disallowBlockEffectsFor[o]&&n instanceof Ei){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let s=t-e;if(n instanceof Ei)if(n.block){let{type:l}=n;l==on.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Wi(n.widget||new x1("div"),s,l))}else{let l=Gi.create(n.widget||new x1("span"),s,s?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&i<=a.length&&(e0),u=!l.isEditable&&(ea.length||n.startSide<=0),h=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(a),c&&(h.append(cc(new zo(1),a),i),i=a.length+Math.max(0,i-a.length)),h.append(cc(l,a),i),this.atCursorPos=u,this.pendingBuffer=u?ea.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=a.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);s&&(this.textOff+s<=this.text.length?this.textOff+=s:(this.skip+=s-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}static build(e,t,n,a,i){let o=new Js(e,t,n,i);return o.openEnd=Ft.spans(a,t,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function cc(r,e){for(let t of e)r=new Fa(t,[r],r.length);return r}class x1 extends Qa{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const Oy=Ue.define(),vy=Ue.define(),Ey=Ue.define(),yy=Ue.define(),dg=Ue.define(),Ty=Ue.define(),Cy=Ue.define(),Ry=Ue.define({combine:r=>r.some(e=>e)}),wy=Ue.define({combine:r=>r.some(e=>e)});class nu{constructor(e,t="nearest",n="nearest",a=5,i=5){this.range=e,this.y=t,this.x=n,this.yMargin=a,this.xMargin=i}map(e){return e.empty?this:new nu(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const M1=dt.define({map:(r,e)=>r.map(e)});function xr(r,e,t){let n=r.facet(yy);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Pu=Ue.define({combine:r=>r.length?r[0]:!0});let Wx=0;const Qs=Ue.define();class xn{constructor(e,t,n,a){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=a(this)}static define(e,t){const{eventHandlers:n,provide:a,decorations:i}=t||{};return new xn(Wx++,e,n,o=>{let s=[Qs.of(o)];return i&&s.push(gl.of(l=>{let c=l.plugin(o);return c?i(c):tt.none})),a&&s.push(a(o)),s})}static fromClass(e,t){return xn.define(n=>new e(n),t)}}class Ad{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(xr(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){xr(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){xr(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Ay=Ue.define(),E0=Ue.define(),gl=Ue.define(),y0=Ue.define(),Iy=Ue.define();function ky(r){let e=0,t=0,n=0,a=0;for(let i of r.state.facet(Iy)){let o=i(r);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(t=Math.max(t,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(a=Math.max(a,o.bottom)))}return{left:e,right:t,top:n,bottom:a}}const Hs=Ue.define();class Mr{constructor(e,t,n,a){this.fromA=e,this.toA=t,this.fromB=n,this.toB=a}join(e){return new Mr(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let a=e[t-1];if(!(a.fromA>n.toA)){if(a.toAu)break;i+=2}if(!l)return n;new Mr(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),o=l.toA,s=l.toB}}}class ru{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=_n.empty(this.startState.doc.length);for(let i of n)this.changes=this.changes.compose(i.changes);let a=[];this.changes.iterChangedRanges((i,o,s,l)=>a.push(new Mr(i,o,s,l))),this.changedRanges=a}static create(e,t,n){return new ru(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var Jt=function(r){return r[r.LTR=0]="LTR",r[r.RTL=1]="RTL",r}(Jt||(Jt={}));const hg=Jt.LTR,Xx=Jt.RTL;function Ny(r){let e=[];for(let t=0;t=t){if(s.level==n)return o;(i<0||(a!=0?a<0?s.fromt:e[i].level>s.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}const an=[];function eM(r,e){let t=r.length,n=e==hg?1:2,a=e==hg?2:1;if(!r||n==1&&!Jx.test(r))return Dy(t);for(let o=0,s=n,l=n;o=0;p-=3)if(ca[p+1]==-u){let _=ca[p+2],b=_&2?n:_&4?_&1?a:n:0;b&&(an[o]=an[ca[p]]=b),s=p;break}}else{if(ca.length==189)break;ca[s++]=o,ca[s++]=c,ca[s++]=l}else if((h=an[o])==2||h==1){let p=h==n;l=p?0:1;for(let _=s-3;_>=0;_-=3){let b=ca[_+2];if(b&2)break;if(p)ca[_+2]|=2;else{if(b&4)break;ca[_+2]|=4}}}for(let o=0;os;){let u=c,h=an[--c]!=2;for(;c>s&&h==(an[c-1]!=2);)c--;i.push(new Po(c,u,h?2:1))}else i.push(new Po(s,o,0))}else for(let o=0;o0&&t.length&&(t.every(({fromA:s,toA:l})=>lthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let n=this.view.inputState.composing<0?null:rM(this.view,e.changes);if(this.hasComposition){this.markedForComposition.clear();let{from:s,to:l}=this.hasComposition;t=new Mr(s,l,e.changes.mapPos(s,-1),e.changes.mapPos(l,1)).addToSet(t.slice())}this.hasComposition=n?{from:n.range.fromB,to:n.range.toB}:null,(Fe.ie||Fe.chrome)&&!n&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,i=this.updateDeco(),o=oM(a,i,e.changes);return t=Mr.extendWithRanges(t,o),!(this.flags&7)&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length,n),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:a}=this.view;a.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let o=Fe.chrome||Fe.ios?{node:a.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,o),this.flags&=-8,o&&(o.written||a.selectionRange.focusNode!=o.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(o=>o.flags&=-9);let i=[];if(this.view.viewport.from||this.view.viewport.to=0?a[o]:null;if(!s)break;let{fromA:l,toA:c,fromB:u,toB:h}=s,p,_,b,A;if(n&&n.range.fromBu){let m=Js.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),O=Js.build(this.view.state.doc,n.range.toB,h,this.decorations,this.dynamicDecorationMap);_=m.breakAtStart,b=m.openStart,A=O.openEnd;let S=this.compositionView(n);O.breakAtStart?S.breakAfter=1:O.content.length&&S.merge(S.length,S.length,O.content[0],!1,O.openStart,0)&&(S.breakAfter=O.content[0].breakAfter,O.content.shift()),m.content.length&&S.merge(0,0,m.content[m.content.length-1],!0,0,m.openEnd)&&m.content.pop(),p=m.content.concat(S).concat(O.content)}else({content:p,breakAtStart:_,openStart:b,openEnd:A}=Js.build(this.view.state.doc,u,h,this.decorations,this.dynamicDecorationMap));let{i:I,off:M}=i.findPos(c,1),{i:U,off:V}=i.findPos(l,-1);dy(this,U,V,I,M,p,_,b,A)}n&&this.fixCompositionDOM(n)}compositionView(e){let t=new va(e.text.nodeValue);t.flags|=8;for(let{deco:a}of e.marks)t=new Fa(a,[t],t.length);let n=new Wn;return n.append(t,0),n}fixCompositionDOM(e){let t=(i,o)=>{o.flags|=8,this.markedForComposition.add(o);let s=Ht.get(i);s!=o&&(s&&(s.dom=null),o.setDOM(i))},n=this.childPos(e.range.fromB,1),a=this.children[n.i];t(e.line,a);for(let i=e.marks.length-1;i>=-1;i--)n=a.childPos(n.off,1),a=a.children[n.i],t(i>=0?e.marks[i].node:e.text,a)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,a=n==this.dom,i=!a&&kc(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(a||t||i))return;let o=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,l=this.domAtPos(s.anchor),c=s.empty?l:this.domAtPos(s.head);if(Fe.gecko&&s.empty&&!this.hasComposition&&nM(l)){let h=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(h,l.node.childNodes[l.offset]||null)),l=c=new Xn(h,0),o=!0}let u=this.view.observer.selectionRange;(o||!u.focusNode||!eu(l.node,l.offset,u.anchorNode,u.anchorOffset)||!eu(c.node,c.offset,u.focusNode,u.focusOffset))&&(this.view.observer.ignore(()=>{Fe.android&&Fe.chrome&&this.dom.contains(u.focusNode)&&sM(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let h=Jc(this.view.root);if(h)if(s.empty){if(Fe.gecko){let p=aM(l.node,l.offset);if(p&&p!=3){let _=Ly(l.node,l.offset,p==1?1:-1);_&&(l=new Xn(_,p==1?0:_.nodeValue.length))}}h.collapse(l.node,l.offset),s.bidiLevel!=null&&u.cursorBidiLevel!=null&&(u.cursorBidiLevel=s.bidiLevel)}else if(h.extend){h.collapse(l.node,l.offset);try{h.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();s.anchor>s.head&&([l,c]=[c,l]),p.setEnd(c.node,c.offset),p.setStart(l.node,l.offset),h.removeAllRanges(),h.addRange(p)}i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Xn(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Xn(u.focusNode,u.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=Jc(e.root),{anchorNode:a,anchorOffset:i}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let o=Wn.find(this,t.head);if(!o)return;let s=o.posAtStart;if(t.head==s||t.head==s+o.length)return;let l=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(t.head+t.assoc);n.collapse(u.node,u.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=t.from&&n.collapse(a,i)}nearest(e){for(let t=e;t;){let n=Ht.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;to||e==o&&i.type!=on.WidgetBefore&&i.type!=on.WidgetAfter&&(!a||t==2||this.children[a-1].breakAfter||this.children[a-1].type==on.WidgetBefore&&t>-2))return i.coordsAt(e-o,t);n=o}}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),a=this.children[t];if(!(a instanceof Wn))return null;for(;a.children.length;){let{i:s,off:l}=a.childPos(n,1);for(;;s++){if(s==a.children.length)return null;if((a=a.children[s]).length)break}n=l}if(!(a instanceof va))return null;let i=Fn(a.text,n);if(i==n)return null;let o=to(a.dom,n,i).getClientRects();return!o.length||o[0].top>=o[0].bottom?null:o[0]}measureVisibleLineHeights(e){let t=[],{from:n,to:a}=e,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==Jt.LTR;for(let c=0,u=0;ua)break;if(c>=n){let _=h.dom.getBoundingClientRect();if(t.push(_.height),o){let b=h.dom.lastChild,A=b?pl(b):[];if(A.length){let I=A[A.length-1],M=l?I.right-_.left:_.right-I.left;M>s&&(s=M,this.minWidth=i,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+h.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?Jt.RTL:Jt.LTR}measureTextSize(){for(let i of this.children)if(i instanceof Wn){let o=i.measureTextSize();if(o)return o}let e=document.createElement("div"),t,n,a;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=pl(e.firstChild)[0];t=e.getBoundingClientRect().height,n=i?i.width/27:7,a=i?i.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:a}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new uy(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,a=0;;a++){let i=a==t.viewports.length?null:t.viewports[a],o=i?i.from-1:this.length;if(o>n){let s=t.lineBlockAt(o).bottom-t.lineBlockAt(n).top;e.push(tt.replace({widget:new P1(s),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return tt.set(e)}updateDeco(){let e=this.view.state.facet(gl).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),a;if(!n)return;!t.empty&&(a=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,a.left),top:Math.min(n.top,a.top),right:Math.max(n.right,a.right),bottom:Math.max(n.bottom,a.bottom)});let i=ky(this.view),o={left:n.left-i.left,top:n.top-i.top,right:n.right+i.right,bottom:n.bottom+i.bottom};Yx(this.view.scrollDOM,o,t.head-1)return null;o+=h.text.length}if(s=s.parentNode,!s)return null;let l=Ht.get(s);if(l){a=i=l.posAtStart+o;break}}return{from:a,to:i,node:t}}function rM(r,e){let t=My(r);if(!t)return null;let{from:n,to:a,node:i}=t,o=e.mapPos(n,-1),s=e.mapPos(a,1),l=i.nodeValue;if(/[\n\r]/.test(l))return null;if(s-o!=l.length){let p=e.mapPos(n,1),_=e.mapPos(a,-1);if(_-p==l.length)o=p,s=_;else if(r.state.doc.sliceString(s-l.length,s)==l)o=s-l.length;else if(r.state.doc.sliceString(o,o+l.length)==l)s=o+l.length;else return null}let{main:c}=r.state.selection;if(r.state.doc.sliceString(o,s)!=l||o>c.head||s0)n=n.childNodes[a-1],a=vi(n);else break}if(t>=0)for(let n=r,a=e;;){if(n.nodeType==3)return n;if(n.nodeType==1&&a=0)n=n.childNodes[a],a=0;else break}return null}function aM(r,e){return r.nodeType!=1?0:(e&&r.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let c=Fn(a.text,o,!1);if(n(a.text.slice(c,o))!=l)break;o=c}for(;sr?e.left-r:Math.max(0,r-e.right)}function uM(r,e){return e.top>r?e.top-r:Math.max(0,r-e.bottom)}function Id(r,e){return r.tope.top+1}function B1(r,e){return er.bottom?{top:r.top,left:r.left,right:r.right,bottom:e}:r}function mg(r,e,t){let n,a,i,o,s=!1,l,c,u,h;for(let b=r.firstChild;b;b=b.nextSibling){let A=pl(b);for(let I=0;IV||o==V&&i>U){n=b,a=M,i=U,o=V;let m=V?t0?I0)}U==0?t>M.bottom&&(!u||u.bottomM.top)&&(c=b,h=M):u&&Id(u,M)?u=Y1(u,M.bottom):h&&Id(h,M)&&(h=B1(h,M.top))}}if(u&&u.bottom>=t?(n=l,a=u):h&&h.top<=t&&(n=c,a=h),!n)return{node:r,offset:0};let p=Math.max(a.left,Math.min(a.right,e));if(n.nodeType==3)return F1(n,p,t);if(s&&n.contentEditable!="false")return mg(n,p,t);let _=Array.prototype.indexOf.call(r.childNodes,n)+(e>=(a.left+a.right)/2?1:0);return{node:r,offset:_}}function F1(r,e,t){let n=r.nodeValue.length,a=-1,i=1e9,o=0;for(let s=0;st?u.top-t:t-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&h=(u.left+u.right)/2,_=p;if((Fe.chrome||Fe.gecko)&&to(r,s).getBoundingClientRect().left==u.right&&(_=!p),h<=0)return{node:r,offset:s+(_?1:0)};a=s+(_?1:0),i=h}}}return{node:r,offset:a>-1?a:o>0?r.nodeValue.length:0}}function Py(r,e,t,n=-1){var a,i;let o=r.contentDOM.getBoundingClientRect(),s=o.top+r.viewState.paddingTop,l,{docHeight:c}=r.viewState,{x:u,y:h}=e,p=h-s;if(p<0)return 0;if(p>c)return r.state.doc.length;for(let m=r.viewState.heightOracle.textHeight/2,O=!1;l=r.elementAtHeight(p),l.type!=on.Text;)for(;p=n>0?l.bottom+m:l.top-m,!(p>=0&&p<=c);){if(O)return t?null:0;O=!0,n=-n}h=s+p;let _=l.from;if(_r.viewport.to)return r.viewport.to==r.state.doc.length?r.state.doc.length:t?null:U1(r,o,l,u,h);let b=r.dom.ownerDocument,A=r.root.elementFromPoint?r.root:b,I=A.elementFromPoint(u,h);I&&!r.contentDOM.contains(I)&&(I=null),I||(u=Math.max(o.left+1,Math.min(o.right-1,u)),I=A.elementFromPoint(u,h),I&&!r.contentDOM.contains(I)&&(I=null));let M,U=-1;if(I&&((a=r.docView.nearest(I))===null||a===void 0?void 0:a.isEditable)!=!1){if(b.caretPositionFromPoint){let m=b.caretPositionFromPoint(u,h);m&&({offsetNode:M,offset:U}=m)}else if(b.caretRangeFromPoint){let m=b.caretRangeFromPoint(u,h);m&&({startContainer:M,startOffset:U}=m,(!r.contentDOM.contains(M)||Fe.safari&&dM(M,U,u)||Fe.chrome&&hM(M,U,u))&&(M=void 0))}}if(!M||!r.docView.dom.contains(M)){let m=Wn.find(r.docView,_);if(!m)return p>l.top+l.height/2?l.to:l.from;({node:M,offset:U}=mg(m.dom,u,h))}let V=r.docView.nearest(M);if(!V)return null;if(V.isWidget&&((i=V.dom)===null||i===void 0?void 0:i.nodeType)==1){let m=V.dom.getBoundingClientRect();return e.yr.defaultLineHeight*1.5){let s=r.viewState.heightOracle.textHeight,l=Math.floor((a-t.top-(r.defaultLineHeight-s)*.5)/s);i+=l*r.viewState.heightOracle.lineLength}let o=r.state.sliceDoc(t.from,t.to);return t.from+Nx(o,i,r.state.tabSize)}function dM(r,e,t){let n;if(r.nodeType!=3||e!=(n=r.nodeValue.length))return!1;for(let a=r.nextSibling;a;a=a.nextSibling)if(a.nodeType!=1||a.nodeName!="BR")return!1;return to(r,n-1,n).getBoundingClientRect().left>t}function hM(r,e,t){if(e!=0)return!1;for(let a=r;;){let i=a.parentNode;if(!i||i.nodeType!=1||i.firstChild!=a)return!1;if(i.classList.contains("cm-line"))break;a=i}let n=r.nodeType==1?r.getBoundingClientRect():to(r,0,Math.max(r.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function pg(r,e){let t=r.lineBlockAt(e);if(Array.isArray(t.type)){for(let n of t.type)if(n.to>e||n.to==e&&(n.to==t.to||n.type==on.Text))return n}return t}function fM(r,e,t,n){let a=pg(r,e.head),i=!n||a.type!=on.Text||!(r.lineWrapping||a.widgetLineBreaks)?null:r.coordsAtPos(e.assoc<0&&e.head>a.from?e.head-1:e.head);if(i){let o=r.dom.getBoundingClientRect(),s=r.textDirectionAt(a.from),l=r.posAtCoords({x:t==(s==Jt.LTR)?o.right-1:o.left+1,y:(i.top+i.bottom)/2});if(l!=null)return ge.cursor(l,t?-1:1)}return ge.cursor(t?a.to:a.from,t?-1:1)}function $1(r,e,t,n){let a=r.state.doc.lineAt(e.head),i=r.bidiSpans(a),o=r.textDirectionAt(a.from);for(let s=e,l=null;;){let c=tM(a,i,o,s,t),u=xy;if(!c){if(a.number==(t?r.state.doc.lines:1))return s;u=` -`,a=r.state.doc.line(a.number+(t?1:-1)),i=r.bidiSpans(a),c=ge.cursor(t?a.from:a.to)}if(l){if(!l(u))return s}else{if(!n)return c;l=n(u)}s=c}}function mM(r,e,t){let n=r.state.charCategorizer(e),a=n(t);return i=>{let o=n(i);return a==jt.Space&&(a=o),a==o}}function pM(r,e,t,n){let a=e.head,i=t?1:-1;if(a==(t?r.state.doc.length:0))return ge.cursor(a,e.assoc);let o=e.goalColumn,s,l=r.contentDOM.getBoundingClientRect(),c=r.coordsAtPos(a),u=r.documentTop;if(c)o==null&&(o=c.left-l.left),s=i<0?c.top:c.bottom;else{let _=r.viewState.lineBlockAt(a);o==null&&(o=Math.min(l.right-l.left,r.defaultCharacterWidth*(a-_.from))),s=(i<0?_.top:_.bottom)+u}let h=l.left+o,p=n??r.viewState.heightOracle.textHeight>>1;for(let _=0;;_+=10){let b=s+(p+_)*i,A=Py(r,{x:h,y:b},!1,i);if(bl.bottom||(i<0?Aa))return ge.cursor(A,e.assoc,void 0,o)}}function Nc(r,e,t){for(;;){let n=0;for(let a of r)a.between(e-1,e+1,(i,o,s)=>{if(e>i&&ea(r)),t.from,e.head>t.from?-1:1);return n==t.from?t:ge.cursor(n,n{this.ignoreDuringComposition(a)||a.type=="keydown"&&this.keydown(e,a)||(this.mustFlushObserver(a)&&e.observer.forceFlush(),this.runCustomHandlers(a.type,e,a)?a.preventDefault():n(e,a))};for(let n in fn){let a=fn[n];e.contentDOM.addEventListener(n,i=>{G1(e,i)&&t(a,i)},gg[n]),this.registeredEvents.push(n)}e.scrollDOM.addEventListener("mousedown",n=>{if(n.target==e.scrollDOM&&n.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(fn.mousedown,n),!n.defaultPrevented&&n.button==2)){let a=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=a,200)}}),e.scrollDOM.addEventListener("drop",n=>{n.target==e.scrollDOM&&n.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(fn.drop,n)}),Fe.chrome&&Fe.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Fe.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var n;let a;this.customHandlers=[];for(let i of t)if(a=(n=i.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:i.value,handlers:a});for(let o in a)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,s=>{G1(e,s)&&this.runCustomHandlers(o,e,s)&&s.preventDefault()}))}}runCustomHandlers(e,t,n){for(let a of this.customHandlers){let i=a.handlers[e];if(i)try{if(i.call(a.plugin,n,t)||n.defaultPrevented)return!0}catch(o){xr(t.state,o)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let a=n.handlers.scroll;if(a)try{a.call(n.plugin,t,e)}catch(i){xr(e.state,i)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()a.keyCode==t.keyCode))&&!t.ctrlKey||_M.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,Lo(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Fe.safari&&!Fe.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const By=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],_M="dthko",Yy=[16,17,18,20,91,92,224,225],uc=6;function dc(r){return Math.max(0,r)*.7+8}function bM(r,e){return Math.max(Math.abs(r.clientX-e.clientX),Math.abs(r.clientY-e.clientY))}class SM{constructor(e,t,n,a){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=Fx(e.contentDOM),this.atoms=e.state.facet(y0).map(o=>o(e));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(Et.allowMultipleSelections)&&OM(e,t),this.dragging=EM(e,t)&&Gy(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&bM(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,a=0,i=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=ky(this.view);e.clientX-o.left<=i.left+uc?n=-dc(i.left-e.clientX):e.clientX+o.right>=i.right-uc&&(n=dc(e.clientX-i.right)),e.clientY-o.top<=i.top+uc?a=-dc(i.top-e.clientY):e.clientY+o.bottom>=i.bottom-uc&&(a=dc(e.clientY-i.bottom)),this.setScrollSpeed(n,a)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;nthis.select(this.lastEvent),20)}}function OM(r,e){let t=r.state.facet(Oy);return t.length?t[0](e):Fe.mac?e.metaKey:e.ctrlKey}function vM(r,e){let t=r.state.facet(vy);return t.length?t[0](e):Fe.mac?!e.altKey:!e.ctrlKey}function EM(r,e){let{main:t}=r.state.selection;if(t.empty)return!1;let n=Jc(r.root);if(!n||n.rangeCount==0)return!0;let a=n.getRangeAt(0).getClientRects();for(let i=0;i=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function G1(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=r.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Ht.get(t))&&n.ignoreEvent(e))return!1;return!0}const fn=Object.create(null),gg=Object.create(null),Fy=Fe.ie&&Fe.ie_version<15||Fe.ios&&Fe.webkit_version<604;function yM(r){let e=r.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{r.focus(),t.remove(),Uy(r,t.value)},50)}function Uy(r,e){let{state:t}=r,n,a=1,i=t.toText(e),o=i.lines==t.selection.ranges.length;if(_g!=null&&t.selection.ranges.every(l=>l.empty)&&_g==i.toString()){let l=-1;n=t.changeByRange(c=>{let u=t.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let h=t.toText((o?i.line(a++).text:e)+t.lineBreak);return{changes:{from:u.from,insert:h},range:ge.cursor(c.from+h.length)}})}else o?n=t.changeByRange(l=>{let c=i.line(a++);return{changes:{from:l.from,to:l.to,insert:c.text},range:ge.cursor(l.from+c.length)}}):n=t.replaceSelection(i);r.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}fn.keydown=(r,e)=>{r.inputState.setSelectionOrigin("select"),e.keyCode==27&&(r.inputState.lastEscPress=Date.now())};fn.touchstart=(r,e)=>{r.inputState.lastTouchTime=Date.now(),r.inputState.setSelectionOrigin("select.pointer")};fn.touchmove=r=>{r.inputState.setSelectionOrigin("select.pointer")};gg.touchstart=gg.touchmove={passive:!0};fn.mousedown=(r,e)=>{if(r.observer.flush(),r.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let n of r.state.facet(Ey))if(t=n(r,e),t)break;if(!t&&e.button==0&&(t=RM(r,e)),t){let n=!r.hasFocus;r.inputState.startMouseSelection(new SM(r,e,t,n)),n&&r.observer.ignore(()=>sy(r.contentDOM)),r.inputState.mouseSelection&&r.inputState.mouseSelection.start(e)}};function q1(r,e,t,n){if(n==1)return ge.cursor(e,t);if(n==2)return lM(r.state,e,t);{let a=Wn.find(r.docView,e),i=r.state.doc.lineAt(a?a.posAtEnd:e),o=a?a.posAtStart:i.from,s=a?a.posAtEnd:i.to;return sr>=e.top&&r<=e.bottom,Q1=(r,e,t)=>$y(e,t)&&r>=t.left&&r<=t.right;function TM(r,e,t,n){let a=Wn.find(r.docView,e);if(!a)return 1;let i=e-a.posAtStart;if(i==0)return 1;if(i==a.length)return-1;let o=a.coordsAt(i,-1);if(o&&Q1(t,n,o))return-1;let s=a.coordsAt(i,1);return s&&Q1(t,n,s)?1:o&&$y(n,o)?-1:1}function H1(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:TM(r,t,e.clientX,e.clientY)}}const CM=Fe.ie&&Fe.ie_version<=11;let V1=null,z1=0,W1=0;function Gy(r){if(!CM)return r.detail;let e=V1,t=W1;return V1=r,W1=Date.now(),z1=!e||t>Date.now()-400&&Math.abs(e.clientX-r.clientX)<2&&Math.abs(e.clientY-r.clientY)<2?(z1+1)%3:1}function RM(r,e){let t=H1(r,e),n=Gy(e),a=r.state.selection;return{update(i){i.docChanged&&(t.pos=i.changes.mapPos(t.pos),a=a.map(i.changes))},get(i,o,s){let l=H1(r,i),c,u=q1(r,l.pos,l.bias,n);if(t.pos!=l.pos&&!o){let h=q1(r,t.pos,t.bias,n),p=Math.min(h.from,u.from),_=Math.max(h.to,u.to);u=p1&&(c=wM(a,l.pos))?c:s?a.addRange(u):ge.create([u])}}}function wM(r,e){for(let t=0;t=e)return ge.create(r.ranges.slice(0,t).concat(r.ranges.slice(t+1)),r.mainIndex==t?0:r.mainIndex-(r.mainIndex>t?1:0))}return null}fn.dragstart=(r,e)=>{let{selection:{main:t}}=r.state,{mouseSelection:n}=r.inputState;n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",r.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function X1(r,e,t,n){if(!t)return;let a=r.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:i}=r.inputState,o=n&&i&&i.dragging&&vM(r,e)?{from:i.dragging.from,to:i.dragging.to}:null,s={from:a,insert:t},l=r.state.changes(o?[o,s]:s);r.focus(),r.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:o?"move.drop":"input.drop"})}fn.drop=(r,e)=>{if(!e.dataTransfer)return;if(r.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let n=Array(t.length),a=0,i=()=>{++a==t.length&&X1(r,e,n.filter(o=>o!=null).join(r.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(n[o]=s.result),i()},s.readAsText(t[o])}}else X1(r,e,e.dataTransfer.getData("Text"),!0)};fn.paste=(r,e)=>{if(r.state.readOnly)return e.preventDefault();r.observer.flush();let t=Fy?null:e.clipboardData;t?(Uy(r,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):yM(r)};function AM(r,e){let t=r.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),r.focus()},50)}function IM(r){let e=[],t=[],n=!1;for(let a of r.selection.ranges)a.empty||(e.push(r.sliceDoc(a.from,a.to)),t.push(a));if(!e.length){let a=-1;for(let{from:i}of r.selection.ranges){let o=r.doc.lineAt(i);o.number>a&&(e.push(o.text),t.push({from:o.from,to:Math.min(r.doc.length,o.to+1)})),a=o.number}n=!0}return{text:e.join(r.lineBreak),ranges:t,linewise:n}}let _g=null;fn.copy=fn.cut=(r,e)=>{let{text:t,ranges:n,linewise:a}=IM(r.state);if(!t&&!a)return;_g=a?t:null;let i=Fy?null:e.clipboardData;i?(e.preventDefault(),i.clearData(),i.setData("text/plain",t)):AM(r,t),e.type=="cut"&&!r.state.readOnly&&r.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};const qy=Ga.define();function Qy(r,e){let t=[];for(let n of r.facet(Cy)){let a=n(r,e);a&&t.push(a)}return t?r.update({effects:t,annotations:qy.of(!0)}):null}function Hy(r){setTimeout(()=>{let e=r.hasFocus;if(e!=r.inputState.notifiedFocused){let t=Qy(r.state,e);t?r.dispatch(t):r.update([])}},10)}fn.focus=r=>{r.inputState.lastFocusTime=Date.now(),!r.scrollDOM.scrollTop&&(r.inputState.lastScrollTop||r.inputState.lastScrollLeft)&&(r.scrollDOM.scrollTop=r.inputState.lastScrollTop,r.scrollDOM.scrollLeft=r.inputState.lastScrollLeft),Hy(r)};fn.blur=r=>{r.observer.clearSelectionRange(),Hy(r)};fn.compositionstart=fn.compositionupdate=r=>{r.inputState.compositionFirstChange==null&&(r.inputState.compositionFirstChange=!0),r.inputState.composing<0&&(r.inputState.composing=0)};fn.compositionend=r=>{r.inputState.composing=-1,r.inputState.compositionEndedAt=Date.now(),r.inputState.compositionPendingKey=!0,r.inputState.compositionPendingChange=r.observer.pendingRecords().length>0,r.inputState.compositionFirstChange=null,Fe.chrome&&Fe.android?r.observer.flushSoon():r.inputState.compositionPendingChange?Promise.resolve().then(()=>r.observer.flush()):setTimeout(()=>{r.inputState.composing<0&&r.docView.hasComposition&&r.update([])},50)};fn.contextmenu=r=>{r.inputState.lastContextMenu=Date.now()};fn.beforeinput=(r,e)=>{var t;let n;if(Fe.chrome&&Fe.android&&(n=By.find(a=>a.inputType==e.inputType))&&(r.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let a=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var i;(((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0)>a+10&&r.hasFocus&&(r.contentDOM.blur(),r.focus())},100)}};const K1=["pre-wrap","normal","pre-line","break-spaces"];class kM{constructor(e){this.lineWrapping=e,this.doc=Ct.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return K1.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,l=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=t,this.charWidth=n,this.textHeight=a,this.lineLength=i,l){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Dc&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return Kn.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,a){let i=this,o=n.doc;for(let s=a.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:h}=a[s],p=i.lineAt(l,Xt.ByPosNoHeight,n.setDoc(t),0,0),_=p.to>=c?p:i.lineAt(c,Xt.ByPosNoHeight,n,0,0);for(h+=_.to-c,c=_.to;s>0&&p.from<=a[s-1].toA;)l=a[s-1].fromA,u=a[s-1].fromB,s--,li*2){let s=e[t-1];s.break?e.splice(--t,1,s.left,null,s.right):e.splice(--t,1,s.left,s.right),n+=1+s.break,a-=s.size}else if(i>a*2){let s=e[n];s.break?e.splice(n,1,s.left,null,s.right):e.splice(n,1,s.left,s.right),n+=2+s.break,i-=s.size}else break;else if(a=i&&o(this.blockAt(0,n,a,i))}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more&&this.setHeight(e,a.heights[a.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class mr extends Vy{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,a){return new pa(a,this.length,n,this.height,this.breaks)}replace(e,t,n){let a=n[0];return n.length==1&&(a instanceof mr||a instanceof In&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof In?a=new mr(a.length,this.height):a.height=this.height,this.outdated||(a.outdated=!1),a):Kn.of(n)}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more?this.setHeight(e,a.heights[a.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class In extends Kn{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,a=e.doc.lineAt(t+this.length).number,i=a-n+1,o,s=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*i);o=l/i,this.length>i+1&&(s=(this.height-l)/(this.length-i-1))}else o=this.height/i;return{firstLine:n,lastLine:a,perLine:o,perChar:s}}blockAt(e,t,n,a){let{firstLine:i,lastLine:o,perLine:s,perChar:l}=this.heightMetrics(t,a);if(t.lineWrapping){let c=a+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),u=t.doc.lineAt(c),h=s+u.length*l,p=Math.max(n,e-h/2);return new pa(u.from,u.length,p,h,0)}else{let c=Math.max(0,Math.min(o-i,Math.floor((e-n)/s))),{from:u,length:h}=t.doc.line(i+c);return new pa(u,h,n+s*c,s,0)}}lineAt(e,t,n,a,i){if(t==Xt.ByHeight)return this.blockAt(e,n,a,i);if(t==Xt.ByPosNoHeight){let{from:_,to:b}=n.doc.lineAt(e);return new pa(_,b-_,0,0,0)}let{firstLine:o,perLine:s,perChar:l}=this.heightMetrics(n,i),c=n.doc.lineAt(e),u=s+c.length*l,h=c.number-o,p=a+s*h+l*(c.from-i-h);return new pa(c.from,c.length,Math.max(a,Math.min(p,a+this.height-u)),u,0)}forEachLine(e,t,n,a,i,o){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:s,perLine:l,perChar:c}=this.heightMetrics(n,i);for(let u=e,h=a;u<=t;){let p=n.doc.lineAt(u);if(u==e){let b=p.number-s;h+=l*b+c*(e-i-b)}let _=l+c*p.length;o(new pa(p.from,p.length,h,_,0)),h+=_,u=p.to+1}}replace(e,t,n){let a=this.length-t;if(a>0){let i=n[n.length-1];i instanceof In?n[n.length-1]=new In(i.length+a):n.push(null,new In(a-1))}if(e>0){let i=n[0];i instanceof In?n[0]=new In(e+i.length):n.unshift(new In(e-1),null)}return Kn.of(n)}decomposeLeft(e,t){t.push(new In(e-1),null)}decomposeRight(e,t){t.push(null,new In(this.length-e-1))}updateHeight(e,t=0,n=!1,a){let i=t+this.length;if(a&&a.from<=t+this.length&&a.more){let o=[],s=Math.max(t,a.from),l=-1;for(a.from>t&&o.push(new In(a.from-t-1).updateHeight(e,t));s<=i&&a.more;){let u=e.doc.lineAt(s).length;o.length&&o.push(null);let h=a.heights[a.index++];l==-1?l=h:Math.abs(h-l)>=Dc&&(l=-2);let p=new mr(u,h);p.outdated=!1,o.push(p),s+=u+1}s<=i&&o.push(null,new In(i-s).updateHeight(e,s));let c=Kn.of(o);return(l<0||Math.abs(c.height-this.height)>=Dc||Math.abs(l-this.heightMetrics(e,t).perLine)>=Dc)&&(e.heightChanged=!0),c}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class DM extends Kn{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,a){let i=n+this.left.height;return es))return c;let u=t==Xt.ByPosNoHeight?Xt.ByPosNoHeight:Xt.ByPos;return l?c.join(this.right.lineAt(s,u,n,o,s)):this.left.lineAt(s,u,n,a,i).join(c)}forEachLine(e,t,n,a,i,o){let s=a+this.left.height,l=i+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,t,n,s,l,o);else{let c=this.lineAt(l,Xt.ByPos,n,a,i);e=e&&c.from<=t&&o(c),t>c.to&&this.right.forEachLine(c.to+1,t,n,s,l,o)}}replace(e,t,n){let a=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-a,t-a,n));let i=[];e>0&&this.decomposeLeft(e,i);let o=i.length;for(let s of n)i.push(s);if(e>0&&Z1(i,o-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,a=n+this.break;if(e>=a)return this.right.decomposeRight(e-a,t);e2*t.size||t.size>2*e.size?Kn.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,a){let{left:i,right:o}=this,s=t+i.length+this.break,l=null;return a&&a.from<=t+i.length&&a.more?l=i=i.updateHeight(e,t,n,a):i.updateHeight(e,t,n),a&&a.from<=s+o.length&&a.more?l=o=o.updateHeight(e,s,n,a):o.updateHeight(e,s,n),l?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Z1(r,e){let t,n;r[e]==null&&(t=r[e-1])instanceof In&&(n=r[e+1])instanceof In&&r.splice(e-1,3,new In(t.length+1+n.length))}const xM=5;class T0{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof mr?a.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new mr(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=xM)&&this.addLineDeco(a,i,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new mr(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new In(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof mr)return e;let t=new mr(0,-1);return this.nodes.push(t),t}addBlock(e){var t;this.enterLine();let n=(t=e.deco)===null||t===void 0?void 0:t.type;n==on.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n!=on.WidgetBefore&&(this.covering=e)}addLineDeco(e,t,n){let a=this.ensureLine();a.length+=n,a.collapsed+=n,a.widgetHeight=Math.max(a.widgetHeight,e),a.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof mr)&&!this.isCovered?this.nodes.push(new mr(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&h.overflow!="visible"){let p=u.getBoundingClientRect();i=Math.max(i,p.left),o=Math.min(o,p.right),s=Math.max(s,p.top),l=c==r.parentNode?p.bottom:Math.min(l,p.bottom)}c=h.position=="absolute"||h.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:i-t.left,right:Math.max(i,o)-t.left,top:s-(t.top+e),bottom:Math.max(s,l)-(t.top+e)}}function BM(r,e){let t=r.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Nd{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new kM(t),this.stateDeco=e.facet(gl).filter(n=>typeof n!="function"),this.heightMap=Kn.empty().applyChanges(this.stateDeco,Ct.empty,this.heightOracle.setDoc(e.doc),[new Mr(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=tt.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let a=n?t.head:t.anchor;if(!e.some(({from:i,to:o})=>a>=i&&a<=o)){let{from:i,to:o}=this.lineBlockAt(a);e.push(new hc(i,o))}}this.viewports=e.sort((n,a)=>n.from-a.from),this.scaler=this.heightMap.height<=7e6?J1:new $M(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Vs(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(gl).filter(u=>typeof u!="function");let a=e.changedRanges,i=Mr.extendWithRanges(a,MM(n,this.stateDeco,e?e.changes:_n.empty(this.state.doc.length))),o=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),this.heightMap.height!=o&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let c=!e.changes.empty||e.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(wy)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),a=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Jt.RTL:Jt.LTR;let o=this.heightOracle.mustRefreshForWrapping(i),s=t.getBoundingClientRect(),l=o||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0,h=parseInt(n.paddingTop)||0,p=parseInt(n.paddingBottom)||0;(this.paddingTop!=h||this.paddingBottom!=p)&&(this.paddingTop=h,this.paddingBottom=p,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8),this.scrollTop!=e.scrollDOM.scrollTop&&(this.scrollAnchorHeight=-1,this.scrollTop=e.scrollDOM.scrollTop),this.scrolledToBottom=cy(e.scrollDOM);let _=(this.printing?BM:PM)(t,this.paddingTop),b=_.top-this.pixelViewport.top,A=_.bottom-this.pixelViewport.bottom;this.pixelViewport=_;let I=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(I!=this.inView&&(this.inView=I,I&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let M=s.width;if((this.contentDOMWidth!=M||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let V=e.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(V)&&(o=!0),o||a.lineWrapping&&Math.abs(M-this.contentDOMWidth)>a.charWidth){let{lineHeight:m,charWidth:O,textHeight:S}=e.docView.measureTextSize();o=m>0&&a.refresh(i,m,O,S,M/O,V),o&&(e.docView.minWidth=0,c|=8)}b>0&&A>0?u=Math.max(b,A):b<0&&A<0&&(u=Math.min(b,A)),a.heightChanged=!1;for(let m of this.viewports){let O=m.from==this.viewport.from?V:e.docView.measureVisibleLineHeights(m);this.heightMap=(o?Kn.empty().applyChanges(this.stateDeco,Ct.empty,this.heightOracle,[new Mr(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(a,0,o,new NM(m.from,O))}a.heightChanged&&(c|=2)}let U=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return U&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(c&2||U)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),a=this.heightMap,i=this.heightOracle,{visibleTop:o,visibleBottom:s}=this,l=new hc(a.lineAt(o-n*1e3,Xt.ByHeight,i,0,0).from,a.lineAt(s+(1-n)*1e3,Xt.ByHeight,i,0,0).to);if(t){let{head:c}=t.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=a.lineAt(c,Xt.ByPos,i,0,0),p;t.y=="center"?p=(h.top+h.bottom)/2-u/2:t.y=="start"||t.y=="nearest"&&c=s+Math.max(10,Math.min(n,250)))&&a>o-2*1e3&&i>1,o=a<<1;if(this.defaultTextDirection!=Jt.LTR&&!n)return[];let s=[],l=(c,u,h,p)=>{if(u-cc&&II.from>=h.from&&I.to<=h.to&&Math.abs(I.from-c)I.fromM));if(!A){if(uI.from<=u&&I.to>=u)){let I=t.moveToLineBoundary(ge.cursor(u),!1,!0).head;I>c&&(u=I)}A=new Nd(c,u,this.gapSize(h,c,u,p))}s.push(A)};for(let c of this.viewportLines){if(c.lengthc.from&&l(c.from,p,c,u),_t.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Ft.spans(e,this.viewport.from,this.viewport.to,{span(a,i){t.push({from:a,to:i})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((a,i)=>a.from!=t[i].from||a.to!=t[i].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Vs(this.heightMap.lineAt(e,Xt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Vs(this.heightMap.lineAt(this.scaler.fromDOM(e),Xt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Vs(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class hc{constructor(e,t){this.from=e,this.to=t}}function FM(r,e,t){let n=[],a=r,i=0;return Ft.spans(t,r,e,{span(){},point(o,s){o>a&&(n.push({from:a,to:o}),i+=o-a),a=s}},20),a=1)return e[e.length-1].to;let n=Math.floor(r*t);for(let a=0;;a++){let{from:i,to:o}=e[a],s=o-i;if(n<=s)return i+n;n-=s}}function mc(r,e){let t=0;for(let{from:n,to:a}of r.ranges){if(e<=a){t+=e-n;break}t+=a-n}return t/r.total}function UM(r,e){for(let t of r)if(e(t))return t}const J1={toDOM(r){return r},fromDOM(r){return r},scale:1};class $M{constructor(e,t,n){let a=0,i=0,o=0;this.viewports=n.map(({from:s,to:l})=>{let c=t.lineAt(s,Xt.ByPos,e,0,0).top,u=t.lineAt(l,Xt.ByPos,e,0,0).bottom;return a+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-a)/(t.height-a);for(let s of this.viewports)s.domTop=o+(s.top-i)*this.scale,o=s.domBottom=s.domTop+(s.bottom-s.top),i=s.bottom}toDOM(e){for(let t=0,n=0,a=0;;t++){let i=tVs(a,e)):r._content)}const pc=Ue.define({combine:r=>r.join(" ")}),bg=Ue.define({combine:r=>r.indexOf(!0)>-1}),Sg=Si.newName(),zy=Si.newName(),Wy=Si.newName(),Xy={"&light":"."+zy,"&dark":"."+Wy};function Og(r,e,t){return new Si(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,a=>{if(a=="&")return r;if(!t||!t[a])throw new RangeError(`Unsupported selector: ${a}`);return t[a]}):r+" "+n}})}const GM=Og("."+Sg,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Xy);class qM{constructor(e,t,n,a){this.typeOver=a,this.bounds=null,this.text="";let{impreciseHead:i,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let s=i||o?[]:HM(e),l=new fy(s,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=VM(s,this.bounds.from)}else{let s=e.observer.selectionRange,l=i&&i.node==s.focusNode&&i.offset==s.focusOffset||!ag(e.contentDOM,s.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(s.focusNode,s.focusOffset),c=o&&o.node==s.anchorNode&&o.offset==s.anchorOffset||!ag(e.contentDOM,s.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(s.anchorNode,s.anchorOffset);this.newSel=ge.single(c,l)}}}function Ky(r,e){let t,{newSel:n}=e,a=r.state.selection.main,i=r.inputState.lastKeyTime>Date.now()-100?r.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:s}=e.bounds,l=a.from,c=null;(i===8||Fe.android&&e.text.length=a.from&&t.to<=a.to&&(t.from!=a.from||t.to!=a.to)&&a.to-a.from-(t.to-t.from)<=4?t={from:a.from,to:a.to,insert:r.state.doc.slice(a.from,t.from).append(t.insert).append(r.state.doc.slice(t.to,a.to))}:(Fe.mac||Fe.android)&&t&&t.from==t.to&&t.from==a.head-1&&/^\. ?$/.test(t.insert.toString())&&r.contentDOM.getAttribute("autocorrect")=="off"?(n&&t.insert.length==2&&(n=ge.single(n.main.anchor-1,n.main.head-1)),t={from:a.from,to:a.to,insert:Ct.of([" "])}):Fe.chrome&&t&&t.from==t.to&&t.from==a.head&&t.insert.toString()==` - `&&r.lineWrapping&&(n&&(n=ge.single(n.main.anchor-1,n.main.head-1)),t={from:a.from,to:a.to,insert:Ct.of([" "])}),t){let o=r.state;if(Fe.ios&&r.inputState.flushIOSKey(r)||Fe.android&&(t.from==a.from&&t.to==a.to&&t.insert.length==1&&t.insert.lines==2&&Lo(r.contentDOM,"Enter",13)||(t.from==a.from-1&&t.to==a.to&&t.insert.length==0||i==8&&t.insert.lengthu(r,t.from,t.to,s)))return!0;r.inputState.composing>=0&&r.inputState.composing++;let l;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&r.inputState.composing<0){let u=a.fromt.to?o.sliceDoc(t.to,a.to):"";l=o.replaceSelection(r.state.toText(u+t.insert.sliceString(0,void 0,r.state.lineBreak)+h))}else{let u=o.changes(t),h=n&&n.main.to<=u.newLength?n.main:void 0;if(o.selection.ranges.length>1&&r.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){let p=r.state.sliceDoc(t.from,t.to),_=My(r)||r.state.doc.lineAt(a.head),b=a.to-t.to,A=a.to-a.from;l=o.changeByRange(I=>{if(I.from==a.from&&I.to==a.to)return{changes:u,range:h||I.map(u)};let M=I.to-b,U=M-p.length;if(I.to-I.from!=A||r.state.sliceDoc(U,M)!=p||_&&I.to>=_.from&&I.from<=_.to)return{range:I};let V=o.changes({from:U,to:M,insert:t.insert}),m=I.to-a.to;return{changes:V,range:h?ge.range(Math.max(0,h.anchor+m),Math.max(0,h.head+m)):I.map(V)}})}else l={changes:u,selection:h&&o.selection.replaceRange(h)}}let c="input.type";return(r.composing||r.inputState.compositionPendingChange&&r.inputState.compositionEndedAt>Date.now()-50)&&(r.inputState.compositionPendingChange=!1,c+=".compose",r.inputState.compositionFirstChange&&(c+=".start",r.inputState.compositionFirstChange=!1)),r.dispatch(l,{scrollIntoView:!0,userEvent:c}),!0}else if(n&&!n.main.eq(a)){let o=!1,s="select";return r.inputState.lastSelectionTime>Date.now()-50&&(r.inputState.lastSelectionOrigin=="select"&&(o=!0),s=r.inputState.lastSelectionOrigin),r.dispatch({selection:n,scrollIntoView:o,userEvent:s}),!0}else return!1}function QM(r,e,t,n){let a=Math.min(r.length,e.length),i=0;for(;i0&&s>0&&r.charCodeAt(o-1)==e.charCodeAt(s-1);)o--,s--;if(n=="end"){let l=Math.max(0,i-Math.min(o,s));t-=o+l-i}if(o=o?i-t:0;i-=l,s=i+(s-o),o=i}else if(s=s?i-t:0;i-=l,o=i+(o-s),s=i}return{from:i,toA:o,toB:s}}function HM(r){let e=[];if(r.root.activeElement!=r.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:a,focusOffset:i}=r.observer.selectionRange;return t&&(e.push(new A1(t,n)),(a!=t||i!=n)&&e.push(new A1(a,i))),e}function VM(r,e){if(r.length==0)return null;let t=r[0].pos,n=r.length==2?r[1].pos:t;return t>-1&&n>-1?ge.single(t+e,n+e):null}const zM={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Dd=Fe.ie&&Fe.ie_version<=11;class WM{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Ux,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(Fe.ie&&Fe.ie_version<=11||Fe.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),Dd&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,a=this.selectionRange;if(n.state.facet(Pu)?n.root.activeElement!=this.dom:!kc(n.dom,a))return;let i=a.anchorNode&&n.docView.nearest(a.anchorNode);if(i&&i.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Fe.ie&&Fe.ie_version<=11||Fe.android&&Fe.chrome)&&!n.state.selection.main.empty&&a.focusNode&&eu(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Fe.safari&&e.root.nodeType==11&&Px(this.dom.ownerDocument)==this.dom&&XM(this.view)||Jc(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=kc(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let i=this.delayedAndroidKey;i&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=i.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&i.force&&Lo(this.dom,i.key,i.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,a=!1;for(let i of e){let o=this.readMutation(i);o&&(o.typeOver&&(a=!0),t==-1?{from:t,to:n}=o:(t=Math.min(o.from,t),n=Math.max(o.to,n)))}return{from:t,to:n,typeOver:a}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),a=this.selectionChanged&&kc(this.dom,this.selectionRange);return e<0&&!a?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new qM(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,a=Ky(this.view,t);return this.view.state==n&&this.view.update([]),a}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let n=eb(t,e.previousSibling||e.target.previousSibling,-1),a=eb(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:a?t.posBefore(a):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n,a;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect(),(a=this.resizeContent)===null||a===void 0||a.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function eb(r,e,t){for(;e;){let n=Ht.get(e);if(n&&n.parent==r)return n;let a=e.parentNode;e=a!=r.dom?a:t>0?e.nextSibling:e.previousSibling}return null}function XM(r){let e=null;function t(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(r.contentDOM.addEventListener("beforeinput",t,!0),r.dom.ownerDocument.execCommand("indent"),r.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,a=e.startOffset,i=e.endContainer,o=e.endOffset,s=r.docView.domAtPos(r.state.selection.main.anchor);return eu(s.node,s.offset,i,o)&&([n,a,i,o]=[i,o,n,a]),{anchorNode:n,anchorOffset:a,focusNode:i,focusOffset:o}}class Le{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||$x(e.parent)||document,this.viewState=new j1(e.state||Et.create(e)),this.plugins=this.state.facet(Qs).map(t=>new Ad(t));for(let t of this.plugins)t.update(this);this.observer=new WM(this),this.inputState=new gM(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new L1(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){let t=e.length==1&&e[0]instanceof Sn?e[0]:this.state.update(...e);this._dispatch(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,a,i=this.state;for(let p of e){if(p.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=p.state}if(this.destroyed){this.viewState.state=i;return}let o=this.hasFocus,s=0,l=null;e.some(p=>p.annotation(qy))?(this.inputState.notifiedFocused=o,s=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,l=Qy(i,o),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(Et.phrases)!=this.state.facet(Et.phrases))return this.setState(i);a=ru.create(this,i,e),a.flags|=s;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let p of e){if(h&&(h=h.map(p.changes)),p.scrollIntoView){let{main:_}=p.state.selection;h=new nu(_.empty?_:ge.cursor(_.head,_.head>_.anchor?-1:1))}for(let _ of p.effects)_.is(M1)&&(h=_.value)}this.viewState.update(a,h),this.bidiCache=au.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),t=this.docView.update(a),this.state.facet(Hs)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(pc)!=a.state.facet(pc)&&(this.viewState.mustMeasureContent=!0),(t||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!a.empty)for(let p of this.state.facet(dg))p(a);(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!Ky(this,u)&&c.force&&Lo(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new j1(e),this.plugins=e.facet(Qs).map(n=>new Ad(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new L1(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Qs),n=e.state.facet(Qs);if(t!=n){let a=[];for(let i of n){let o=t.indexOf(i);if(o<0)a.push(new Ad(i));else{let s=this.plugins[o];s.mustUpdate=e,a.push(s)}}for(let i of this.plugins)i.mustUpdate!=e&&i.destroy(this);this.plugins=a,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let a of this.plugins)a.mustUpdate=e;for(let a=0;a-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,{scrollTop:a}=n,{scrollAnchorPos:i,scrollAnchorHeight:o}=this.viewState;a!=this.viewState.scrollTop&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(o<0)if(cy(n))i=-1,o=this.viewState.heightMap.height;else{let _=this.viewState.scrollAnchorAt(a);i=_.from,o=_.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(s>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(_=>{try{return _.read(this)}catch(b){return xr(this.state,b),tb}}),h=ru.create(this,this.state,[]),p=!1;h.flags|=l,t?t.flags|=l:t=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),p=this.docView.update(h));for(let _=0;_1||b<-1){a=n.scrollTop=a+b,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let s of this.state.facet(dg))s(t)}get themeClasses(){return Sg+" "+(this.state.facet(bg)?Wy:zy)+" "+this.state.facet(pc)}updateAttrs(){let e=nb(this,Ay,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Pu)?"true":"false",class:"cm-content",style:`${Fe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),nb(this,E0,t);let n=this.observer.ignore(()=>{let a=cg(this.contentDOM,this.contentAttrs,t),i=cg(this.dom,this.editorAttrs,e);return a||i});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let a of n.effects)if(a.is(Le.announce)){t&&(this.announceDOM.textContent=""),t=!1;let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(Hs),Si.mount(this.root,this.styleModules.concat(GM).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;tn.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return kd(this,e,$1(this,e,t,n))}moveByGroup(e,t){return kd(this,e,$1(this,e,t,n=>mM(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return fM(this,e,t,n)}moveVertically(e,t,n){return kd(this,e,pM(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Py(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let a=this.state.doc.lineAt(e),i=this.bidiSpans(a),o=i[Po.find(i,e-a.from,-1,t)];return S0(n,o.dir==Jt.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Ry)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>KM)return Dy(e.length);let t=this.textDirectionAt(e.from);for(let a of this.bidiCache)if(a.from==e.from&&a.dir==t)return a.order;let n=eM(e.text,t);return this.bidiCache.push(new au(e.from,e.to,t,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Fe.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{sy(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return M1.of(new nu(typeof e=="number"?ge.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return xn.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=Si.newName(),a=[pc.of(n),Hs.of(Og(`.${n}`,e))];return t&&t.dark&&a.push(bg.of(!0)),a}static baseTheme(e){return $a.lowest(Hs.of(Og("."+Sg,e,Xy)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),a=n&&Ht.get(n)||Ht.get(e);return((t=a==null?void 0:a.rootView)===null||t===void 0?void 0:t.view)||null}}Le.styleModule=Hs;Le.inputHandler=Ty;Le.focusChangeEffect=Cy;Le.perLineTextDirection=Ry;Le.exceptionSink=yy;Le.updateListener=dg;Le.editable=Pu;Le.mouseSelectionStyle=Ey;Le.dragMovesSelection=vy;Le.clickAddsSelectionRange=Oy;Le.decorations=gl;Le.atomicRanges=y0;Le.scrollMargins=Iy;Le.darkTheme=bg;Le.contentAttributes=E0;Le.editorAttributes=Ay;Le.lineWrapping=Le.contentAttributes.of({class:"cm-lineWrapping"});Le.announce=dt.define();const KM=4096,tb={};class au{constructor(e,t,n,a){this.from=e,this.to=t,this.dir=n,this.order=a}static update(e,t){if(t.empty)return e;let n=[],a=e.length?e[e.length-1].dir:Jt.LTR;for(let i=Math.max(0,e.length-10);i=0;a--){let i=n[a],o=typeof i=="function"?i(r):i;o&&lg(o,t)}return t}const ZM=Fe.mac?"mac":Fe.windows?"win":Fe.linux?"linux":"key";function jM(r,e){const t=r.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let a,i,o,s;for(let l=0;ln.concat(a),[]))),t}let fi=null;const t8=4e3;function n8(r,e=ZM){let t=Object.create(null),n=Object.create(null),a=(o,s)=>{let l=n[o];if(l==null)n[o]=s;else if(l!=s)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},i=(o,s,l,c,u)=>{var h,p;let _=t[o]||(t[o]=Object.create(null)),b=s.split(/ (?!$)/).map(M=>jM(M,e));for(let M=1;M{let m=fi={view:V,prefix:U,scope:o};return setTimeout(()=>{fi==m&&(fi=null)},t8),!0}]})}let A=b.join(" ");a(A,!1);let I=_[A]||(_[A]={preventDefault:!1,stopPropagation:!1,run:((p=(h=_._any)===null||h===void 0?void 0:h.run)===null||p===void 0?void 0:p.slice())||[]});l&&I.run.push(l),c&&(I.preventDefault=!0),u&&(I.stopPropagation=!0)};for(let o of r){let s=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let c of s){let u=t[c]||(t[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let h in u)u[h].run.push(o.any)}let l=o[e]||o.key;if(l)for(let c of s)i(c,l,o.run,o.preventDefault,o.stopPropagation),o.shift&&i(c,"Shift-"+l,o.shift,o.preventDefault,o.stopPropagation)}return t}function r8(r,e,t,n){let a=Lx(e),i=kn(a,0),o=Ar(i)==a.length&&a!=" ",s="",l=!1,c=!1,u=!1;fi&&fi.view==t&&fi.scope==n&&(s=fi.prefix+" ",Yy.indexOf(e.keyCode)<0&&(c=!0,fi=null));let h=new Set,p=I=>{if(I){for(let M of I.run)if(!h.has(M)&&(h.add(M),M(t,e)))return I.stopPropagation&&(u=!0),!0;I.preventDefault&&(I.stopPropagation&&(u=!0),c=!0)}return!1},_=r[n],b,A;return _&&(p(_[s+gc(a,e,!o)])?l=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Fe.windows&&e.ctrlKey&&e.altKey)&&(b=Oi[e.keyCode])&&b!=a?(p(_[s+gc(b,e,!0)])||e.shiftKey&&(A=ml[e.keyCode])!=a&&A!=b&&p(_[s+gc(A,e,!1)]))&&(l=!0):o&&e.shiftKey&&p(_[s+gc(a,e,!0)])&&(l=!0),!l&&p(_._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),l}class ql{constructor(e,t,n,a,i){this.className=e,this.left=t,this.top=n,this.width=a,this.height=i}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let a=e.coordsAtPos(n.head,n.assoc||1);if(!a)return[];let i=Zy(e);return[new ql(t,a.left-i.left,a.top-i.top,null,a.bottom-a.top)]}else return a8(e,t,n)}}function Zy(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==Jt.LTR?e.left:e.right-r.scrollDOM.clientWidth)-r.scrollDOM.scrollLeft,top:e.top-r.scrollDOM.scrollTop}}function ab(r,e,t){let n=ge.cursor(e);return{from:Math.max(t.from,r.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,r.moveToLineBoundary(n,!0,!0).from),type:on.Text}}function a8(r,e,t){if(t.to<=r.viewport.from||t.from>=r.viewport.to)return[];let n=Math.max(t.from,r.viewport.from),a=Math.min(t.to,r.viewport.to),i=r.textDirection==Jt.LTR,o=r.contentDOM,s=o.getBoundingClientRect(),l=Zy(r),c=o.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),h=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),p=s.right-(u?parseInt(u.paddingRight):0),_=pg(r,n),b=pg(r,a),A=_.type==on.Text?_:null,I=b.type==on.Text?b:null;if(A&&(r.lineWrapping||_.widgetLineBreaks)&&(A=ab(r,n,A)),I&&(r.lineWrapping||b.widgetLineBreaks)&&(I=ab(r,a,I)),A&&I&&A.from==I.from)return U(V(t.from,t.to,A));{let O=A?V(t.from,null,A):m(_,!1),S=I?V(null,t.to,I):m(b,!0),k=[];return(A||_).to<(I||b).from-(A&&I?1:0)||_.widgetLineBreaks>1&&O.bottom+r.defaultLineHeight/2te&&ie.from=D)break;ne>ae&&q(Math.max(z,ae),O==null&&z<=te,Math.min(ne,D),S==null&&ne>=se,H.dir)}if(ae=P.to+1,ae>=D)break}return Y.length==0&&q(te,O==null,se,S==null,r.textDirection),{top:L,bottom:F,horizontal:Y}}function m(O,S){let k=s.top+(S?O.top:O.bottom);return{top:k,bottom:k,horizontal:[]}}}function i8(r,e){return r.constructor==e.constructor&&r.eq(e)}class o8{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(xc)!=e.state.facet(xc)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(xc);for(;t!i8(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let a of e)a.update&&t&&a.constructor&&this.drawn[n].constructor&&a.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(a.draw(),t);for(;t;){let a=t.nextSibling;t.remove(),t=a}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const xc=Ue.define();function jy(r){return[xn.define(e=>new o8(e,r)),xc.of(r)]}const Jy=!Fe.ios,_l=Ue.define({combine(r){return qa(r,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function s8(r={}){return[_l.of(r),l8,c8,u8,wy.of(!0)]}function eT(r){return r.startState.facet(_l)!=r.state.facet(_l)}const l8=jy({above:!0,markers(r){let{state:e}=r,t=e.facet(_l),n=[];for(let a of e.selection.ranges){let i=a==e.selection.main;if(a.empty?!i||Jy:t.drawRangeCursor){let o=i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",s=a.empty?a:ge.cursor(a.head,a.head>a.anchor?-1:1);for(let l of ql.forRange(r,o,s))n.push(l)}}return n},update(r,e){r.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=eT(r);return t&&ib(r.state,e),r.docChanged||r.selectionSet||t},mount(r,e){ib(e.state,r)},class:"cm-cursorLayer"});function ib(r,e){e.style.animationDuration=r.facet(_l).cursorBlinkRate+"ms"}const c8=jy({above:!1,markers(r){return r.state.selection.ranges.map(e=>e.empty?[]:ql.forRange(r,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(r,e){return r.docChanged||r.selectionSet||r.viewportChanged||eT(r)},class:"cm-selectionLayer"}),tT={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Jy&&(tT[".cm-line"].caretColor="transparent !important");const u8=$a.highest(Le.theme(tT)),nT=dt.define({map(r,e){return r==null?null:e.mapPos(r)}}),zs=Mn.define({create(){return null},update(r,e){return r!=null&&(r=e.changes.mapPos(r)),e.effects.reduce((t,n)=>n.is(nT)?n.value:t,r)}}),d8=xn.fromClass(class{constructor(r){this.view=r,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(r){var e;let t=r.state.field(zs);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(r.startState.field(zs)!=t||r.docChanged||r.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let r=this.view.state.field(zs),e=r!=null&&this.view.coordsAtPos(r);if(!e)return null;let t=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-t.left+this.view.scrollDOM.scrollLeft,top:e.top-t.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(r){this.cursor&&(r?(this.cursor.style.left=r.left+"px",this.cursor.style.top=r.top+"px",this.cursor.style.height=r.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(r){this.view.state.field(zs)!=r&&this.view.dispatch({effects:nT.of(r)})}},{eventHandlers:{dragover(r){this.setDropPos(this.view.posAtCoords({x:r.clientX,y:r.clientY}))},dragleave(r){(r.target==this.view.contentDOM||!this.view.contentDOM.contains(r.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function h8(){return[zs,d8]}function ob(r,e,t,n,a){e.lastIndex=0;for(let i=r.iterRange(t,n),o=t,s;!i.next().done;o+=i.value.length)if(!i.lineBreak)for(;s=e.exec(i.value);)a(o+s.index,s)}function f8(r,e){let t=r.visibleRanges;if(t.length==1&&t[0].from==r.viewport.from&&t[0].to==r.viewport.to)return t;let n=[];for(let{from:a,to:i}of t)a=Math.max(r.state.doc.lineAt(a).from,a-e),i=Math.min(r.state.doc.lineAt(i).to,i+e),n.length&&n[n.length-1].to>=a?n[n.length-1].to=i:n.push({from:a,to:i});return n}class m8{constructor(e){const{regexp:t,decoration:n,decorate:a,boundary:i,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,a)this.addMatch=(s,l,c,u)=>a(u,c,c+s[0].length,s,l);else if(typeof n=="function")this.addMatch=(s,l,c,u)=>{let h=n(s,l,c);h&&u(c,c+s[0].length,h)};else if(n)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=i,this.maxLength=o}createDeco(e){let t=new eo,n=t.add.bind(t);for(let{from:a,to:i}of f8(e,this.maxLength))ob(e.state.doc,this.regexp,a,i,(o,s)=>this.addMatch(s,e,o,n));return t.finish()}updateDeco(e,t){let n=1e9,a=-1;return e.docChanged&&e.changes.iterChanges((i,o,s,l)=>{l>e.view.viewport.from&&s1e3?this.createDeco(e.view):a>-1?this.updateRange(e.view,t.map(e.changes),n,a):t}updateRange(e,t,n,a){for(let i of e.visibleRanges){let o=Math.max(i.from,n),s=Math.min(i.to,a);if(s>o){let l=e.state.doc.lineAt(o),c=l.tol.from;o--)if(this.boundary.test(l.text[o-1-l.from])){u=o;break}for(;sp.push(M.range(A,I));if(l==c)for(this.regexp.lastIndex=u-l.from;(_=this.regexp.exec(l.text))&&_.indexthis.addMatch(I,e,A,b));t=t.update({filterFrom:u,filterTo:h,filter:(A,I)=>Ah,add:p})}}return t}}const vg=/x/.unicode!=null?"gu":"g",p8=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,vg),g8={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let xd=null;function _8(){var r;if(xd==null&&typeof document<"u"&&document.body){let e=document.body.style;xd=((r=e.tabSize)!==null&&r!==void 0?r:e.MozTabSize)!=null}return xd||!1}const Mc=Ue.define({combine(r){let e=qa(r,{render:null,specialChars:p8,addSpecialChars:null});return(e.replaceTabs=!_8())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,vg)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,vg)),e}});function b8(r={}){return[Mc.of(r),S8()]}let sb=null;function S8(){return sb||(sb=xn.fromClass(class{constructor(r){this.view=r,this.decorations=tt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(r.state.facet(Mc)),this.decorations=this.decorator.createDeco(r)}makeDecorator(r){return new m8({regexp:r.specialChars,decoration:(e,t,n)=>{let{doc:a}=t.state,i=kn(e[0],0);if(i==9){let o=a.lineAt(n),s=t.state.tabSize,l=Mu(o.text,s,n-o.from);return tt.replace({widget:new y8((s-l%s)*this.view.defaultCharacterWidth)})}return this.decorationCache[i]||(this.decorationCache[i]=tt.replace({widget:new E8(r,i)}))},boundary:r.replaceTabs?void 0:/[^]/})}update(r){let e=r.state.facet(Mc);r.startState.facet(Mc)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(r.view)):this.decorations=this.decorator.updateDeco(r,this.decorations)}},{decorations:r=>r.decorations}))}const O8="•";function v8(r){return r>=32?O8:r==10?"␤":String.fromCharCode(9216+r)}class E8 extends Qa{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=v8(this.code),n=e.state.phrase("Control character")+" "+(g8[this.code]||"0x"+this.code.toString(16)),a=this.options.render&&this.options.render(this.code,n,t);if(a)return a;let i=document.createElement("span");return i.textContent=t,i.title=n,i.setAttribute("aria-label",n),i.className="cm-specialChar",i}ignoreEvent(){return!1}}class y8 extends Qa{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function T8(){return R8}const C8=tt.line({class:"cm-activeLine"}),R8=xn.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.docChanged||r.selectionSet)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=-1,t=[];for(let n of r.state.selection.ranges){let a=r.lineBlockAt(n.head);a.from>e&&(t.push(C8.range(a.from)),e=a.from)}return tt.set(t)}},{decorations:r=>r.decorations}),_c="-10000px";class rT{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(a=>a),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),a=n.filter(o=>o);if(n===this.input){for(let o of this.tooltipViews)o.update&&o.update(e);return!1}let i=[];for(let o=0;o{var e,t,n;return{position:Fe.ios?"absolute":((e=r.find(a=>a.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=r.find(a=>a.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=r.find(a=>a.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||w8}}}),lb=new WeakMap,aT=xn.fromClass(class{constructor(r){this.view=r,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=r.state.facet(Md);this.position=e.position,this.parent=e.parent,this.classes=r.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new rT(r,C0,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),r.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let r of this.manager.tooltipViews)this.intersectionObserver.observe(r.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(r){r.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(r);e&&this.observeIntersection();let t=e||r.geometryChanged,n=r.state.facet(Md);if(n.position!=this.position){this.position=n.position;for(let a of this.manager.tooltipViews)a.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let a of this.manager.tooltipViews)this.container.appendChild(a.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(r){let e=r.create(this.view);if(e.dom.classList.add("cm-tooltip"),r.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=_c,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var r,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(r=t.destroy)===null||r===void 0||r.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let r=this.view.dom.getBoundingClientRect();return{editor:r,parent:this.parent?this.container.getBoundingClientRect():r,pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(Md).tooltipSpace(this.view)}}writeMeasure(r){var e;let{editor:t,space:n}=r,a=[];for(let i=0;i=Math.min(t.bottom,n.bottom)||c.rightMath.min(t.right,n.right)+.1){l.style.top=_c;continue}let h=o.arrow?s.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,_=u.right-u.left,b=(e=lb.get(s))!==null&&e!==void 0?e:u.bottom-u.top,A=s.offset||I8,I=this.view.textDirection==Jt.LTR,M=u.width>n.right-n.left?I?n.left:n.right-u.width:I?Math.min(c.left-(h?14:0)+A.x,n.right-_):Math.max(n.left,c.left-_+(h?14:0)-A.x),U=!!o.above;!o.strictSide&&(U?c.top-(u.bottom-u.top)-A.yn.bottom)&&U==n.bottom-c.bottom>c.top-n.top&&(U=!U);let V=(U?c.top-n.top:n.bottom-c.bottom)-p;if(VM&&S.topm&&(m=U?S.top-b-2-p:S.bottom+p+2);this.position=="absolute"?(l.style.top=m-r.parent.top+"px",l.style.left=M-r.parent.left+"px"):(l.style.top=m+"px",l.style.left=M+"px"),h&&(h.style.left=`${c.left+(I?A.x:-A.x)-(M+14-7)}px`),s.overlap!==!0&&a.push({left:M,top:m,right:O,bottom:m+b}),l.classList.toggle("cm-tooltip-above",U),l.classList.toggle("cm-tooltip-below",!U),s.positioned&&s.positioned(r.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let r of this.manager.tooltipViews)r.dom.style.top=_c}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),A8=Le.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),I8={x:0,y:0},C0=Ue.define({enables:[aT,A8]}),iu=Ue.define();class R0{constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new rT(e,iu,t=>this.createHostedView(t))}static create(e){return new R0(e)}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const k8=C0.compute([iu],r=>{let e=r.facet(iu).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:R0.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class N8{constructor(e,t,n,a,i){this.view=e,this.source=t,this.field=n,this.setHover=a,this.hoverTime=i,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;en.bottom||e.xn.right+this.view.defaultCharacterWidth)return;let a=this.view.bidiSpans(this.view.state.doc.lineAt(t)).find(s=>s.from<=t&&s.to>=t),i=a&&a.dir==Jt.RTL?-1:1,o=this.source(this.view,t,e.x{this.pending==s&&(this.pending=null,l&&this.view.dispatch({effects:this.setHover.of(l)}))},l=>xr(this.view.state,l,"hover tooltip"))}else o&&this.view.dispatch({effects:this.setHover.of(o)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let n=this.active;if(n&&!cb(this.lastMove.target)||this.pending){let{pos:a}=n||this.pending,i=(t=n==null?void 0:n.end)!==null&&t!==void 0?t:a;(a==i?this.view.posAtCoords(this.lastMove)!=a:!D8(this.view,a,i,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!cb(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function cb(r){for(let e=r;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function D8(r,e,t,n,a,i){let o=document.createRange(),s=r.domAtPos(e),l=r.domAtPos(t);o.setEnd(l.node,l.offset),o.setStart(s.node,s.offset);let c=o.getClientRects();o.detach();for(let u=0;uiu.from(a)});return[n,xn.define(a=>new N8(a,r,n,t,e.hoverTime||300)),k8]}function oT(r,e){let t=r.plugin(aT);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}const x8=dt.define(),ub=Ue.define({combine(r){let e,t;for(let n of r)e=e||n.topContainer,t=t||n.bottomContainer;return{topContainer:e,bottomContainer:t}}});function M8(r,e){let t=r.plugin(sT),n=t?t.specs.indexOf(e):-1;return n>-1?t.panels[n]:null}const sT=xn.fromClass(class{constructor(r){this.input=r.state.facet(bl),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(r));let e=r.state.facet(ub);this.top=new bc(r,!0,e.topContainer),this.bottom=new bc(r,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(r){let e=r.state.facet(ub);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new bc(r.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new bc(r.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=r.state.facet(bl);if(t!=this.input){let n=t.filter(l=>l),a=[],i=[],o=[],s=[];for(let l of n){let c=this.specs.indexOf(l),u;c<0?(u=l(r.view),s.push(u)):(u=this.panels[c],u.update&&u.update(r)),a.push(u),(u.top?i:o).push(u)}this.specs=n,this.panels=a,this.top.sync(i),this.bottom.sync(o);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let n of this.panels)n.update&&n.update(r)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:r=>Le.scrollMargins.of(e=>{let t=e.plugin(r);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class bc{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=db(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=db(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function db(r){let e=r.nextSibling;return r.remove(),e}const bl=Ue.define({enables:sT});class yi extends Ji{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}yi.prototype.elementClass="";yi.prototype.toDOM=void 0;yi.prototype.mapMode=bn.TrackBefore;yi.prototype.startSide=yi.prototype.endSide=-1;yi.prototype.point=!0;const Lc=Ue.define(),Pc=Ue.define(),Eg=Ue.define({combine:r=>r.some(e=>e)});function L8(r){let e=[P8];return r&&r.fixed===!1&&e.push(Eg.of(!0)),e}const P8=xn.fromClass(class{constructor(r){this.view=r,this.prevViewport=r.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=r.state.facet(Pc).map(e=>new fb(r,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!r.state.facet(Eg),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),r.scrollDOM.insertBefore(this.dom,r.contentDOM)}update(r){if(this.updateGutters(r)){let e=this.prevViewport,t=r.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}r.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Eg)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=r.view.viewport}syncGutters(r){let e=this.dom.nextSibling;r&&this.dom.remove();let t=Ft.iter(this.view.state.facet(Lc),this.view.viewport.from),n=[],a=this.gutters.map(i=>new B8(i,this.view.viewport,-this.view.documentPadding.top));for(let i of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(i.type)){let o=!0;for(let s of i.type)if(s.type==on.Text&&o){yg(t,n,s.from);for(let l of a)l.line(this.view,s,n);o=!1}else if(s.widget)for(let l of a)l.widget(this.view,s)}else if(i.type==on.Text){yg(t,n,i.from);for(let o of a)o.line(this.view,i,n)}for(let i of a)i.finish();r&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(r){let e=r.startState.facet(Pc),t=r.state.facet(Pc),n=r.docChanged||r.heightChanged||r.viewportChanged||!Ft.eq(r.startState.facet(Lc),r.state.facet(Lc),r.view.viewport.from,r.view.viewport.to);if(e==t)for(let a of this.gutters)a.update(r)&&(n=!0);else{n=!0;let a=[];for(let i of t){let o=e.indexOf(i);o<0?a.push(new fb(this.view,i)):(this.gutters[o].update(r),a.push(this.gutters[o]))}for(let i of this.gutters)i.dom.remove(),a.indexOf(i)<0&&i.destroy();for(let i of a)this.dom.appendChild(i.dom);this.gutters=a}return n}destroy(){for(let r of this.gutters)r.destroy();this.dom.remove()}},{provide:r=>Le.scrollMargins.of(e=>{let t=e.plugin(r);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Jt.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}})});function hb(r){return Array.isArray(r)?r:[r]}function yg(r,e,t){for(;r.value&&r.from<=t;)r.from==t&&e.push(r.value),r.next()}class B8{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=Ft.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:a}=this,i=t.top-this.height;if(this.i==a.elements.length){let o=new lT(e,t.height,i,n);a.elements.push(o),a.dom.appendChild(o.dom)}else a.elements[this.i].update(e,t.height,i,n);this.height=t.bottom,this.i++}line(e,t,n){let a=[];yg(this.cursor,a,t.from),n.length&&(a=a.concat(n));let i=this.gutter.config.lineMarker(e,t,a);i&&a.unshift(i);let o=this.gutter;a.length==0&&!o.config.renderEmptyElements||this.addElement(e,t,a)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t);n&&this.addElement(e,t,[n])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class fb{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,a=>{let i=a.target,o;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let l=i.getBoundingClientRect();o=(l.top+l.bottom)/2}else o=a.clientY;let s=e.lineBlockAtHeight(o-e.documentTop);t.domEventHandlers[n](e,s,a)&&a.preventDefault()});this.markers=hb(t.markers(e)),t.initialSpacer&&(this.spacer=new lT(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=hb(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let a=this.config.updateSpacer(this.spacer.markers[0],e);a!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[a])}let n=e.view.viewport;return!Ft.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class lT{constructor(e,t,n,a){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,a)}update(e,t,n,a){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),Y8(this.markers,a)||this.setMarkers(e,a)}setMarkers(e,t){let n="cm-gutterElement",a=this.dom.firstChild;for(let i=0,o=0;;){let s=o,l=ii(s,l,c)||o(s,l,c):o}return n}})}});class Ld extends yi{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Pd(r,e){return r.state.facet(ko).formatNumber(e,r.state)}const U8=Pc.compute([ko],r=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(F8)},lineMarker(e,t,n){return n.some(a=>a.toDOM)?null:new Ld(Pd(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(ko)!=e.state.facet(ko),initialSpacer(e){return new Ld(Pd(e,mb(e.state.doc.lines)))},updateSpacer(e,t){let n=Pd(t.view,mb(t.view.state.doc.lines));return n==e.number?e:new Ld(n)},domEventHandlers:r.facet(ko).domEventHandlers}));function cT(r={}){return[ko.of(r),L8(),U8]}function mb(r){let e=9;for(;e{let e=[],t=-1;for(let n of r.selection.ranges){let a=r.doc.lineAt(n.head).from;a>t&&(t=a,e.push($8.range(a)))}return Ft.of(e)});function q8(){return G8}var Bd;const qi=new at;function w0(r){return Ue.define({combine:r?e=>e.concat(r):void 0})}const A0=new at;class _r{constructor(e,t,n=[],a=""){this.data=e,this.name=a,Et.prototype.hasOwnProperty("tree")||Object.defineProperty(Et.prototype,"tree",{get(){return en(this)}}),this.parser=t,this.extension=[Ko.of(this),Et.languageData.of((i,o,s)=>{let l=pb(i,o,s),c=l.type.prop(qi);if(!c)return[];let u=i.facet(c),h=l.type.prop(A0);if(h){let p=l.resolve(o-l.from,s);for(let _ of h)if(_.test(p,i)){let b=i.facet(_.facet);return _.type=="replace"?b:b.concat(u)}}return u})].concat(n)}isActiveAt(e,t,n=-1){return pb(e,t,n).type.prop(qi)==this.data}findRegions(e){let t=e.facet(Ko);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],a=(i,o)=>{if(i.prop(qi)==this.data){n.push({from:o,to:o+i.length});return}let s=i.prop(at.mounted);if(s){if(s.tree.prop(qi)==this.data){if(s.overlay)for(let l of s.overlay)n.push({from:l.from+o,to:l.to+o});else n.push({from:o,to:o+i.length});return}else if(s.overlay){let l=n.length;if(a(s.tree,s.overlay[0].from+o),n.length>l)return}}for(let l=0;ln.isTop?t:void 0)]}),e.name)}configure(e,t){return new Wo(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function en(r){let e=r.field(_r.state,!1);return e?e.tree:It.empty}function uT(r,e,t=50){var n;let a=(n=r.field(_r.state,!1))===null||n===void 0?void 0:n.context;if(!a)return null;let i=a.viewport;a.updateViewport({from:0,to:e});let o=a.isDone(e)||a.work(t,e)?a.tree:null;return a.updateViewport(i),o}class Q8{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let Ds=null;class Sl{constructor(e,t,n=[],a,i,o,s,l){this.parser=e,this.state=t,this.fragments=n,this.tree=a,this.treeLen=i,this.viewport=o,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new Sl(e,t,[],It.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Q8(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=It.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let a=Date.now()+e;e=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Ya.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Ds;Ds=this;try{return e()}finally{Ds=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=gb(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:a,treeLen:i,viewport:o,skipped:s}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,h,p)=>l.push({fromA:c,toA:u,fromB:h,toB:p})),n=Ya.applyChanges(n,l),a=It.empty,i=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),h=e.mapPos(c.to,-1);ue.from&&(this.fragments=gb(this.fragments,a,i),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends m0{createParse(t,n,a){let i=a[0].from,o=a[a.length-1].to;return{parsedPos:i,advance(){let l=Ds;if(l){for(let c of a)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=o,new It(On.none,[],[],o-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return Ds}}function gb(r,e,t){return Ya.applyChanges(r,[{fromA:e,toA:t,fromB:e,toB:t}])}class Xo{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new Xo(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=Sl.create(e.facet(Ko).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new Xo(n)}}_r.state=Mn.define({create:Xo.init,update(r,e){for(let t of e.effects)if(t.is(_r.setState))return t.value;return e.startState.facet(Ko)!=e.state.facet(Ko)?Xo.init(e.state):r.apply(e)}});let dT=r=>{let e=setTimeout(()=>r(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(dT=r=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(r,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Yd=typeof navigator<"u"&&(!((Bd=navigator.scheduling)===null||Bd===void 0)&&Bd.isInputPending)?()=>navigator.scheduling.isInputPending():null,H8=xn.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(_r.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(_r.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=dT(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnda+1e3,l=i.context.work(()=>Yd&&Yd()||Date.now()>o,a+(s?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:_r.setState.of(new Xo(i.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>xr(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Ko=Ue.define({combine(r){return r.length?r[0]:null},enables:r=>[_r.state,H8,Le.contentAttributes.compute([r],e=>{let t=e.facet(r);return t&&t.name?{"data-language":t.name}:{}})]});class Ol{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class ou{constructor(e,t,n,a,i,o=void 0){this.name=e,this.alias=t,this.extensions=n,this.filename=a,this.loadFunc=i,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new ou(e.name,(e.alias||[]).concat(e.name).map(a=>a.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let a of e)if(a.filename&&a.filename.test(t))return a;let n=/\.([^.]+)$/.exec(t);if(n){for(let a of e)if(a.extensions.indexOf(n[1])>-1)return a}return null}static matchLanguageName(e,t,n=!0){t=t.toLowerCase();for(let a of e)if(a.alias.some(i=>i==t))return a;if(n)for(let a of e)for(let i of a.alias){let o=t.indexOf(i);if(o>-1&&(i.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+i.length])))return a}return null}}const V8=Ue.define(),Zo=Ue.define({combine:r=>{if(!r.length)return" ";let e=r[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(r[0]));return e}});function su(r){let e=r.facet(Zo);return e.charCodeAt(0)==9?r.tabSize*e.length:e.length}function vl(r,e){let t="",n=r.tabSize,a=r.facet(Zo)[0];if(a==" "){for(;e>=n;)t+=" ",e-=n;a=" "}for(let i=0;i=e?z8(r,t,e):null}class Bu{constructor(e,t={}){this.state=e,this.options=t,this.unit=su(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:a,simulateDoubleBreak:i}=this.options;return a!=null&&a>=n.from&&a<=n.to?i&&a==e?{text:"",from:e}:(t<0?a-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return Mu(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:a}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let o=i(a);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ql=new at;function z8(r,e,t){return hT(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,r)}function W8(r){return r.pos==r.options.simulateBreak&&r.options.simulateDoubleBreak}function X8(r){let e=r.type.prop(Ql);if(e)return e;let t=r.firstChild,n;if(t&&(n=t.type.prop(at.closedBy))){let a=r.lastChild,i=a&&n.indexOf(a.name)>-1;return o=>fT(o,!0,1,void 0,i&&!W8(o)?a.from:void 0)}return r.parent==null?K8:null}function hT(r,e,t){for(;r;r=r.parent){let n=X8(r);if(n)return n(k0.create(t,e,r))}return null}function K8(){return 0}class k0 extends Bu{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new k0(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Z8(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?hT(e,this.pos,this.base):0}}function Z8(r,e){for(let t=e;t;t=t.parent)if(r==t)return!0;return!1}function j8(r){let e=r.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let a=r.options.simulateBreak,i=r.state.doc.lineAt(t.from),o=a==null||a<=i.from?i.to:Math.min(i.to,a);for(let s=t.to;;){let l=e.childAfter(s);if(!l||l==n)return null;if(!l.type.isSkipped)return l.fromfT(n,e,t,r)}function fT(r,e,t,n,a){let i=r.textAfter,o=i.match(/^\s*/)[0].length,s=n&&i.slice(o,o+n.length)==n||a==r.pos+o,l=e?j8(r):null;return l?s?r.column(l.from):r.column(l.to):r.baseIndent+(s?0:r.unit*t)}const e4=r=>r.baseIndent;function Bc({except:r,units:e=1}={}){return t=>{let n=r&&r.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const t4=200;function n4(){return Et.transactionFilter.of(r=>{if(!r.docChanged||!r.isUserEvent("input.type")&&!r.isUserEvent("input.complete"))return r;let e=r.startState.languageDataAt("indentOnInput",r.startState.selection.main.head);if(!e.length)return r;let t=r.newDoc,{head:n}=r.newSelection.main,a=t.lineAt(n);if(n>a.from+t4)return r;let i=t.sliceString(a.from,n);if(!e.some(c=>c.test(i)))return r;let{state:o}=r,s=-1,l=[];for(let{head:c}of o.selection.ranges){let u=o.doc.lineAt(c);if(u.from==s)continue;s=u.from;let h=I0(o,u.from);if(h==null)continue;let p=/^\s*/.exec(u.text)[0],_=vl(o,h);p!=_&&l.push({from:u.from,to:u.from+p.length,insert:_})}return l.length?[r,{changes:l,sequential:!0}]:r})}const mT=Ue.define(),Hl=new at;function pT(r){let e=r.firstChild,t=r.lastChild;return e&&e.tot)continue;if(i&&o.from=e&&l.to>t&&(i=l)}}return i}function a4(r){let e=r.lastChild;return e&&e.to==r.to&&e.type.isError}function i4(r,e,t){for(let n of r.facet(mT)){let a=n(r,e,t);if(a)return a}return r4(r,e,t)}function gT(r,e){let t=e.mapPos(r.from,1),n=e.mapPos(r.to,-1);return t>=n?void 0:{from:t,to:n}}const _T=dt.define({map:gT}),bT=dt.define({map:gT});function o4(r){let e=[];for(let{head:t}of r.state.selection.ranges)e.some(n=>n.from<=t&&n.to>=t)||e.push(r.lineBlockAt(t));return e}const N0=Mn.define({create(){return tt.none},update(r,e){r=r.map(e.changes);for(let t of e.effects)if(t.is(_T)&&!l4(r,t.value.from,t.value.to)){let{preparePlaceholder:n}=e.state.facet(D0),a=n?tt.replace({widget:new m4(n(e.state,t.value))}):_b;r=r.update({add:[a.range(t.value.from,t.value.to)]})}else t.is(bT)&&(r=r.update({filter:(n,a)=>t.value.from!=n||t.value.to!=a,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:n}=e.selection.main;r.between(n,n,(a,i)=>{an&&(t=!0)}),t&&(r=r.update({filterFrom:n,filterTo:n,filter:(a,i)=>i<=n||a>=n}))}return r},provide:r=>Le.decorations.from(r),toJSON(r,e){let t=[];return r.between(0,e.doc.length,(n,a)=>{t.push(n,a)}),t},fromJSON(r){if(!Array.isArray(r)||r.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t{(!a||a.from>i)&&(a={from:i,to:o})}),a}function l4(r,e,t){let n=!1;return r.between(e,e,(a,i)=>{a==e&&i==t&&(n=!0)}),n}function c4(r,e){return r.field(N0,!1)?e:e.concat(dt.appendConfig.of(f4()))}const u4=r=>{for(let e of o4(r)){let t=i4(r.state,e.from,e.to);if(t)return r.dispatch({effects:c4(r.state,[_T.of(t),d4(r,t)])}),!0}return!1};function d4(r,e,t=!0){let n=r.state.doc.lineAt(e.from).number,a=r.state.doc.lineAt(e.to).number;return Le.announce.of(`${r.state.phrase(t?"Folded lines":"Unfolded lines")} ${n} ${r.state.phrase("to")} ${a}.`)}const h4={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},D0=Ue.define({combine(r){return qa(r,h4)}});function f4(r){let e=[N0,p4];return r&&e.push(D0.of(r)),e}function ST(r,e){let{state:t}=r,n=t.facet(D0),a=o=>{let s=r.lineBlockAt(r.posAtDOM(o.target)),l=s4(r.state,s.from,s.to);l&&r.dispatch({effects:bT.of(l)}),o.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(r,a,e);let i=document.createElement("span");return i.textContent=n.placeholderText,i.setAttribute("aria-label",t.phrase("folded code")),i.title=t.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=a,i}const _b=tt.replace({widget:new class extends Qa{toDOM(r){return ST(r,null)}}});class m4 extends Qa{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ST(e,this.value)}}const p4=Le.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ss{constructor(e,t){this.specs=e;let n;function a(s){let l=Si.newName();return(n||(n=Object.create(null)))["."+l]=s,l}const i=typeof t.all=="string"?t.all:t.all?a(t.all):void 0,o=t.scope;this.scope=o instanceof _r?s=>s.prop(qi)==o.data:o?s=>s==o:void 0,this.style=$E(e.map(s=>({tag:s.tag,class:s.class||a(Object.assign({},s,{tag:null}))})),{all:i}).style,this.module=n?new Si(n):null,this.themeType=t.themeType}static define(e,t){return new ss(e,t||{})}}const Tg=Ue.define(),OT=Ue.define({combine(r){return r.length?[r[0]]:null}});function Fd(r){let e=r.facet(Tg);return e.length?e:r.facet(OT)}function x0(r,e){let t=[_4],n;return r instanceof ss&&(r.module&&t.push(Le.styleModule.of(r.module)),n=r.themeType),e!=null&&e.fallback?t.push(OT.of(r)):n?t.push(Tg.computeN([Le.darkTheme],a=>a.facet(Le.darkTheme)==(n=="dark")?[r]:[])):t.push(Tg.of(r)),t}class g4{constructor(e){this.markCache=Object.create(null),this.tree=en(e.state),this.decorations=this.buildDeco(e,Fd(e.state))}update(e){let t=en(e.state),n=Fd(e.state),a=n!=Fd(e.startState);t.length{n.add(o,s,this.markCache[l]||(this.markCache[l]=tt.mark({class:l})))},a,i);return n.finish()}}const _4=$a.high(xn.fromClass(g4,{decorations:r=>r.decorations})),b4=ss.define([{tag:Q.meta,color:"#404740"},{tag:Q.link,textDecoration:"underline"},{tag:Q.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Q.emphasis,fontStyle:"italic"},{tag:Q.strong,fontWeight:"bold"},{tag:Q.strikethrough,textDecoration:"line-through"},{tag:Q.keyword,color:"#708"},{tag:[Q.atom,Q.bool,Q.url,Q.contentSeparator,Q.labelName],color:"#219"},{tag:[Q.literal,Q.inserted],color:"#164"},{tag:[Q.string,Q.deleted],color:"#a11"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],color:"#e40"},{tag:Q.definition(Q.variableName),color:"#00f"},{tag:Q.local(Q.variableName),color:"#30a"},{tag:[Q.typeName,Q.namespace],color:"#085"},{tag:Q.className,color:"#167"},{tag:[Q.special(Q.variableName),Q.macroName],color:"#256"},{tag:Q.definition(Q.propertyName),color:"#00c"},{tag:Q.comment,color:"#940"},{tag:Q.invalid,color:"#f00"}]),S4=Le.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),vT=1e4,ET="()[]{}",yT=Ue.define({combine(r){return qa(r,{afterCursor:!0,brackets:ET,maxScanDistance:vT,renderMatch:E4})}}),O4=tt.mark({class:"cm-matchingBracket"}),v4=tt.mark({class:"cm-nonmatchingBracket"});function E4(r){let e=[],t=r.matched?O4:v4;return e.push(t.range(r.start.from,r.start.to)),r.end&&e.push(t.range(r.end.from,r.end.to)),e}const y4=Mn.define({create(){return tt.none},update(r,e){if(!e.docChanged&&!e.selection)return r;let t=[],n=e.state.facet(yT);for(let a of e.state.selection.ranges){if(!a.empty)continue;let i=kr(e.state,a.head,-1,n)||a.head>0&&kr(e.state,a.head-1,1,n)||n.afterCursor&&(kr(e.state,a.head,1,n)||a.headLe.decorations.from(r)}),T4=[y4,S4];function C4(r={}){return[yT.of(r),T4]}const TT=new at;function Cg(r,e,t){let n=r.prop(e<0?at.openedBy:at.closedBy);if(n)return n;if(r.name.length==1){let a=t.indexOf(r.name);if(a>-1&&a%2==(e<0?1:0))return[t[a+e]]}return null}function Rg(r){let e=r.type.prop(TT);return e?e(r.node):r}function kr(r,e,t,n={}){let a=n.maxScanDistance||vT,i=n.brackets||ET,o=en(r),s=o.resolveInner(e,t);for(let l=s;l;l=l.parent){let c=Cg(l.type,t,i);if(c&&l.from0?e>=u.from&&eu.from&&e<=u.to))return R4(r,e,t,l,u,c,i)}}return w4(r,e,t,o,s.type,a,i)}function R4(r,e,t,n,a,i,o){let s=n.parent,l={from:a.from,to:a.to},c=0,u=s==null?void 0:s.cursor();if(u&&(t<0?u.childBefore(n.from):u.childAfter(n.to)))do if(t<0?u.to<=n.from:u.from>=n.to){if(c==0&&i.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:t<0?e-1:e,to:t>0?e+1:e},u=r.doc.iterRange(e,t>0?r.doc.length:0),h=0;for(let p=0;!u.next().done&&p<=i;){let _=u.value;t<0&&(p+=_.length);let b=e+p*t;for(let A=t>0?0:_.length-1,I=t>0?_.length:-1;A!=I;A+=t){let M=o.indexOf(_[A]);if(!(M<0||n.resolveInner(b+A,1).type!=a))if(M%2==0==t>0)h++;else{if(h==1)return{start:c,end:{from:b+A,to:b+A+1},matched:M>>1==l>>1};h--}}t>0&&(p+=_.length)}return u.done?{start:c,matched:!1}:null}function bb(r,e,t,n=0,a=0){e==null&&(e=r.search(/[^\s\u00a0]/),e==-1&&(e=r.length));let i=a;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,i=this.string.substr(this.pos,e.length);return a(i)==a(e)?(t!==!1&&(this.pos+=e.length),!0):null}else{let a=this.string.slice(this.pos).match(e);return a&&a.index>0?null:(a&&t!==!1&&(this.pos+=a[0].length),a)}}current(){return this.string.slice(this.start,this.pos)}}const I4=Object.create(null),Sb=[On.none],Ob=[],k4=Object.create(null);for(let[r,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])k4[r]=N4(I4,e);function Ud(r,e){Ob.indexOf(r)>-1||(Ob.push(r),console.warn(e))}function N4(r,e){let t=null;for(let i of e.split(".")){let o=r[i]||Q[i];o?typeof o=="function"?t?t=o(t):Ud(i,`Modifier ${i} used at start of tag`):t?Ud(i,`Tag ${i} used as modifier`):t=o:Ud(i,`Unknown highlighting tag ${i}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),a=On.define({id:Sb.length,name:n,props:[os({[n]:t})]});return Sb.push(a),a.id}class M0{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=en(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),a=t.text.slice(n-t.from,this.pos-t.from),i=a.search(RT(e,!1));return i<0?null:{from:n+i,to:this.pos,text:a.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function vb(r){let e=Object.keys(r).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function D4(r){let e=Object.create(null),t=Object.create(null);for(let{label:a}of r){e[a[0]]=!0;for(let i=1;itypeof a=="string"?{label:a}:a),[t,n]=e.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:D4(e);return a=>{let i=a.matchBefore(n);return i||a.explicit?{from:i?i.from:a.pos,options:e,validFor:t}:null}}function x4(r,e){return t=>{for(let n=en(t.state).resolveInner(t.pos,-1);n;n=n.parent){if(r.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(t)}}class Eb{constructor(e,t,n,a){this.completion=e,this.source=t,this.match=n,this.score=a}}function bi(r){return r.selection.main.from}function RT(r,e){var t;let{source:n}=r,a=e&&n[0]!="^",i=n[n.length-1]!="$";return!a&&!i?r:new RegExp(`${a?"^":""}(?:${n})${i?"$":""}`,(t=r.flags)!==null&&t!==void 0?t:r.ignoreCase?"i":"")}const wT=Ga.define();function M4(r,e,t,n){let{main:a}=r.selection,i=t-a.from,o=n-a.from;return Object.assign(Object.assign({},r.changeByRange(s=>s!=a&&t!=n&&r.sliceDoc(s.from+i,s.from+o)!=r.sliceDoc(t,n)?{range:s}:{changes:{from:s.from+i,to:n==a.from?s.to:s.from+o,insert:e},range:ge.cursor(s.from+i+e.length)})),{userEvent:"input.complete"})}const yb=new WeakMap;function L4(r){if(!Array.isArray(r))return r;let e=yb.get(r);return e||yb.set(r,e=CT(r)),e}const L0=dt.define(),El=dt.define();class P4{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&O<=57||O>=97&&O<=122?2:O>=65&&O<=90?1:0:(S=p0(O))!=S.toLowerCase()?1:S!=S.toUpperCase()?2:0;(!U||k==1&&I||m==0&&k!=0)&&(t[h]==O||n[h]==O&&(p=!0)?o[h++]=U:o.length&&(M=!1)),m=k,U+=Ar(O)}return h==l&&o[0]==0&&M?this.result(-100+(p?-200:0),o,e):_==l&&b==0?this.ret(-200-e.length+(A==e.length?0:-100),[0,A]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):_==l?this.ret(-200+-700-e.length,[b,A]):h==l?this.result(-100+(p?-200:0)+-700+(M?0:-1100),o,e):t.length==2?!1:this.result((a[0]?-700:0)+-200+-1100,a,e)}result(e,t,n){let a=[],i=0;for(let o of t){let s=o+(this.astral?Ar(kn(n,o)):1);i&&a[i-1]==o?a[i-1]=s:(a[i++]=o,a[i++]=s)}return this.ret(e-n.length,a)}}const rr=Ue.define({combine(r){return qa(r,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:B4,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>Tb(e(n),t(n)),optionClass:(e,t)=>n=>Tb(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function Tb(r,e){return r?e?r+" "+e:r:e}function B4(r,e,t,n,a){let i=r.textDirection==Jt.RTL,o=i,s=!1,l="top",c,u,h=e.left-a.left,p=a.right-e.right,_=n.right-n.left,b=n.bottom-n.top;if(o&&h=b||A>e.top?c=t.bottom-e.top:(l="bottom",c=e.bottom-t.top)}return{style:`${l}: ${c}px; max-width: ${u}px`,class:"cm-completionInfo-"+(s?i?"left-narrow":"right-narrow":o?"left":"right")}}function Y4(r){let e=r.addToOptions.slice();return r.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(a=>"cm-completionIcon-"+a)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,a){let i=document.createElement("span");i.className="cm-completionLabel";let o=t.displayLabel||t.label,s=0;for(let l=0;ls&&i.appendChild(document.createTextNode(o.slice(s,c)));let h=i.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(o.slice(c,u))),h.className="cm-completionMatchedText",s=u}return st.position-n.position).map(t=>t.render)}function Cb(r,e,t){if(r<=t)return{from:0,to:r};if(e<0&&(e=0),e<=r>>1){let a=Math.floor(e/t);return{from:a*t,to:(a+1)*t}}let n=Math.floor((r-e)/t);return{from:r-(n+1)*t,to:r-n*t}}class F4{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let a=e.state.field(t),{options:i,selected:o}=a.open,s=e.state.facet(rr);this.optionContent=Y4(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=Cb(i.length,o,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{for(let c=l.target,u;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(u=/-(\d+)$/.exec(c.id))&&+u[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(rr).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:El.of(null)})}),this.list=this.dom.appendChild(this.createListBox(i,a.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(e){var t,n,a;let i=e.state.field(this.stateField),o=e.startState.field(this.stateField);this.updateTooltipClass(e.state),i!=o&&(this.updateSel(),((t=i.open)===null||t===void 0?void 0:t.disabled)!=((n=o.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((a=i.open)===null||a===void 0)&&a.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Cb(t.options.length,t.selected,this.view.state.facet(rr).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:a}=n;if(!a)return;let i=typeof a=="string"?document.createTextNode(a):a(n);if(!i)return;"then"in i?i.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,n)}).catch(o=>xr(this.view.state,o,"completion info")):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:a,destroy:i}=e;n.appendChild(a),this.infoDestroy=i||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,a=this.range.from;n;n=n.nextSibling,a++)n.nodeName!="LI"||!n.id?a--:a==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&$4(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),a=e.getBoundingClientRect(),i=this.space;if(!i){let o=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return a.top>Math.min(i.bottom,t.bottom)-10||a.bottomn.from||n.from==0))if(i=p,typeof c!="string"&&c.header)a.appendChild(c.header(c));else{let _=a.appendChild(document.createElement("completion-section"));_.textContent=p}}const u=a.appendChild(document.createElement("li"));u.id=t+"-"+o,u.setAttribute("role","option");let h=this.optionClass(s);h&&(u.className=h);for(let p of this.optionContent){let _=p(s,this.view.state,l);_&&u.appendChild(_)}}return n.from&&a.classList.add("cm-completionListIncompleteTop"),n.tonew F4(t,r,e)}function $4(r,e){let t=r.getBoundingClientRect(),n=e.getBoundingClientRect();n.topt.bottom&&(r.scrollTop+=n.bottom-t.bottom)}function Rb(r){return(r.boost||0)*100+(r.apply?10:0)+(r.info?5:0)+(r.type?1:0)}function G4(r,e){let t=[],n=null,a=l=>{t.push(l);let{section:c}=l.completion;if(c){n||(n=[]);let u=typeof c=="string"?c:c.name;n.some(h=>h.name==u)||n.push(typeof c=="string"?{name:u}:c)}};for(let l of r)if(l.hasResult()){let c=l.result.getMatch;if(l.result.filter===!1)for(let u of l.result.options)a(new Eb(u,l.source,c?c(u):[],1e9-t.length));else{let u=new P4(e.sliceDoc(l.from,l.to));for(let h of l.result.options)if(u.match(h.label)){let p=h.displayLabel?c?c(h,u.matched):[]:u.matched;a(new Eb(h,l.source,p,u.score+(h.boost||0)))}}}if(n){let l=Object.create(null),c=0,u=(h,p)=>{var _,b;return((_=h.rank)!==null&&_!==void 0?_:1e9)-((b=p.rank)!==null&&b!==void 0?b:1e9)||(h.nameu.score-c.score||s(c.completion,u.completion))){let c=l.completion;!o||o.label!=c.label||o.detail!=c.detail||o.type!=null&&c.type!=null&&o.type!=c.type||o.apply!=c.apply||o.boost!=c.boost?i.push(l):Rb(l.completion)>Rb(o)&&(i[i.length-1]=l),o=l.completion}return i}class No{constructor(e,t,n,a,i,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=a,this.selected=i,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new No(this.options,wb(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,a,i){let o=G4(e,t);if(!o.length)return a&&e.some(l=>l.state==1)?new No(a.options,a.attrs,a.tooltip,a.timestamp,a.selected,!0):null;let s=t.facet(rr).selectOnOpen?0:-1;if(a&&a.selected!=s&&a.selected!=-1){let l=a.options[a.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:U4(pr,kT),above:i.aboveCursor},a?a.timestamp:Date.now(),s,!1)}map(e){return new No(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class lu{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new lu(H4,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(rr),i=(n.override||t.languageDataAt("autocomplete",bi(t)).map(L4)).map(s=>(this.active.find(c=>c.source==s)||new nr(s,this.active.some(c=>c.state!=0)?1:0)).update(e,n));i.length==this.active.length&&i.every((s,l)=>s==this.active[l])&&(i=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||i.some(s=>s.hasResult()&&e.changes.touchesRange(s.from,s.to))||!q4(i,this.active)?o=No.build(i,t,this.id,o,n):o&&o.disabled&&!i.some(s=>s.state==1)&&(o=null),!o&&i.every(s=>s.state!=1)&&i.some(s=>s.hasResult())&&(i=i.map(s=>s.hasResult()?new nr(s.source,0):s));for(let s of e.effects)s.is(IT)&&(o=o&&o.setSelected(s.value,this.id));return i==this.active&&o==this.open?this:new lu(i,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Q4}}function q4(r,e){if(r==e)return!0;for(let t=0,n=0;;){for(;t-1&&(t["aria-activedescendant"]=r+"-"+e),t}const H4=[];function wg(r){return r.isUserEvent("input.type")?"input":r.isUserEvent("delete.backward")?"delete":null}class nr{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=wg(e),a=this;n?a=a.handleUserEvent(e,n,t):e.docChanged?a=a.handleChange(e):e.selection&&a.state!=0&&(a=new nr(a.source,0));for(let i of e.effects)if(i.is(L0))a=new nr(a.source,1,i.value?bi(e.state):-1);else if(i.is(El))a=new nr(a.source,0);else if(i.is(AT))for(let o of i.value)o.source==a.source&&(a=o);return a}handleUserEvent(e,t,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new nr(this.source,1)}handleChange(e){return e.changes.touchesRange(bi(e.startState))?new nr(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new nr(this.source,this.state,e.mapPos(this.explicitPos))}}class Bo extends nr{constructor(e,t,n,a,i){super(e,2,t),this.result=n,this.from=a,this.to=i}hasResult(){return!0}handleUserEvent(e,t,n){var a;let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),s=bi(e.state);if((this.explicitPos<0?s<=i:so||t=="delete"&&bi(e.startState)==this.from)return new nr(this.source,t=="input"&&n.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return V4(this.result.validFor,e.state,i,o)?new Bo(this.source,l,this.result,i,o):this.result.update&&(c=this.result.update(this.result,i,o,new M0(e.state,s,l>=0)))?new Bo(this.source,l,c,c.from,(a=c.to)!==null&&a!==void 0?a:bi(e.state)):new nr(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new nr(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Bo(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function V4(r,e,t,n){if(!r)return!1;let a=e.sliceDoc(t,n);return typeof r=="function"?r(a,t,n,e):RT(r,!0).test(a)}const AT=dt.define({map(r,e){return r.map(t=>t.map(e))}}),IT=dt.define(),pr=Mn.define({create(){return lu.start()},update(r,e){return r.update(e)},provide:r=>[C0.from(r,e=>e.tooltip),Le.contentAttributes.from(r,e=>e.attrs)]});function kT(r,e){const t=e.completion.apply||e.completion.label;let n=r.state.field(pr).active.find(a=>a.source==e.source);return n instanceof Bo?(typeof t=="string"?r.dispatch(Object.assign(Object.assign({},M4(r.state,t,n.from,n.to)),{annotations:wT.of(e.completion)})):t(r,e.completion,n.from,n.to),!0):!1}function Sc(r,e="option"){return t=>{let n=t.state.field(pr,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+a*(r?1:-1):r?0:o-1;return s<0?s=e=="page"?0:o-1:s>=o&&(s=e=="page"?o-1:0),t.dispatch({effects:IT.of(s)}),!0}}const z4=r=>{let e=r.state.field(pr,!1);return r.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampr.state.field(pr,!1)?(r.dispatch({effects:L0.of(!0)}),!0):!1,X4=r=>{let e=r.state.field(pr,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(r.dispatch({effects:El.of(null)}),!0)};class K4{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const Ab=50,Z4=50,j4=1e3,J4=xn.fromClass(class{constructor(r){this.view=r,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of r.state.field(pr).active)e.state==1&&this.startQuery(e)}update(r){let e=r.state.field(pr);if(!r.selectionSet&&!r.docChanged&&r.startState.field(pr)==e)return;let t=r.transactions.some(n=>(n.selection||n.docChanged)&&!wg(n));for(let n=0;nZ4&&Date.now()-a.time>j4){for(let i of a.context.abortListeners)try{i()}catch(o){xr(this.view.state,o)}a.context.abortListeners=null,this.running.splice(n--,1)}else a.updates.push(...r.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(a=>a.active.source==n.source))?setTimeout(()=>this.startUpdate(),Ab):-1,this.composing!=0)for(let n of r.transactions)wg(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:r}=this.view,e=r.field(pr);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(r){let{state:e}=this.view,t=bi(e),n=new M0(e,t,r.explicitPos==t),a=new K4(r,n);this.running.push(a),Promise.resolve(r.source(n)).then(i=>{a.context.aborted||(a.done=i||null,this.scheduleAccept())},i=>{this.view.dispatch({effects:El.of(null)}),xr(this.view.state,i)})}scheduleAccept(){this.running.every(r=>r.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Ab))}accept(){var r;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(rr);for(let n=0;no.source==a.active.source);if(i&&i.state==1)if(a.done==null){let o=new nr(a.active.source,0);for(let s of a.updates)o=o.update(s,t);o.state!=1&&e.push(o)}else this.startQuery(i)}e.length&&this.view.dispatch({effects:AT.of(e)})}},{eventHandlers:{blur(r){let e=this.view.state.field(pr,!1);if(e&&e.tooltip&&this.view.state.facet(rr).closeOnBlur){let t=e.open&&oT(this.view,e.open.tooltip);(!t||!t.dom.contains(r.relatedTarget))&&this.view.dispatch({effects:El.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:L0.of(!1)}),20),this.composing=0}}}),NT=Le.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class eL{constructor(e,t,n,a){this.field=e,this.line=t,this.from=n,this.to=a}}class P0{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,bn.TrackDel),n=e.mapPos(this.to,1,bn.TrackDel);return t==null||n==null?null:new P0(this.field,t,n)}}class B0{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],a=[t],i=e.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(let l of this.lines){if(n.length){let c=o,u=/^\t*/.exec(l)[0].length;for(let h=0;hnew P0(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:n,ranges:s}}static parse(e){let t=[],n=[],a=[],i;for(let o of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let s=i[1]?+i[1]:null,l=i[2]||i[3]||"",c=-1;for(let u=0;u=c&&h.field++}a.push(new eL(c,n.length,i.index,i.index+l.length)),o=o.slice(0,i.index)+l+o.slice(i.index+i[0].length)}for(let s;s=/\\([{}])/.exec(o);){o=o.slice(0,s.index)+s[1]+o.slice(s.index+s[0].length);for(let l of a)l.line==n.length&&l.from>s.index&&(l.from--,l.to--)}n.push(o)}return new B0(n,a)}}let tL=tt.widget({widget:new class extends Qa{toDOM(){let r=document.createElement("span");return r.className="cm-snippetFieldPosition",r}ignoreEvent(){return!1}}}),nL=tt.mark({class:"cm-snippetField"});class ls{constructor(e,t){this.ranges=e,this.active=t,this.deco=tt.set(e.map(n=>(n.from==n.to?tL:nL).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let a=n.map(e);if(!a)return null;t.push(a)}return new ls(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const Vl=dt.define({map(r,e){return r&&r.map(e)}}),rL=dt.define(),yl=Mn.define({create(){return null},update(r,e){for(let t of e.effects){if(t.is(Vl))return t.value;if(t.is(rL)&&r)return new ls(r.ranges,t.value)}return r&&e.docChanged&&(r=r.map(e.changes)),r&&e.selection&&!r.selectionInsideField(e.selection)&&(r=null),r},provide:r=>Le.decorations.from(r,e=>e?e.deco:tt.none)});function Y0(r,e){return ge.create(r.filter(t=>t.field==e).map(t=>ge.range(t.from,t.to)))}function aL(r){let e=B0.parse(r);return(t,n,a,i)=>{let{text:o,ranges:s}=e.instantiate(t.state,a),l={changes:{from:a,to:i,insert:Ct.of(o)},scrollIntoView:!0,annotations:n?wT.of(n):void 0};if(s.length&&(l.selection=Y0(s,0)),s.length>1){let c=new ls(s,0),u=l.effects=[Vl.of(c)];t.state.field(yl,!1)===void 0&&u.push(dt.appendConfig.of([yl,cL,uL,NT]))}t.dispatch(t.state.update(l))}}function DT(r){return({state:e,dispatch:t})=>{let n=e.field(yl,!1);if(!n||r<0&&n.active==0)return!1;let a=n.active+r,i=r>0&&!n.ranges.some(o=>o.field==a+r);return t(e.update({selection:Y0(n.ranges,a),effects:Vl.of(i?null:new ls(n.ranges,a))})),!0}}const iL=({state:r,dispatch:e})=>r.field(yl,!1)?(e(r.update({effects:Vl.of(null)})),!0):!1,oL=DT(1),sL=DT(-1),lL=[{key:"Tab",run:oL,shift:sL},{key:"Escape",run:iL}],Ib=Ue.define({combine(r){return r.length?r[0]:lL}}),cL=$a.highest(no.compute([Ib],r=>r.facet(Ib)));function qr(r,e){return Object.assign(Object.assign({},e),{apply:aL(r)})}const uL=Le.domEventHandlers({mousedown(r,e){let t=e.state.field(yl,!1),n;if(!t||(n=e.posAtCoords({x:r.clientX,y:r.clientY}))==null)return!1;let a=t.ranges.find(i=>i.from<=n&&i.to>=n);return!a||a.field==t.active?!1:(e.dispatch({selection:Y0(t.ranges,a.field),effects:Vl.of(t.ranges.some(i=>i.field>a.field)?new ls(t.ranges,a.field):null)}),!0)}}),Tl={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Qi=dt.define({map(r,e){let t=e.mapPos(r,-1,bn.TrackAfter);return t??void 0}}),F0=new class extends Ji{};F0.startSide=1;F0.endSide=-1;const xT=Mn.define({create(){return Ft.empty},update(r,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(n,-1)&&(r=Ft.empty)}r=r.map(e.changes);for(let t of e.effects)t.is(Qi)&&(r=r.update({add:[F0.range(t.value,t.value+1)]}));return r}});function dL(){return[fL,xT]}const $d="()[]{}<>";function MT(r){for(let e=0;e<$d.length;e+=2)if($d.charCodeAt(e)==r)return $d.charAt(e+1);return p0(r<128?r:r+1)}function LT(r,e){return r.languageDataAt("closeBrackets",e)[0]||Tl}const hL=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),fL=Le.inputHandler.of((r,e,t,n)=>{if((hL?r.composing:r.compositionStarted)||r.state.readOnly)return!1;let a=r.state.selection.main;if(n.length>2||n.length==2&&Ar(kn(n,0))==1||e!=a.from||t!=a.to)return!1;let i=gL(r.state,n);return i?(r.dispatch(i),!0):!1}),mL=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let n=LT(r,r.selection.main.head).brackets||Tl.brackets,a=null,i=r.changeByRange(o=>{if(o.empty){let s=_L(r.doc,o.head);for(let l of n)if(l==s&&Yu(r.doc,o.head)==MT(kn(l,0)))return{changes:{from:o.head-l.length,to:o.head+l.length},range:ge.cursor(o.head-l.length)}}return{range:a=o}});return a||e(r.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!a},pL=[{key:"Backspace",run:mL}];function gL(r,e){let t=LT(r,r.selection.main.head),n=t.brackets||Tl.brackets;for(let a of n){let i=MT(kn(a,0));if(e==a)return i==a?OL(r,a,n.indexOf(a+a+a)>-1,t):bL(r,a,i,t.before||Tl.before);if(e==i&&PT(r,r.selection.main.from))return SL(r,a,i)}return null}function PT(r,e){let t=!1;return r.field(xT).between(0,r.doc.length,n=>{n==e&&(t=!0)}),t}function Yu(r,e){let t=r.sliceString(e,e+2);return t.slice(0,Ar(kn(t,0)))}function _L(r,e){let t=r.sliceString(e-2,e);return Ar(kn(t,0))==t.length?t:t.slice(1)}function bL(r,e,t,n){let a=null,i=r.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:t,from:o.to}],effects:Qi.of(o.to+e.length),range:ge.range(o.anchor+e.length,o.head+e.length)};let s=Yu(r.doc,o.head);return!s||/\s/.test(s)||n.indexOf(s)>-1?{changes:{insert:e+t,from:o.head},effects:Qi.of(o.head+e.length),range:ge.cursor(o.head+e.length)}:{range:a=o}});return a?null:r.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function SL(r,e,t){let n=null,a=r.changeByRange(i=>i.empty&&Yu(r.doc,i.head)==t?{changes:{from:i.head,to:i.head+t.length,insert:t},range:ge.cursor(i.head+t.length)}:n={range:i});return n?null:r.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function OL(r,e,t,n){let a=n.stringPrefixes||Tl.stringPrefixes,i=null,o=r.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:Qi.of(s.to+e.length),range:ge.range(s.anchor+e.length,s.head+e.length)};let l=s.head,c=Yu(r.doc,l),u;if(c==e){if(kb(r,l))return{changes:{insert:e+e,from:l},effects:Qi.of(l+e.length),range:ge.cursor(l+e.length)};if(PT(r,l)){let p=t&&r.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+p.length,insert:p},range:ge.cursor(l+p.length)}}}else{if(t&&r.sliceDoc(l-2*e.length,l)==e+e&&(u=Nb(r,l-2*e.length,a))>-1&&kb(r,u))return{changes:{insert:e+e+e+e,from:l},effects:Qi.of(l+e.length),range:ge.cursor(l+e.length)};if(r.charCategorizer(l)(c)!=jt.Word&&Nb(r,l,a)>-1&&!vL(r,l,e,a))return{changes:{insert:e+e,from:l},effects:Qi.of(l+e.length),range:ge.cursor(l+e.length)}}return{range:i=s}});return i?null:r.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function kb(r,e){let t=en(r).resolveInner(e+1);return t.parent&&t.from==e}function vL(r,e,t,n){let a=en(r).resolveInner(e,-1),i=n.reduce((o,s)=>Math.max(o,s.length),0);for(let o=0;o<5;o++){let s=r.sliceDoc(a.from,Math.min(a.to,a.from+t.length+i)),l=s.indexOf(t);if(!l||l>-1&&n.indexOf(s.slice(0,l))>-1){let u=a.firstChild;for(;u&&u.from==a.from&&u.to-u.from>t.length+l;){if(r.sliceDoc(u.to-t.length,u.to)==t)return!1;u=u.firstChild}return!0}let c=a.to==e&&a.parent;if(!c)break;a=c}return!1}function Nb(r,e,t){let n=r.charCategorizer(e);if(n(r.sliceDoc(e-1,e))!=jt.Word)return e;for(let a of t){let i=e-a.length;if(r.sliceDoc(i,e)==a&&n(r.sliceDoc(i-1,i))!=jt.Word)return i}return-1}function EL(r={}){return[pr,rr.of(r),J4,TL,NT]}const yL=[{key:"Ctrl-Space",run:W4},{key:"Escape",run:X4},{key:"ArrowDown",run:Sc(!0)},{key:"ArrowUp",run:Sc(!1)},{key:"PageDown",run:Sc(!0,"page")},{key:"PageUp",run:Sc(!1,"page")},{key:"Enter",run:z4}],TL=$a.highest(no.computeN([rr],r=>r.facet(rr).defaultKeymap?[yL]:[])),CL=[qr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),qr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),qr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),qr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),qr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),qr(`try { +`){let a="";for(let i=0,o=0;ie&&i&&(a+=n),eo&&(a+=s.sliceString(e-o,t-o,n)),o=l+1}return a}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ma))return 0;let n=0,[a,i,o,s]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;a+=t,i+=t){if(a==o||i==s)return n;let l=this.children[a],c=e.children[i];if(l!=c)return n+l.scanIdentical(c,t);n+=l.length+1}}static from(e,t=e.reduce((n,a)=>n+a.length+1,-1)){let n=0;for(let _ of e)n+=_.lines;if(n<32){let _=[];for(let b of e)b.flatten(_);return new cn(_,t)}let a=Math.max(32,n>>5),i=a<<1,o=a>>1,s=[],l=0,c=-1,u=[];function h(_){let b;if(_.lines>i&&_ instanceof ma)for(let A of _.children)h(A);else _.lines>o&&(l>o||!l)?(p(),s.push(_)):_ instanceof cn&&l&&(b=u[u.length-1])instanceof cn&&_.lines+b.lines<=32?(l+=_.lines,c+=_.length+1,u[u.length-1]=new cn(b.text.concat(_.text),b.length+1+_.length)):(l+_.lines>a&&p(),l+=_.lines,c+=_.length+1,u.push(_))}function p(){l!=0&&(s.push(u.length==1?u[0]:ma.from(u,c)),c=-1,l=u.length=0)}for(let _ of e)h(_);return p(),s.length==1?s[0]:new ma(s,t)}}Ct.empty=new cn([""],0);function gx(r){let e=-1;for(let t of r)e+=t.length+1;return e}function Ac(r,e,t=0,n=1e9){for(let a=0,i=0,o=!0;i=t&&(l>n&&(s=s.slice(0,n-a)),a0?1:(e instanceof cn?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,a=this.nodes[n],i=this.offsets[n],o=i>>1,s=a instanceof cn?a.text.length:a.children.length;if(o==(t>0?s:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(a instanceof cn){let l=a.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=e==0?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=a.children[o+(t<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(t>0?1:(l instanceof cn?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class QE{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Ks(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:a}=this.cursor.next(e);return this.pos+=(a.length+e)*t,this.value=a.length<=n?a:t<0?a.slice(a.length-n):a.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class HE{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:a}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ct.prototype[Symbol.iterator]=function(){return this.iter()},Ks.prototype[Symbol.iterator]=QE.prototype[Symbol.iterator]=HE.prototype[Symbol.iterator]=function(){return this});let _x=class{constructor(e,t,n,a){this.from=e,this.to=t,this.number=n,this.text=a}get length(){return this.to-this.from}},Do="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(r=>r?parseInt(r,36):1);for(let r=1;rr)return Do[e-1]<=r;return!1}function m1(r){return r>=127462&&r<=127487}const p1=8205;function Fn(r,e,t=!0,n=!0){return(t?VE:Sx)(r,e,n)}function VE(r,e,t){if(e==r.length)return e;e&&zE(r.charCodeAt(e))&&WE(r.charCodeAt(e-1))&&e--;let n=kn(r,e);for(e+=Ar(n);e=0&&m1(kn(r,o));)i++,o-=2;if(i%2==0)break;e+=2}else break}return e}function Sx(r,e,t){for(;e>0;){let n=VE(r,e-2,t);if(n=56320&&r<57344}function WE(r){return r>=55296&&r<56320}function kn(r,e){let t=r.charCodeAt(e);if(!WE(t)||e+1==r.length)return t;let n=r.charCodeAt(e+1);return zE(n)?(t-55296<<10)+(n-56320)+65536:t}function p0(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}function Ar(r){return r<65536?1:2}const zp=/\r\n?|\n/;var bn=function(r){return r[r.Simple=0]="Simple",r[r.TrackDel=1]="TrackDel",r[r.TrackBefore=2]="TrackBefore",r[r.TrackAfter=3]="TrackAfter",r}(bn||(bn={}));class Sa{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return i+(e-a);i+=s}else{if(n!=bn.Simple&&c>=e&&(n==bn.TrackDel&&ae||n==bn.TrackBefore&&ae))return null;if(c>e||c==e&&t<0&&!s)return e==a||t<0?i:i+l;i+=l}a=c}if(e>a)throw new RangeError(`Position ${e} is out of range for changeset of length ${a}`);return i}touchesRange(e,t=e){for(let n=0,a=0;n=0&&a<=t&&s>=e)return at?"cover":!0;a=s}return!1}toString(){let e="";for(let t=0;t=0?":"+a:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Sa(e)}static create(e){return new Sa(e)}}class _n extends Sa{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Wp(this,(t,n,a,i,o)=>e=e.replace(a,a+(n-t),o),!1),e}mapDesc(e,t=!1){return Xp(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let a=0,i=0;a=0){t[a]=s,t[a+1]=o;let l=a>>1;for(;n.length0&&pi(n,t,i.text),i.forward(u),s+=u}let c=e[o++];for(;s>1].toJSON()))}return e}static of(e,t,n){let a=[],i=[],o=0,s=null;function l(u=!1){if(!u&&!a.length)return;op||h<0||p>t)throw new RangeError(`Invalid change range ${h} to ${p} (in doc of length ${t})`);let b=_?typeof _=="string"?Ct.of(_.split(n||zp)):_:Ct.empty,A=b.length;if(h==p&&A==0)return;ho&&Bn(a,h-o,-1),Bn(a,p-h,A),pi(i,a,b),o=p}}return c(e),l(!s),s}static empty(e){return new _n(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let a=0;as&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(i.length==1)t.push(i[0],0);else{for(;n.length=0&&t<=0&&t==r[a+1]?r[a]+=e:e==0&&r[a]==0?r[a+1]+=t:n?(r[a]+=e,r[a+1]+=t):r.push(e,t)}function pi(r,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||o==r.sections.length||r.sections[o+1]<0);)s=r.sections[o++],l=r.sections[o++];e(a,c,i,u,h),a=c,i=u}}}function Xp(r,e,t,n=!1){let a=[],i=n?[]:null,o=new ul(r),s=new ul(e);for(let l=-1;;)if(o.ins==-1&&s.ins==-1){let c=Math.min(o.len,s.len);Bn(a,c,-1),o.forward(c),s.forward(c)}else if(s.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(s.len=0&&l=0){let c=0,u=o.len;for(;u;)if(s.ins==-1){let h=Math.min(u,s.len);c+=h,u-=h,s.forward(h)}else if(s.ins==0&&s.lenl||o.ins>=0&&o.len>l)&&(s||n.length>c),i.forward2(l),o.forward(l)}}}}class ul{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?Ct.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?Ct.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class $i{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let n,a;return this.empty?n=a=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),a=e.mapPos(this.to,-1)),n==this.from&&a==this.to?this:new $i(n,a,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return ge.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return ge.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return ge.range(e.anchor,e.head)}static create(e,t,n){return new $i(e,t,n)}}class ge{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:ge.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new ge(e.ranges.map(t=>$i.fromJSON(t)),e.main)}static single(e,t=e){return new ge([ge.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,a=0;ae?4:0)|i)}static normalized(e,t=0){let n=e[t];e.sort((a,i)=>a.from-i.from),t=e.indexOf(n);for(let a=1;ai.head?ge.range(l,s):ge.range(s,l))}}return new ge(e,t)}}function KE(r,e){for(let t of r.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let g0=0;class Ue{constructor(e,t,n,a,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=a,this.id=g0++,this.default=e([]),this.extensions=typeof i=="function"?i(this):i}static define(e={}){return new Ue(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:_0),!!e.static,e.enables)}of(e){return new Ic([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ic(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ic(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function _0(r,e){return r==e||r.length==e.length&&r.every((t,n)=>t===e[n])}class Ic{constructor(e,t,n,a){this.dependencies=e,this.facet=t,this.type=n,this.value=a,this.id=g0++}dynamicSlot(e){var t;let n=this.value,a=this.facet.compareInput,i=this.id,o=e[i]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let h of this.dependencies)h=="doc"?l=!0:h=="selection"?c=!0:((t=e[h.id])!==null&&t!==void 0?t:1)&1||u.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||Kp(h,u)){let _=n(h);if(s?!g1(_,h.values[o],a):!a(_,h.values[o]))return h.values[o]=_,1}return 0},reconfigure:(h,p)=>{let _,b=p.config.address[i];if(b!=null){let A=jc(p,b);if(this.dependencies.every(I=>I instanceof Ue?p.facet(I)===h.facet(I):I instanceof Mn?p.field(I,!1)==h.field(I,!1):!0)||(s?g1(_=n(h),A,a):a(_=n(h),A)))return h.values[o]=A,0}else _=n(h);return h.values[o]=_,1}}}}function g1(r,e,t){if(r.length!=e.length)return!1;for(let n=0;nr[l.id]),a=t.map(l=>l.type),i=n.filter(l=>!(l&1)),o=r[e.id]>>1;function s(l){let c=[];for(let u=0;un===a),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(_1).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,a)=>{let i=n.values[t],o=this.updateF(i,a);return this.compareF(i,o)?0:(n.values[t]=o,1)},reconfigure:(n,a)=>a.config.address[this.id]!=null?(n.values[t]=a.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,_1.of({field:this,create:e})]}get extension(){return this}}const Bi={lowest:4,low:3,default:2,high:1,highest:0};function Is(r){return e=>new ZE(e,r)}const $a={highest:Is(Bi.highest),high:Is(Bi.high),default:Is(Bi.default),low:Is(Bi.low),lowest:Is(Bi.lowest)};class ZE{constructor(e,t){this.inner=e,this.prec=t}}class wr{of(e){return new Zp(this,e)}reconfigure(e){return wr.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Zp{constructor(e,t){this.compartment=e,this.inner=t}}class Zc{constructor(e,t,n,a,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=a,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let a=[],i=Object.create(null),o=new Map;for(let p of vx(e,t,o))p instanceof Mn?a.push(p):(i[p.facet.id]||(i[p.facet.id]=[])).push(p);let s=Object.create(null),l=[],c=[];for(let p of a)s[p.id]=c.length<<1,c.push(_=>p.slot(_));let u=n==null?void 0:n.config.facets;for(let p in i){let _=i[p],b=_[0].facet,A=u&&u[p]||[];if(_.every(I=>I.type==0))if(s[b.id]=l.length<<1|1,_0(A,_))l.push(n.facet(b));else{let I=b.combine(_.map(M=>M.value));l.push(n&&b.compare(I,n.facet(b))?n.facet(b):I)}else{for(let I of _)I.type==0?(s[I.id]=l.length<<1|1,l.push(I.value)):(s[I.id]=c.length<<1,c.push(M=>I.dynamicSlot(M)));s[b.id]=c.length<<1,c.push(I=>Ox(I,b,_))}}let h=c.map(p=>p(s));return new Zc(e,o,h,s,l,i)}}function vx(r,e,t){let n=[[],[],[],[],[]],a=new Map;function i(o,s){let l=a.get(o);if(l!=null){if(l<=s)return;let c=n[l].indexOf(o);c>-1&&n[l].splice(c,1),o instanceof Zp&&t.delete(o.compartment)}if(a.set(o,s),Array.isArray(o))for(let c of o)i(c,s);else if(o instanceof Zp){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(o.compartment)||o.inner;t.set(o.compartment,c),i(c,s)}else if(o instanceof ZE)i(o.inner,o.prec);else if(o instanceof Mn)n[s].push(o),o.provides&&i(o.provides,s);else if(o instanceof Ic)n[s].push(o),o.facet.extensions&&i(o.facet.extensions,Bi.default);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(c,s)}}return i(r,Bi.default),n.reduce((o,s)=>o.concat(s))}function Zs(r,e){if(e&1)return 2;let t=e>>1,n=r.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;r.status[t]=4;let a=r.computeSlot(r,r.config.dynamicSlots[t]);return r.status[t]=2|a}function jc(r,e){return e&1?r.config.staticValues[e>>1]:r.values[e>>1]}const jE=Ue.define(),JE=Ue.define({combine:r=>r.some(e=>e),static:!0}),ey=Ue.define({combine:r=>r.length?r[0]:void 0,static:!0}),ty=Ue.define(),ny=Ue.define(),ry=Ue.define(),ay=Ue.define({combine:r=>r.length?r[0]:!1});class Ga{constructor(e,t){this.type=e,this.value=t}static define(){return new Ex}}class Ex{of(e){return new Ga(this,e)}}class yx{constructor(e){this.map=e}of(e){return new dt(this,e)}}class dt{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new dt(this.type,t)}is(e){return this.type==e}static define(e={}){return new yx(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let a of e){let i=a.map(t);i&&n.push(i)}return n}}dt.reconfigure=dt.define();dt.appendConfig=dt.define();class Sn{constructor(e,t,n,a,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=a,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&KE(n,t.newLength),i.some(s=>s.type==Sn.time)||(this.annotations=i.concat(Sn.time.of(Date.now())))}static create(e,t,n,a,i,o){return new Sn(e,t,n,a,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(Sn.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Sn.time=Ga.define();Sn.userEvent=Ga.define();Sn.addToHistory=Ga.define();Sn.remote=Ga.define();function Tx(r,e){let t=[];for(let n=0,a=0;;){let i,o;if(n=r[n]))i=r[n++],o=r[n++];else if(a=0;a--){let i=n[a](r);i instanceof Sn?r=i:Array.isArray(i)&&i.length==1&&i[0]instanceof Sn?r=i[0]:r=oy(e,xo(i),!1)}return r}function Rx(r){let e=r.startState,t=e.facet(ry),n=r;for(let a=t.length-1;a>=0;a--){let i=t[a](r);i&&Object.keys(i).length&&(n=iy(n,jp(e,i,r.changes.newLength),!0))}return n==r?r:Sn.create(e,r.changes,r.selection,n.effects,n.annotations,n.scrollIntoView)}const wx=[];function xo(r){return r==null?wx:Array.isArray(r)?r:[r]}var jt=function(r){return r[r.Word=0]="Word",r[r.Space=1]="Space",r[r.Other=2]="Other",r}(jt||(jt={}));const Ax=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Jp;try{Jp=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Ix(r){if(Jp)return Jp.test(r);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||Ax.test(t)))return!0}return!1}function kx(r){return e=>{if(!/\S/.test(e))return jt.Space;if(Ix(e))return jt.Word;for(let t=0;t-1)return jt.Word;return jt.Other}}class Et{constructor(e,t,n,a,i,o){this.config=e,this.doc=t,this.selection=n,this.values=a,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let s=0;sa.set(l,s)),t=null),a.set(o.value.compartment,o.value.extension)):o.is(dt.reconfigure)?(t=null,n=o.value):o.is(dt.appendConfig)&&(t=null,n=xo(n).concat(o.value));let i;t?i=e.startState.values.slice():(t=Zc.resolve(n,a,this),i=new Et(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(s,l)=>l.reconfigure(s,this),null).values),new Et(t,e.newDoc,e.newSelection,i,(o,s)=>s.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:ge.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),a=this.changes(n.changes),i=[n.range],o=xo(n.effects);for(let s=1;so.spec.fromJSON(s,l)))}}return Et.create({doc:e.doc,selection:ge.fromJSON(e.selection),extensions:t.extensions?a.concat([t.extensions]):a})}static create(e={}){let t=Zc.resolve(e.extensions||[],new Map),n=e.doc instanceof Ct?e.doc:Ct.of((e.doc||"").split(t.staticFacet(Et.lineSeparator)||zp)),a=e.selection?e.selection instanceof ge?e.selection:ge.single(e.selection.anchor,e.selection.head):ge.single(0);return KE(a,n.length),t.staticFacet(JE)||(a=a.asSingle()),new Et(t,n,a,t.dynamicSlots.map(()=>null),(i,o)=>o.create(i),null)}get tabSize(){return this.facet(Et.tabSize)}get lineBreak(){return this.facet(Et.lineSeparator)||` +`}get readOnly(){return this.facet(ay)}phrase(e,...t){for(let n of this.facet(Et.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,a)=>{if(a=="$")return"$";let i=+(a||1);return!i||i>t.length?n:t[i-1]})),e}languageDataAt(e,t,n=-1){let a=[];for(let i of this.facet(jE))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&a.push(o[e]);return a}charCategorizer(e){return kx(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:a}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,s=e-n;for(;o>0;){let l=Fn(t,o,!1);if(i(t.slice(l,o))!=jt.Word)break;o=l}for(;sr.length?r[0]:4});Et.lineSeparator=ey;Et.readOnly=ay;Et.phrases=Ue.define({compare(r,e){let t=Object.keys(r),n=Object.keys(e);return t.length==n.length&&t.every(a=>r[a]==e[a])}});Et.languageData=jE;Et.changeFilter=ty;Et.transactionFilter=ny;Et.transactionExtender=ry;wr.reconfigure=dt.define();function qa(r,e,t={}){let n={};for(let a of r)for(let i of Object.keys(a)){let o=a[i],s=n[i];if(s===void 0)n[i]=o;else if(!(s===o||o===void 0))if(Object.hasOwnProperty.call(t,i))n[i]=t[i](s,o);else throw new Error("Config merge conflict for field "+i)}for(let a in e)n[a]===void 0&&(n[a]=e[a]);return n}class Ji{eq(e){return this==e}range(e,t=e){return dl.create(e,t,this)}}Ji.prototype.startSide=Ji.prototype.endSide=0;Ji.prototype.point=!1;Ji.prototype.mapMode=bn.TrackDel;class dl{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new dl(e,t,n)}}function eg(r,e){return r.from-e.from||r.value.startSide-e.value.startSide}class b0{constructor(e,t,n,a){this.from=e,this.to=t,this.value=n,this.maxPoint=a}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,a=0){let i=n?this.to:this.from;for(let o=a,s=i.length;;){if(o==s)return o;let l=o+s>>1,c=i[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==o)return c>=0?o:s;c>=0?s=l:o=l+1}}between(e,t,n,a){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i_||p==_&&c.startSide>0&&c.endSide<=0)continue;(_-p||c.endSide-c.startSide)<0||(o<0&&(o=p),c.point&&(s=Math.max(s,_-p)),n.push(c),a.push(p-o),i.push(_-o))}return{mapped:n.length?new b0(a,i,n,s):null,pos:o}}}class Ft{constructor(e,t,n,a){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=a}static create(e,t,n,a){return new Ft(e,t,n,a)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:a=0,filterTo:i=this.length}=e,o=e.filter;if(t.length==0&&!o)return this;if(n&&(t=t.slice().sort(eg)),this.isEmpty)return t.length?Ft.of(t):this;let s=new sy(this,null,-1).goto(0),l=0,c=[],u=new eo;for(;s.value||l=0){let h=t[l++];u.addInner(h.from,h.to,h.value)||c.push(h)}else s.rangeIndex==1&&s.chunkIndexthis.chunkEnd(s.chunkIndex)||is.to||i=i&&e<=i+o.length&&o.between(i,e-i,t-i,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return hl.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return hl.from(e).goto(t)}static compare(e,t,n,a,i=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=i),s=t.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=i),l=b1(o,s,n),c=new ks(o,l,i),u=new ks(s,l,i);n.iterGaps((h,p,_)=>S1(c,h,u,p,_,a)),n.empty&&n.length==0&&S1(c,0,u,0,0,a)}static eq(e,t,n=0,a){a==null&&(a=1e9-1);let i=e.filter(u=>!u.isEmpty&&t.indexOf(u)<0),o=t.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(i.length!=o.length)return!1;if(!i.length)return!0;let s=b1(i,o),l=new ks(i,s,0).goto(n),c=new ks(o,s,0).goto(n);for(;;){if(l.to!=c.to||!tg(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>a)return!0;l.next(),c.next()}}static spans(e,t,n,a,i=-1){let o=new ks(e,null,i).goto(t),s=t,l=o.openStart;for(;;){let c=Math.min(o.to,n);if(o.point){let u=o.activeForPoint(o.to),h=o.pointFroms&&(a.span(s,c,o.active,l),l=o.openEnd(c));if(o.to>n)return l+(o.point&&o.to>n?1:0);s=o.to,o.next()}}static of(e,t=!1){let n=new eo;for(let a of e instanceof dl?[e]:t?Nx(e):e)n.add(a.from,a.to,a.value);return n.finish()}}Ft.empty=new Ft([],[],null,-1);function Nx(r){if(r.length>1)for(let e=r[0],t=1;t0)return r.slice().sort(eg);e=n}return r}Ft.empty.nextLayer=Ft.empty;class eo{finishChunk(e){this.chunks.push(new b0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eo)).add(e,t,n)}addInner(e,t,n){let a=e-this.lastTo||n.startSide-this.last.endSide;if(a<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return a<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Ft.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Ft.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function b1(r,e,t){let n=new Map;for(let i of r)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&a.push(new sy(o,t,n,i));return a.length==1?a[0]:new hl(a)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)Cd(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Cd(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Cd(this.heap,0)}}}function Cd(r,e){for(let t=r[e];;){let n=(e<<1)+1;if(n>=r.length)break;let a=r[n];if(n+1=0&&(a=r[n+1],n++),t.compare(a)<0)break;r[n]=t,r[e]=a,e=n}}class ks{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=hl.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){sc(this.active,e),sc(this.activeTo,e),sc(this.activeRank,e),this.minActive=O1(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:a,rank:i}=this.cursor;for(;t-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>e){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),n&&sc(n,a)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let i=this.cursor.value;if(!i.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[a]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function S1(r,e,t,n,a,i){r.goto(e),t.goto(n);let o=n+a,s=n,l=n-e;for(;;){let c=r.to+l-t.to||r.endSide-t.endSide,u=c<0?r.to+l:t.to,h=Math.min(u,o);if(r.point||t.point?r.point&&t.point&&(r.point==t.point||r.point.eq(t.point))&&tg(r.activeForPoint(r.to),t.activeForPoint(t.to))||i.comparePoint(s,h,r.point,t.point):h>s&&!tg(r.active,t.active)&&i.compareRange(s,h,r.active,t.active),u>o)break;s=u,c<=0&&r.next(),c>=0&&t.next()}}function tg(r,e){if(r.length!=e.length)return!1;for(let t=0;t=e;n--)r[n+1]=r[n];r[e]=t}function O1(r,e){let t=-1,n=1e9;for(let a=0;a=e)return a;if(a==r.length)break;i+=r.charCodeAt(a)==9?t-i%t:1,a=Fn(r,a)}return n===!0?-1:r.length}const ng="ͼ",v1=typeof Symbol>"u"?"__"+ng:Symbol.for(ng),rg=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),E1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Si{constructor(e,t){this.rules=[];let{finish:n}=t||{};function a(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function i(o,s,l,c){let u=[],h=/^@(\w+)\b/.exec(o[0]),p=h&&h[1]=="keyframes";if(h&&s==null)return l.push(o[0]+";");for(let _ in s){let b=s[_];if(/&/.test(_))i(_.split(/,\s*/).map(A=>o.map(I=>A.replace(/&/,I))).reduce((A,I)=>A.concat(I)),b,l);else if(b&&typeof b=="object"){if(!h)throw new RangeError("The value of a property ("+_+") should be a primitive value.");i(a(_),b,u,p)}else b!=null&&u.push(_.replace(/_.*/,"").replace(/[A-Z]/g,A=>"-"+A.toLowerCase())+": "+b+";")}(u.length||p)&&l.push((n&&!h&&!c?o.map(n):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in e)i(a(o),e[o],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=E1[v1]||1;return E1[v1]=e+1,ng+e.toString(36)}static mount(e,t){(e[rg]||new xx(e)).mount(Array.isArray(t)?t:[t])}}let y1=new Map;class xx{constructor(e){let t=e.ownerDocument||e,n=t.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let a=y1.get(t);if(a)return e.adoptedStyleSheets=[a.sheet,...e.adoptedStyleSheets],e[rg]=a;this.sheet=new n.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],y1.set(t,this)}else{this.styleTag=t.createElement("style");let a=e.head||e;a.insertBefore(this.styleTag,a.firstChild)}this.modules=[],e[rg]=this}mount(e){let t=this.sheet,n=0,a=0;for(let i=0;i-1&&(this.modules.splice(s,1),a--,s=-1),s==-1){if(this.modules.splice(a++,0,o),t)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Mx=typeof navigator<"u"&&/Mac/.test(navigator.platform),Lx=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Nn=0;Nn<10;Nn++)Oi[48+Nn]=Oi[96+Nn]=String(Nn);for(var Nn=1;Nn<=24;Nn++)Oi[Nn+111]="F"+Nn;for(var Nn=65;Nn<=90;Nn++)Oi[Nn]=String.fromCharCode(Nn+32),fl[Nn]=String.fromCharCode(Nn);for(var Rd in Oi)fl.hasOwnProperty(Rd)||(fl[Rd]=Oi[Rd]);function Px(r){var e=Mx&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||Lx&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?fl:Oi)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function Jc(r){let e;return r.nodeType==11?e=r.getSelection?r:r.ownerDocument:e=r,e.getSelection()}function ag(r,e){return e?r==e||r.contains(e.nodeType!=1?e.parentNode:e):!1}function Bx(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function kc(r,e){if(!e.anchorNode)return!1;try{return ag(r,e.anchorNode)}catch{return!1}}function ml(r){return r.nodeType==3?to(r,0,r.nodeValue.length).getClientRects():r.nodeType==1?r.getClientRects():[]}function eu(r,e,t,n){return t?T1(r,e,t,n,-1)||T1(r,e,t,n,1):!1}function tu(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e}function T1(r,e,t,n,a){for(;;){if(r==t&&e==n)return!0;if(e==(a<0?0:vi(r))){if(r.nodeName=="DIV")return!1;let i=r.parentNode;if(!i||i.nodeType!=1)return!1;e=tu(r)+(a<0?0:1),r=i}else if(r.nodeType==1){if(r=r.childNodes[e+(a<0?-1:0)],r.nodeType==1&&r.contentEditable=="false")return!1;e=a<0?vi(r):0}else return!1}}function vi(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function S0(r,e){let t=e?r.left:r.right;return{left:t,right:t,top:r.top,bottom:r.bottom}}function Yx(r){return{left:0,right:r.innerWidth,top:0,bottom:r.innerHeight}}function Fx(r,e,t,n,a,i,o,s){let l=r.ownerDocument,c=l.defaultView||window;for(let u=r,h=!1;u&&!h;)if(u.nodeType==1){let p,_=u==l.body;if(_)p=Yx(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(h=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let I=u.getBoundingClientRect();p={left:I.left,right:I.left+u.clientWidth,top:I.top,bottom:I.top+u.clientHeight}}let b=0,A=0;if(a=="nearest")e.top0&&e.bottom>p.bottom+A&&(A=e.bottom-p.bottom+A+o)):e.bottom>p.bottom&&(A=e.bottom-p.bottom+o,t<0&&e.top-A0&&e.right>p.right+b&&(b=e.right-p.right+b+i)):e.right>p.right&&(b=e.right-p.right+i,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class $x{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?vi(t):0),n,Math.min(e.focusOffset,n?vi(n):0))}set(e,t,n,a){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=a}}let To=null;function ly(r){if(r.setActive)return r.setActive();if(To)return r.focus(To);let e=[];for(let t=r;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(r.focus(To==null?{get preventScroll(){return To={preventScroll:!0},!0}}:void 0),!To){To=!1;for(let t=0;tMath.max(1,r.scrollHeight-r.clientHeight-4)}class Xn{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new Xn(e.parentNode,tu(e),t)}static after(e,t){return new Xn(e.parentNode,tu(e)+1,t)}}const O0=[];class Ht{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let n=this.dom,a=null,i;for(let o of this.children){if(o.flags&7){if(!o.dom&&(i=a?a.nextSibling:n.firstChild)){let s=Ht.get(i);(!s||!s.parent&&s.canReuseDOM(o))&&o.reuseDOM(i)}o.sync(e,t),o.flags&=-8}if(i=a?a.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&i!=o.dom&&(t.written=!0),o.dom.parentNode==n)for(;i&&i!=o.dom;)i=R1(i);else n.insertBefore(o.dom,i);a=o.dom}for(i=a?a.nextSibling:n.firstChild,i&&t&&t.node==n&&(t.written=!0);i;)i=R1(i)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,t),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let a=vi(e)==0?0:t==0?-1:1;for(;;){let i=e.parentNode;if(i==this.dom)break;a==0&&i.firstChild!=i.lastChild&&(e==i.firstChild?a=-1:a=1),e=i}a<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Ht.get(n);)n=n.nextSibling;if(!n)return this.length;for(let a=0,i=0;;a++){let o=this.children[a];if(o.dom==n)return i;i+=o.length+o.breakAfter}}domBoundsAround(e,t,n=0){let a=-1,i=-1,o=-1,s=-1;for(let l=0,c=n,u=n;lt)return h.domBoundsAround(e,t,c);if(p>=e&&a==-1&&(a=l,i=c),c>t&&h.dom.parentNode==this.dom){o=l,s=u;break}u=p,c=p+h.breakAfter}return{from:i,to:s<0?n+this.length:s,startDOM:(a?this.children[a-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=O0){this.markDirty();for(let a=e;athis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function hy(r,e,t,n,a,i,o,s,l){let{children:c}=r,u=c.length?c[e]:null,h=i.length?i[i.length-1]:null,p=h?h.breakAfter:o;if(!(e==n&&u&&!o&&!p&&i.length<2&&u.merge(t,a,i.length?h:null,t==0,s,l))){if(n0&&(!o&&i.length&&u.merge(t,u.length,i[0],!1,s,0)?u.breakAfter=i.shift().breakAfter:(ti)&&this.lineBreak(),a=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,o=1,s;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(s=a.exec(t))&&(i=s.index,o=s[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),o>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=o-1);n=i+o}}readNode(e){if(e.cmIgnore)return;let t=Ht.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let a=n.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function w1(r){return r.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(r.nodeName)}class A1{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}let gr=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},ig=typeof document<"u"?document:{documentElement:{style:{}}};const og=/Edge\/(\d+)/.exec(gr.userAgent),py=/MSIE \d/.test(gr.userAgent),sg=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(gr.userAgent),Lu=!!(py||sg||og),I1=!Lu&&/gecko\/(\d+)/i.test(gr.userAgent),wd=!Lu&&/Chrome\/(\d+)/.exec(gr.userAgent),k1="webkitFontSmoothing"in ig.documentElement.style,gy=!Lu&&/Apple Computer/.test(gr.vendor),N1=gy&&(/Mobile\/\w+/.test(gr.userAgent)||gr.maxTouchPoints>2);var Fe={mac:N1||/Mac/.test(gr.platform),windows:/Win/.test(gr.platform),linux:/Linux|X11/.test(gr.platform),ie:Lu,ie_version:py?ig.documentMode||6:sg?+sg[1]:og?+og[1]:0,gecko:I1,gecko_version:I1?+(/Firefox\/(\d+)/.exec(gr.userAgent)||[0,0])[1]:0,chrome:!!wd,chrome_version:wd?+wd[1]:0,ios:N1,android:/Android\b/.test(gr.userAgent),webkit:k1,safari:gy,webkit_version:k1?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:ig.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Qx=256;class va extends Ht{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,n){return this.flags&8||n&&(!(n instanceof va)||this.length-(t-e)+n.length>Qx||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new va(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Xn(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Hx(this.dom,e,t)}}class Fa extends Ht{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let a of t)a.setParent(this)}setAttrs(e){if(cy(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,a,i,o){return n&&(!(n instanceof Fa&&n.mark.eq(this.mark))||e&&i<=0||te&&t.push(n=e&&(a=i),n=l,i++}let o=this.length-e;return this.length=e,a>-1&&(this.children.length=a,this.markDirty()),new Fa(this.mark,t,o)}domAtPos(e){return _y(this,e)}coordsAt(e,t){return Sy(this,e,t)}}function Hx(r,e,t){let n=r.nodeValue.length;e>n&&(e=n);let a=e,i=e,o=0;e==0&&t<0||e==n&&t>=0?Fe.chrome||Fe.gecko||(e?(a--,o=1):i=0)?0:s.length-1];return Fe.safari&&!o&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),o?S0(l,o<0):l||null}class Gi extends Ht{constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}static create(e,t,n){return new Gi(e,t,n)}split(e){let t=Gi.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,n,a,i,o){return n&&(!(n instanceof Gi)||!this.widget.compare(n.widget)||e>0&&i<=0||t0)?Xn.before(this.dom):Xn.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let a=this.dom.getClientRects(),i=null;if(!a.length)return null;let o=this.side?this.side<0:e>0;for(let s=o?a.length-1:0;i=a[s],!(e>0?s==0:s==a.length-1||i.top0?Xn.before(this.dom):Xn.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Ct.empty}get isHidden(){return!0}}va.prototype.children=Gi.prototype.children=Vo.prototype.children=O0;function _y(r,e){let t=r.dom,{children:n}=r,a=0;for(let i=0;ai&&e0;i--){let o=n[i-1];if(o.dom.parentNode==t)return o.domAtPos(o.length)}for(let i=a;i0&&e instanceof Fa&&a.length&&(n=a[a.length-1])instanceof Fa&&n.mark.eq(e.mark)?by(n,e.children[0],t-1):(a.push(e),e.setParent(r)),r.length+=e.length}function Sy(r,e,t){let n=null,a=-1,i=null,o=-1;function s(c,u){for(let h=0,p=0;h=u&&(_.children.length?s(_,u-p):(!i||i.isHidden&&t>0)&&(b>u||p==b&&_.getSide()>0)?(i=_,o=u-p):(p-1?1:0)!=a.length-(t&&a.indexOf(t)>-1?1:0))return!1;for(let i of n)if(i!=t&&(a.indexOf(i)==-1||r[i]!==e[i]))return!1;return!0}function cg(r,e,t){let n=null;if(e)for(let a in e)t&&a in t||r.removeAttribute(n=a);if(t)for(let a in t)e&&e[a]==t[a]||r.setAttribute(n=a,t[a]);return!!n}function zx(r){let e=Object.create(null);for(let t=0;t0?3e8:-4e8:t>0?1e8:-1e8,new Ei(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,a;if(e.isBlockGap)n=-5e8,a=4e8;else{let{start:i,end:o}=Oy(e,t);n=(i?t?-3e8:-1:5e8)-1,a=(o?t?2e8:1:-6e8)+1}return new Ei(e,n,a,t,e.widget||null,!0)}static line(e){return new $l(e)}static set(e,t=!1){return Ft.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}tt.none=Ft.empty;class Ul extends tt{constructor(e){let{start:t,end:n}=Oy(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof Ul&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&v0(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Ul.prototype.point=!1;class $l extends tt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof $l&&this.spec.class==e.spec.class&&v0(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}$l.prototype.mapMode=bn.TrackBefore;$l.prototype.point=!0;class Ei extends tt{constructor(e,t,n,a,i,o){super(t,n,i,e),this.block=a,this.isReplace=o,this.mapMode=a?t<=0?bn.TrackBefore:bn.TrackAfter:bn.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Ei&&Wx(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}Ei.prototype.point=!0;function Oy(r,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=r;return t==null&&(t=r.inclusive),n==null&&(n=r.inclusive),{start:t??e,end:n??e}}function Wx(r,e){return r==e||!!(r&&e&&r.compare(e))}function ug(r,e,t,n=0){let a=t.length-1;a>=0&&t[a]+n>=r?t[a]=Math.max(t[a],e):t.push(r,e)}class Wn extends Ht{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,a,i,o){if(n){if(!(n instanceof Wn))return!1;this.dom||n.transferDOM(this)}return a&&this.setDeco(n?n.attrs:null),fy(this,e,t,n?n.children:[],i,o),!0}split(e){let t=new Wn;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:a}=this.childPos(e);a&&(t.append(this.children[n].split(a),0),this.children[n].merge(a,this.children[n].length,null,!1,0,0),n++);for(let i=n;i0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){v0(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){by(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=lg(t,this.attrs||{})),n&&(this.attrs=lg({class:n},this.attrs||{}))}domAtPos(e){return _y(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;this.dom?this.flags&4&&(cy(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(cg(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let a=this.dom.lastChild;for(;a&&Ht.get(a)instanceof Fa;)a=a.lastChild;if(!a||!this.length||a.nodeName!="BR"&&((n=Ht.get(a))===null||n===void 0?void 0:n.isEditable)==!1&&(!Fe.ios||!this.children.some(i=>i instanceof va))){let i=document.createElement("BR");i.cmIgnore=!0,this.dom.appendChild(i)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof va)||/[^ -~]/.test(n.text))return null;let a=ml(n.dom);if(a.length!=1)return null;e+=a[0].width,t=a[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=Sy(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:a}=this.parent.view.viewState,i=n.bottom-n.top;if(Math.abs(i-a.lineHeight)<2&&a.textHeight=t){if(i instanceof Wn)return i;if(o>t)break}a=o+i.breakAfter}return null}}class Wi extends Ht{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,a,i,o){return n&&(!(n instanceof Wi)||!this.widget.compare(n.widget)||e>0&&i<=0||t0;){if(this.textOff==this.text.length){let{value:i,lineBreak:o,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=i,this.textOff=0}let a=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(cc(new va(this.text.slice(this.textOff,this.textOff+a)),t),n),this.atCursorPos=!0,this.textOff+=a,e-=a,n=0}}span(e,t,n,a){this.buildText(t-e,n,a),this.pos=t,this.openStart<0&&(this.openStart=a)}point(e,t,n,a,i,o){if(this.disallowBlockEffectsFor[o]&&n instanceof Ei){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let s=t-e;if(n instanceof Ei)if(n.block){let{type:l}=n;l==on.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Wi(n.widget||new x1("div"),s,l))}else{let l=Gi.create(n.widget||new x1("span"),s,s?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&i<=a.length&&(e0),u=!l.isEditable&&(ea.length||n.startSide<=0),h=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(a),c&&(h.append(cc(new Vo(1),a),i),i=a.length+Math.max(0,i-a.length)),h.append(cc(l,a),i),this.atCursorPos=u,this.pendingBuffer=u?ea.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=a.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);s&&(this.textOff+s<=this.text.length?this.textOff+=s:(this.skip+=s-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}static build(e,t,n,a,i){let o=new js(e,t,n,i);return o.openEnd=Ft.spans(a,t,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function cc(r,e){for(let t of e)r=new Fa(t,[r],r.length);return r}class x1 extends Qa{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const vy=Ue.define(),Ey=Ue.define(),yy=Ue.define(),Ty=Ue.define(),dg=Ue.define(),Cy=Ue.define(),Ry=Ue.define(),wy=Ue.define({combine:r=>r.some(e=>e)}),Ay=Ue.define({combine:r=>r.some(e=>e)});class nu{constructor(e,t="nearest",n="nearest",a=5,i=5){this.range=e,this.y=t,this.x=n,this.yMargin=a,this.xMargin=i}map(e){return e.empty?this:new nu(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const M1=dt.define({map:(r,e)=>r.map(e)});function xr(r,e,t){let n=r.facet(Ty);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Pu=Ue.define({combine:r=>r.length?r[0]:!0});let Xx=0;const qs=Ue.define();class xn{constructor(e,t,n,a){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=a(this)}static define(e,t){const{eventHandlers:n,provide:a,decorations:i}=t||{};return new xn(Xx++,e,n,o=>{let s=[qs.of(o)];return i&&s.push(pl.of(l=>{let c=l.plugin(o);return c?i(c):tt.none})),a&&s.push(a(o)),s})}static fromClass(e,t){return xn.define(n=>new e(n),t)}}class Ad{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(xr(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){xr(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){xr(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Iy=Ue.define(),E0=Ue.define(),pl=Ue.define(),y0=Ue.define(),ky=Ue.define();function Ny(r){let e=0,t=0,n=0,a=0;for(let i of r.state.facet(ky)){let o=i(r);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(t=Math.max(t,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(a=Math.max(a,o.bottom)))}return{left:e,right:t,top:n,bottom:a}}const Qs=Ue.define();class Mr{constructor(e,t,n,a){this.fromA=e,this.toA=t,this.fromB=n,this.toB=a}join(e){return new Mr(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let a=e[t-1];if(!(a.fromA>n.toA)){if(a.toAu)break;i+=2}if(!l)return n;new Mr(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),o=l.toA,s=l.toB}}}class ru{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=_n.empty(this.startState.doc.length);for(let i of n)this.changes=this.changes.compose(i.changes);let a=[];this.changes.iterChangedRanges((i,o,s,l)=>a.push(new Mr(i,o,s,l))),this.changedRanges=a}static create(e,t,n){return new ru(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var Jt=function(r){return r[r.LTR=0]="LTR",r[r.RTL=1]="RTL",r}(Jt||(Jt={}));const hg=Jt.LTR,Kx=Jt.RTL;function Dy(r){let e=[];for(let t=0;t=t){if(s.level==n)return o;(i<0||(a!=0?a<0?s.fromt:e[i].level>s.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}const an=[];function tM(r,e){let t=r.length,n=e==hg?1:2,a=e==hg?2:1;if(!r||n==1&&!eM.test(r))return xy(t);for(let o=0,s=n,l=n;o=0;p-=3)if(ca[p+1]==-u){let _=ca[p+2],b=_&2?n:_&4?_&1?a:n:0;b&&(an[o]=an[ca[p]]=b),s=p;break}}else{if(ca.length==189)break;ca[s++]=o,ca[s++]=c,ca[s++]=l}else if((h=an[o])==2||h==1){let p=h==n;l=p?0:1;for(let _=s-3;_>=0;_-=3){let b=ca[_+2];if(b&2)break;if(p)ca[_+2]|=2;else{if(b&4)break;ca[_+2]|=4}}}for(let o=0;os;){let u=c,h=an[--c]!=2;for(;c>s&&h==(an[c-1]!=2);)c--;i.push(new Lo(c,u,h?2:1))}else i.push(new Lo(s,o,0))}else for(let o=0;o0&&t.length&&(t.every(({fromA:s,toA:l})=>lthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let n=this.view.inputState.composing<0?null:aM(this.view,e.changes);if(this.hasComposition){this.markedForComposition.clear();let{from:s,to:l}=this.hasComposition;t=new Mr(s,l,e.changes.mapPos(s,-1),e.changes.mapPos(l,1)).addToSet(t.slice())}this.hasComposition=n?{from:n.range.fromB,to:n.range.toB}:null,(Fe.ie||Fe.chrome)&&!n&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,i=this.updateDeco(),o=sM(a,i,e.changes);return t=Mr.extendWithRanges(t,o),!(this.flags&7)&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length,n),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:a}=this.view;a.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let o=Fe.chrome||Fe.ios?{node:a.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,o),this.flags&=-8,o&&(o.written||a.selectionRange.focusNode!=o.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(o=>o.flags&=-9);let i=[];if(this.view.viewport.from||this.view.viewport.to=0?a[o]:null;if(!s)break;let{fromA:l,toA:c,fromB:u,toB:h}=s,p,_,b,A;if(n&&n.range.fromBu){let m=js.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),O=js.build(this.view.state.doc,n.range.toB,h,this.decorations,this.dynamicDecorationMap);_=m.breakAtStart,b=m.openStart,A=O.openEnd;let S=this.compositionView(n);O.breakAtStart?S.breakAfter=1:O.content.length&&S.merge(S.length,S.length,O.content[0],!1,O.openStart,0)&&(S.breakAfter=O.content[0].breakAfter,O.content.shift()),m.content.length&&S.merge(0,0,m.content[m.content.length-1],!0,0,m.openEnd)&&m.content.pop(),p=m.content.concat(S).concat(O.content)}else({content:p,breakAtStart:_,openStart:b,openEnd:A}=js.build(this.view.state.doc,u,h,this.decorations,this.dynamicDecorationMap));let{i:I,off:M}=i.findPos(c,1),{i:U,off:V}=i.findPos(l,-1);hy(this,U,V,I,M,p,_,b,A)}n&&this.fixCompositionDOM(n)}compositionView(e){let t=new va(e.text.nodeValue);t.flags|=8;for(let{deco:a}of e.marks)t=new Fa(a,[t],t.length);let n=new Wn;return n.append(t,0),n}fixCompositionDOM(e){let t=(i,o)=>{o.flags|=8,this.markedForComposition.add(o);let s=Ht.get(i);s!=o&&(s&&(s.dom=null),o.setDOM(i))},n=this.childPos(e.range.fromB,1),a=this.children[n.i];t(e.line,a);for(let i=e.marks.length-1;i>=-1;i--)n=a.childPos(n.off,1),a=a.children[n.i],t(i>=0?e.marks[i].node:e.text,a)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,a=n==this.dom,i=!a&&kc(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(a||t||i))return;let o=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,l=this.domAtPos(s.anchor),c=s.empty?l:this.domAtPos(s.head);if(Fe.gecko&&s.empty&&!this.hasComposition&&rM(l)){let h=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(h,l.node.childNodes[l.offset]||null)),l=c=new Xn(h,0),o=!0}let u=this.view.observer.selectionRange;(o||!u.focusNode||!eu(l.node,l.offset,u.anchorNode,u.anchorOffset)||!eu(c.node,c.offset,u.focusNode,u.focusOffset))&&(this.view.observer.ignore(()=>{Fe.android&&Fe.chrome&&this.dom.contains(u.focusNode)&&lM(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let h=Jc(this.view.root);if(h)if(s.empty){if(Fe.gecko){let p=iM(l.node,l.offset);if(p&&p!=3){let _=Py(l.node,l.offset,p==1?1:-1);_&&(l=new Xn(_,p==1?0:_.nodeValue.length))}}h.collapse(l.node,l.offset),s.bidiLevel!=null&&u.cursorBidiLevel!=null&&(u.cursorBidiLevel=s.bidiLevel)}else if(h.extend){h.collapse(l.node,l.offset);try{h.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();s.anchor>s.head&&([l,c]=[c,l]),p.setEnd(c.node,c.offset),p.setStart(l.node,l.offset),h.removeAllRanges(),h.addRange(p)}i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Xn(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Xn(u.focusNode,u.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=Jc(e.root),{anchorNode:a,anchorOffset:i}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let o=Wn.find(this,t.head);if(!o)return;let s=o.posAtStart;if(t.head==s||t.head==s+o.length)return;let l=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(t.head+t.assoc);n.collapse(u.node,u.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=t.from&&n.collapse(a,i)}nearest(e){for(let t=e;t;){let n=Ht.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;to||e==o&&i.type!=on.WidgetBefore&&i.type!=on.WidgetAfter&&(!a||t==2||this.children[a-1].breakAfter||this.children[a-1].type==on.WidgetBefore&&t>-2))return i.coordsAt(e-o,t);n=o}}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),a=this.children[t];if(!(a instanceof Wn))return null;for(;a.children.length;){let{i:s,off:l}=a.childPos(n,1);for(;;s++){if(s==a.children.length)return null;if((a=a.children[s]).length)break}n=l}if(!(a instanceof va))return null;let i=Fn(a.text,n);if(i==n)return null;let o=to(a.dom,n,i).getClientRects();return!o.length||o[0].top>=o[0].bottom?null:o[0]}measureVisibleLineHeights(e){let t=[],{from:n,to:a}=e,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==Jt.LTR;for(let c=0,u=0;ua)break;if(c>=n){let _=h.dom.getBoundingClientRect();if(t.push(_.height),o){let b=h.dom.lastChild,A=b?ml(b):[];if(A.length){let I=A[A.length-1],M=l?I.right-_.left:_.right-I.left;M>s&&(s=M,this.minWidth=i,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+h.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?Jt.RTL:Jt.LTR}measureTextSize(){for(let i of this.children)if(i instanceof Wn){let o=i.measureTextSize();if(o)return o}let e=document.createElement("div"),t,n,a;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=ml(e.firstChild)[0];t=e.getBoundingClientRect().height,n=i?i.width/27:7,a=i?i.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:a}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new dy(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,a=0;;a++){let i=a==t.viewports.length?null:t.viewports[a],o=i?i.from-1:this.length;if(o>n){let s=t.lineBlockAt(o).bottom-t.lineBlockAt(n).top;e.push(tt.replace({widget:new P1(s),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return tt.set(e)}updateDeco(){let e=this.view.state.facet(pl).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),a;if(!n)return;!t.empty&&(a=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,a.left),top:Math.min(n.top,a.top),right:Math.max(n.right,a.right),bottom:Math.max(n.bottom,a.bottom)});let i=Ny(this.view),o={left:n.left-i.left,top:n.top-i.top,right:n.right+i.right,bottom:n.bottom+i.bottom};Fx(this.view.scrollDOM,o,t.head-1)return null;o+=h.text.length}if(s=s.parentNode,!s)return null;let l=Ht.get(s);if(l){a=i=l.posAtStart+o;break}}return{from:a,to:i,node:t}}function aM(r,e){let t=Ly(r);if(!t)return null;let{from:n,to:a,node:i}=t,o=e.mapPos(n,-1),s=e.mapPos(a,1),l=i.nodeValue;if(/[\n\r]/.test(l))return null;if(s-o!=l.length){let p=e.mapPos(n,1),_=e.mapPos(a,-1);if(_-p==l.length)o=p,s=_;else if(r.state.doc.sliceString(s-l.length,s)==l)o=s-l.length;else if(r.state.doc.sliceString(o,o+l.length)==l)s=o+l.length;else return null}let{main:c}=r.state.selection;if(r.state.doc.sliceString(o,s)!=l||o>c.head||s0)n=n.childNodes[a-1],a=vi(n);else break}if(t>=0)for(let n=r,a=e;;){if(n.nodeType==3)return n;if(n.nodeType==1&&a=0)n=n.childNodes[a],a=0;else break}return null}function iM(r,e){return r.nodeType!=1?0:(e&&r.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let c=Fn(a.text,o,!1);if(n(a.text.slice(c,o))!=l)break;o=c}for(;sr?e.left-r:Math.max(0,r-e.right)}function dM(r,e){return e.top>r?e.top-r:Math.max(0,r-e.bottom)}function Id(r,e){return r.tope.top+1}function B1(r,e){return er.bottom?{top:r.top,left:r.left,right:r.right,bottom:e}:r}function mg(r,e,t){let n,a,i,o,s=!1,l,c,u,h;for(let b=r.firstChild;b;b=b.nextSibling){let A=ml(b);for(let I=0;IV||o==V&&i>U){n=b,a=M,i=U,o=V;let m=V?t0?I0)}U==0?t>M.bottom&&(!u||u.bottomM.top)&&(c=b,h=M):u&&Id(u,M)?u=Y1(u,M.bottom):h&&Id(h,M)&&(h=B1(h,M.top))}}if(u&&u.bottom>=t?(n=l,a=u):h&&h.top<=t&&(n=c,a=h),!n)return{node:r,offset:0};let p=Math.max(a.left,Math.min(a.right,e));if(n.nodeType==3)return F1(n,p,t);if(s&&n.contentEditable!="false")return mg(n,p,t);let _=Array.prototype.indexOf.call(r.childNodes,n)+(e>=(a.left+a.right)/2?1:0);return{node:r,offset:_}}function F1(r,e,t){let n=r.nodeValue.length,a=-1,i=1e9,o=0;for(let s=0;st?u.top-t:t-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&h=(u.left+u.right)/2,_=p;if((Fe.chrome||Fe.gecko)&&to(r,s).getBoundingClientRect().left==u.right&&(_=!p),h<=0)return{node:r,offset:s+(_?1:0)};a=s+(_?1:0),i=h}}}return{node:r,offset:a>-1?a:o>0?r.nodeValue.length:0}}function By(r,e,t,n=-1){var a,i;let o=r.contentDOM.getBoundingClientRect(),s=o.top+r.viewState.paddingTop,l,{docHeight:c}=r.viewState,{x:u,y:h}=e,p=h-s;if(p<0)return 0;if(p>c)return r.state.doc.length;for(let m=r.viewState.heightOracle.textHeight/2,O=!1;l=r.elementAtHeight(p),l.type!=on.Text;)for(;p=n>0?l.bottom+m:l.top-m,!(p>=0&&p<=c);){if(O)return t?null:0;O=!0,n=-n}h=s+p;let _=l.from;if(_r.viewport.to)return r.viewport.to==r.state.doc.length?r.state.doc.length:t?null:U1(r,o,l,u,h);let b=r.dom.ownerDocument,A=r.root.elementFromPoint?r.root:b,I=A.elementFromPoint(u,h);I&&!r.contentDOM.contains(I)&&(I=null),I||(u=Math.max(o.left+1,Math.min(o.right-1,u)),I=A.elementFromPoint(u,h),I&&!r.contentDOM.contains(I)&&(I=null));let M,U=-1;if(I&&((a=r.docView.nearest(I))===null||a===void 0?void 0:a.isEditable)!=!1){if(b.caretPositionFromPoint){let m=b.caretPositionFromPoint(u,h);m&&({offsetNode:M,offset:U}=m)}else if(b.caretRangeFromPoint){let m=b.caretRangeFromPoint(u,h);m&&({startContainer:M,startOffset:U}=m,(!r.contentDOM.contains(M)||Fe.safari&&hM(M,U,u)||Fe.chrome&&fM(M,U,u))&&(M=void 0))}}if(!M||!r.docView.dom.contains(M)){let m=Wn.find(r.docView,_);if(!m)return p>l.top+l.height/2?l.to:l.from;({node:M,offset:U}=mg(m.dom,u,h))}let V=r.docView.nearest(M);if(!V)return null;if(V.isWidget&&((i=V.dom)===null||i===void 0?void 0:i.nodeType)==1){let m=V.dom.getBoundingClientRect();return e.yr.defaultLineHeight*1.5){let s=r.viewState.heightOracle.textHeight,l=Math.floor((a-t.top-(r.defaultLineHeight-s)*.5)/s);i+=l*r.viewState.heightOracle.lineLength}let o=r.state.sliceDoc(t.from,t.to);return t.from+Dx(o,i,r.state.tabSize)}function hM(r,e,t){let n;if(r.nodeType!=3||e!=(n=r.nodeValue.length))return!1;for(let a=r.nextSibling;a;a=a.nextSibling)if(a.nodeType!=1||a.nodeName!="BR")return!1;return to(r,n-1,n).getBoundingClientRect().left>t}function fM(r,e,t){if(e!=0)return!1;for(let a=r;;){let i=a.parentNode;if(!i||i.nodeType!=1||i.firstChild!=a)return!1;if(i.classList.contains("cm-line"))break;a=i}let n=r.nodeType==1?r.getBoundingClientRect():to(r,0,Math.max(r.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function pg(r,e){let t=r.lineBlockAt(e);if(Array.isArray(t.type)){for(let n of t.type)if(n.to>e||n.to==e&&(n.to==t.to||n.type==on.Text))return n}return t}function mM(r,e,t,n){let a=pg(r,e.head),i=!n||a.type!=on.Text||!(r.lineWrapping||a.widgetLineBreaks)?null:r.coordsAtPos(e.assoc<0&&e.head>a.from?e.head-1:e.head);if(i){let o=r.dom.getBoundingClientRect(),s=r.textDirectionAt(a.from),l=r.posAtCoords({x:t==(s==Jt.LTR)?o.right-1:o.left+1,y:(i.top+i.bottom)/2});if(l!=null)return ge.cursor(l,t?-1:1)}return ge.cursor(t?a.to:a.from,t?-1:1)}function $1(r,e,t,n){let a=r.state.doc.lineAt(e.head),i=r.bidiSpans(a),o=r.textDirectionAt(a.from);for(let s=e,l=null;;){let c=nM(a,i,o,s,t),u=My;if(!c){if(a.number==(t?r.state.doc.lines:1))return s;u=` +`,a=r.state.doc.line(a.number+(t?1:-1)),i=r.bidiSpans(a),c=ge.cursor(t?a.from:a.to)}if(l){if(!l(u))return s}else{if(!n)return c;l=n(u)}s=c}}function pM(r,e,t){let n=r.state.charCategorizer(e),a=n(t);return i=>{let o=n(i);return a==jt.Space&&(a=o),a==o}}function gM(r,e,t,n){let a=e.head,i=t?1:-1;if(a==(t?r.state.doc.length:0))return ge.cursor(a,e.assoc);let o=e.goalColumn,s,l=r.contentDOM.getBoundingClientRect(),c=r.coordsAtPos(a),u=r.documentTop;if(c)o==null&&(o=c.left-l.left),s=i<0?c.top:c.bottom;else{let _=r.viewState.lineBlockAt(a);o==null&&(o=Math.min(l.right-l.left,r.defaultCharacterWidth*(a-_.from))),s=(i<0?_.top:_.bottom)+u}let h=l.left+o,p=n??r.viewState.heightOracle.textHeight>>1;for(let _=0;;_+=10){let b=s+(p+_)*i,A=By(r,{x:h,y:b},!1,i);if(bl.bottom||(i<0?Aa))return ge.cursor(A,e.assoc,void 0,o)}}function Nc(r,e,t){for(;;){let n=0;for(let a of r)a.between(e-1,e+1,(i,o,s)=>{if(e>i&&ea(r)),t.from,e.head>t.from?-1:1);return n==t.from?t:ge.cursor(n,n{this.ignoreDuringComposition(a)||a.type=="keydown"&&this.keydown(e,a)||(this.mustFlushObserver(a)&&e.observer.forceFlush(),this.runCustomHandlers(a.type,e,a)?a.preventDefault():n(e,a))};for(let n in fn){let a=fn[n];e.contentDOM.addEventListener(n,i=>{G1(e,i)&&t(a,i)},gg[n]),this.registeredEvents.push(n)}e.scrollDOM.addEventListener("mousedown",n=>{if(n.target==e.scrollDOM&&n.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(fn.mousedown,n),!n.defaultPrevented&&n.button==2)){let a=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=a,200)}}),e.scrollDOM.addEventListener("drop",n=>{n.target==e.scrollDOM&&n.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(fn.drop,n)}),Fe.chrome&&Fe.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Fe.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var n;let a;this.customHandlers=[];for(let i of t)if(a=(n=i.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:i.value,handlers:a});for(let o in a)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,s=>{G1(e,s)&&this.runCustomHandlers(o,e,s)&&s.preventDefault()}))}}runCustomHandlers(e,t,n){for(let a of this.customHandlers){let i=a.handlers[e];if(i)try{if(i.call(a.plugin,n,t)||n.defaultPrevented)return!0}catch(o){xr(t.state,o)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let a=n.handlers.scroll;if(a)try{a.call(n.plugin,t,e)}catch(i){xr(e.state,i)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()a.keyCode==t.keyCode))&&!t.ctrlKey||bM.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,Mo(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Fe.safari&&!Fe.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const Yy=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],bM="dthko",Fy=[16,17,18,20,91,92,224,225],uc=6;function dc(r){return Math.max(0,r)*.7+8}function SM(r,e){return Math.max(Math.abs(r.clientX-e.clientX),Math.abs(r.clientY-e.clientY))}class OM{constructor(e,t,n,a){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=Ux(e.contentDOM),this.atoms=e.state.facet(y0).map(o=>o(e));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(Et.allowMultipleSelections)&&vM(e,t),this.dragging=yM(e,t)&&qy(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&SM(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,a=0,i=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=Ny(this.view);e.clientX-o.left<=i.left+uc?n=-dc(i.left-e.clientX):e.clientX+o.right>=i.right-uc&&(n=dc(e.clientX-i.right)),e.clientY-o.top<=i.top+uc?a=-dc(i.top-e.clientY):e.clientY+o.bottom>=i.bottom-uc&&(a=dc(e.clientY-i.bottom)),this.setScrollSpeed(n,a)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;nthis.select(this.lastEvent),20)}}function vM(r,e){let t=r.state.facet(vy);return t.length?t[0](e):Fe.mac?e.metaKey:e.ctrlKey}function EM(r,e){let t=r.state.facet(Ey);return t.length?t[0](e):Fe.mac?!e.altKey:!e.ctrlKey}function yM(r,e){let{main:t}=r.state.selection;if(t.empty)return!1;let n=Jc(r.root);if(!n||n.rangeCount==0)return!0;let a=n.getRangeAt(0).getClientRects();for(let i=0;i=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function G1(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=r.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Ht.get(t))&&n.ignoreEvent(e))return!1;return!0}const fn=Object.create(null),gg=Object.create(null),Uy=Fe.ie&&Fe.ie_version<15||Fe.ios&&Fe.webkit_version<604;function TM(r){let e=r.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{r.focus(),t.remove(),$y(r,t.value)},50)}function $y(r,e){let{state:t}=r,n,a=1,i=t.toText(e),o=i.lines==t.selection.ranges.length;if(_g!=null&&t.selection.ranges.every(l=>l.empty)&&_g==i.toString()){let l=-1;n=t.changeByRange(c=>{let u=t.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let h=t.toText((o?i.line(a++).text:e)+t.lineBreak);return{changes:{from:u.from,insert:h},range:ge.cursor(c.from+h.length)}})}else o?n=t.changeByRange(l=>{let c=i.line(a++);return{changes:{from:l.from,to:l.to,insert:c.text},range:ge.cursor(l.from+c.length)}}):n=t.replaceSelection(i);r.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}fn.keydown=(r,e)=>{r.inputState.setSelectionOrigin("select"),e.keyCode==27&&(r.inputState.lastEscPress=Date.now())};fn.touchstart=(r,e)=>{r.inputState.lastTouchTime=Date.now(),r.inputState.setSelectionOrigin("select.pointer")};fn.touchmove=r=>{r.inputState.setSelectionOrigin("select.pointer")};gg.touchstart=gg.touchmove={passive:!0};fn.mousedown=(r,e)=>{if(r.observer.flush(),r.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let n of r.state.facet(yy))if(t=n(r,e),t)break;if(!t&&e.button==0&&(t=wM(r,e)),t){let n=!r.hasFocus;r.inputState.startMouseSelection(new OM(r,e,t,n)),n&&r.observer.ignore(()=>ly(r.contentDOM)),r.inputState.mouseSelection&&r.inputState.mouseSelection.start(e)}};function q1(r,e,t,n){if(n==1)return ge.cursor(e,t);if(n==2)return cM(r.state,e,t);{let a=Wn.find(r.docView,e),i=r.state.doc.lineAt(a?a.posAtEnd:e),o=a?a.posAtStart:i.from,s=a?a.posAtEnd:i.to;return sr>=e.top&&r<=e.bottom,Q1=(r,e,t)=>Gy(e,t)&&r>=t.left&&r<=t.right;function CM(r,e,t,n){let a=Wn.find(r.docView,e);if(!a)return 1;let i=e-a.posAtStart;if(i==0)return 1;if(i==a.length)return-1;let o=a.coordsAt(i,-1);if(o&&Q1(t,n,o))return-1;let s=a.coordsAt(i,1);return s&&Q1(t,n,s)?1:o&&Gy(n,o)?-1:1}function H1(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:CM(r,t,e.clientX,e.clientY)}}const RM=Fe.ie&&Fe.ie_version<=11;let V1=null,z1=0,W1=0;function qy(r){if(!RM)return r.detail;let e=V1,t=W1;return V1=r,W1=Date.now(),z1=!e||t>Date.now()-400&&Math.abs(e.clientX-r.clientX)<2&&Math.abs(e.clientY-r.clientY)<2?(z1+1)%3:1}function wM(r,e){let t=H1(r,e),n=qy(e),a=r.state.selection;return{update(i){i.docChanged&&(t.pos=i.changes.mapPos(t.pos),a=a.map(i.changes))},get(i,o,s){let l=H1(r,i),c,u=q1(r,l.pos,l.bias,n);if(t.pos!=l.pos&&!o){let h=q1(r,t.pos,t.bias,n),p=Math.min(h.from,u.from),_=Math.max(h.to,u.to);u=p1&&(c=AM(a,l.pos))?c:s?a.addRange(u):ge.create([u])}}}function AM(r,e){for(let t=0;t=e)return ge.create(r.ranges.slice(0,t).concat(r.ranges.slice(t+1)),r.mainIndex==t?0:r.mainIndex-(r.mainIndex>t?1:0))}return null}fn.dragstart=(r,e)=>{let{selection:{main:t}}=r.state,{mouseSelection:n}=r.inputState;n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",r.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function X1(r,e,t,n){if(!t)return;let a=r.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:i}=r.inputState,o=n&&i&&i.dragging&&EM(r,e)?{from:i.dragging.from,to:i.dragging.to}:null,s={from:a,insert:t},l=r.state.changes(o?[o,s]:s);r.focus(),r.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:o?"move.drop":"input.drop"})}fn.drop=(r,e)=>{if(!e.dataTransfer)return;if(r.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let n=Array(t.length),a=0,i=()=>{++a==t.length&&X1(r,e,n.filter(o=>o!=null).join(r.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(n[o]=s.result),i()},s.readAsText(t[o])}}else X1(r,e,e.dataTransfer.getData("Text"),!0)};fn.paste=(r,e)=>{if(r.state.readOnly)return e.preventDefault();r.observer.flush();let t=Uy?null:e.clipboardData;t?($y(r,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):TM(r)};function IM(r,e){let t=r.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),r.focus()},50)}function kM(r){let e=[],t=[],n=!1;for(let a of r.selection.ranges)a.empty||(e.push(r.sliceDoc(a.from,a.to)),t.push(a));if(!e.length){let a=-1;for(let{from:i}of r.selection.ranges){let o=r.doc.lineAt(i);o.number>a&&(e.push(o.text),t.push({from:o.from,to:Math.min(r.doc.length,o.to+1)})),a=o.number}n=!0}return{text:e.join(r.lineBreak),ranges:t,linewise:n}}let _g=null;fn.copy=fn.cut=(r,e)=>{let{text:t,ranges:n,linewise:a}=kM(r.state);if(!t&&!a)return;_g=a?t:null;let i=Uy?null:e.clipboardData;i?(e.preventDefault(),i.clearData(),i.setData("text/plain",t)):IM(r,t),e.type=="cut"&&!r.state.readOnly&&r.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};const Qy=Ga.define();function Hy(r,e){let t=[];for(let n of r.facet(Ry)){let a=n(r,e);a&&t.push(a)}return t?r.update({effects:t,annotations:Qy.of(!0)}):null}function Vy(r){setTimeout(()=>{let e=r.hasFocus;if(e!=r.inputState.notifiedFocused){let t=Hy(r.state,e);t?r.dispatch(t):r.update([])}},10)}fn.focus=r=>{r.inputState.lastFocusTime=Date.now(),!r.scrollDOM.scrollTop&&(r.inputState.lastScrollTop||r.inputState.lastScrollLeft)&&(r.scrollDOM.scrollTop=r.inputState.lastScrollTop,r.scrollDOM.scrollLeft=r.inputState.lastScrollLeft),Vy(r)};fn.blur=r=>{r.observer.clearSelectionRange(),Vy(r)};fn.compositionstart=fn.compositionupdate=r=>{r.inputState.compositionFirstChange==null&&(r.inputState.compositionFirstChange=!0),r.inputState.composing<0&&(r.inputState.composing=0)};fn.compositionend=r=>{r.inputState.composing=-1,r.inputState.compositionEndedAt=Date.now(),r.inputState.compositionPendingKey=!0,r.inputState.compositionPendingChange=r.observer.pendingRecords().length>0,r.inputState.compositionFirstChange=null,Fe.chrome&&Fe.android?r.observer.flushSoon():r.inputState.compositionPendingChange?Promise.resolve().then(()=>r.observer.flush()):setTimeout(()=>{r.inputState.composing<0&&r.docView.hasComposition&&r.update([])},50)};fn.contextmenu=r=>{r.inputState.lastContextMenu=Date.now()};fn.beforeinput=(r,e)=>{var t;let n;if(Fe.chrome&&Fe.android&&(n=Yy.find(a=>a.inputType==e.inputType))&&(r.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let a=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var i;(((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0)>a+10&&r.hasFocus&&(r.contentDOM.blur(),r.focus())},100)}};const K1=["pre-wrap","normal","pre-line","break-spaces"];class NM{constructor(e){this.lineWrapping=e,this.doc=Ct.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return K1.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,l=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=t,this.charWidth=n,this.textHeight=a,this.lineLength=i,l){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Dc&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return Kn.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,a){let i=this,o=n.doc;for(let s=a.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:h}=a[s],p=i.lineAt(l,Xt.ByPosNoHeight,n.setDoc(t),0,0),_=p.to>=c?p:i.lineAt(c,Xt.ByPosNoHeight,n,0,0);for(h+=_.to-c,c=_.to;s>0&&p.from<=a[s-1].toA;)l=a[s-1].fromA,u=a[s-1].fromB,s--,li*2){let s=e[t-1];s.break?e.splice(--t,1,s.left,null,s.right):e.splice(--t,1,s.left,s.right),n+=1+s.break,a-=s.size}else if(i>a*2){let s=e[n];s.break?e.splice(n,1,s.left,null,s.right):e.splice(n,1,s.left,s.right),n+=2+s.break,i-=s.size}else break;else if(a=i&&o(this.blockAt(0,n,a,i))}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more&&this.setHeight(e,a.heights[a.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class mr extends zy{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,a){return new pa(a,this.length,n,this.height,this.breaks)}replace(e,t,n){let a=n[0];return n.length==1&&(a instanceof mr||a instanceof In&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof In?a=new mr(a.length,this.height):a.height=this.height,this.outdated||(a.outdated=!1),a):Kn.of(n)}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more?this.setHeight(e,a.heights[a.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class In extends Kn{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,a=e.doc.lineAt(t+this.length).number,i=a-n+1,o,s=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*i);o=l/i,this.length>i+1&&(s=(this.height-l)/(this.length-i-1))}else o=this.height/i;return{firstLine:n,lastLine:a,perLine:o,perChar:s}}blockAt(e,t,n,a){let{firstLine:i,lastLine:o,perLine:s,perChar:l}=this.heightMetrics(t,a);if(t.lineWrapping){let c=a+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),u=t.doc.lineAt(c),h=s+u.length*l,p=Math.max(n,e-h/2);return new pa(u.from,u.length,p,h,0)}else{let c=Math.max(0,Math.min(o-i,Math.floor((e-n)/s))),{from:u,length:h}=t.doc.line(i+c);return new pa(u,h,n+s*c,s,0)}}lineAt(e,t,n,a,i){if(t==Xt.ByHeight)return this.blockAt(e,n,a,i);if(t==Xt.ByPosNoHeight){let{from:_,to:b}=n.doc.lineAt(e);return new pa(_,b-_,0,0,0)}let{firstLine:o,perLine:s,perChar:l}=this.heightMetrics(n,i),c=n.doc.lineAt(e),u=s+c.length*l,h=c.number-o,p=a+s*h+l*(c.from-i-h);return new pa(c.from,c.length,Math.max(a,Math.min(p,a+this.height-u)),u,0)}forEachLine(e,t,n,a,i,o){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:s,perLine:l,perChar:c}=this.heightMetrics(n,i);for(let u=e,h=a;u<=t;){let p=n.doc.lineAt(u);if(u==e){let b=p.number-s;h+=l*b+c*(e-i-b)}let _=l+c*p.length;o(new pa(p.from,p.length,h,_,0)),h+=_,u=p.to+1}}replace(e,t,n){let a=this.length-t;if(a>0){let i=n[n.length-1];i instanceof In?n[n.length-1]=new In(i.length+a):n.push(null,new In(a-1))}if(e>0){let i=n[0];i instanceof In?n[0]=new In(e+i.length):n.unshift(new In(e-1),null)}return Kn.of(n)}decomposeLeft(e,t){t.push(new In(e-1),null)}decomposeRight(e,t){t.push(null,new In(this.length-e-1))}updateHeight(e,t=0,n=!1,a){let i=t+this.length;if(a&&a.from<=t+this.length&&a.more){let o=[],s=Math.max(t,a.from),l=-1;for(a.from>t&&o.push(new In(a.from-t-1).updateHeight(e,t));s<=i&&a.more;){let u=e.doc.lineAt(s).length;o.length&&o.push(null);let h=a.heights[a.index++];l==-1?l=h:Math.abs(h-l)>=Dc&&(l=-2);let p=new mr(u,h);p.outdated=!1,o.push(p),s+=u+1}s<=i&&o.push(null,new In(i-s).updateHeight(e,s));let c=Kn.of(o);return(l<0||Math.abs(c.height-this.height)>=Dc||Math.abs(l-this.heightMetrics(e,t).perLine)>=Dc)&&(e.heightChanged=!0),c}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class xM extends Kn{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,a){let i=n+this.left.height;return es))return c;let u=t==Xt.ByPosNoHeight?Xt.ByPosNoHeight:Xt.ByPos;return l?c.join(this.right.lineAt(s,u,n,o,s)):this.left.lineAt(s,u,n,a,i).join(c)}forEachLine(e,t,n,a,i,o){let s=a+this.left.height,l=i+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,t,n,s,l,o);else{let c=this.lineAt(l,Xt.ByPos,n,a,i);e=e&&c.from<=t&&o(c),t>c.to&&this.right.forEachLine(c.to+1,t,n,s,l,o)}}replace(e,t,n){let a=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-a,t-a,n));let i=[];e>0&&this.decomposeLeft(e,i);let o=i.length;for(let s of n)i.push(s);if(e>0&&Z1(i,o-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,a=n+this.break;if(e>=a)return this.right.decomposeRight(e-a,t);e2*t.size||t.size>2*e.size?Kn.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,a){let{left:i,right:o}=this,s=t+i.length+this.break,l=null;return a&&a.from<=t+i.length&&a.more?l=i=i.updateHeight(e,t,n,a):i.updateHeight(e,t,n),a&&a.from<=s+o.length&&a.more?l=o=o.updateHeight(e,s,n,a):o.updateHeight(e,s,n),l?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Z1(r,e){let t,n;r[e]==null&&(t=r[e-1])instanceof In&&(n=r[e+1])instanceof In&&r.splice(e-1,3,new In(t.length+1+n.length))}const MM=5;class T0{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof mr?a.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new mr(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=MM)&&this.addLineDeco(a,i,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new mr(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new In(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof mr)return e;let t=new mr(0,-1);return this.nodes.push(t),t}addBlock(e){var t;this.enterLine();let n=(t=e.deco)===null||t===void 0?void 0:t.type;n==on.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n!=on.WidgetBefore&&(this.covering=e)}addLineDeco(e,t,n){let a=this.ensureLine();a.length+=n,a.collapsed+=n,a.widgetHeight=Math.max(a.widgetHeight,e),a.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof mr)&&!this.isCovered?this.nodes.push(new mr(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&h.overflow!="visible"){let p=u.getBoundingClientRect();i=Math.max(i,p.left),o=Math.min(o,p.right),s=Math.max(s,p.top),l=c==r.parentNode?p.bottom:Math.min(l,p.bottom)}c=h.position=="absolute"||h.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:i-t.left,right:Math.max(i,o)-t.left,top:s-(t.top+e),bottom:Math.max(s,l)-(t.top+e)}}function YM(r,e){let t=r.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Nd{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new NM(t),this.stateDeco=e.facet(pl).filter(n=>typeof n!="function"),this.heightMap=Kn.empty().applyChanges(this.stateDeco,Ct.empty,this.heightOracle.setDoc(e.doc),[new Mr(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=tt.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let a=n?t.head:t.anchor;if(!e.some(({from:i,to:o})=>a>=i&&a<=o)){let{from:i,to:o}=this.lineBlockAt(a);e.push(new hc(i,o))}}this.viewports=e.sort((n,a)=>n.from-a.from),this.scaler=this.heightMap.height<=7e6?J1:new GM(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Hs(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(pl).filter(u=>typeof u!="function");let a=e.changedRanges,i=Mr.extendWithRanges(a,LM(n,this.stateDeco,e?e.changes:_n.empty(this.state.doc.length))),o=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),this.heightMap.height!=o&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let c=!e.changes.empty||e.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Ay)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),a=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Jt.RTL:Jt.LTR;let o=this.heightOracle.mustRefreshForWrapping(i),s=t.getBoundingClientRect(),l=o||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0,h=parseInt(n.paddingTop)||0,p=parseInt(n.paddingBottom)||0;(this.paddingTop!=h||this.paddingBottom!=p)&&(this.paddingTop=h,this.paddingBottom=p,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8),this.scrollTop!=e.scrollDOM.scrollTop&&(this.scrollAnchorHeight=-1,this.scrollTop=e.scrollDOM.scrollTop),this.scrolledToBottom=uy(e.scrollDOM);let _=(this.printing?YM:BM)(t,this.paddingTop),b=_.top-this.pixelViewport.top,A=_.bottom-this.pixelViewport.bottom;this.pixelViewport=_;let I=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(I!=this.inView&&(this.inView=I,I&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let M=s.width;if((this.contentDOMWidth!=M||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let V=e.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(V)&&(o=!0),o||a.lineWrapping&&Math.abs(M-this.contentDOMWidth)>a.charWidth){let{lineHeight:m,charWidth:O,textHeight:S}=e.docView.measureTextSize();o=m>0&&a.refresh(i,m,O,S,M/O,V),o&&(e.docView.minWidth=0,c|=8)}b>0&&A>0?u=Math.max(b,A):b<0&&A<0&&(u=Math.min(b,A)),a.heightChanged=!1;for(let m of this.viewports){let O=m.from==this.viewport.from?V:e.docView.measureVisibleLineHeights(m);this.heightMap=(o?Kn.empty().applyChanges(this.stateDeco,Ct.empty,this.heightOracle,[new Mr(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(a,0,o,new DM(m.from,O))}a.heightChanged&&(c|=2)}let U=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return U&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(c&2||U)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),a=this.heightMap,i=this.heightOracle,{visibleTop:o,visibleBottom:s}=this,l=new hc(a.lineAt(o-n*1e3,Xt.ByHeight,i,0,0).from,a.lineAt(s+(1-n)*1e3,Xt.ByHeight,i,0,0).to);if(t){let{head:c}=t.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=a.lineAt(c,Xt.ByPos,i,0,0),p;t.y=="center"?p=(h.top+h.bottom)/2-u/2:t.y=="start"||t.y=="nearest"&&c=s+Math.max(10,Math.min(n,250)))&&a>o-2*1e3&&i>1,o=a<<1;if(this.defaultTextDirection!=Jt.LTR&&!n)return[];let s=[],l=(c,u,h,p)=>{if(u-cc&&II.from>=h.from&&I.to<=h.to&&Math.abs(I.from-c)I.fromM));if(!A){if(uI.from<=u&&I.to>=u)){let I=t.moveToLineBoundary(ge.cursor(u),!1,!0).head;I>c&&(u=I)}A=new Nd(c,u,this.gapSize(h,c,u,p))}s.push(A)};for(let c of this.viewportLines){if(c.lengthc.from&&l(c.from,p,c,u),_t.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Ft.spans(e,this.viewport.from,this.viewport.to,{span(a,i){t.push({from:a,to:i})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((a,i)=>a.from!=t[i].from||a.to!=t[i].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Hs(this.heightMap.lineAt(e,Xt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Hs(this.heightMap.lineAt(this.scaler.fromDOM(e),Xt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Hs(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class hc{constructor(e,t){this.from=e,this.to=t}}function UM(r,e,t){let n=[],a=r,i=0;return Ft.spans(t,r,e,{span(){},point(o,s){o>a&&(n.push({from:a,to:o}),i+=o-a),a=s}},20),a=1)return e[e.length-1].to;let n=Math.floor(r*t);for(let a=0;;a++){let{from:i,to:o}=e[a],s=o-i;if(n<=s)return i+n;n-=s}}function mc(r,e){let t=0;for(let{from:n,to:a}of r.ranges){if(e<=a){t+=e-n;break}t+=a-n}return t/r.total}function $M(r,e){for(let t of r)if(e(t))return t}const J1={toDOM(r){return r},fromDOM(r){return r},scale:1};class GM{constructor(e,t,n){let a=0,i=0,o=0;this.viewports=n.map(({from:s,to:l})=>{let c=t.lineAt(s,Xt.ByPos,e,0,0).top,u=t.lineAt(l,Xt.ByPos,e,0,0).bottom;return a+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-a)/(t.height-a);for(let s of this.viewports)s.domTop=o+(s.top-i)*this.scale,o=s.domBottom=s.domTop+(s.bottom-s.top),i=s.bottom}toDOM(e){for(let t=0,n=0,a=0;;t++){let i=tHs(a,e)):r._content)}const pc=Ue.define({combine:r=>r.join(" ")}),bg=Ue.define({combine:r=>r.indexOf(!0)>-1}),Sg=Si.newName(),Wy=Si.newName(),Xy=Si.newName(),Ky={"&light":"."+Wy,"&dark":"."+Xy};function Og(r,e,t){return new Si(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,a=>{if(a=="&")return r;if(!t||!t[a])throw new RangeError(`Unsupported selector: ${a}`);return t[a]}):r+" "+n}})}const qM=Og("."+Sg,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Ky);class QM{constructor(e,t,n,a){this.typeOver=a,this.bounds=null,this.text="";let{impreciseHead:i,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let s=i||o?[]:VM(e),l=new my(s,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=zM(s,this.bounds.from)}else{let s=e.observer.selectionRange,l=i&&i.node==s.focusNode&&i.offset==s.focusOffset||!ag(e.contentDOM,s.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(s.focusNode,s.focusOffset),c=o&&o.node==s.anchorNode&&o.offset==s.anchorOffset||!ag(e.contentDOM,s.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(s.anchorNode,s.anchorOffset);this.newSel=ge.single(c,l)}}}function Zy(r,e){let t,{newSel:n}=e,a=r.state.selection.main,i=r.inputState.lastKeyTime>Date.now()-100?r.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:s}=e.bounds,l=a.from,c=null;(i===8||Fe.android&&e.text.length=a.from&&t.to<=a.to&&(t.from!=a.from||t.to!=a.to)&&a.to-a.from-(t.to-t.from)<=4?t={from:a.from,to:a.to,insert:r.state.doc.slice(a.from,t.from).append(t.insert).append(r.state.doc.slice(t.to,a.to))}:(Fe.mac||Fe.android)&&t&&t.from==t.to&&t.from==a.head-1&&/^\. ?$/.test(t.insert.toString())&&r.contentDOM.getAttribute("autocorrect")=="off"?(n&&t.insert.length==2&&(n=ge.single(n.main.anchor-1,n.main.head-1)),t={from:a.from,to:a.to,insert:Ct.of([" "])}):Fe.chrome&&t&&t.from==t.to&&t.from==a.head&&t.insert.toString()==` + `&&r.lineWrapping&&(n&&(n=ge.single(n.main.anchor-1,n.main.head-1)),t={from:a.from,to:a.to,insert:Ct.of([" "])}),t){let o=r.state;if(Fe.ios&&r.inputState.flushIOSKey(r)||Fe.android&&(t.from==a.from&&t.to==a.to&&t.insert.length==1&&t.insert.lines==2&&Mo(r.contentDOM,"Enter",13)||(t.from==a.from-1&&t.to==a.to&&t.insert.length==0||i==8&&t.insert.lengthu(r,t.from,t.to,s)))return!0;r.inputState.composing>=0&&r.inputState.composing++;let l;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&r.inputState.composing<0){let u=a.fromt.to?o.sliceDoc(t.to,a.to):"";l=o.replaceSelection(r.state.toText(u+t.insert.sliceString(0,void 0,r.state.lineBreak)+h))}else{let u=o.changes(t),h=n&&n.main.to<=u.newLength?n.main:void 0;if(o.selection.ranges.length>1&&r.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){let p=r.state.sliceDoc(t.from,t.to),_=Ly(r)||r.state.doc.lineAt(a.head),b=a.to-t.to,A=a.to-a.from;l=o.changeByRange(I=>{if(I.from==a.from&&I.to==a.to)return{changes:u,range:h||I.map(u)};let M=I.to-b,U=M-p.length;if(I.to-I.from!=A||r.state.sliceDoc(U,M)!=p||_&&I.to>=_.from&&I.from<=_.to)return{range:I};let V=o.changes({from:U,to:M,insert:t.insert}),m=I.to-a.to;return{changes:V,range:h?ge.range(Math.max(0,h.anchor+m),Math.max(0,h.head+m)):I.map(V)}})}else l={changes:u,selection:h&&o.selection.replaceRange(h)}}let c="input.type";return(r.composing||r.inputState.compositionPendingChange&&r.inputState.compositionEndedAt>Date.now()-50)&&(r.inputState.compositionPendingChange=!1,c+=".compose",r.inputState.compositionFirstChange&&(c+=".start",r.inputState.compositionFirstChange=!1)),r.dispatch(l,{scrollIntoView:!0,userEvent:c}),!0}else if(n&&!n.main.eq(a)){let o=!1,s="select";return r.inputState.lastSelectionTime>Date.now()-50&&(r.inputState.lastSelectionOrigin=="select"&&(o=!0),s=r.inputState.lastSelectionOrigin),r.dispatch({selection:n,scrollIntoView:o,userEvent:s}),!0}else return!1}function HM(r,e,t,n){let a=Math.min(r.length,e.length),i=0;for(;i0&&s>0&&r.charCodeAt(o-1)==e.charCodeAt(s-1);)o--,s--;if(n=="end"){let l=Math.max(0,i-Math.min(o,s));t-=o+l-i}if(o=o?i-t:0;i-=l,s=i+(s-o),o=i}else if(s=s?i-t:0;i-=l,o=i+(o-s),s=i}return{from:i,toA:o,toB:s}}function VM(r){let e=[];if(r.root.activeElement!=r.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:a,focusOffset:i}=r.observer.selectionRange;return t&&(e.push(new A1(t,n)),(a!=t||i!=n)&&e.push(new A1(a,i))),e}function zM(r,e){if(r.length==0)return null;let t=r[0].pos,n=r.length==2?r[1].pos:t;return t>-1&&n>-1?ge.single(t+e,n+e):null}const WM={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Dd=Fe.ie&&Fe.ie_version<=11;class XM{constructor(e){this.view=e,this.active=!1,this.selectionRange=new $x,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(Fe.ie&&Fe.ie_version<=11||Fe.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),Dd&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,a=this.selectionRange;if(n.state.facet(Pu)?n.root.activeElement!=this.dom:!kc(n.dom,a))return;let i=a.anchorNode&&n.docView.nearest(a.anchorNode);if(i&&i.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Fe.ie&&Fe.ie_version<=11||Fe.android&&Fe.chrome)&&!n.state.selection.main.empty&&a.focusNode&&eu(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Fe.safari&&e.root.nodeType==11&&Bx(this.dom.ownerDocument)==this.dom&&KM(this.view)||Jc(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=kc(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let i=this.delayedAndroidKey;i&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=i.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&i.force&&Mo(this.dom,i.key,i.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,a=!1;for(let i of e){let o=this.readMutation(i);o&&(o.typeOver&&(a=!0),t==-1?{from:t,to:n}=o:(t=Math.min(o.from,t),n=Math.max(o.to,n)))}return{from:t,to:n,typeOver:a}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),a=this.selectionChanged&&kc(this.dom,this.selectionRange);return e<0&&!a?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new QM(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,a=Zy(this.view,t);return this.view.state==n&&this.view.update([]),a}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let n=eb(t,e.previousSibling||e.target.previousSibling,-1),a=eb(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:a?t.posBefore(a):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n,a;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect(),(a=this.resizeContent)===null||a===void 0||a.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function eb(r,e,t){for(;e;){let n=Ht.get(e);if(n&&n.parent==r)return n;let a=e.parentNode;e=a!=r.dom?a:t>0?e.nextSibling:e.previousSibling}return null}function KM(r){let e=null;function t(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(r.contentDOM.addEventListener("beforeinput",t,!0),r.dom.ownerDocument.execCommand("indent"),r.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,a=e.startOffset,i=e.endContainer,o=e.endOffset,s=r.docView.domAtPos(r.state.selection.main.anchor);return eu(s.node,s.offset,i,o)&&([n,a,i,o]=[i,o,n,a]),{anchorNode:n,anchorOffset:a,focusNode:i,focusOffset:o}}class Le{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||Gx(e.parent)||document,this.viewState=new j1(e.state||Et.create(e)),this.plugins=this.state.facet(qs).map(t=>new Ad(t));for(let t of this.plugins)t.update(this);this.observer=new XM(this),this.inputState=new _M(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new L1(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){let t=e.length==1&&e[0]instanceof Sn?e[0]:this.state.update(...e);this._dispatch(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,a,i=this.state;for(let p of e){if(p.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=p.state}if(this.destroyed){this.viewState.state=i;return}let o=this.hasFocus,s=0,l=null;e.some(p=>p.annotation(Qy))?(this.inputState.notifiedFocused=o,s=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,l=Hy(i,o),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(Et.phrases)!=this.state.facet(Et.phrases))return this.setState(i);a=ru.create(this,i,e),a.flags|=s;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let p of e){if(h&&(h=h.map(p.changes)),p.scrollIntoView){let{main:_}=p.state.selection;h=new nu(_.empty?_:ge.cursor(_.head,_.head>_.anchor?-1:1))}for(let _ of p.effects)_.is(M1)&&(h=_.value)}this.viewState.update(a,h),this.bidiCache=au.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),t=this.docView.update(a),this.state.facet(Qs)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(pc)!=a.state.facet(pc)&&(this.viewState.mustMeasureContent=!0),(t||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!a.empty)for(let p of this.state.facet(dg))p(a);(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!Zy(this,u)&&c.force&&Mo(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new j1(e),this.plugins=e.facet(qs).map(n=>new Ad(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new L1(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(qs),n=e.state.facet(qs);if(t!=n){let a=[];for(let i of n){let o=t.indexOf(i);if(o<0)a.push(new Ad(i));else{let s=this.plugins[o];s.mustUpdate=e,a.push(s)}}for(let i of this.plugins)i.mustUpdate!=e&&i.destroy(this);this.plugins=a,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let a of this.plugins)a.mustUpdate=e;for(let a=0;a-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,{scrollTop:a}=n,{scrollAnchorPos:i,scrollAnchorHeight:o}=this.viewState;a!=this.viewState.scrollTop&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(o<0)if(uy(n))i=-1,o=this.viewState.heightMap.height;else{let _=this.viewState.scrollAnchorAt(a);i=_.from,o=_.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(s>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(_=>{try{return _.read(this)}catch(b){return xr(this.state,b),tb}}),h=ru.create(this,this.state,[]),p=!1;h.flags|=l,t?t.flags|=l:t=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),p=this.docView.update(h));for(let _=0;_1||b<-1){a=n.scrollTop=a+b,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let s of this.state.facet(dg))s(t)}get themeClasses(){return Sg+" "+(this.state.facet(bg)?Xy:Wy)+" "+this.state.facet(pc)}updateAttrs(){let e=nb(this,Iy,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Pu)?"true":"false",class:"cm-content",style:`${Fe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),nb(this,E0,t);let n=this.observer.ignore(()=>{let a=cg(this.contentDOM,this.contentAttrs,t),i=cg(this.dom,this.editorAttrs,e);return a||i});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let a of n.effects)if(a.is(Le.announce)){t&&(this.announceDOM.textContent=""),t=!1;let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(Qs),Si.mount(this.root,this.styleModules.concat(qM).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;tn.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return kd(this,e,$1(this,e,t,n))}moveByGroup(e,t){return kd(this,e,$1(this,e,t,n=>pM(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return mM(this,e,t,n)}moveVertically(e,t,n){return kd(this,e,gM(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),By(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let a=this.state.doc.lineAt(e),i=this.bidiSpans(a),o=i[Lo.find(i,e-a.from,-1,t)];return S0(n,o.dir==Jt.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(wy)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>ZM)return xy(e.length);let t=this.textDirectionAt(e.from);for(let a of this.bidiCache)if(a.from==e.from&&a.dir==t)return a.order;let n=tM(e.text,t);return this.bidiCache.push(new au(e.from,e.to,t,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Fe.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{ly(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return M1.of(new nu(typeof e=="number"?ge.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return xn.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=Si.newName(),a=[pc.of(n),Qs.of(Og(`.${n}`,e))];return t&&t.dark&&a.push(bg.of(!0)),a}static baseTheme(e){return $a.lowest(Qs.of(Og("."+Sg,e,Ky)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),a=n&&Ht.get(n)||Ht.get(e);return((t=a==null?void 0:a.rootView)===null||t===void 0?void 0:t.view)||null}}Le.styleModule=Qs;Le.inputHandler=Cy;Le.focusChangeEffect=Ry;Le.perLineTextDirection=wy;Le.exceptionSink=Ty;Le.updateListener=dg;Le.editable=Pu;Le.mouseSelectionStyle=yy;Le.dragMovesSelection=Ey;Le.clickAddsSelectionRange=vy;Le.decorations=pl;Le.atomicRanges=y0;Le.scrollMargins=ky;Le.darkTheme=bg;Le.contentAttributes=E0;Le.editorAttributes=Iy;Le.lineWrapping=Le.contentAttributes.of({class:"cm-lineWrapping"});Le.announce=dt.define();const ZM=4096,tb={};class au{constructor(e,t,n,a){this.from=e,this.to=t,this.dir=n,this.order=a}static update(e,t){if(t.empty)return e;let n=[],a=e.length?e[e.length-1].dir:Jt.LTR;for(let i=Math.max(0,e.length-10);i=0;a--){let i=n[a],o=typeof i=="function"?i(r):i;o&&lg(o,t)}return t}const jM=Fe.mac?"mac":Fe.windows?"win":Fe.linux?"linux":"key";function JM(r,e){const t=r.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let a,i,o,s;for(let l=0;ln.concat(a),[]))),t}let fi=null;const n8=4e3;function r8(r,e=jM){let t=Object.create(null),n=Object.create(null),a=(o,s)=>{let l=n[o];if(l==null)n[o]=s;else if(l!=s)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},i=(o,s,l,c,u)=>{var h,p;let _=t[o]||(t[o]=Object.create(null)),b=s.split(/ (?!$)/).map(M=>JM(M,e));for(let M=1;M{let m=fi={view:V,prefix:U,scope:o};return setTimeout(()=>{fi==m&&(fi=null)},n8),!0}]})}let A=b.join(" ");a(A,!1);let I=_[A]||(_[A]={preventDefault:!1,stopPropagation:!1,run:((p=(h=_._any)===null||h===void 0?void 0:h.run)===null||p===void 0?void 0:p.slice())||[]});l&&I.run.push(l),c&&(I.preventDefault=!0),u&&(I.stopPropagation=!0)};for(let o of r){let s=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let c of s){let u=t[c]||(t[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let h in u)u[h].run.push(o.any)}let l=o[e]||o.key;if(l)for(let c of s)i(c,l,o.run,o.preventDefault,o.stopPropagation),o.shift&&i(c,"Shift-"+l,o.shift,o.preventDefault,o.stopPropagation)}return t}function a8(r,e,t,n){let a=Px(e),i=kn(a,0),o=Ar(i)==a.length&&a!=" ",s="",l=!1,c=!1,u=!1;fi&&fi.view==t&&fi.scope==n&&(s=fi.prefix+" ",Fy.indexOf(e.keyCode)<0&&(c=!0,fi=null));let h=new Set,p=I=>{if(I){for(let M of I.run)if(!h.has(M)&&(h.add(M),M(t,e)))return I.stopPropagation&&(u=!0),!0;I.preventDefault&&(I.stopPropagation&&(u=!0),c=!0)}return!1},_=r[n],b,A;return _&&(p(_[s+gc(a,e,!o)])?l=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Fe.windows&&e.ctrlKey&&e.altKey)&&(b=Oi[e.keyCode])&&b!=a?(p(_[s+gc(b,e,!0)])||e.shiftKey&&(A=fl[e.keyCode])!=a&&A!=b&&p(_[s+gc(A,e,!1)]))&&(l=!0):o&&e.shiftKey&&p(_[s+gc(a,e,!0)])&&(l=!0),!l&&p(_._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),l}class Gl{constructor(e,t,n,a,i){this.className=e,this.left=t,this.top=n,this.width=a,this.height=i}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let a=e.coordsAtPos(n.head,n.assoc||1);if(!a)return[];let i=jy(e);return[new Gl(t,a.left-i.left,a.top-i.top,null,a.bottom-a.top)]}else return i8(e,t,n)}}function jy(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==Jt.LTR?e.left:e.right-r.scrollDOM.clientWidth)-r.scrollDOM.scrollLeft,top:e.top-r.scrollDOM.scrollTop}}function ab(r,e,t){let n=ge.cursor(e);return{from:Math.max(t.from,r.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,r.moveToLineBoundary(n,!0,!0).from),type:on.Text}}function i8(r,e,t){if(t.to<=r.viewport.from||t.from>=r.viewport.to)return[];let n=Math.max(t.from,r.viewport.from),a=Math.min(t.to,r.viewport.to),i=r.textDirection==Jt.LTR,o=r.contentDOM,s=o.getBoundingClientRect(),l=jy(r),c=o.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),h=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),p=s.right-(u?parseInt(u.paddingRight):0),_=pg(r,n),b=pg(r,a),A=_.type==on.Text?_:null,I=b.type==on.Text?b:null;if(A&&(r.lineWrapping||_.widgetLineBreaks)&&(A=ab(r,n,A)),I&&(r.lineWrapping||b.widgetLineBreaks)&&(I=ab(r,a,I)),A&&I&&A.from==I.from)return U(V(t.from,t.to,A));{let O=A?V(t.from,null,A):m(_,!1),S=I?V(null,t.to,I):m(b,!0),k=[];return(A||_).to<(I||b).from-(A&&I?1:0)||_.widgetLineBreaks>1&&O.bottom+r.defaultLineHeight/2te&&ie.from=D)break;ne>ae&&q(Math.max(z,ae),O==null&&z<=te,Math.min(ne,D),S==null&&ne>=se,H.dir)}if(ae=P.to+1,ae>=D)break}return Y.length==0&&q(te,O==null,se,S==null,r.textDirection),{top:L,bottom:F,horizontal:Y}}function m(O,S){let k=s.top+(S?O.top:O.bottom);return{top:k,bottom:k,horizontal:[]}}}function o8(r,e){return r.constructor==e.constructor&&r.eq(e)}class s8{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(xc)!=e.state.facet(xc)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(xc);for(;t!o8(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let a of e)a.update&&t&&a.constructor&&this.drawn[n].constructor&&a.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(a.draw(),t);for(;t;){let a=t.nextSibling;t.remove(),t=a}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const xc=Ue.define();function Jy(r){return[xn.define(e=>new s8(e,r)),xc.of(r)]}const eT=!Fe.ios,gl=Ue.define({combine(r){return qa(r,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function l8(r={}){return[gl.of(r),c8,u8,d8,Ay.of(!0)]}function tT(r){return r.startState.facet(gl)!=r.state.facet(gl)}const c8=Jy({above:!0,markers(r){let{state:e}=r,t=e.facet(gl),n=[];for(let a of e.selection.ranges){let i=a==e.selection.main;if(a.empty?!i||eT:t.drawRangeCursor){let o=i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",s=a.empty?a:ge.cursor(a.head,a.head>a.anchor?-1:1);for(let l of Gl.forRange(r,o,s))n.push(l)}}return n},update(r,e){r.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=tT(r);return t&&ib(r.state,e),r.docChanged||r.selectionSet||t},mount(r,e){ib(e.state,r)},class:"cm-cursorLayer"});function ib(r,e){e.style.animationDuration=r.facet(gl).cursorBlinkRate+"ms"}const u8=Jy({above:!1,markers(r){return r.state.selection.ranges.map(e=>e.empty?[]:Gl.forRange(r,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(r,e){return r.docChanged||r.selectionSet||r.viewportChanged||tT(r)},class:"cm-selectionLayer"}),nT={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};eT&&(nT[".cm-line"].caretColor="transparent !important");const d8=$a.highest(Le.theme(nT)),rT=dt.define({map(r,e){return r==null?null:e.mapPos(r)}}),Vs=Mn.define({create(){return null},update(r,e){return r!=null&&(r=e.changes.mapPos(r)),e.effects.reduce((t,n)=>n.is(rT)?n.value:t,r)}}),h8=xn.fromClass(class{constructor(r){this.view=r,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(r){var e;let t=r.state.field(Vs);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(r.startState.field(Vs)!=t||r.docChanged||r.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let r=this.view.state.field(Vs),e=r!=null&&this.view.coordsAtPos(r);if(!e)return null;let t=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-t.left+this.view.scrollDOM.scrollLeft,top:e.top-t.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(r){this.cursor&&(r?(this.cursor.style.left=r.left+"px",this.cursor.style.top=r.top+"px",this.cursor.style.height=r.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(r){this.view.state.field(Vs)!=r&&this.view.dispatch({effects:rT.of(r)})}},{eventHandlers:{dragover(r){this.setDropPos(this.view.posAtCoords({x:r.clientX,y:r.clientY}))},dragleave(r){(r.target==this.view.contentDOM||!this.view.contentDOM.contains(r.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function f8(){return[Vs,h8]}function ob(r,e,t,n,a){e.lastIndex=0;for(let i=r.iterRange(t,n),o=t,s;!i.next().done;o+=i.value.length)if(!i.lineBreak)for(;s=e.exec(i.value);)a(o+s.index,s)}function m8(r,e){let t=r.visibleRanges;if(t.length==1&&t[0].from==r.viewport.from&&t[0].to==r.viewport.to)return t;let n=[];for(let{from:a,to:i}of t)a=Math.max(r.state.doc.lineAt(a).from,a-e),i=Math.min(r.state.doc.lineAt(i).to,i+e),n.length&&n[n.length-1].to>=a?n[n.length-1].to=i:n.push({from:a,to:i});return n}class p8{constructor(e){const{regexp:t,decoration:n,decorate:a,boundary:i,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,a)this.addMatch=(s,l,c,u)=>a(u,c,c+s[0].length,s,l);else if(typeof n=="function")this.addMatch=(s,l,c,u)=>{let h=n(s,l,c);h&&u(c,c+s[0].length,h)};else if(n)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=i,this.maxLength=o}createDeco(e){let t=new eo,n=t.add.bind(t);for(let{from:a,to:i}of m8(e,this.maxLength))ob(e.state.doc,this.regexp,a,i,(o,s)=>this.addMatch(s,e,o,n));return t.finish()}updateDeco(e,t){let n=1e9,a=-1;return e.docChanged&&e.changes.iterChanges((i,o,s,l)=>{l>e.view.viewport.from&&s1e3?this.createDeco(e.view):a>-1?this.updateRange(e.view,t.map(e.changes),n,a):t}updateRange(e,t,n,a){for(let i of e.visibleRanges){let o=Math.max(i.from,n),s=Math.min(i.to,a);if(s>o){let l=e.state.doc.lineAt(o),c=l.tol.from;o--)if(this.boundary.test(l.text[o-1-l.from])){u=o;break}for(;sp.push(M.range(A,I));if(l==c)for(this.regexp.lastIndex=u-l.from;(_=this.regexp.exec(l.text))&&_.indexthis.addMatch(I,e,A,b));t=t.update({filterFrom:u,filterTo:h,filter:(A,I)=>Ah,add:p})}}return t}}const vg=/x/.unicode!=null?"gu":"g",g8=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,vg),_8={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let xd=null;function b8(){var r;if(xd==null&&typeof document<"u"&&document.body){let e=document.body.style;xd=((r=e.tabSize)!==null&&r!==void 0?r:e.MozTabSize)!=null}return xd||!1}const Mc=Ue.define({combine(r){let e=qa(r,{render:null,specialChars:g8,addSpecialChars:null});return(e.replaceTabs=!b8())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,vg)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,vg)),e}});function S8(r={}){return[Mc.of(r),O8()]}let sb=null;function O8(){return sb||(sb=xn.fromClass(class{constructor(r){this.view=r,this.decorations=tt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(r.state.facet(Mc)),this.decorations=this.decorator.createDeco(r)}makeDecorator(r){return new p8({regexp:r.specialChars,decoration:(e,t,n)=>{let{doc:a}=t.state,i=kn(e[0],0);if(i==9){let o=a.lineAt(n),s=t.state.tabSize,l=Mu(o.text,s,n-o.from);return tt.replace({widget:new T8((s-l%s)*this.view.defaultCharacterWidth)})}return this.decorationCache[i]||(this.decorationCache[i]=tt.replace({widget:new y8(r,i)}))},boundary:r.replaceTabs?void 0:/[^]/})}update(r){let e=r.state.facet(Mc);r.startState.facet(Mc)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(r.view)):this.decorations=this.decorator.updateDeco(r,this.decorations)}},{decorations:r=>r.decorations}))}const v8="•";function E8(r){return r>=32?v8:r==10?"␤":String.fromCharCode(9216+r)}class y8 extends Qa{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=E8(this.code),n=e.state.phrase("Control character")+" "+(_8[this.code]||"0x"+this.code.toString(16)),a=this.options.render&&this.options.render(this.code,n,t);if(a)return a;let i=document.createElement("span");return i.textContent=t,i.title=n,i.setAttribute("aria-label",n),i.className="cm-specialChar",i}ignoreEvent(){return!1}}class T8 extends Qa{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function C8(){return w8}const R8=tt.line({class:"cm-activeLine"}),w8=xn.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.docChanged||r.selectionSet)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=-1,t=[];for(let n of r.state.selection.ranges){let a=r.lineBlockAt(n.head);a.from>e&&(t.push(R8.range(a.from)),e=a.from)}return tt.set(t)}},{decorations:r=>r.decorations}),_c="-10000px";class aT{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(a=>a),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),a=n.filter(o=>o);if(n===this.input){for(let o of this.tooltipViews)o.update&&o.update(e);return!1}let i=[];for(let o=0;o{var e,t,n;return{position:Fe.ios?"absolute":((e=r.find(a=>a.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=r.find(a=>a.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=r.find(a=>a.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||A8}}}),lb=new WeakMap,iT=xn.fromClass(class{constructor(r){this.view=r,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=r.state.facet(Md);this.position=e.position,this.parent=e.parent,this.classes=r.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new aT(r,C0,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),r.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let r of this.manager.tooltipViews)this.intersectionObserver.observe(r.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(r){r.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(r);e&&this.observeIntersection();let t=e||r.geometryChanged,n=r.state.facet(Md);if(n.position!=this.position){this.position=n.position;for(let a of this.manager.tooltipViews)a.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let a of this.manager.tooltipViews)this.container.appendChild(a.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(r){let e=r.create(this.view);if(e.dom.classList.add("cm-tooltip"),r.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=_c,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var r,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(r=t.destroy)===null||r===void 0||r.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let r=this.view.dom.getBoundingClientRect();return{editor:r,parent:this.parent?this.container.getBoundingClientRect():r,pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(Md).tooltipSpace(this.view)}}writeMeasure(r){var e;let{editor:t,space:n}=r,a=[];for(let i=0;i=Math.min(t.bottom,n.bottom)||c.rightMath.min(t.right,n.right)+.1){l.style.top=_c;continue}let h=o.arrow?s.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,_=u.right-u.left,b=(e=lb.get(s))!==null&&e!==void 0?e:u.bottom-u.top,A=s.offset||k8,I=this.view.textDirection==Jt.LTR,M=u.width>n.right-n.left?I?n.left:n.right-u.width:I?Math.min(c.left-(h?14:0)+A.x,n.right-_):Math.max(n.left,c.left-_+(h?14:0)-A.x),U=!!o.above;!o.strictSide&&(U?c.top-(u.bottom-u.top)-A.yn.bottom)&&U==n.bottom-c.bottom>c.top-n.top&&(U=!U);let V=(U?c.top-n.top:n.bottom-c.bottom)-p;if(VM&&S.topm&&(m=U?S.top-b-2-p:S.bottom+p+2);this.position=="absolute"?(l.style.top=m-r.parent.top+"px",l.style.left=M-r.parent.left+"px"):(l.style.top=m+"px",l.style.left=M+"px"),h&&(h.style.left=`${c.left+(I?A.x:-A.x)-(M+14-7)}px`),s.overlap!==!0&&a.push({left:M,top:m,right:O,bottom:m+b}),l.classList.toggle("cm-tooltip-above",U),l.classList.toggle("cm-tooltip-below",!U),s.positioned&&s.positioned(r.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let r of this.manager.tooltipViews)r.dom.style.top=_c}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),I8=Le.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),k8={x:0,y:0},C0=Ue.define({enables:[iT,I8]}),iu=Ue.define();class R0{constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new aT(e,iu,t=>this.createHostedView(t))}static create(e){return new R0(e)}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const N8=C0.compute([iu],r=>{let e=r.facet(iu).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:R0.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class D8{constructor(e,t,n,a,i){this.view=e,this.source=t,this.field=n,this.setHover=a,this.hoverTime=i,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;en.bottom||e.xn.right+this.view.defaultCharacterWidth)return;let a=this.view.bidiSpans(this.view.state.doc.lineAt(t)).find(s=>s.from<=t&&s.to>=t),i=a&&a.dir==Jt.RTL?-1:1,o=this.source(this.view,t,e.x{this.pending==s&&(this.pending=null,l&&this.view.dispatch({effects:this.setHover.of(l)}))},l=>xr(this.view.state,l,"hover tooltip"))}else o&&this.view.dispatch({effects:this.setHover.of(o)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let n=this.active;if(n&&!cb(this.lastMove.target)||this.pending){let{pos:a}=n||this.pending,i=(t=n==null?void 0:n.end)!==null&&t!==void 0?t:a;(a==i?this.view.posAtCoords(this.lastMove)!=a:!x8(this.view,a,i,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!cb(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function cb(r){for(let e=r;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function x8(r,e,t,n,a,i){let o=document.createRange(),s=r.domAtPos(e),l=r.domAtPos(t);o.setEnd(l.node,l.offset),o.setStart(s.node,s.offset);let c=o.getClientRects();o.detach();for(let u=0;uiu.from(a)});return[n,xn.define(a=>new D8(a,r,n,t,e.hoverTime||300)),N8]}function sT(r,e){let t=r.plugin(iT);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}const M8=dt.define(),ub=Ue.define({combine(r){let e,t;for(let n of r)e=e||n.topContainer,t=t||n.bottomContainer;return{topContainer:e,bottomContainer:t}}});function L8(r,e){let t=r.plugin(lT),n=t?t.specs.indexOf(e):-1;return n>-1?t.panels[n]:null}const lT=xn.fromClass(class{constructor(r){this.input=r.state.facet(_l),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(r));let e=r.state.facet(ub);this.top=new bc(r,!0,e.topContainer),this.bottom=new bc(r,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(r){let e=r.state.facet(ub);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new bc(r.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new bc(r.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=r.state.facet(_l);if(t!=this.input){let n=t.filter(l=>l),a=[],i=[],o=[],s=[];for(let l of n){let c=this.specs.indexOf(l),u;c<0?(u=l(r.view),s.push(u)):(u=this.panels[c],u.update&&u.update(r)),a.push(u),(u.top?i:o).push(u)}this.specs=n,this.panels=a,this.top.sync(i),this.bottom.sync(o);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let n of this.panels)n.update&&n.update(r)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:r=>Le.scrollMargins.of(e=>{let t=e.plugin(r);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class bc{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=db(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=db(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function db(r){let e=r.nextSibling;return r.remove(),e}const _l=Ue.define({enables:lT});class yi extends Ji{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}yi.prototype.elementClass="";yi.prototype.toDOM=void 0;yi.prototype.mapMode=bn.TrackBefore;yi.prototype.startSide=yi.prototype.endSide=-1;yi.prototype.point=!0;const Lc=Ue.define(),Pc=Ue.define(),Eg=Ue.define({combine:r=>r.some(e=>e)});function P8(r){let e=[B8];return r&&r.fixed===!1&&e.push(Eg.of(!0)),e}const B8=xn.fromClass(class{constructor(r){this.view=r,this.prevViewport=r.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=r.state.facet(Pc).map(e=>new fb(r,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!r.state.facet(Eg),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),r.scrollDOM.insertBefore(this.dom,r.contentDOM)}update(r){if(this.updateGutters(r)){let e=this.prevViewport,t=r.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}r.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Eg)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=r.view.viewport}syncGutters(r){let e=this.dom.nextSibling;r&&this.dom.remove();let t=Ft.iter(this.view.state.facet(Lc),this.view.viewport.from),n=[],a=this.gutters.map(i=>new Y8(i,this.view.viewport,-this.view.documentPadding.top));for(let i of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(i.type)){let o=!0;for(let s of i.type)if(s.type==on.Text&&o){yg(t,n,s.from);for(let l of a)l.line(this.view,s,n);o=!1}else if(s.widget)for(let l of a)l.widget(this.view,s)}else if(i.type==on.Text){yg(t,n,i.from);for(let o of a)o.line(this.view,i,n)}for(let i of a)i.finish();r&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(r){let e=r.startState.facet(Pc),t=r.state.facet(Pc),n=r.docChanged||r.heightChanged||r.viewportChanged||!Ft.eq(r.startState.facet(Lc),r.state.facet(Lc),r.view.viewport.from,r.view.viewport.to);if(e==t)for(let a of this.gutters)a.update(r)&&(n=!0);else{n=!0;let a=[];for(let i of t){let o=e.indexOf(i);o<0?a.push(new fb(this.view,i)):(this.gutters[o].update(r),a.push(this.gutters[o]))}for(let i of this.gutters)i.dom.remove(),a.indexOf(i)<0&&i.destroy();for(let i of a)this.dom.appendChild(i.dom);this.gutters=a}return n}destroy(){for(let r of this.gutters)r.destroy();this.dom.remove()}},{provide:r=>Le.scrollMargins.of(e=>{let t=e.plugin(r);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Jt.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}})});function hb(r){return Array.isArray(r)?r:[r]}function yg(r,e,t){for(;r.value&&r.from<=t;)r.from==t&&e.push(r.value),r.next()}class Y8{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=Ft.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:a}=this,i=t.top-this.height;if(this.i==a.elements.length){let o=new cT(e,t.height,i,n);a.elements.push(o),a.dom.appendChild(o.dom)}else a.elements[this.i].update(e,t.height,i,n);this.height=t.bottom,this.i++}line(e,t,n){let a=[];yg(this.cursor,a,t.from),n.length&&(a=a.concat(n));let i=this.gutter.config.lineMarker(e,t,a);i&&a.unshift(i);let o=this.gutter;a.length==0&&!o.config.renderEmptyElements||this.addElement(e,t,a)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t);n&&this.addElement(e,t,[n])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class fb{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,a=>{let i=a.target,o;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let l=i.getBoundingClientRect();o=(l.top+l.bottom)/2}else o=a.clientY;let s=e.lineBlockAtHeight(o-e.documentTop);t.domEventHandlers[n](e,s,a)&&a.preventDefault()});this.markers=hb(t.markers(e)),t.initialSpacer&&(this.spacer=new cT(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=hb(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let a=this.config.updateSpacer(this.spacer.markers[0],e);a!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[a])}let n=e.view.viewport;return!Ft.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class cT{constructor(e,t,n,a){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,a)}update(e,t,n,a){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),F8(this.markers,a)||this.setMarkers(e,a)}setMarkers(e,t){let n="cm-gutterElement",a=this.dom.firstChild;for(let i=0,o=0;;){let s=o,l=ii(s,l,c)||o(s,l,c):o}return n}})}});class Ld extends yi{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Pd(r,e){return r.state.facet(Io).formatNumber(e,r.state)}const $8=Pc.compute([Io],r=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(U8)},lineMarker(e,t,n){return n.some(a=>a.toDOM)?null:new Ld(Pd(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Io)!=e.state.facet(Io),initialSpacer(e){return new Ld(Pd(e,mb(e.state.doc.lines)))},updateSpacer(e,t){let n=Pd(t.view,mb(t.view.state.doc.lines));return n==e.number?e:new Ld(n)},domEventHandlers:r.facet(Io).domEventHandlers}));function uT(r={}){return[Io.of(r),P8(),$8]}function mb(r){let e=9;for(;e{let e=[],t=-1;for(let n of r.selection.ranges){let a=r.doc.lineAt(n.head).from;a>t&&(t=a,e.push(G8.range(a)))}return Ft.of(e)});function Q8(){return q8}var Bd;const qi=new at;function w0(r){return Ue.define({combine:r?e=>e.concat(r):void 0})}const A0=new at;class _r{constructor(e,t,n=[],a=""){this.data=e,this.name=a,Et.prototype.hasOwnProperty("tree")||Object.defineProperty(Et.prototype,"tree",{get(){return en(this)}}),this.parser=t,this.extension=[Xo.of(this),Et.languageData.of((i,o,s)=>{let l=pb(i,o,s),c=l.type.prop(qi);if(!c)return[];let u=i.facet(c),h=l.type.prop(A0);if(h){let p=l.resolve(o-l.from,s);for(let _ of h)if(_.test(p,i)){let b=i.facet(_.facet);return _.type=="replace"?b:b.concat(u)}}return u})].concat(n)}isActiveAt(e,t,n=-1){return pb(e,t,n).type.prop(qi)==this.data}findRegions(e){let t=e.facet(Xo);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],a=(i,o)=>{if(i.prop(qi)==this.data){n.push({from:o,to:o+i.length});return}let s=i.prop(at.mounted);if(s){if(s.tree.prop(qi)==this.data){if(s.overlay)for(let l of s.overlay)n.push({from:l.from+o,to:l.to+o});else n.push({from:o,to:o+i.length});return}else if(s.overlay){let l=n.length;if(a(s.tree,s.overlay[0].from+o),n.length>l)return}}for(let l=0;ln.isTop?t:void 0)]}),e.name)}configure(e,t){return new zo(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function en(r){let e=r.field(_r.state,!1);return e?e.tree:It.empty}function dT(r,e,t=50){var n;let a=(n=r.field(_r.state,!1))===null||n===void 0?void 0:n.context;if(!a)return null;let i=a.viewport;a.updateViewport({from:0,to:e});let o=a.isDone(e)||a.work(t,e)?a.tree:null;return a.updateViewport(i),o}class H8{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let Ns=null;class bl{constructor(e,t,n=[],a,i,o,s,l){this.parser=e,this.state=t,this.fragments=n,this.tree=a,this.treeLen=i,this.viewport=o,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new bl(e,t,[],It.empty,0,n,[],null)}startParse(){return this.parser.startParse(new H8(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=It.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let a=Date.now()+e;e=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Ya.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Ns;Ns=this;try{return e()}finally{Ns=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=gb(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:a,treeLen:i,viewport:o,skipped:s}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,h,p)=>l.push({fromA:c,toA:u,fromB:h,toB:p})),n=Ya.applyChanges(n,l),a=It.empty,i=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),h=e.mapPos(c.to,-1);ue.from&&(this.fragments=gb(this.fragments,a,i),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends m0{createParse(t,n,a){let i=a[0].from,o=a[a.length-1].to;return{parsedPos:i,advance(){let l=Ns;if(l){for(let c of a)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=o,new It(On.none,[],[],o-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return Ns}}function gb(r,e,t){return Ya.applyChanges(r,[{fromA:e,toA:t,fromB:e,toB:t}])}class Wo{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new Wo(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=bl.create(e.facet(Xo).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new Wo(n)}}_r.state=Mn.define({create:Wo.init,update(r,e){for(let t of e.effects)if(t.is(_r.setState))return t.value;return e.startState.facet(Xo)!=e.state.facet(Xo)?Wo.init(e.state):r.apply(e)}});let hT=r=>{let e=setTimeout(()=>r(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(hT=r=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(r,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Yd=typeof navigator<"u"&&(!((Bd=navigator.scheduling)===null||Bd===void 0)&&Bd.isInputPending)?()=>navigator.scheduling.isInputPending():null,V8=xn.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(_r.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(_r.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=hT(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnda+1e3,l=i.context.work(()=>Yd&&Yd()||Date.now()>o,a+(s?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:_r.setState.of(new Wo(i.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>xr(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Xo=Ue.define({combine(r){return r.length?r[0]:null},enables:r=>[_r.state,V8,Le.contentAttributes.compute([r],e=>{let t=e.facet(r);return t&&t.name?{"data-language":t.name}:{}})]});class Sl{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class ou{constructor(e,t,n,a,i,o=void 0){this.name=e,this.alias=t,this.extensions=n,this.filename=a,this.loadFunc=i,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new ou(e.name,(e.alias||[]).concat(e.name).map(a=>a.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let a of e)if(a.filename&&a.filename.test(t))return a;let n=/\.([^.]+)$/.exec(t);if(n){for(let a of e)if(a.extensions.indexOf(n[1])>-1)return a}return null}static matchLanguageName(e,t,n=!0){t=t.toLowerCase();for(let a of e)if(a.alias.some(i=>i==t))return a;if(n)for(let a of e)for(let i of a.alias){let o=t.indexOf(i);if(o>-1&&(i.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+i.length])))return a}return null}}const z8=Ue.define(),Ko=Ue.define({combine:r=>{if(!r.length)return" ";let e=r[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(r[0]));return e}});function su(r){let e=r.facet(Ko);return e.charCodeAt(0)==9?r.tabSize*e.length:e.length}function Ol(r,e){let t="",n=r.tabSize,a=r.facet(Ko)[0];if(a==" "){for(;e>=n;)t+=" ",e-=n;a=" "}for(let i=0;i=e?W8(r,t,e):null}class Bu{constructor(e,t={}){this.state=e,this.options=t,this.unit=su(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:a,simulateDoubleBreak:i}=this.options;return a!=null&&a>=n.from&&a<=n.to?i&&a==e?{text:"",from:e}:(t<0?a-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return Mu(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:a}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let o=i(a);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const ql=new at;function W8(r,e,t){return fT(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,r)}function X8(r){return r.pos==r.options.simulateBreak&&r.options.simulateDoubleBreak}function K8(r){let e=r.type.prop(ql);if(e)return e;let t=r.firstChild,n;if(t&&(n=t.type.prop(at.closedBy))){let a=r.lastChild,i=a&&n.indexOf(a.name)>-1;return o=>mT(o,!0,1,void 0,i&&!X8(o)?a.from:void 0)}return r.parent==null?Z8:null}function fT(r,e,t){for(;r;r=r.parent){let n=K8(r);if(n)return n(k0.create(t,e,r))}return null}function Z8(){return 0}class k0 extends Bu{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new k0(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(j8(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?fT(e,this.pos,this.base):0}}function j8(r,e){for(let t=e;t;t=t.parent)if(r==t)return!0;return!1}function J8(r){let e=r.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let a=r.options.simulateBreak,i=r.state.doc.lineAt(t.from),o=a==null||a<=i.from?i.to:Math.min(i.to,a);for(let s=t.to;;){let l=e.childAfter(s);if(!l||l==n)return null;if(!l.type.isSkipped)return l.frommT(n,e,t,r)}function mT(r,e,t,n,a){let i=r.textAfter,o=i.match(/^\s*/)[0].length,s=n&&i.slice(o,o+n.length)==n||a==r.pos+o,l=e?J8(r):null;return l?s?r.column(l.from):r.column(l.to):r.baseIndent+(s?0:r.unit*t)}const t4=r=>r.baseIndent;function Bc({except:r,units:e=1}={}){return t=>{let n=r&&r.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const n4=200;function r4(){return Et.transactionFilter.of(r=>{if(!r.docChanged||!r.isUserEvent("input.type")&&!r.isUserEvent("input.complete"))return r;let e=r.startState.languageDataAt("indentOnInput",r.startState.selection.main.head);if(!e.length)return r;let t=r.newDoc,{head:n}=r.newSelection.main,a=t.lineAt(n);if(n>a.from+n4)return r;let i=t.sliceString(a.from,n);if(!e.some(c=>c.test(i)))return r;let{state:o}=r,s=-1,l=[];for(let{head:c}of o.selection.ranges){let u=o.doc.lineAt(c);if(u.from==s)continue;s=u.from;let h=I0(o,u.from);if(h==null)continue;let p=/^\s*/.exec(u.text)[0],_=Ol(o,h);p!=_&&l.push({from:u.from,to:u.from+p.length,insert:_})}return l.length?[r,{changes:l,sequential:!0}]:r})}const pT=Ue.define(),Ql=new at;function gT(r){let e=r.firstChild,t=r.lastChild;return e&&e.tot)continue;if(i&&o.from=e&&l.to>t&&(i=l)}}return i}function i4(r){let e=r.lastChild;return e&&e.to==r.to&&e.type.isError}function o4(r,e,t){for(let n of r.facet(pT)){let a=n(r,e,t);if(a)return a}return a4(r,e,t)}function _T(r,e){let t=e.mapPos(r.from,1),n=e.mapPos(r.to,-1);return t>=n?void 0:{from:t,to:n}}const bT=dt.define({map:_T}),ST=dt.define({map:_T});function s4(r){let e=[];for(let{head:t}of r.state.selection.ranges)e.some(n=>n.from<=t&&n.to>=t)||e.push(r.lineBlockAt(t));return e}const N0=Mn.define({create(){return tt.none},update(r,e){r=r.map(e.changes);for(let t of e.effects)if(t.is(bT)&&!c4(r,t.value.from,t.value.to)){let{preparePlaceholder:n}=e.state.facet(D0),a=n?tt.replace({widget:new p4(n(e.state,t.value))}):_b;r=r.update({add:[a.range(t.value.from,t.value.to)]})}else t.is(ST)&&(r=r.update({filter:(n,a)=>t.value.from!=n||t.value.to!=a,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:n}=e.selection.main;r.between(n,n,(a,i)=>{an&&(t=!0)}),t&&(r=r.update({filterFrom:n,filterTo:n,filter:(a,i)=>i<=n||a>=n}))}return r},provide:r=>Le.decorations.from(r),toJSON(r,e){let t=[];return r.between(0,e.doc.length,(n,a)=>{t.push(n,a)}),t},fromJSON(r){if(!Array.isArray(r)||r.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t{(!a||a.from>i)&&(a={from:i,to:o})}),a}function c4(r,e,t){let n=!1;return r.between(e,e,(a,i)=>{a==e&&i==t&&(n=!0)}),n}function u4(r,e){return r.field(N0,!1)?e:e.concat(dt.appendConfig.of(m4()))}const d4=r=>{for(let e of s4(r)){let t=o4(r.state,e.from,e.to);if(t)return r.dispatch({effects:u4(r.state,[bT.of(t),h4(r,t)])}),!0}return!1};function h4(r,e,t=!0){let n=r.state.doc.lineAt(e.from).number,a=r.state.doc.lineAt(e.to).number;return Le.announce.of(`${r.state.phrase(t?"Folded lines":"Unfolded lines")} ${n} ${r.state.phrase("to")} ${a}.`)}const f4={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},D0=Ue.define({combine(r){return qa(r,f4)}});function m4(r){let e=[N0,g4];return r&&e.push(D0.of(r)),e}function OT(r,e){let{state:t}=r,n=t.facet(D0),a=o=>{let s=r.lineBlockAt(r.posAtDOM(o.target)),l=l4(r.state,s.from,s.to);l&&r.dispatch({effects:ST.of(l)}),o.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(r,a,e);let i=document.createElement("span");return i.textContent=n.placeholderText,i.setAttribute("aria-label",t.phrase("folded code")),i.title=t.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=a,i}const _b=tt.replace({widget:new class extends Qa{toDOM(r){return OT(r,null)}}});class p4 extends Qa{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return OT(e,this.value)}}const g4=Le.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class os{constructor(e,t){this.specs=e;let n;function a(s){let l=Si.newName();return(n||(n=Object.create(null)))["."+l]=s,l}const i=typeof t.all=="string"?t.all:t.all?a(t.all):void 0,o=t.scope;this.scope=o instanceof _r?s=>s.prop(qi)==o.data:o?s=>s==o:void 0,this.style=GE(e.map(s=>({tag:s.tag,class:s.class||a(Object.assign({},s,{tag:null}))})),{all:i}).style,this.module=n?new Si(n):null,this.themeType=t.themeType}static define(e,t){return new os(e,t||{})}}const Tg=Ue.define(),vT=Ue.define({combine(r){return r.length?[r[0]]:null}});function Fd(r){let e=r.facet(Tg);return e.length?e:r.facet(vT)}function x0(r,e){let t=[b4],n;return r instanceof os&&(r.module&&t.push(Le.styleModule.of(r.module)),n=r.themeType),e!=null&&e.fallback?t.push(vT.of(r)):n?t.push(Tg.computeN([Le.darkTheme],a=>a.facet(Le.darkTheme)==(n=="dark")?[r]:[])):t.push(Tg.of(r)),t}class _4{constructor(e){this.markCache=Object.create(null),this.tree=en(e.state),this.decorations=this.buildDeco(e,Fd(e.state))}update(e){let t=en(e.state),n=Fd(e.state),a=n!=Fd(e.startState);t.length{n.add(o,s,this.markCache[l]||(this.markCache[l]=tt.mark({class:l})))},a,i);return n.finish()}}const b4=$a.high(xn.fromClass(_4,{decorations:r=>r.decorations})),S4=os.define([{tag:Q.meta,color:"#404740"},{tag:Q.link,textDecoration:"underline"},{tag:Q.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Q.emphasis,fontStyle:"italic"},{tag:Q.strong,fontWeight:"bold"},{tag:Q.strikethrough,textDecoration:"line-through"},{tag:Q.keyword,color:"#708"},{tag:[Q.atom,Q.bool,Q.url,Q.contentSeparator,Q.labelName],color:"#219"},{tag:[Q.literal,Q.inserted],color:"#164"},{tag:[Q.string,Q.deleted],color:"#a11"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],color:"#e40"},{tag:Q.definition(Q.variableName),color:"#00f"},{tag:Q.local(Q.variableName),color:"#30a"},{tag:[Q.typeName,Q.namespace],color:"#085"},{tag:Q.className,color:"#167"},{tag:[Q.special(Q.variableName),Q.macroName],color:"#256"},{tag:Q.definition(Q.propertyName),color:"#00c"},{tag:Q.comment,color:"#940"},{tag:Q.invalid,color:"#f00"}]),O4=Le.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ET=1e4,yT="()[]{}",TT=Ue.define({combine(r){return qa(r,{afterCursor:!0,brackets:yT,maxScanDistance:ET,renderMatch:y4})}}),v4=tt.mark({class:"cm-matchingBracket"}),E4=tt.mark({class:"cm-nonmatchingBracket"});function y4(r){let e=[],t=r.matched?v4:E4;return e.push(t.range(r.start.from,r.start.to)),r.end&&e.push(t.range(r.end.from,r.end.to)),e}const T4=Mn.define({create(){return tt.none},update(r,e){if(!e.docChanged&&!e.selection)return r;let t=[],n=e.state.facet(TT);for(let a of e.state.selection.ranges){if(!a.empty)continue;let i=kr(e.state,a.head,-1,n)||a.head>0&&kr(e.state,a.head-1,1,n)||n.afterCursor&&(kr(e.state,a.head,1,n)||a.headLe.decorations.from(r)}),C4=[T4,O4];function R4(r={}){return[TT.of(r),C4]}const CT=new at;function Cg(r,e,t){let n=r.prop(e<0?at.openedBy:at.closedBy);if(n)return n;if(r.name.length==1){let a=t.indexOf(r.name);if(a>-1&&a%2==(e<0?1:0))return[t[a+e]]}return null}function Rg(r){let e=r.type.prop(CT);return e?e(r.node):r}function kr(r,e,t,n={}){let a=n.maxScanDistance||ET,i=n.brackets||yT,o=en(r),s=o.resolveInner(e,t);for(let l=s;l;l=l.parent){let c=Cg(l.type,t,i);if(c&&l.from0?e>=u.from&&eu.from&&e<=u.to))return w4(r,e,t,l,u,c,i)}}return A4(r,e,t,o,s.type,a,i)}function w4(r,e,t,n,a,i,o){let s=n.parent,l={from:a.from,to:a.to},c=0,u=s==null?void 0:s.cursor();if(u&&(t<0?u.childBefore(n.from):u.childAfter(n.to)))do if(t<0?u.to<=n.from:u.from>=n.to){if(c==0&&i.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:t<0?e-1:e,to:t>0?e+1:e},u=r.doc.iterRange(e,t>0?r.doc.length:0),h=0;for(let p=0;!u.next().done&&p<=i;){let _=u.value;t<0&&(p+=_.length);let b=e+p*t;for(let A=t>0?0:_.length-1,I=t>0?_.length:-1;A!=I;A+=t){let M=o.indexOf(_[A]);if(!(M<0||n.resolveInner(b+A,1).type!=a))if(M%2==0==t>0)h++;else{if(h==1)return{start:c,end:{from:b+A,to:b+A+1},matched:M>>1==l>>1};h--}}t>0&&(p+=_.length)}return u.done?{start:c,matched:!1}:null}function bb(r,e,t,n=0,a=0){e==null&&(e=r.search(/[^\s\u00a0]/),e==-1&&(e=r.length));let i=a;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,i=this.string.substr(this.pos,e.length);return a(i)==a(e)?(t!==!1&&(this.pos+=e.length),!0):null}else{let a=this.string.slice(this.pos).match(e);return a&&a.index>0?null:(a&&t!==!1&&(this.pos+=a[0].length),a)}}current(){return this.string.slice(this.start,this.pos)}}const k4=Object.create(null),Sb=[On.none],Ob=[],N4=Object.create(null);for(let[r,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])N4[r]=D4(k4,e);function Ud(r,e){Ob.indexOf(r)>-1||(Ob.push(r),console.warn(e))}function D4(r,e){let t=null;for(let i of e.split(".")){let o=r[i]||Q[i];o?typeof o=="function"?t?t=o(t):Ud(i,`Modifier ${i} used at start of tag`):t?Ud(i,`Tag ${i} used as modifier`):t=o:Ud(i,`Unknown highlighting tag ${i}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),a=On.define({id:Sb.length,name:n,props:[is({[n]:t})]});return Sb.push(a),a.id}class M0{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=en(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),a=t.text.slice(n-t.from,this.pos-t.from),i=a.search(wT(e,!1));return i<0?null:{from:n+i,to:this.pos,text:a.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function vb(r){let e=Object.keys(r).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function x4(r){let e=Object.create(null),t=Object.create(null);for(let{label:a}of r){e[a[0]]=!0;for(let i=1;itypeof a=="string"?{label:a}:a),[t,n]=e.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:x4(e);return a=>{let i=a.matchBefore(n);return i||a.explicit?{from:i?i.from:a.pos,options:e,validFor:t}:null}}function M4(r,e){return t=>{for(let n=en(t.state).resolveInner(t.pos,-1);n;n=n.parent){if(r.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(t)}}class Eb{constructor(e,t,n,a){this.completion=e,this.source=t,this.match=n,this.score=a}}function bi(r){return r.selection.main.from}function wT(r,e){var t;let{source:n}=r,a=e&&n[0]!="^",i=n[n.length-1]!="$";return!a&&!i?r:new RegExp(`${a?"^":""}(?:${n})${i?"$":""}`,(t=r.flags)!==null&&t!==void 0?t:r.ignoreCase?"i":"")}const AT=Ga.define();function L4(r,e,t,n){let{main:a}=r.selection,i=t-a.from,o=n-a.from;return Object.assign(Object.assign({},r.changeByRange(s=>s!=a&&t!=n&&r.sliceDoc(s.from+i,s.from+o)!=r.sliceDoc(t,n)?{range:s}:{changes:{from:s.from+i,to:n==a.from?s.to:s.from+o,insert:e},range:ge.cursor(s.from+i+e.length)})),{userEvent:"input.complete"})}const yb=new WeakMap;function P4(r){if(!Array.isArray(r))return r;let e=yb.get(r);return e||yb.set(r,e=RT(r)),e}const L0=dt.define(),vl=dt.define();class B4{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&O<=57||O>=97&&O<=122?2:O>=65&&O<=90?1:0:(S=p0(O))!=S.toLowerCase()?1:S!=S.toUpperCase()?2:0;(!U||k==1&&I||m==0&&k!=0)&&(t[h]==O||n[h]==O&&(p=!0)?o[h++]=U:o.length&&(M=!1)),m=k,U+=Ar(O)}return h==l&&o[0]==0&&M?this.result(-100+(p?-200:0),o,e):_==l&&b==0?this.ret(-200-e.length+(A==e.length?0:-100),[0,A]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):_==l?this.ret(-200+-700-e.length,[b,A]):h==l?this.result(-100+(p?-200:0)+-700+(M?0:-1100),o,e):t.length==2?!1:this.result((a[0]?-700:0)+-200+-1100,a,e)}result(e,t,n){let a=[],i=0;for(let o of t){let s=o+(this.astral?Ar(kn(n,o)):1);i&&a[i-1]==o?a[i-1]=s:(a[i++]=o,a[i++]=s)}return this.ret(e-n.length,a)}}const rr=Ue.define({combine(r){return qa(r,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Y4,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>Tb(e(n),t(n)),optionClass:(e,t)=>n=>Tb(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function Tb(r,e){return r?e?r+" "+e:r:e}function Y4(r,e,t,n,a){let i=r.textDirection==Jt.RTL,o=i,s=!1,l="top",c,u,h=e.left-a.left,p=a.right-e.right,_=n.right-n.left,b=n.bottom-n.top;if(o&&h=b||A>e.top?c=t.bottom-e.top:(l="bottom",c=e.bottom-t.top)}return{style:`${l}: ${c}px; max-width: ${u}px`,class:"cm-completionInfo-"+(s?i?"left-narrow":"right-narrow":o?"left":"right")}}function F4(r){let e=r.addToOptions.slice();return r.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(a=>"cm-completionIcon-"+a)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,a){let i=document.createElement("span");i.className="cm-completionLabel";let o=t.displayLabel||t.label,s=0;for(let l=0;ls&&i.appendChild(document.createTextNode(o.slice(s,c)));let h=i.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(o.slice(c,u))),h.className="cm-completionMatchedText",s=u}return st.position-n.position).map(t=>t.render)}function Cb(r,e,t){if(r<=t)return{from:0,to:r};if(e<0&&(e=0),e<=r>>1){let a=Math.floor(e/t);return{from:a*t,to:(a+1)*t}}let n=Math.floor((r-e)/t);return{from:r-(n+1)*t,to:r-n*t}}class U4{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let a=e.state.field(t),{options:i,selected:o}=a.open,s=e.state.facet(rr);this.optionContent=F4(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=Cb(i.length,o,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{for(let c=l.target,u;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(u=/-(\d+)$/.exec(c.id))&&+u[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(rr).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:vl.of(null)})}),this.list=this.dom.appendChild(this.createListBox(i,a.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(e){var t,n,a;let i=e.state.field(this.stateField),o=e.startState.field(this.stateField);this.updateTooltipClass(e.state),i!=o&&(this.updateSel(),((t=i.open)===null||t===void 0?void 0:t.disabled)!=((n=o.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((a=i.open)===null||a===void 0)&&a.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Cb(t.options.length,t.selected,this.view.state.facet(rr).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:a}=n;if(!a)return;let i=typeof a=="string"?document.createTextNode(a):a(n);if(!i)return;"then"in i?i.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,n)}).catch(o=>xr(this.view.state,o,"completion info")):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:a,destroy:i}=e;n.appendChild(a),this.infoDestroy=i||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,a=this.range.from;n;n=n.nextSibling,a++)n.nodeName!="LI"||!n.id?a--:a==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&G4(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),a=e.getBoundingClientRect(),i=this.space;if(!i){let o=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return a.top>Math.min(i.bottom,t.bottom)-10||a.bottomn.from||n.from==0))if(i=p,typeof c!="string"&&c.header)a.appendChild(c.header(c));else{let _=a.appendChild(document.createElement("completion-section"));_.textContent=p}}const u=a.appendChild(document.createElement("li"));u.id=t+"-"+o,u.setAttribute("role","option");let h=this.optionClass(s);h&&(u.className=h);for(let p of this.optionContent){let _=p(s,this.view.state,l);_&&u.appendChild(_)}}return n.from&&a.classList.add("cm-completionListIncompleteTop"),n.tonew U4(t,r,e)}function G4(r,e){let t=r.getBoundingClientRect(),n=e.getBoundingClientRect();n.topt.bottom&&(r.scrollTop+=n.bottom-t.bottom)}function Rb(r){return(r.boost||0)*100+(r.apply?10:0)+(r.info?5:0)+(r.type?1:0)}function q4(r,e){let t=[],n=null,a=l=>{t.push(l);let{section:c}=l.completion;if(c){n||(n=[]);let u=typeof c=="string"?c:c.name;n.some(h=>h.name==u)||n.push(typeof c=="string"?{name:u}:c)}};for(let l of r)if(l.hasResult()){let c=l.result.getMatch;if(l.result.filter===!1)for(let u of l.result.options)a(new Eb(u,l.source,c?c(u):[],1e9-t.length));else{let u=new B4(e.sliceDoc(l.from,l.to));for(let h of l.result.options)if(u.match(h.label)){let p=h.displayLabel?c?c(h,u.matched):[]:u.matched;a(new Eb(h,l.source,p,u.score+(h.boost||0)))}}}if(n){let l=Object.create(null),c=0,u=(h,p)=>{var _,b;return((_=h.rank)!==null&&_!==void 0?_:1e9)-((b=p.rank)!==null&&b!==void 0?b:1e9)||(h.nameu.score-c.score||s(c.completion,u.completion))){let c=l.completion;!o||o.label!=c.label||o.detail!=c.detail||o.type!=null&&c.type!=null&&o.type!=c.type||o.apply!=c.apply||o.boost!=c.boost?i.push(l):Rb(l.completion)>Rb(o)&&(i[i.length-1]=l),o=l.completion}return i}class ko{constructor(e,t,n,a,i,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=a,this.selected=i,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new ko(this.options,wb(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,a,i){let o=q4(e,t);if(!o.length)return a&&e.some(l=>l.state==1)?new ko(a.options,a.attrs,a.tooltip,a.timestamp,a.selected,!0):null;let s=t.facet(rr).selectOnOpen?0:-1;if(a&&a.selected!=s&&a.selected!=-1){let l=a.options[a.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:$4(pr,NT),above:i.aboveCursor},a?a.timestamp:Date.now(),s,!1)}map(e){return new ko(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class lu{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new lu(V4,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(rr),i=(n.override||t.languageDataAt("autocomplete",bi(t)).map(P4)).map(s=>(this.active.find(c=>c.source==s)||new nr(s,this.active.some(c=>c.state!=0)?1:0)).update(e,n));i.length==this.active.length&&i.every((s,l)=>s==this.active[l])&&(i=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||i.some(s=>s.hasResult()&&e.changes.touchesRange(s.from,s.to))||!Q4(i,this.active)?o=ko.build(i,t,this.id,o,n):o&&o.disabled&&!i.some(s=>s.state==1)&&(o=null),!o&&i.every(s=>s.state!=1)&&i.some(s=>s.hasResult())&&(i=i.map(s=>s.hasResult()?new nr(s.source,0):s));for(let s of e.effects)s.is(kT)&&(o=o&&o.setSelected(s.value,this.id));return i==this.active&&o==this.open?this:new lu(i,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:H4}}function Q4(r,e){if(r==e)return!0;for(let t=0,n=0;;){for(;t-1&&(t["aria-activedescendant"]=r+"-"+e),t}const V4=[];function wg(r){return r.isUserEvent("input.type")?"input":r.isUserEvent("delete.backward")?"delete":null}class nr{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=wg(e),a=this;n?a=a.handleUserEvent(e,n,t):e.docChanged?a=a.handleChange(e):e.selection&&a.state!=0&&(a=new nr(a.source,0));for(let i of e.effects)if(i.is(L0))a=new nr(a.source,1,i.value?bi(e.state):-1);else if(i.is(vl))a=new nr(a.source,0);else if(i.is(IT))for(let o of i.value)o.source==a.source&&(a=o);return a}handleUserEvent(e,t,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new nr(this.source,1)}handleChange(e){return e.changes.touchesRange(bi(e.startState))?new nr(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new nr(this.source,this.state,e.mapPos(this.explicitPos))}}class Po extends nr{constructor(e,t,n,a,i){super(e,2,t),this.result=n,this.from=a,this.to=i}hasResult(){return!0}handleUserEvent(e,t,n){var a;let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),s=bi(e.state);if((this.explicitPos<0?s<=i:so||t=="delete"&&bi(e.startState)==this.from)return new nr(this.source,t=="input"&&n.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return z4(this.result.validFor,e.state,i,o)?new Po(this.source,l,this.result,i,o):this.result.update&&(c=this.result.update(this.result,i,o,new M0(e.state,s,l>=0)))?new Po(this.source,l,c,c.from,(a=c.to)!==null&&a!==void 0?a:bi(e.state)):new nr(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new nr(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Po(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function z4(r,e,t,n){if(!r)return!1;let a=e.sliceDoc(t,n);return typeof r=="function"?r(a,t,n,e):wT(r,!0).test(a)}const IT=dt.define({map(r,e){return r.map(t=>t.map(e))}}),kT=dt.define(),pr=Mn.define({create(){return lu.start()},update(r,e){return r.update(e)},provide:r=>[C0.from(r,e=>e.tooltip),Le.contentAttributes.from(r,e=>e.attrs)]});function NT(r,e){const t=e.completion.apply||e.completion.label;let n=r.state.field(pr).active.find(a=>a.source==e.source);return n instanceof Po?(typeof t=="string"?r.dispatch(Object.assign(Object.assign({},L4(r.state,t,n.from,n.to)),{annotations:AT.of(e.completion)})):t(r,e.completion,n.from,n.to),!0):!1}function Sc(r,e="option"){return t=>{let n=t.state.field(pr,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+a*(r?1:-1):r?0:o-1;return s<0?s=e=="page"?0:o-1:s>=o&&(s=e=="page"?o-1:0),t.dispatch({effects:kT.of(s)}),!0}}const W4=r=>{let e=r.state.field(pr,!1);return r.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampr.state.field(pr,!1)?(r.dispatch({effects:L0.of(!0)}),!0):!1,K4=r=>{let e=r.state.field(pr,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(r.dispatch({effects:vl.of(null)}),!0)};class Z4{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const Ab=50,j4=50,J4=1e3,eL=xn.fromClass(class{constructor(r){this.view=r,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of r.state.field(pr).active)e.state==1&&this.startQuery(e)}update(r){let e=r.state.field(pr);if(!r.selectionSet&&!r.docChanged&&r.startState.field(pr)==e)return;let t=r.transactions.some(n=>(n.selection||n.docChanged)&&!wg(n));for(let n=0;nj4&&Date.now()-a.time>J4){for(let i of a.context.abortListeners)try{i()}catch(o){xr(this.view.state,o)}a.context.abortListeners=null,this.running.splice(n--,1)}else a.updates.push(...r.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(a=>a.active.source==n.source))?setTimeout(()=>this.startUpdate(),Ab):-1,this.composing!=0)for(let n of r.transactions)wg(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:r}=this.view,e=r.field(pr);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(r){let{state:e}=this.view,t=bi(e),n=new M0(e,t,r.explicitPos==t),a=new Z4(r,n);this.running.push(a),Promise.resolve(r.source(n)).then(i=>{a.context.aborted||(a.done=i||null,this.scheduleAccept())},i=>{this.view.dispatch({effects:vl.of(null)}),xr(this.view.state,i)})}scheduleAccept(){this.running.every(r=>r.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Ab))}accept(){var r;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(rr);for(let n=0;no.source==a.active.source);if(i&&i.state==1)if(a.done==null){let o=new nr(a.active.source,0);for(let s of a.updates)o=o.update(s,t);o.state!=1&&e.push(o)}else this.startQuery(i)}e.length&&this.view.dispatch({effects:IT.of(e)})}},{eventHandlers:{blur(r){let e=this.view.state.field(pr,!1);if(e&&e.tooltip&&this.view.state.facet(rr).closeOnBlur){let t=e.open&&sT(this.view,e.open.tooltip);(!t||!t.dom.contains(r.relatedTarget))&&this.view.dispatch({effects:vl.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:L0.of(!1)}),20),this.composing=0}}}),DT=Le.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class tL{constructor(e,t,n,a){this.field=e,this.line=t,this.from=n,this.to=a}}class P0{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,bn.TrackDel),n=e.mapPos(this.to,1,bn.TrackDel);return t==null||n==null?null:new P0(this.field,t,n)}}class B0{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],a=[t],i=e.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(let l of this.lines){if(n.length){let c=o,u=/^\t*/.exec(l)[0].length;for(let h=0;hnew P0(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:n,ranges:s}}static parse(e){let t=[],n=[],a=[],i;for(let o of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let s=i[1]?+i[1]:null,l=i[2]||i[3]||"",c=-1;for(let u=0;u=c&&h.field++}a.push(new tL(c,n.length,i.index,i.index+l.length)),o=o.slice(0,i.index)+l+o.slice(i.index+i[0].length)}for(let s;s=/\\([{}])/.exec(o);){o=o.slice(0,s.index)+s[1]+o.slice(s.index+s[0].length);for(let l of a)l.line==n.length&&l.from>s.index&&(l.from--,l.to--)}n.push(o)}return new B0(n,a)}}let nL=tt.widget({widget:new class extends Qa{toDOM(){let r=document.createElement("span");return r.className="cm-snippetFieldPosition",r}ignoreEvent(){return!1}}}),rL=tt.mark({class:"cm-snippetField"});class ss{constructor(e,t){this.ranges=e,this.active=t,this.deco=tt.set(e.map(n=>(n.from==n.to?nL:rL).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let a=n.map(e);if(!a)return null;t.push(a)}return new ss(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const Hl=dt.define({map(r,e){return r&&r.map(e)}}),aL=dt.define(),El=Mn.define({create(){return null},update(r,e){for(let t of e.effects){if(t.is(Hl))return t.value;if(t.is(aL)&&r)return new ss(r.ranges,t.value)}return r&&e.docChanged&&(r=r.map(e.changes)),r&&e.selection&&!r.selectionInsideField(e.selection)&&(r=null),r},provide:r=>Le.decorations.from(r,e=>e?e.deco:tt.none)});function Y0(r,e){return ge.create(r.filter(t=>t.field==e).map(t=>ge.range(t.from,t.to)))}function iL(r){let e=B0.parse(r);return(t,n,a,i)=>{let{text:o,ranges:s}=e.instantiate(t.state,a),l={changes:{from:a,to:i,insert:Ct.of(o)},scrollIntoView:!0,annotations:n?AT.of(n):void 0};if(s.length&&(l.selection=Y0(s,0)),s.length>1){let c=new ss(s,0),u=l.effects=[Hl.of(c)];t.state.field(El,!1)===void 0&&u.push(dt.appendConfig.of([El,uL,dL,DT]))}t.dispatch(t.state.update(l))}}function xT(r){return({state:e,dispatch:t})=>{let n=e.field(El,!1);if(!n||r<0&&n.active==0)return!1;let a=n.active+r,i=r>0&&!n.ranges.some(o=>o.field==a+r);return t(e.update({selection:Y0(n.ranges,a),effects:Hl.of(i?null:new ss(n.ranges,a))})),!0}}const oL=({state:r,dispatch:e})=>r.field(El,!1)?(e(r.update({effects:Hl.of(null)})),!0):!1,sL=xT(1),lL=xT(-1),cL=[{key:"Tab",run:sL,shift:lL},{key:"Escape",run:oL}],Ib=Ue.define({combine(r){return r.length?r[0]:cL}}),uL=$a.highest(no.compute([Ib],r=>r.facet(Ib)));function qr(r,e){return Object.assign(Object.assign({},e),{apply:iL(r)})}const dL=Le.domEventHandlers({mousedown(r,e){let t=e.state.field(El,!1),n;if(!t||(n=e.posAtCoords({x:r.clientX,y:r.clientY}))==null)return!1;let a=t.ranges.find(i=>i.from<=n&&i.to>=n);return!a||a.field==t.active?!1:(e.dispatch({selection:Y0(t.ranges,a.field),effects:Hl.of(t.ranges.some(i=>i.field>a.field)?new ss(t.ranges,a.field):null)}),!0)}}),yl={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Qi=dt.define({map(r,e){let t=e.mapPos(r,-1,bn.TrackAfter);return t??void 0}}),F0=new class extends Ji{};F0.startSide=1;F0.endSide=-1;const MT=Mn.define({create(){return Ft.empty},update(r,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(n,-1)&&(r=Ft.empty)}r=r.map(e.changes);for(let t of e.effects)t.is(Qi)&&(r=r.update({add:[F0.range(t.value,t.value+1)]}));return r}});function hL(){return[mL,MT]}const $d="()[]{}<>";function LT(r){for(let e=0;e<$d.length;e+=2)if($d.charCodeAt(e)==r)return $d.charAt(e+1);return p0(r<128?r:r+1)}function PT(r,e){return r.languageDataAt("closeBrackets",e)[0]||yl}const fL=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),mL=Le.inputHandler.of((r,e,t,n)=>{if((fL?r.composing:r.compositionStarted)||r.state.readOnly)return!1;let a=r.state.selection.main;if(n.length>2||n.length==2&&Ar(kn(n,0))==1||e!=a.from||t!=a.to)return!1;let i=_L(r.state,n);return i?(r.dispatch(i),!0):!1}),pL=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let n=PT(r,r.selection.main.head).brackets||yl.brackets,a=null,i=r.changeByRange(o=>{if(o.empty){let s=bL(r.doc,o.head);for(let l of n)if(l==s&&Yu(r.doc,o.head)==LT(kn(l,0)))return{changes:{from:o.head-l.length,to:o.head+l.length},range:ge.cursor(o.head-l.length)}}return{range:a=o}});return a||e(r.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!a},gL=[{key:"Backspace",run:pL}];function _L(r,e){let t=PT(r,r.selection.main.head),n=t.brackets||yl.brackets;for(let a of n){let i=LT(kn(a,0));if(e==a)return i==a?vL(r,a,n.indexOf(a+a+a)>-1,t):SL(r,a,i,t.before||yl.before);if(e==i&&BT(r,r.selection.main.from))return OL(r,a,i)}return null}function BT(r,e){let t=!1;return r.field(MT).between(0,r.doc.length,n=>{n==e&&(t=!0)}),t}function Yu(r,e){let t=r.sliceString(e,e+2);return t.slice(0,Ar(kn(t,0)))}function bL(r,e){let t=r.sliceString(e-2,e);return Ar(kn(t,0))==t.length?t:t.slice(1)}function SL(r,e,t,n){let a=null,i=r.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:t,from:o.to}],effects:Qi.of(o.to+e.length),range:ge.range(o.anchor+e.length,o.head+e.length)};let s=Yu(r.doc,o.head);return!s||/\s/.test(s)||n.indexOf(s)>-1?{changes:{insert:e+t,from:o.head},effects:Qi.of(o.head+e.length),range:ge.cursor(o.head+e.length)}:{range:a=o}});return a?null:r.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function OL(r,e,t){let n=null,a=r.changeByRange(i=>i.empty&&Yu(r.doc,i.head)==t?{changes:{from:i.head,to:i.head+t.length,insert:t},range:ge.cursor(i.head+t.length)}:n={range:i});return n?null:r.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function vL(r,e,t,n){let a=n.stringPrefixes||yl.stringPrefixes,i=null,o=r.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:Qi.of(s.to+e.length),range:ge.range(s.anchor+e.length,s.head+e.length)};let l=s.head,c=Yu(r.doc,l),u;if(c==e){if(kb(r,l))return{changes:{insert:e+e,from:l},effects:Qi.of(l+e.length),range:ge.cursor(l+e.length)};if(BT(r,l)){let p=t&&r.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+p.length,insert:p},range:ge.cursor(l+p.length)}}}else{if(t&&r.sliceDoc(l-2*e.length,l)==e+e&&(u=Nb(r,l-2*e.length,a))>-1&&kb(r,u))return{changes:{insert:e+e+e+e,from:l},effects:Qi.of(l+e.length),range:ge.cursor(l+e.length)};if(r.charCategorizer(l)(c)!=jt.Word&&Nb(r,l,a)>-1&&!EL(r,l,e,a))return{changes:{insert:e+e,from:l},effects:Qi.of(l+e.length),range:ge.cursor(l+e.length)}}return{range:i=s}});return i?null:r.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function kb(r,e){let t=en(r).resolveInner(e+1);return t.parent&&t.from==e}function EL(r,e,t,n){let a=en(r).resolveInner(e,-1),i=n.reduce((o,s)=>Math.max(o,s.length),0);for(let o=0;o<5;o++){let s=r.sliceDoc(a.from,Math.min(a.to,a.from+t.length+i)),l=s.indexOf(t);if(!l||l>-1&&n.indexOf(s.slice(0,l))>-1){let u=a.firstChild;for(;u&&u.from==a.from&&u.to-u.from>t.length+l;){if(r.sliceDoc(u.to-t.length,u.to)==t)return!1;u=u.firstChild}return!0}let c=a.to==e&&a.parent;if(!c)break;a=c}return!1}function Nb(r,e,t){let n=r.charCategorizer(e);if(n(r.sliceDoc(e-1,e))!=jt.Word)return e;for(let a of t){let i=e-a.length;if(r.sliceDoc(i,e)==a&&n(r.sliceDoc(i-1,i))!=jt.Word)return i}return-1}function yL(r={}){return[pr,rr.of(r),eL,CL,DT]}const TL=[{key:"Ctrl-Space",run:X4},{key:"Escape",run:K4},{key:"ArrowDown",run:Sc(!0)},{key:"ArrowUp",run:Sc(!1)},{key:"PageDown",run:Sc(!0,"page")},{key:"PageUp",run:Sc(!1,"page")},{key:"Enter",run:W4}],CL=$a.highest(no.computeN([rr],r=>r.facet(rr).defaultKeymap?[TL]:[])),RL=[qr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),qr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),qr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),qr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),qr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),qr(`try { \${} } catch (\${error}) { \${} @@ -19,18 +19,18 @@ var RN=Object.defineProperty;var wN=(r,e,t)=>e in r?RN(r,e,{enumerable:!0,config constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),qr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),qr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Db=new PE,BT=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function xs(r){return(e,t)=>{let n=e.node.getChild("VariableDefinition");return n&&t(n,r),!0}}const RL=["FunctionDeclaration"],wL={FunctionDeclaration:xs("function"),ClassDeclaration:xs("class"),ClassExpression:()=>!0,EnumDeclaration:xs("constant"),TypeAliasDeclaration:xs("type"),NamespaceDeclaration:xs("namespace"),VariableDefinition(r,e){r.matchContext(RL)||e(r,"variable")},TypeDefinition(r,e){e(r,"type")},__proto__:null};function YT(r,e){let t=Db.get(e);if(t)return t;let n=[],a=!0;function i(o,s){let l=r.sliceString(o.from,o.to);n.push({label:l,type:s})}return e.cursor(Qt.IncludeAnonymous).iterate(o=>{if(a)a=!1;else if(o.name){let s=wL[o.name];if(s&&s(o,i)||BT.has(o.name))return!1}else if(o.to-o.from>8192){for(let s of YT(r,o.node))n.push(s);return!1}}),Db.set(e,n),n}const xb=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,FT=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function AL(r){let e=en(r.state).resolveInner(r.pos,-1);if(FT.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&xb.test(r.state.sliceDoc(e.from,e.to));if(!t&&!r.explicit)return null;let n=[];for(let a=e;a;a=a.parent)BT.has(a.name)&&(n=n.concat(YT(r.state.doc,a)));return{options:n,from:t?e.from:r.pos,validFor:xb}}const ea=Wo.define({name:"javascript",parser:mx.configure({props:[Ql.add({IfStatement:Bc({except:/^\s*({|else\b)/}),TryStatement:Bc({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:e4,SwitchBody:r=>{let e=r.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return r.baseIndent+(t?0:n?1:2)*r.unit},Block:J8({closing:"}"}),ArrowFunction:r=>r.baseIndent+r.unit,"TemplateString BlockComment":()=>null,"Statement Property":Bc({except:/^{/}),JSXElement(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},JSXEscape(r){let e=/\s*\}/.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"JSXOpenTag JSXSelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Hl.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":pT,BlockComment(r){return{from:r.from+2,to:r.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),UT={test:r=>/^JSX/.test(r.name),facet:w0({commentTokens:{block:{open:"{/*",close:"*/}"}}})},$T=ea.configure({dialect:"ts"},"typescript"),GT=ea.configure({dialect:"jsx",props:[A0.add(r=>r.isTop?[UT]:void 0)]}),qT=ea.configure({dialect:"jsx ts",props:[A0.add(r=>r.isTop?[UT]:void 0)]},"typescript"),IL="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(r=>({label:r,type:"keyword"}));function U0(r={}){let e=r.jsx?r.typescript?qT:GT:r.typescript?$T:ea;return new Ol(e,[ea.data.of({autocomplete:x4(FT,CT(CL.concat(IL)))}),ea.data.of({autocomplete:AL}),r.jsx?xL:[]])}function kL(r){for(;;){if(r.name=="JSXOpenTag"||r.name=="JSXSelfClosingTag"||r.name=="JSXFragmentTag")return r;if(r.name=="JSXEscape"||!r.parent)return null;r=r.parent}}function Mb(r,e,t=r.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return r.sliceString(n.from,Math.min(n.to,t));return""}function NL(r){return r&&(r.name=="JSXEndTag"||r.name=="JSXSelfCloseEndTag")}const DL=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),xL=Le.inputHandler.of((r,e,t,n)=>{if((DL?r.composing:r.compositionStarted)||r.state.readOnly||e!=t||n!=">"&&n!="/"||!ea.isActiveAt(r.state,e,-1))return!1;let{state:a}=r,i=a.changeByRange(o=>{var s;let{head:l}=o,c=en(a).resolveInner(l,-1),u;if(c.name=="JSXStartTag"&&(c=c.parent),!(c.name=="JSXAttributeValue"&&c.to>l)){if(n==">"&&c.name=="JSXFragmentTag")return{range:ge.cursor(l+1),changes:{from:l,insert:">"}};if(n=="/"&&c.name=="JSXFragmentTag"){let h=c.parent,p=h==null?void 0:h.parent;if(h.from==l-1&&((s=p.lastChild)===null||s===void 0?void 0:s.name)!="JSXEndTag"&&(u=Mb(a.doc,p==null?void 0:p.firstChild,l))){let _=`/${u}>`;return{range:ge.cursor(l+_.length),changes:{from:l,insert:_}}}}else if(n==">"){let h=kL(c);if(h&&!NL(h.lastChild)&&a.sliceDoc(l,l+2)!="`}}}}return{range:o}});return i.changes.empty?!1:(r.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)});class cu{static create(e,t,n,a,i){let o=a+(a<<8)+e+(t<<4)|0;return new cu(e,t,n,o,i,[],[])}constructor(e,t,n,a,i,o,s){this.type=e,this.value=t,this.from=n,this.hash=a,this.end=i,this.children=o,this.positions=s,this.hashProp=[[at.contextHash,a]]}addChild(e,t){e.prop(at.contextHash)!=this.hash&&(e=new It(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new It(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(a,i,o)=>new It(On.none,a,i,o,this.hashProp)})}}var Te;(function(r){r[r.Document=1]="Document",r[r.CodeBlock=2]="CodeBlock",r[r.FencedCode=3]="FencedCode",r[r.Blockquote=4]="Blockquote",r[r.HorizontalRule=5]="HorizontalRule",r[r.BulletList=6]="BulletList",r[r.OrderedList=7]="OrderedList",r[r.ListItem=8]="ListItem",r[r.ATXHeading1=9]="ATXHeading1",r[r.ATXHeading2=10]="ATXHeading2",r[r.ATXHeading3=11]="ATXHeading3",r[r.ATXHeading4=12]="ATXHeading4",r[r.ATXHeading5=13]="ATXHeading5",r[r.ATXHeading6=14]="ATXHeading6",r[r.SetextHeading1=15]="SetextHeading1",r[r.SetextHeading2=16]="SetextHeading2",r[r.HTMLBlock=17]="HTMLBlock",r[r.LinkReference=18]="LinkReference",r[r.Paragraph=19]="Paragraph",r[r.CommentBlock=20]="CommentBlock",r[r.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",r[r.Escape=22]="Escape",r[r.Entity=23]="Entity",r[r.HardBreak=24]="HardBreak",r[r.Emphasis=25]="Emphasis",r[r.StrongEmphasis=26]="StrongEmphasis",r[r.Link=27]="Link",r[r.Image=28]="Image",r[r.InlineCode=29]="InlineCode",r[r.HTMLTag=30]="HTMLTag",r[r.Comment=31]="Comment",r[r.ProcessingInstruction=32]="ProcessingInstruction",r[r.URL=33]="URL",r[r.HeaderMark=34]="HeaderMark",r[r.QuoteMark=35]="QuoteMark",r[r.ListMark=36]="ListMark",r[r.LinkMark=37]="LinkMark",r[r.EmphasisMark=38]="EmphasisMark",r[r.CodeMark=39]="CodeMark",r[r.CodeText=40]="CodeText",r[r.CodeInfo=41]="CodeInfo",r[r.LinkTitle=42]="LinkTitle",r[r.LinkLabel=43]="LinkLabel"})(Te||(Te={}));class ML{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class LL{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return el(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let a=t;a=e.stack[t.depth+1].value+t.baseIndent)return!0;if(t.indent>=t.baseIndent+4)return!1;let n=(r.type==Te.OrderedList?q0:G0)(t,e,!1);return n>0&&(r.type!=Te.BulletList||$0(t,e,!1)<0)&&t.text.charCodeAt(t.pos+n-1)==r.value}const QT={[Te.Blockquote](r,e,t){return t.next!=62?!1:(t.markers.push(wt(Te.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1)),t.moveBase(t.pos+(Br(t.text.charCodeAt(t.pos+1))?2:1)),r.end=e.lineStart+t.text.length,!0)},[Te.ListItem](r,e,t){return t.indent-1?!1:(t.moveBaseColumn(t.baseIndent+r.value),!0)},[Te.OrderedList]:Lb,[Te.BulletList]:Lb,[Te.Document](){return!0}};function Br(r){return r==32||r==9||r==10||r==13}function el(r,e=0){for(;et&&Br(r.charCodeAt(e-1));)e--;return e}function HT(r){if(r.next!=96&&r.next!=126)return-1;let e=r.pos+1;for(;e-1&&r.depth==e.stack.length||n<3?-1:1}function zT(r,e){for(let t=r.stack.length-1;t>=0;t--)if(r.stack[t].type==e)return!0;return!1}function G0(r,e,t){return(r.next==45||r.next==43||r.next==42)&&(r.pos==r.text.length-1||Br(r.text.charCodeAt(r.pos+1)))&&(!t||zT(e,Te.BulletList)||r.skipSpace(r.pos+2)=48&&a<=57;){n++;if(n==r.text.length)return-1;a=r.text.charCodeAt(n)}return n==r.pos||n>r.pos+9||a!=46&&a!=41||nr.pos+1||r.next!=49)?-1:n+1-r.pos}function WT(r){if(r.next!=35)return-1;let e=r.pos+1;for(;e6?-1:t}function XT(r){if(r.next!=45&&r.next!=61||r.indent>=r.baseIndent+4)return-1;let e=r.pos+1;for(;e/,ZT=/\?>/,Ig=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,jT=/\?>/,Ig=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(i)return r.append(wt(Te.Comment,t,t+1+i[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return r.append(wt(Te.ProcessingInstruction,t,t+1+o[0].length));let s=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return s?r.append(wt(Te.HTMLTag,t,t+1+s[0].length)):-1},Emphasis(r,e,t){if(e!=95&&e!=42)return-1;let n=t+1;for(;r.char(n)==e;)n++;let a=r.slice(t-1,t),i=r.slice(n,n+1),o=Rl.test(a),s=Rl.test(i),l=/\s|^$/.test(a),c=/\s|^$/.test(i),u=!c&&(!s||l||o),h=!l&&(!o||c||s),p=u&&(e==42||!h||o),_=h&&(e==42||!u||s);return r.append(new Jr(e==95?rC:aC,t,n,(p?1:0)|(_?2:0)))},HardBreak(r,e,t){if(e==92&&r.char(t+1)==10)return r.append(wt(Te.HardBreak,t,t+2));if(e==32){let n=t+1;for(;r.char(n)==32;)n++;if(r.char(n)==10&&n>=t+2)return r.append(wt(Te.HardBreak,t,n+1))}return-1},Link(r,e,t){return e==91?r.append(new Jr(Ls,t,t+1,1)):-1},Image(r,e,t){return e==33&&r.char(t+1)==91?r.append(new Jr(Yb,t,t+2,1)):-1},LinkEnd(r,e,t){if(e!=93)return-1;for(let n=r.parts.length-1;n>=0;n--){let a=r.parts[n];if(a instanceof Jr&&(a.type==Ls||a.type==Yb)){if(!a.side||r.skipSpace(a.to)==t&&!/[(\[]/.test(r.slice(t+1,t+2)))return r.parts[n]=null,-1;let i=r.takeContent(n),o=r.parts[n]=GL(r,i,a.type==Ls?Te.Link:Te.Image,a.from,t+1);if(a.type==Ls)for(let s=0;se?wt(Te.URL,e+t,i+t):i==r.length?null:!1}}function oC(r,e,t){let n=r.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let a=n==40?41:n;for(let i=e+1,o=!1;i=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,a,i){return this.append(new Jr(e,t,n,(a?1:0)|(i?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;l--){let A=this.parts[l];if(A instanceof Jr&&A.side&1&&A.type==a.type&&!(i&&(a.side&1||A.side&2)&&(A.to-A.from+o)%3==0&&((A.to-A.from)%3||o%3))){s=A;break}}if(!s)continue;let c=a.type.resolve,u=[],h=s.from,p=a.to;if(i){let A=Math.min(2,s.to-s.from,o);h=s.to-A,p=a.from+A,c=A==1?"Emphasis":"StrongEmphasis"}s.type.mark&&u.push(this.elt(s.type.mark,h,s.to));for(let A=l+1;A=0;t--){let n=this.parts[t];if(n instanceof Jr&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return el(this.text,e-this.offset)+this.offset}elt(e,t,n,a){return typeof e=="string"?wt(this.parser.getNodeType(e),t,n,a):new nC(e,t)}}function Ng(r,e){if(!e.length)return r;if(!r.length)return e;let t=r.slice(),n=0;for(let a of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let i=this.fragment.to;for(;i>0&&this.input.read(i-1,i)!=` -`;)i--;this.fragmentEnd=i?i-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=t;if(!n.childAfter(a))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(at.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,a=this.fragmentEnd-(this.fragment.openEnd?1:0),i=e.absoluteLineStart,o=i,s=e.block.children.length,l=o,c=s;for(;;){if(t.to-n>a){if(t.type.isAnonymous&&t.firstChild())continue;break}let u=lC(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,u);else{let h=new It(e.parser.nodeSet.types[Te.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,t.tree),e.addNode(h,u)}if(t.type.is("Block")&&(QL.indexOf(t.type.id)<0?(o=t.to-n,s=e.block.children.length):(o=l,s=c,l=t.to-n,c=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return o-i}}function lC(r,e){let t=r;for(let n=1;nOc[r]),Object.keys(Oc).map(r=>YL[r]),Object.keys(Oc),FL,QT,Object.keys(qd).map(r=>qd[r]),Object.keys(qd),[]);function WL(r,e,t){let n=[];for(let a=r.firstChild,i=e;;a=a.nextSibling){let o=a?a.from:t;if(o>i&&n.push({from:i,to:o}),!a)break;i=a.to}return n}function XL(r){let{codeParser:e,htmlParser:t}=r;return{wrap:BE((a,i)=>{let o=a.type.id;if(e&&(o==Te.CodeBlock||o==Te.FencedCode)){let s="";if(o==Te.FencedCode){let c=a.node.getChild(Te.CodeInfo);c&&(s=i.read(c.from,c.to))}let l=e(s);if(l)return{parser:l,overlay:c=>c.type.id==Te.CodeText}}else if(t&&(o==Te.HTMLBlock||o==Te.HTMLTag))return{parser:t,overlay:WL(a.node,a.from,a.to)};return null})}}const KL={resolve:"Strikethrough",mark:"StrikethroughMark"},ZL={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":Q.strikethrough}},{name:"StrikethroughMark",style:Q.processingInstruction}],parseInline:[{name:"Strikethrough",parse(r,e,t){if(e!=126||r.char(t+1)!=126||r.char(t+2)==126)return-1;let n=r.slice(t-1,t),a=r.slice(t+2,t+3),i=/\s|^$/.test(n),o=/\s|^$/.test(a),s=Rl.test(n),l=Rl.test(a);return r.addDelimiter(KL,t,t+2,!o&&(!l||i||s),!i&&(!s||o||l))},after:"Emphasis"}]};function tl(r,e,t=0,n,a=0){let i=0,o=!0,s=-1,l=-1,c=!1,u=()=>{n.push(r.elt("TableCell",a+s,a+l,r.parser.parseInline(e.slice(s,l),a+s)))};for(let h=t;h-1)&&i++,o=!1,n&&(s>-1&&u(),n.push(r.elt("TableDelimiter",h+a,h+a+1))),s=l=-1):(c||p!=32&&p!=9)&&(s<0&&(s=h),l=h+1),c=!c&&p==92}return s>-1&&(i++,n&&u()),i}function Ub(r,e){for(let t=e;ta instanceof $b)||!Ub(e.text,e.basePos))return!1;let n=r.scanLine(r.absoluteLineEnd+1).text;return cC.test(n)&&tl(r,e.text,e.basePos)==tl(r,n,e.basePos)},before:"SetextHeading"}]};class JL{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const eP={defineNodes:[{name:"Task",block:!0,style:Q.list},{name:"TaskMarker",style:Q.atom}],parseBlock:[{name:"TaskList",leaf(r,e){return/^\[[ xX]\][ \t]/.test(e.content)&&r.parentType().name=="ListItem"?new JL:null},after:"SetextHeading"}]},Gb=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,qb=/[\w-]+(\.\w+(\.\w+)?)(\/[^\s<]*)?/gy,Qb=/[\w.+-]+@[\w-]+\.[\w.-]+/gy,Hb=/\/[a-zA-Z\d@.]+/gy;function Vb(r,e,t,n){let a=0;for(let i=e;iVb(r,e,n,"("))n--;else if(a==";"&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(r.slice(e,n))))n=e+i.index;else break}return n}function zb(r,e){Qb.lastIndex=e;let t=Qb.exec(r);if(!t)return-1;let n=t[0][t[0].length-1];return n=="_"||n=="-"?-1:e+t[0].length-(n=="."?1:0)}const nP={parseInline:[{name:"Autolink",parse(r,e,t){let n=t-r.offset;Gb.lastIndex=n;let a=Gb.exec(r.text),i=-1;return!a||(a[1]||a[2]?i=tP(r.text,n+a[0].length):a[3]?i=zb(r.text,n):(i=zb(r.text,n+a[0].length),i>-1&&a[0]=="xmpp:"&&(Hb.lastIndex=i,a=Hb.exec(r.text),a&&(i=a.index+a[0].length))),i<0)?-1:(r.addElement(r.elt("URL",t,i+r.offset)),i+r.offset)}}]},rP=[jL,eP,ZL,nP];function uC(r,e,t){return(n,a,i)=>{if(a!=r||n.char(i+1)==r)return-1;let o=[n.elt(t,i,i+1)];for(let s=i+1;s=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function bC(r){return r==9||r==10||r==13||r==32}let Zb=null,jb=null,Jb=0;function xg(r,e){let t=r.pos+e;if(Jb==t&&jb==r)return Zb;let n=r.peek(e);for(;bC(n);)n=r.peek(++e);let a="";for(;IP(n);)a+=String.fromCharCode(n),n=r.peek(++e);return jb=r,Jb=t,Zb=a?a.toLowerCase():n==kP||n==NP?void 0:null}const SC=60,du=62,Q0=47,kP=63,NP=33,DP=45;function e2(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new e2(xg(n,1)||"",r):r},reduce(r,e){return e==pC&&r?r.parent:r},reuse(r,e,t,n){let a=e.type.id;return a==uu||a==yP?new e2(xg(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),LP=new ya((r,e)=>{if(r.next!=SC){r.next<0&&e.context&&r.acceptToken(Qd);return}r.advance();let t=r.next==Q0;t&&r.advance();let n=xg(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?_P:uu);let a=e.context?e.context.name:null;if(t){if(n==a)return r.acceptToken(mP);if(a&&AP[a])return r.acceptToken(Qd,-2);if(e.dialectEnabled(CP))return r.acceptToken(pP);for(let i=e.context;i;i=i.parent)if(i.name==n)return;r.acceptToken(gP)}else{if(n=="script")return r.acceptToken(dC);if(n=="style")return r.acceptToken(hC);if(n=="textarea")return r.acceptToken(fC);if(wP.hasOwnProperty(n))return r.acceptToken(mC);a&&Kb[a]&&Kb[a][n]?r.acceptToken(Qd,-1):r.acceptToken(uu)}},{contextual:!0}),PP=new ya(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(Xb);break}if(r.next==DP)e++;else if(r.next==du&&e>=2){t>3&&r.acceptToken(Xb,-2);break}else e=0;r.advance()}});function BP(r){for(;r;r=r.parent)if(r.name=="svg"||r.name=="math")return!0;return!1}const YP=new ya((r,e)=>{if(r.next==Q0&&r.peek(1)==du){let t=e.dialectEnabled(RP)||BP(e.context);r.acceptToken(t?fP:Wb,2)}else r.next==du&&r.acceptToken(Wb,1)});function H0(r,e,t){let n=2+r.length;return new ya(a=>{for(let i=0,o=0,s=0;;s++){if(a.next<0){s&&a.acceptToken(e);break}if(i==0&&a.next==SC||i==1&&a.next==Q0||i>=2&&io?a.acceptToken(e,-o):a.acceptToken(t,-(o-2));break}else if((a.next==10||a.next==13)&&s){a.acceptToken(e,1);break}else i=o=0;a.advance()}})}const FP=H0("script",sP,lP),UP=H0("style",cP,uP),$P=H0("textarea",dP,hP),GP=os({"Text RawText":Q.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Q.angleBracket,TagName:Q.tagName,"MismatchedCloseTag/TagName":[Q.tagName,Q.invalid],AttributeName:Q.attributeName,"AttributeValue UnquotedAttributeValue":Q.attributeValue,Is:Q.definitionOperator,"EntityReference CharacterReference":Q.character,Comment:Q.blockComment,ProcessingInst:Q.processingInstruction,DoctypeDecl:Q.documentMeta}),qP=Vo.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:MP,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[GP],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=s.type.id;if(c==OP)return Hd(s,l,t);if(c==vP)return Hd(s,l,n);if(c==EP)return Hd(s,l,a);if(c==pC&&i.length){let u=s.node,h=u.firstChild,p=h&&t2(h,l),_;if(p){for(let b of i)if(b.tag==p&&(!b.attrs||b.attrs(_||(_=OC(u,l))))){let A=u.lastChild;return{parser:b.parser,overlay:[{from:h.to,to:A.type.id==TP?A.from:u.to}]}}}}if(o&&c==gC){let u=s.node,h;if(h=u.firstChild){let p=o[l.read(h.from,h.to)];if(p)for(let _ of p){if(_.tagName&&_.tagName!=t2(u.parent,l))continue;let b=u.lastChild;if(b.type.id==Dg){let A=b.from+1,I=b.lastChild,M=b.to-(I&&I.isError?0:1);if(M>A)return{parser:_.parser,overlay:[{from:A,to:M}]}}else if(b.type.id==_C)return{parser:_.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const QP=96,n2=1,HP=97,VP=98,r2=2,EC=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],zP=58,WP=40,yC=95,XP=91,Yc=45,KP=46,ZP=35,jP=37;function hu(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function JP(r){return r>=48&&r<=57}const e9=new ya((r,e)=>{for(let t=!1,n=0,a=0;;a++){let{next:i}=r;if(hu(i)||i==Yc||i==yC||t&&JP(i))!t&&(i!=Yc||a>0)&&(t=!0),n===a&&i==Yc&&n++,r.advance();else{t&&r.acceptToken(i==WP?HP:n==2&&e.canShift(r2)?r2:VP);break}}}),t9=new ya(r=>{if(EC.includes(r.peek(-1))){let{next:e}=r;(hu(e)||e==yC||e==ZP||e==KP||e==XP||e==zP||e==Yc)&&r.acceptToken(QP)}}),n9=new ya(r=>{if(!EC.includes(r.peek(-1))){let{next:e}=r;if(e==jP&&(r.advance(),r.acceptToken(n2)),hu(e)){do r.advance();while(hu(r.next));r.acceptToken(n2)}}}),r9=os({"AtKeyword import charset namespace keyframes media supports":Q.definitionKeyword,"from to selector":Q.keyword,NamespaceName:Q.namespace,KeyframeName:Q.labelName,KeyframeRangeName:Q.operatorKeyword,TagName:Q.tagName,ClassName:Q.className,PseudoClassName:Q.constant(Q.className),IdName:Q.labelName,"FeatureName PropertyName":Q.propertyName,AttributeName:Q.attributeName,NumberLiteral:Q.number,KeywordQuery:Q.keyword,UnaryQueryOp:Q.operatorKeyword,"CallTag ValueName":Q.atom,VariableName:Q.variableName,Callee:Q.operatorKeyword,Unit:Q.unit,"UniversalSelector NestingSelector":Q.definitionOperator,MatchOp:Q.compareOperator,"ChildOp SiblingOp, LogicOp":Q.logicOperator,BinOp:Q.arithmeticOperator,Important:Q.modifier,Comment:Q.blockComment,ColorLiteral:Q.color,"ParenthesizedContent StringLiteral":Q.string,":":Q.punctuation,"PseudoOp #":Q.derefOperator,"; ,":Q.separator,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace}),a9={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},i9={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},o9={__proto__:null,not:128,only:128},s9=Vo.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[t9,n9,e9,1,2,3,4,new Wc("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:r=>a9[r]||-1},{term:56,get:r=>i9[r]||-1},{term:98,get:r=>o9[r]||-1}],tokenPrec:1169});let Vd=null;function zd(){if(!Vd&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));Vd=e.sort().map(n=>({type:"property",label:n}))}return Vd||[]}const a2=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),i2=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),l9=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),ri=/^(\w[\w-]*|-\w[\w-]*|)$/,c9=/^-(-[\w-]*)?$/;function u9(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const o2=new PE,d9=["Declaration"];function h9(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function TC(r,e,t){if(e.to-e.from>4096){let n=o2.get(e);if(n)return n;let a=[],i=new Set,o=e.cursor(Qt.IncludeAnonymous);if(o.firstChild())do for(let s of TC(r,o.node,t))i.has(s.label)||(i.add(s.label),a.push(s));while(o.nextSibling());return o2.set(e,a),a}else{let n=[],a=new Set;return e.cursor().iterate(i=>{var o;if(t(i)&&i.matchContext(d9)&&((o=i.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let s=r.sliceString(i.from,i.to);a.has(s)||(a.add(s),n.push({label:s,type:"variable"}))}}),n}}const f9=r=>e=>{let{state:t,pos:n}=e,a=en(t).resolveInner(n,-1),i=a.type.isError&&a.from==a.to-1&&t.doc.sliceString(a.from,a.to)=="-";if(a.name=="PropertyName"||(i||a.name=="TagName")&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:zd(),validFor:ri};if(a.name=="ValueName")return{from:a.from,options:i2,validFor:ri};if(a.name=="PseudoClassName")return{from:a.from,options:a2,validFor:ri};if(r(a)||(e.explicit||i)&&u9(a,t.doc))return{from:r(a)||i?a.from:n,options:TC(t.doc,h9(a),r),validFor:c9};if(a.name=="TagName"){for(let{parent:l}=a;l;l=l.parent)if(l.name=="Block")return{from:a.from,options:zd(),validFor:ri};return{from:a.from,options:l9,validFor:ri}}if(!e.explicit)return null;let o=a.resolve(n),s=o.childBefore(n);return s&&s.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:a2,validFor:ri}:s&&s.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:i2,validFor:ri}:o.name=="Block"||o.name=="Styles"?{from:n,options:zd(),validFor:ri}:null},m9=f9(r=>r.name=="VariableName"),fu=Wo.define({name:"css",parser:s9.configure({props:[Ql.add({Declaration:Bc()}),Hl.add({"Block KeyframeList":pT})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function p9(){return new Ol(fu,fu.data.of({autocomplete:m9}))}const Ps=["_blank","_self","_top","_parent"],Wd=["ascii","utf-8","utf-16","latin1","latin1"],Xd=["get","post","put","delete"],Kd=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],ur=["true","false"],$e={},g9={a:{attrs:{href:null,ping:null,type:null,media:null,target:Ps,hreflang:null}},abbr:$e,address:$e,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:$e,aside:$e,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:$e,base:{attrs:{href:null,target:Ps}},bdi:$e,bdo:$e,blockquote:{attrs:{cite:null}},body:$e,br:$e,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Kd,formmethod:Xd,formnovalidate:["novalidate"],formtarget:Ps,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:$e,center:$e,cite:$e,code:$e,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:$e,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:$e,div:$e,dl:$e,dt:$e,em:$e,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:$e,figure:$e,footer:$e,form:{attrs:{action:null,name:null,"accept-charset":Wd,autocomplete:["on","off"],enctype:Kd,method:Xd,novalidate:["novalidate"],target:Ps}},h1:$e,h2:$e,h3:$e,h4:$e,h5:$e,h6:$e,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:$e,hgroup:$e,hr:$e,html:{attrs:{manifest:null}},i:$e,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Kd,formmethod:Xd,formnovalidate:["novalidate"],formtarget:Ps,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:$e,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:$e,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:$e,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Wd,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:$e,noscript:$e,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:$e,param:{attrs:{name:null,value:null}},pre:$e,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:$e,rt:$e,ruby:$e,samp:$e,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Wd}},section:$e,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:$e,source:{attrs:{src:null,type:null,media:null}},span:$e,strong:$e,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:$e,summary:$e,sup:$e,table:$e,tbody:$e,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:$e,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:$e,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:$e,time:{attrs:{datetime:null}},title:$e,tr:$e,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:$e,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:$e},CC={accesskey:null,class:null,contenteditable:ur,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:ur,autocorrect:ur,autocapitalize:ur,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":ur,"aria-autocomplete":["inline","list","both","none"],"aria-busy":ur,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":ur,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":ur,"aria-hidden":ur,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":ur,"aria-multiselectable":ur,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":ur,"aria-relevant":null,"aria-required":ur,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},RC="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of RC)CC[r]=null;class wl{constructor(e,t){this.tags=Object.assign(Object.assign({},g9),e),this.globalAttrs=Object.assign(Object.assign({},CC),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}wl.default=new wl;function Jo(r,e,t=r.length){if(!e)return"";let n=e.firstChild,a=n&&n.getChild("TagName");return a?r.sliceString(a.from,Math.min(a.to,t)):""}function es(r,e=!1){for(;r;r=r.parent)if(r.name=="Element")if(e)e=!1;else return r;return null}function wC(r,e,t){let n=t.tags[Jo(r,es(e))];return(n==null?void 0:n.children)||t.allTags}function V0(r,e){let t=[];for(let n=es(e);n&&!n.type.isTop;n=es(n.parent)){let a=Jo(r,n);if(a&&n.lastChild.name=="CloseTag")break;a&&t.indexOf(a)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&t.push(a)}return t}const AC=/^[:\-\.\w\u00b7-\uffff]*$/;function s2(r,e,t,n,a){let i=/\s*>/.test(r.sliceDoc(a,a+5))?"":">",o=es(t,!0);return{from:n,to:a,options:wC(r.doc,o,e).map(s=>({label:s,type:"type"})).concat(V0(r.doc,t).map((s,l)=>({label:"/"+s,apply:"/"+s+i,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function l2(r,e,t,n){let a=/\s*>/.test(r.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:V0(r.doc,e).map((i,o)=>({label:i,apply:i+a,type:"type",boost:99-o})),validFor:AC}}function _9(r,e,t,n){let a=[],i=0;for(let o of wC(r.doc,t,e))a.push({label:"<"+o,type:"type"});for(let o of V0(r.doc,t))a.push({label:"",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function b9(r,e,t,n,a){let i=es(t),o=i?e.tags[Jo(r.doc,i)]:null,s=o&&o.attrs?Object.keys(o.attrs):[],l=o&&o.globalAttrs===!1?s:s.length?s.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:a,options:l.map(c=>({label:c,type:"property"})),validFor:AC}}function S9(r,e,t,n,a){var i;let o=(i=t.parent)===null||i===void 0?void 0:i.getChild("AttributeName"),s=[],l;if(o){let c=r.sliceDoc(o.from,o.to),u=e.globalAttrs[c];if(!u){let h=es(t),p=h?e.tags[Jo(r.doc,h)]:null;u=(p==null?void 0:p.attrs)&&p.attrs[c]}if(u){let h=r.sliceDoc(n,a).toLowerCase(),p='"',_='"';/^['"]/.test(h)?(l=h[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",_=r.sliceDoc(a,a+1)==h[0]?"":h[0],h=h.slice(1),n++):l=/^[^\s<>='"]*$/;for(let b of u)s.push({label:b,apply:p+b+_,type:"constant"})}}return{from:n,to:a,options:s,validFor:l}}function IC(r,e){let{state:t,pos:n}=e,a=en(t).resolveInner(n,-1),i=a.resolve(n);for(let o=n,s;i==a&&(s=a.childBefore(o));){let l=s.lastChild;if(!l||!l.type.isError||l.fromIC(n,a)}const kC=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:$T.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:GT.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:qT.parser},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:ea.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:fu.parser}],NC=[{name:"style",parser:fu.parser.configure({top:"Styles"})}].concat(RC.map(r=>({name:r,parser:ea.parser}))),DC=Wo.define({name:"html",parser:qP.configure({props:[Ql.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].lengthr.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Fc=DC.configure({wrap:vC(kC,NC)});function E9(r={}){let e="",t;r.matchClosingTags===!1&&(e="noMatch"),r.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(r.nestedLanguages&&r.nestedLanguages.length||r.nestedAttributes&&r.nestedAttributes.length)&&(t=vC((r.nestedLanguages||[]).concat(kC),(r.nestedAttributes||[]).concat(NC)));let n=t?DC.configure({wrap:t,dialect:e}):e?Fc.configure({dialect:e}):Fc;return new Ol(n,[Fc.data.of({autocomplete:v9(r)}),r.autoCloseTags!==!1?y9:[],U0().support,p9().support])}const c2=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),y9=Le.inputHandler.of((r,e,t,n)=>{if(r.composing||r.state.readOnly||e!=t||n!=">"&&n!="/"||!Fc.isActiveAt(r.state,e,-1))return!1;let{state:a}=r,i=a.changeByRange(o=>{var s,l,c;let{head:u}=o,h=en(a).resolveInner(u,-1),p;if((h.name=="TagName"||h.name=="StartTag")&&(h=h.parent),n==">"&&h.name=="OpenTag"){if(((l=(s=h.parent)===null||s===void 0?void 0:s.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag"&&(p=Jo(a.doc,h.parent,u))&&!c2.has(p)){let _=r.state.doc.sliceString(u,u+1)===">",b=`${_?"":">"}`;return{range:ge.cursor(u+1),changes:{from:u+(_?1:0),insert:b}}}}else if(n=="/"&&h.name=="OpenTag"){let _=h.parent,b=_==null?void 0:_.parent;if(_.from==u-1&&((c=b.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(p=Jo(a.doc,b,u))&&!c2.has(p)){let A=r.state.doc.sliceString(u,u+1)===">",I=`/${p}${A?"":">"}`,M=u+I.length+(A?1:0);return{range:ge.cursor(M),changes:{from:u,insert:I}}}}return{range:o}});return i.changes.empty?!1:(r.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)}),xC=w0({commentTokens:{block:{open:""}}}),MC=new at,LC=zL.configure({props:[Hl.add(r=>!r.is("Block")||r.is("Document")||Mg(r)!=null?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),MC.add(Mg),Ql.add({Document:()=>null}),qi.add({Document:xC})]});function Mg(r){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(r.name);return e?+e[1]:void 0}function T9(r,e){let t=r;for(;;){let n=t.nextSibling,a;if(!n||(a=Mg(n.type))!=null&&a<=e)break;t=n}return t.to}const C9=mT.of((r,e,t)=>{for(let n=en(r).resolveInner(t,-1);n&&!(n.fromt)return{from:t,to:i}}return null});function z0(r){return new _r(xC,r,[C9],"markdown")}const R9=z0(LC),w9=LC.configure([rP,iP,aP,oP]),PC=z0(w9);function A9(r,e){return t=>{if(t&&r){let n=null;if(t=/\S*/.exec(t)[0],typeof r=="function"?n=r(t):n=ou.matchLanguageName(r,t,!0),n instanceof ou)return n.support?n.support.language.parser:Sl.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class Ec{constructor(e,t,n,a,i,o,s){this.node=e,this.from=t,this.to=n,this.spaceBefore=a,this.spaceAfter=i,this.type=o,this.item=s}blank(e,t=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;a--)n+=" ";return n+(t?this.spaceAfter:"")}}marker(e,t){let n=this.node.name=="OrderedList"?String(+YC(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function BC(r,e){let t=[];for(let a=r;a&&a.name!="Document";a=a.parent)(a.name=="ListItem"||a.name=="Blockquote"||a.name=="FencedCode")&&t.push(a);let n=[];for(let a=t.length-1;a>=0;a--){let i=t[a],o,s=e.lineAt(i.from),l=i.from-s.from;if(i.name=="FencedCode")n.push(new Ec(i,l,l,"","","",null));else if(i.name=="Blockquote"&&(o=/^[ \t]*>( ?)/.exec(s.text.slice(l))))n.push(new Ec(i,l,l+o[0].length,"",o[1],">",null));else if(i.name=="ListItem"&&i.parent.name=="OrderedList"&&(o=/^([ \t]*)\d+([.)])([ \t]*)/.exec(s.text.slice(l)))){let c=o[3],u=o[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),n.push(new Ec(i.parent,l,l+u,o[1],c,o[2],i))}else if(i.name=="ListItem"&&i.parent.name=="BulletList"&&(o=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(s.text.slice(l)))){let c=o[4],u=o[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new Ec(i.parent,l,l+u,o[1],c,h,i))}}return n}function YC(r,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(r.from,r.from+10))}function Zd(r,e,t,n=0){for(let a=-1,i=r;;){if(i.name=="ListItem"){let s=YC(i,e),l=+s[2];if(a>=0){if(l!=a+1)return;t.push({from:i.from+s[1].length,to:i.from+s[0].length,insert:String(a+2+n)})}a=l}let o=i.nextSibling;if(!o)break;i=o}}const I9=({state:r,dispatch:e})=>{let t=en(r),{doc:n}=r,a=null,i=r.changeByRange(o=>{if(!o.empty||!PC.isActiveAt(r,o.from))return a={range:o};let s=o.from,l=n.lineAt(s),c=BC(t.resolveInner(s,-1),n);for(;c.length&&c[c.length-1].from>s-l.from;)c.pop();if(!c.length)return a={range:o};let u=c[c.length-1];if(u.to-u.spaceAfter.length>s-l.from)return a={range:o};let h=s>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&h)if(u.node.firstChild.to>=s||l.from>0&&!/[^\s>]/.test(n.lineAt(l.from-1).text)){let I=c.length>1?c[c.length-2]:null,M,U="";I&&I.item?(M=l.from+I.from,U=I.marker(n,1)):M=l.from+(I?I.to:0);let V=[{from:M,to:s,insert:U}];return u.node.name=="OrderedList"&&Zd(u.item,n,V,-2),I&&I.node.name=="OrderedList"&&Zd(I.item,n,V),{range:ge.cursor(M+U.length),changes:V}}else{let I="";for(let M=0,U=c.length-2;M<=U;M++)I+=c[M].blank(M\s*$/.exec(I.text);if(M&&M.index==u.from){let U=r.changes([{from:I.from+M.index,to:I.to},{from:l.from+u.from,to:l.to}]);return{range:o.map(U),changes:U}}}let p=[];u.node.name=="OrderedList"&&Zd(u.item,n,p);let _=u.item&&u.item.from]*/.exec(l.text)[0].length>=u.to)for(let I=0,M=c.length-1;I<=M;I++)b+=I==M&&!_?c[I].marker(n,1):c[I].blank(Il.from&&/\s/.test(l.text.charAt(A-l.from-1));)A--;return b=r.lineBreak+b,p.push({from:A,to:s,insert:b}),{range:ge.cursor(A+b.length),changes:p}});return a?!1:(e(r.update(i,{scrollIntoView:!0,userEvent:"input"})),!0)};function u2(r){return r.name=="QuoteMark"||r.name=="ListMark"}function k9(r,e){let t=r.resolveInner(e,-1),n=e;u2(t)&&(n=t.from,t=t.parent);for(let a;a=t.childBefore(n);)if(u2(a))n=a.from;else if(a.name=="OrderedList"||a.name=="BulletList")t=a.lastChild,n=t.to;else break;return t}const N9=({state:r,dispatch:e})=>{let t=en(r),n=null,a=r.changeByRange(i=>{let o=i.from,{doc:s}=r;if(i.empty&&PC.isActiveAt(r,i.from)){let l=s.lineAt(o),c=BC(k9(t,o),s);if(c.length){let u=c[c.length-1],h=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(o-l.from>h&&!/\S/.test(l.text.slice(h,o-l.from)))return{range:ge.cursor(l.from+h),changes:{from:l.from+h,to:o}};if(o-l.from==h&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let p=l.from+u.from;if(u.item&&u.node.from{let e=JSON.parse(r.data);nl.length>=1e3&&nl.shift(),nl.push(e)});er.onopen=function(r){console.log("Connected to WebSocket Server"),er.send(JSON.stringify({address:"/successful_connexion",port:3e3,args:{}})),er.onerror=function(e){console.log("Websocket Error:",e)},er.onmessage=function(e){console.log("Received: ",e.data)}};function UC(r){er.readyState===WebSocket.OPEN?er.send(JSON.stringify(r)):(console.log("WebSocket is not open. Attempting to reconnect..."),(er.readyState===WebSocket.CONNECTING||er.readyState===WebSocket.OPEN)&&er.close(),er=new WebSocket("ws://localhost:3000"),er.onopen=()=>{er.send(JSON.stringify(r))})}const P9=r=>{let{state:e}=r,t=e.doc.lineAt(e.selection.main.from),n=X0(r.state,t.from);return n.line?B9(r):n.block?F9(r):!1};function W0(r,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let a=r(e,t);return a?(n(t.update(a)),!0):!1}}const B9=W0(G9,0),Y9=W0($C,0),F9=W0((r,e)=>$C(r,e,$9(e)),0);function X0(r,e){let t=r.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Bs=50;function U9(r,{open:e,close:t},n,a){let i=r.sliceDoc(n-Bs,n),o=r.sliceDoc(a,a+Bs),s=/\s*$/.exec(i)[0].length,l=/^\s*/.exec(o)[0].length,c=i.length-s;if(i.slice(c-e.length,c)==e&&o.slice(l,l+t.length)==t)return{open:{pos:n-s,margin:s&&1},close:{pos:a+l,margin:l&&1}};let u,h;a-n<=2*Bs?u=h=r.sliceDoc(n,a):(u=r.sliceDoc(n,n+Bs),h=r.sliceDoc(a-Bs,a));let p=/^\s*/.exec(u)[0].length,_=/\s*$/.exec(h)[0].length,b=h.length-_-t.length;return u.slice(p,p+e.length)==e&&h.slice(b,b+t.length)==t?{open:{pos:n+p+e.length,margin:/\s/.test(u.charAt(p+e.length))?1:0},close:{pos:a-_-t.length,margin:/\s/.test(h.charAt(b-1))?1:0}}:null}function $9(r){let e=[];for(let t of r.selection.ranges){let n=r.doc.lineAt(t.from),a=t.to<=n.to?n:r.doc.lineAt(t.to),i=e.length-1;i>=0&&e[i].to>n.from?e[i].to=a.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:a.to})}return e}function $C(r,e,t=e.selection.ranges){let n=t.map(i=>X0(e,i.from).block);if(!n.every(i=>i))return null;let a=t.map((i,o)=>U9(e,n[o],i.from,i.to));if(r!=2&&!a.every(i=>i))return{changes:e.changes(t.map((i,o)=>a[o]?[]:[{from:i.from,insert:n[o].open+" "},{from:i.to,insert:" "+n[o].close}]))};if(r!=1&&a.some(i=>i)){let i=[];for(let o=0,s;oa&&(i==o||o>h.from)){a=h.from;let p=/^\s*/.exec(h.text)[0].length,_=p==h.length,b=h.text.slice(p,p+c.length)==c?p:-1;pi.comment<0&&(!i.empty||i.single))){let i=[];for(let{line:s,token:l,indent:c,empty:u,single:h}of n)(h||!u)&&i.push({from:s.from+c,insert:l+" "});let o=e.changes(i);return{changes:o,selection:e.selection.map(o,1)}}else if(r!=1&&n.some(i=>i.comment>=0)){let i=[];for(let{line:o,comment:s,token:l}of n)if(s>=0){let c=o.from+s,u=c+l.length;o.text[u-o.from]==" "&&u++,i.push({from:c,to:u})}return{changes:i}}return null}const Pg=Ga.define(),q9=Ga.define(),Q9=Ue.define(),GC=Ue.define({combine(r){return qa(r,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,a)=>e(n,a)||t(n,a)})}});function H9(r){let e=0;return r.iterChangedRanges((t,n)=>e=n),e}const qC=Mn.define({create(){return ba.empty},update(r,e){let t=e.state.facet(GC),n=e.annotation(Pg);if(n){let l=e.docChanged?ge.single(H9(e.changes)):void 0,c=ar.fromTransaction(e,l),u=n.side,h=u==0?r.undone:r.done;return c?h=pu(h,h.length,t.minDepth,c):h=HC(h,e.startState.selection),new ba(u==0?n.rest:h,u==0?h:n.rest)}let a=e.annotation(q9);if((a=="full"||a=="before")&&(r=r.isolate()),e.annotation(Sn.addToHistory)===!1)return e.changes.empty?r:r.addMapping(e.changes.desc);let i=ar.fromTransaction(e),o=e.annotation(Sn.time),s=e.annotation(Sn.userEvent);return i?r=r.addChanges(i,o,s,t,e):e.selection&&(r=r.addSelection(e.startState.selection,o,s,t.newGroupDelay)),(a=="full"||a=="after")&&(r=r.isolate()),r},toJSON(r){return{done:r.done.map(e=>e.toJSON()),undone:r.undone.map(e=>e.toJSON())}},fromJSON(r){return new ba(r.done.map(ar.fromJSON),r.undone.map(ar.fromJSON))}});function V9(r={}){return[qC,GC.of(r),Le.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?K0:e.inputType=="historyRedo"?mu:null;return n?(e.preventDefault(),n(t)):!1}})]}function Uu(r,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let a=t.field(qC,!1);if(!a)return!1;let i=a.pop(r,t,e);return i?(n(i),!0):!1}}const K0=Uu(0,!1),mu=Uu(1,!1),z9=Uu(0,!0),W9=Uu(1,!0);class ar{constructor(e,t,n,a,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=a,this.selectionsAfter=i}setSelAfter(e){return new ar(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(a=>a.toJSON())}}static fromJSON(e){return new ar(e.changes&&_n.fromJSON(e.changes),[],e.mapped&&Sa.fromJSON(e.mapped),e.startSelection&&ge.fromJSON(e.startSelection),e.selectionsAfter.map(ge.fromJSON))}static fromTransaction(e,t){let n=Nr;for(let a of e.startState.facet(Q9)){let i=a(e);i.length&&(n=n.concat(i))}return!n.length&&e.changes.empty?null:new ar(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Nr)}static selection(e){return new ar(void 0,Nr,void 0,void 0,e)}}function pu(r,e,t,n){let a=e+1>t+20?e-t-1:0,i=r.slice(a,e);return i.push(n),i}function X9(r,e){let t=[],n=!1;return r.iterChangedRanges((a,i)=>t.push(a,i)),e.iterChangedRanges((a,i,o,s)=>{for(let l=0;l=c&&o<=u&&(n=!0)}}),n}function K9(r,e){return r.ranges.length==e.ranges.length&&r.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function QC(r,e){return r.length?e.length?r.concat(e):r:e}const Nr=[],Z9=200;function HC(r,e){if(r.length){let t=r[r.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-Z9));return n.length&&n[n.length-1].eq(e)?r:(n.push(e),pu(r,r.length-1,1e9,t.setSelAfter(n)))}else return[ar.selection([e])]}function j9(r){let e=r[r.length-1],t=r.slice();return t[r.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Jd(r,e){if(!r.length)return r;let t=r.length,n=Nr;for(;t;){let a=J9(r[t-1],e,n);if(a.changes&&!a.changes.empty||a.effects.length){let i=r.slice(0,t);return i[t-1]=a,i}else e=a.mapped,t--,n=a.selectionsAfter}return n.length?[ar.selection(n)]:Nr}function J9(r,e,t){let n=QC(r.selectionsAfter.length?r.selectionsAfter.map(s=>s.map(e)):Nr,t);if(!r.changes)return ar.selection(n);let a=r.changes.map(e),i=e.mapDesc(r.changes,!0),o=r.mapped?r.mapped.composeDesc(i):i;return new ar(a,dt.mapEffects(r.effects,e),o,r.startSelection.map(i),n)}const e6=/^(input\.type|delete)($|\.)/;class ba{constructor(e,t,n=0,a=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=a}isolate(){return this.prevTime?new ba(this.done,this.undone):this}addChanges(e,t,n,a,i){let o=this.done,s=o[o.length-1];return s&&s.changes&&!s.changes.empty&&e.changes&&(!n||e6.test(n))&&(!s.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?r.moveByChar(t,e):$u(t,e))}function $n(r){return r.textDirectionAt(r.state.selection.main.head)==Jt.LTR}const j0=r=>Z0(r,!$n(r)),VC=r=>Z0(r,$n(r)),n6=r=>Z0(r,!1);function zC(r,e){return ra(r,t=>t.empty?r.moveByGroup(t,e):$u(t,e))}const r6=r=>zC(r,!$n(r)),a6=r=>zC(r,$n(r));function i6(r,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(r.sliceDoc(e.from,e.to)))||e.firstChild}function Gu(r,e,t){let n=en(r).resolveInner(e.head),a=t?at.closedBy:at.openedBy;for(let l=e.head;;){let c=t?n.childAfter(l):n.childBefore(l);if(!c)break;i6(r,c,a)?n=c:l=t?c.to:c.from}let i=n.type.prop(a),o,s;return i&&(o=t?kr(r,n.from,1):kr(r,n.to,-1))&&o.matched?s=t?o.end.to:o.end.from:s=t?n.to:n.from,ge.cursor(s,t?-1:1)}const o6=r=>ra(r,e=>Gu(r.state,e,!$n(r))),s6=r=>ra(r,e=>Gu(r.state,e,$n(r)));function WC(r,e){return ra(r,t=>{if(!t.empty)return $u(t,e);let n=r.moveVertically(t,e);return n.head!=t.head?n:r.moveToLineBoundary(t,e)})}const XC=r=>WC(r,!1),KC=r=>WC(r,!0);function ZC(r){let e=r.scrollDOM.clientHeighto.empty?r.moveVertically(o,e,t.height):$u(o,e));if(a.eq(n.selection))return!1;let i;if(t.selfScroll){let o=r.coordsAtPos(n.selection.main.head),s=r.scrollDOM.getBoundingClientRect(),l=s.top+t.marginTop,c=s.bottom-t.marginBottom;o&&o.top>l&&o.bottomjC(r,!1),Bg=r=>jC(r,!0);function Ri(r,e,t){let n=r.lineBlockAt(e.head),a=r.moveToLineBoundary(e,t);if(a.head==e.head&&a.head!=(t?n.to:n.from)&&(a=r.moveToLineBoundary(e,t,!1)),!t&&a.head==n.from&&n.length){let i=/^\s*/.exec(r.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;i&&e.head!=n.from+i&&(a=ge.cursor(n.from+i))}return a}const JC=r=>ra(r,e=>Ri(r,e,!0)),eR=r=>ra(r,e=>Ri(r,e,!1)),l6=r=>ra(r,e=>Ri(r,e,!$n(r))),c6=r=>ra(r,e=>Ri(r,e,$n(r))),u6=r=>ra(r,e=>ge.cursor(r.lineBlockAt(e.head).from,1)),d6=r=>ra(r,e=>ge.cursor(r.lineBlockAt(e.head).to,-1));function h6(r,e,t){let n=!1,a=cs(r.selection,i=>{let o=kr(r,i.head,-1)||kr(r,i.head,1)||i.head>0&&kr(r,i.head-1,1)||i.headh6(r,e,!1);function Yr(r,e){let t=cs(r.state.selection,n=>{let a=e(n);return ge.range(n.anchor,a.head,a.goalColumn,a.bidiLevel||void 0)});return t.eq(r.state.selection)?!1:(r.dispatch(Ta(r.state,t)),!0)}function tR(r,e){return Yr(r,t=>r.moveByChar(t,e))}const nR=r=>tR(r,!$n(r)),rR=r=>tR(r,$n(r));function aR(r,e){return Yr(r,t=>r.moveByGroup(t,e))}const m6=r=>aR(r,!$n(r)),p6=r=>aR(r,$n(r)),g6=r=>Yr(r,e=>Gu(r.state,e,!$n(r))),_6=r=>Yr(r,e=>Gu(r.state,e,$n(r)));function iR(r,e){return Yr(r,t=>r.moveVertically(t,e))}const oR=r=>iR(r,!1),sR=r=>iR(r,!0);function lR(r,e){return Yr(r,t=>r.moveVertically(t,e,ZC(r).height))}const h2=r=>lR(r,!1),f2=r=>lR(r,!0),b6=r=>Yr(r,e=>Ri(r,e,!0)),S6=r=>Yr(r,e=>Ri(r,e,!1)),O6=r=>Yr(r,e=>Ri(r,e,!$n(r))),v6=r=>Yr(r,e=>Ri(r,e,$n(r))),E6=r=>Yr(r,e=>ge.cursor(r.lineBlockAt(e.head).from)),y6=r=>Yr(r,e=>ge.cursor(r.lineBlockAt(e.head).to)),m2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:0})),!0),p2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:r.doc.length})),!0),g2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:r.selection.main.anchor,head:0})),!0),_2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:r.selection.main.anchor,head:r.doc.length})),!0),T6=({state:r,dispatch:e})=>(e(r.update({selection:{anchor:0,head:r.doc.length},userEvent:"select"})),!0),C6=({state:r,dispatch:e})=>{let t=Qu(r).map(({from:n,to:a})=>ge.range(n,Math.min(a+1,r.doc.length)));return e(r.update({selection:ge.create(t),userEvent:"select"})),!0},R6=({state:r,dispatch:e})=>{let t=cs(r.selection,n=>{var a;let i=en(r).resolveInner(n.head,1);for(;!(i.from=n.to||i.to>n.to&&i.from<=n.from||!(!((a=i.parent)===null||a===void 0)&&a.parent));)i=i.parent;return ge.range(i.to,i.from)});return e(Ta(r,t)),!0},w6=({state:r,dispatch:e})=>{let t=r.selection,n=null;return t.ranges.length>1?n=ge.create([t.main]):t.main.empty||(n=ge.create([ge.cursor(t.main.head)])),n?(e(Ta(r,n)),!0):!1};function qu(r,e){if(r.state.readOnly)return!1;let t="delete.selection",{state:n}=r,a=n.changeByRange(i=>{let{from:o,to:s}=i;if(o==s){let l=e(o);lo&&(t="delete.forward",l=yc(r,l,!0)),o=Math.min(o,l),s=Math.max(s,l)}else o=yc(r,o,!1),s=yc(r,s,!0);return o==s?{range:i}:{changes:{from:o,to:s},range:ge.cursor(o)}});return a.changes.empty?!1:(r.dispatch(n.update(a,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?Le.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function yc(r,e,t){if(r instanceof Le)for(let n of r.state.facet(Le.atomicRanges).map(a=>a(r)))n.between(e,e,(a,i)=>{ae&&(e=t?i:a)});return e}const cR=(r,e)=>qu(r,t=>{let{state:n}=r,a=n.doc.lineAt(t),i,o;if(!e&&t>a.from&&tcR(r,!1),uR=r=>cR(r,!0),dR=(r,e)=>qu(r,t=>{let n=t,{state:a}=r,i=a.doc.lineAt(n),o=a.charCategorizer(n);for(let s=null;;){if(n==(e?i.to:i.from)){n==t&&i.number!=(e?a.doc.lines:1)&&(n+=e?1:-1);break}let l=Fn(i.text,n-i.from,e)+i.from,c=i.text.slice(Math.min(n,l)-i.from,Math.max(n,l)-i.from),u=o(c);if(s!=null&&u!=s)break;(c!=" "||n!=t)&&(s=u),n=l}return n}),hR=r=>dR(r,!1),A6=r=>dR(r,!0),fR=r=>qu(r,e=>{let t=r.lineBlockAt(e).to;return equ(r,e=>{let t=r.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),k6=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:Ct.of(["",""])},range:ge.cursor(n.from)}));return e(r.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},N6=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>{if(!n.empty||n.from==0||n.from==r.doc.length)return{range:n};let a=n.from,i=r.doc.lineAt(a),o=a==i.from?a-1:Fn(i.text,a-i.from,!1)+i.from,s=a==i.to?a+1:Fn(i.text,a-i.from,!0)+i.from;return{changes:{from:o,to:s,insert:r.doc.slice(a,s).append(r.doc.slice(o,a))},range:ge.cursor(s)}});return t.changes.empty?!1:(e(r.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Qu(r){let e=[],t=-1;for(let n of r.selection.ranges){let a=r.doc.lineAt(n.from),i=r.doc.lineAt(n.to);if(!n.empty&&n.to==i.from&&(i=r.doc.lineAt(n.to-1)),t>=a.number){let o=e[e.length-1];o.to=i.to,o.ranges.push(n)}else e.push({from:a.from,to:i.to,ranges:[n]});t=i.number+1}return e}function mR(r,e,t){if(r.readOnly)return!1;let n=[],a=[];for(let i of Qu(r)){if(t?i.to==r.doc.length:i.from==0)continue;let o=r.doc.lineAt(t?i.to+1:i.from-1),s=o.length+1;if(t){n.push({from:i.to,to:o.to},{from:i.from,insert:o.text+r.lineBreak});for(let l of i.ranges)a.push(ge.range(Math.min(r.doc.length,l.anchor+s),Math.min(r.doc.length,l.head+s)))}else{n.push({from:o.from,to:i.from},{from:i.to,insert:r.lineBreak+o.text});for(let l of i.ranges)a.push(ge.range(l.anchor-s,l.head-s))}}return n.length?(e(r.update({changes:n,scrollIntoView:!0,selection:ge.create(a,r.selection.mainIndex),userEvent:"move.line"})),!0):!1}const D6=({state:r,dispatch:e})=>mR(r,e,!1),x6=({state:r,dispatch:e})=>mR(r,e,!0);function pR(r,e,t){if(r.readOnly)return!1;let n=[];for(let a of Qu(r))t?n.push({from:a.from,insert:r.doc.slice(a.from,a.to)+r.lineBreak}):n.push({from:a.to,insert:r.lineBreak+r.doc.slice(a.from,a.to)});return e(r.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const M6=({state:r,dispatch:e})=>pR(r,e,!1),L6=({state:r,dispatch:e})=>pR(r,e,!0),P6=r=>{if(r.state.readOnly)return!1;let{state:e}=r,t=e.changes(Qu(e).map(({from:a,to:i})=>(a>0?a--:ir.moveVertically(a,!0)).map(t);return r.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function B6(r,e){if(/\(\)|\[\]|\{\}/.test(r.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=en(r).resolveInner(e),n=t.childBefore(e),a=t.childAfter(e),i;return n&&a&&n.to<=e&&a.from>=e&&(i=n.type.prop(at.closedBy))&&i.indexOf(a.name)>-1&&r.doc.lineAt(n.to).from==r.doc.lineAt(a.from).from?{from:n.to,to:a.from}:null}const gR=_R(!1),Y6=_R(!0);function _R(r){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(a=>{let{from:i,to:o}=a,s=e.doc.lineAt(i),l=!r&&i==o&&B6(e,i);r&&(i=o=(o<=s.to?s:e.doc.lineAt(o)).to);let c=new Bu(e,{simulateBreak:i,simulateDoubleBreak:!!l}),u=I0(c,i);for(u==null&&(u=/^\s*/.exec(e.doc.lineAt(i).text)[0].length);os.from&&i{let a=[];for(let o=n.from;o<=n.to;){let s=r.doc.lineAt(o);s.number>t&&(n.empty||n.to>s.from)&&(e(s,a,n),t=s.number),o=s.to+1}let i=r.changes(a);return{changes:a,range:ge.range(i.mapPos(n.anchor,1),i.mapPos(n.head,1))}})}const bR=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=Object.create(null),n=new Bu(r,{overrideIndentation:i=>{let o=t[i];return o??-1}}),a=J0(r,(i,o,s)=>{let l=I0(n,i.from);if(l==null)return;/\S/.test(i.text)||(l=0);let c=/^\s*/.exec(i.text)[0],u=vl(r,l);(c!=u||s.fromr.readOnly?!1:(e(r.update(J0(r,(t,n)=>{n.push({from:t.from,insert:r.facet(Zo)})}),{userEvent:"input.indent"})),!0),t_=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(J0(r,(t,n)=>{let a=/^\s*/.exec(t.text)[0];if(!a)return;let i=Mu(a,r.tabSize),o=0,s=vl(r,Math.max(0,i-su(r)));for(;o({mac:r.key,run:r.run,shift:r.shift}))),$6=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:o6,shift:g6},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:s6,shift:_6},{key:"Alt-ArrowUp",run:D6},{key:"Shift-Alt-ArrowUp",run:M6},{key:"Alt-ArrowDown",run:x6},{key:"Shift-Alt-ArrowDown",run:L6},{key:"Escape",run:w6},{key:"Mod-Enter",run:Y6},{key:"Alt-l",mac:"Ctrl-l",run:C6},{key:"Mod-i",run:R6,preventDefault:!0},{key:"Mod-[",run:t_},{key:"Mod-]",run:e_},{key:"Mod-Alt-\\",run:bR},{key:"Shift-Mod-k",run:P6},{key:"Shift-Mod-\\",run:f6},{key:"Mod-/",run:P9},{key:"Alt-A",run:Y9}].concat(U6),G6={key:"Tab",run:e_,shift:t_};function ga(){var r=arguments[0];typeof r=="string"&&(r=document.createElement(r));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var a=t[n];typeof a=="string"?r.setAttribute(n,a):a!=null&&(r[n]=a)}e++}for(;er.normalize("NFKD"):r=>r;class n_{constructor(e,t,n=0,a=e.length,i,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,a),this.bufferStart=n,this.normalize=i?s=>i(b2(s)):b2,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return kn(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=p0(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=Ar(e);let a=this.normalize(t);for(let i=0,o=n;;i++){let s=a.charCodeAt(i),l=this.match(s,o);if(i==a.length-1){if(l)return this.value=l,this;break}o==n&&ithis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,a=n+t[0].length;if(this.matchPos=gu(this.text,a+(n==a?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,a,t)))return this.value={from:n,to:a,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||a.to<=t){let s=new Yo(t,e.sliceString(t,n));return eh.set(e,s),s}if(a.from==t&&a.to==n)return a;let{text:i,from:o}=a;return o>t&&(i=e.sliceString(t,o)+i,o=t),a.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,a=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,a,t)))return this.value={from:n,to:a,match:t},this.matchPos=gu(this.text,a+(n==a?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Yo.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(a_.prototype[Symbol.iterator]=vR.prototype[Symbol.iterator]=function(){return this});function q6(r){try{return new RegExp(r,r_),!0}catch{return!1}}function gu(r,e){if(e>=r.length)return e;let t=r.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}const Q6={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ER=Ue.define({combine(r){return qa(r,Q6,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function H6(r){let e=[K6,X6];return r&&e.push(ER.of(r)),e}const V6=tt.mark({class:"cm-selectionMatch"}),z6=tt.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function S2(r,e,t,n){return(t==0||r(e.sliceDoc(t-1,t))!=jt.Word)&&(n==e.doc.length||r(e.sliceDoc(n,n+1))!=jt.Word)}function W6(r,e,t,n){return r(e.sliceDoc(t,t+1))==jt.Word&&r(e.sliceDoc(n-1,n))==jt.Word}const X6=xn.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.selectionSet||r.docChanged||r.viewportChanged)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=r.state.facet(ER),{state:t}=r,n=t.selection;if(n.ranges.length>1)return tt.none;let a=n.main,i,o=null;if(a.empty){if(!e.highlightWordAroundCursor)return tt.none;let l=t.wordAt(a.head);if(!l)return tt.none;o=t.charCategorizer(a.head),i=t.sliceDoc(l.from,l.to)}else{let l=a.to-a.from;if(l200)return tt.none;if(e.wholeWords){if(i=t.sliceDoc(a.from,a.to),o=t.charCategorizer(a.head),!(S2(o,t,a.from,a.to)&&W6(o,t,a.from,a.to)))return tt.none}else if(i=t.sliceDoc(a.from,a.to).trim(),!i)return tt.none}let s=[];for(let l of r.visibleRanges){let c=new n_(t.doc,i,l.from,l.to);for(;!c.next().done;){let{from:u,to:h}=c.value;if((!o||S2(o,t,u,h))&&(a.empty&&u<=a.from&&h>=a.to?s.push(z6.range(u,h)):(u>=a.to||h<=a.from)&&s.push(V6.range(u,h)),s.length>e.maxMatches))return tt.none}}return tt.set(s)}},{decorations:r=>r.decorations}),K6=Le.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});class Z6{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||q6(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,n)=>n=="n"?` -`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new t7(this):new J6(this)}getCursor(e,t=0,n){let a=e.doc?e:Et.create({doc:e});return n==null&&(n=a.doc.length),this.regexp?Ao(this,a,t,n):wo(this,a,t,n)}}class yR{constructor(e){this.spec=e}}function wo(r,e,t,n){return new n_(e.doc,r.unquoted,t,n,r.caseSensitive?void 0:a=>a.toLowerCase(),r.wholeWord?j6(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function j6(r,e){return(t,n,a,i)=>((i>t||i+a.length=t)return null;a.push(n.value)}return a}highlight(e,t,n,a){let i=wo(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)a(i.value.from,i.value.to)}}function Ao(r,e,t,n){return new a_(e.doc,r.search,{ignoreCase:!r.caseSensitive,test:r.wholeWord?e7(e.charCategorizer(e.selection.main.head)):void 0},t,n)}function _u(r,e){return r.slice(Fn(r,e,!1),e)}function bu(r,e){return r.slice(e,Fn(r,e))}function e7(r){return(e,t,n)=>!n[0].length||(r(_u(n.input,n.index))!=jt.Word||r(bu(n.input,n.index))!=jt.Word)&&(r(bu(n.input,n.index+n[0].length))!=jt.Word||r(_u(n.input,n.index+n[0].length))!=jt.Word)}class t7 extends yR{nextMatch(e,t,n){let a=Ao(this.spec,e,n,e.doc.length).next();return a.done&&(a=Ao(this.spec,e,0,t).next()),a.done?null:a.value}prevMatchInRange(e,t,n){for(let a=1;;a++){let i=Math.max(t,n-a*1e4),o=Ao(this.spec,e,i,n),s=null;for(;!o.next().done;)s=o.value;if(s&&(i==t||s.from>i+10))return s;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n=t)return null;a.push(n.value)}return a}highlight(e,t,n,a){let i=Ao(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)a(i.value.from,i.value.to)}}const Fg=dt.define();function n7(r){var e=r.Pos;function t(d,f){var g=d.state.vim;if(!g||g.insertMode)return f.head;var v=g.sel.head;if(!v)return f.head;if(!(g.visualBlock&&f.head.line!=v.line))return f.from()==f.anchor&&!f.empty()&&f.head.line==v.line&&f.head.ch!=v.ch?new e(f.head.line,f.head.ch-1):f.head}function n(d,f,g){if(f.line===g.line&&f.ch>=g.ch-1){var v=d.getLine(f.line),C=v.charCodeAt(f.ch);55296<=C&&C<=55551&&(g.ch+=1)}return{start:f,end:g}}var a=[{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],i=a.length,o=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}];function s(d){d.setOption("disableInput",!0),d.setOption("showCursorWhenSelecting",!1),r.signal(d,"vim-mode-change",{mode:"normal"}),d.on("cursorActivity",Kl),Ce(d),r.on(d.getInputField(),"paste",I(d))}function l(d){d.setOption("disableInput",!1),d.off("cursorActivity",Kl),r.off(d.getInputField(),"paste",I(d)),d.state.vim=null,Ka&&clearTimeout(Ka)}function c(d,f){this==r.keyMap.vim&&(d.options.$customCursor=null,r.rmClass(d.getWrapperElement(),"cm-fat-cursor")),(!f||f.attach!=u)&&l(d)}function u(d,f){this==r.keyMap.vim&&(d.curOp&&(d.curOp.selectionChanged=!0),d.options.$customCursor=t,r.addClass(d.getWrapperElement(),"cm-fat-cursor")),(!f||f.attach!=u)&&s(d)}r.defineOption("vimMode",!1,function(d,f,g){f&&d.getOption("keyMap")!="vim"?d.setOption("keyMap","vim"):!f&&g!=r.Init&&/^vim/.test(d.getOption("keyMap"))&&d.setOption("keyMap","default")});function h(d,f){if(f){if(this[d])return this[d];var g=A(d);if(!g)return!1;var v=Ve.findKey(f,g);return typeof v=="function"&&r.signal(f,"vim-keypress",g),v}}var p={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},_={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"},b={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(_)).forEach(function(d){b[(_[d]||"").toLowerCase()]=b[d.toLowerCase()]=d});function A(d){if(d.charAt(0)=="'")return d.charAt(1);var f=d.split(/-(?!$)/),g=f[f.length-1];if(f.length==1&&f[0].length==1)return!1;if(f.length==2&&f[0]=="Shift"&&g.length==1)return!1;for(var v=!1,C=0;C"):!1}function I(d){var f=d.state.vim;return f.onPasteFn||(f.onPasteFn=function(){f.insertMode||(d.setCursor(Re(d.getCursor(),0,1)),be.enterInsertMode(d,{},f))}),f.onPasteFn}var M=/[\d]/,U=[r.isWordChar,function(d){return d&&!r.isWordChar(d)&&!/\s/.test(d)}],V=[function(d){return/\S/.test(d)}];function m(d,f){for(var g=[],v=d;v"]),F=[].concat(O,S,k,["-",'"',".",":","_","/","+"]),Y;try{Y=new RegExp("^[\\p{Lu}]$","u")}catch{Y=/^[A-Z]$/}function q(d,f){return f>=d.firstLine()&&f<=d.lastLine()}function te(d){return/^[a-z]$/.test(d)}function se(d){return"()[]{}".indexOf(d)!=-1}function ie(d){return M.test(d)}function ae(d){return Y.test(d)}function D(d){return/^\s*$/.test(d)}function P(d){return".?!".indexOf(d)!=-1}function H(d,f){for(var g=0;gg?f=g:f0?1:-1,ee,de=G.getCursor();do if(f+=pe,Z=C[(d+f)%d],Z&&(ee=Z.find())&&!Vt(de,ee))break;while(fv)}return Z}function $(G,J){var Z=f,pe=x(G,J);return f=Z,pe&&pe.find()}return{cachedCursor:void 0,add:w,find:$,move:x}},we=function(d){return d?{changes:d.changes,expectCursorActivityForChange:d.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function Ee(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=we()}Ee.prototype={exitMacroRecordMode:function(){var d=he.macroModeState;d.onRecordingDone&&d.onRecordingDone(),d.onRecordingDone=void 0,d.isRecording=!1},enterMacroRecordMode:function(d,f){var g=he.registerController.getRegister(f);if(g){if(g.clear(),this.latestRegister=f,d.openDialog){var v=yr("span",{class:"cm-vim-message"},"recording @"+f);this.onRecordingDone=d.openDialog(v,null,{bottom:!0})}this.isRecording=!0}}};function Ce(d){return d.state.vim||(d.state.vim={inputState:new Lt,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),d.state.vim}var he;function xe(){he={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:ye(),macroModeState:new Ee,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new ze({}),searchHistoryController:new En,exCommandHistoryController:new En};for(var d in z){var f=z[d];f.value=f.defaultValue}}var je,Ve={enterVimMode:s,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return he.registerController},resetVimGlobalState_:xe,getVimGlobalState_:function(){return he},maybeInitVimState_:Ce,suppressErrorLogging:!1,InsertModeKey:Cs,map:function(d,f,g){An.map(d,f,g)},unmap:function(d,f){return An.unmap(d,f)},noremap:function(d,f,g){An.map(d,f,g,!0)},mapclear:function(d){var f=a.length,g=i,v=a.slice(0,f-g);if(a=a.slice(f-g),d)for(var C=v.length-1;C>=0;C--){var w=v[C];if(d!==w.context)if(w.context)this._mapCommand(w);else{var x=["normal","insert","visual"];for(var $ in x)if(x[$]!==d){var G={};for(var J in w)G[J]=w[J];G.context=x[$],this._mapCommand(G)}}}},setOption:oe,getOption:_e,defineOption:ne,defineEx:function(d,f,g){if(!f)f=d;else if(d.indexOf(f)!==0)throw new Error('(Vim.defineEx) "'+f+'" is not a prefix of "'+d+'", command not registered');Ia[d]=g,An.commandMap_[f]={name:d,shortName:f,type:"api"}},handleKey:function(d,f,g){var v=this.findKey(d,f,g);if(typeof v=="function")return v()},multiSelectHandleKey:Tr,findKey:function(d,f,g){var v=Ce(d);function C(){var J=he.macroModeState;if(J.isRecording){if(f=="q")return J.exitMacroRecordMode(),St(d),!0;g!="mapping"&&Ku(J,f)}}function w(){if(f==""){if(v.visualMode)sn(d);else if(v.insertMode)lr(d);else return;return St(d),!0}}function x(){if(w())return!0;v.inputState.keyBuffer.push(f);var J=v.inputState.keyBuffer.join(""),Z=f.length==1,pe=ht.matchCommand(J,a,v.inputState,"insert"),ee=v.inputState.changeQueue;if(pe.type=="none")return St(d),!1;if(pe.type=="partial"){if(je&&window.clearTimeout(je),je=Z&&window.setTimeout(function(){v.insertMode&&v.inputState.keyBuffer.length&&St(d)},_e("insertModeEscKeysTimeout")),Z){var de=d.listSelections();(!ee||ee.removed.length!=de.length)&&(ee=v.inputState.changeQueue=new Dt),ee.inserted+=f;for(var ce=0;ce|./gi,w;w=C.exec(f);){var x=w[0],$=v.insertMode,G=Ve.handleKey(d,x,"mapping");if(!G&&$&&v.insertMode){if(x[0]=="<"){var Z=x.toLowerCase().slice(1,-1),J=Z.split("-"),Z=J.pop();if(Z=="lt")x="<";else if(Z=="space")x=" ";else if(Z=="cr")x=` +`);n=a<0?t:t.slice(0,a)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=cu.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){typeof e=="number"&&(e=new It(this.parser.nodeSet.types[e],Zo,Zo,(n??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(Ng(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?eC(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let n of e.parsers)if(n.finish(this,e))return;let t=Ng(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(Te.Paragraph,e.content.length),e.start)}elt(e,t,n,a){return typeof e=="string"?wt(this.parser.getNodeType(e),t,n,a):new rC(e,t)}get buffer(){return new nC(this.parser.nodeSet)}}function eC(r,e,t,n,a){let i=r[e].to,o=[],s=[],l=t.from+n;function c(u,h){for(;h?u>=i:u>i;){let p=r[e+1].from-i;n+=p,u+=p,e++,i=r[e].to}}for(let u=t.firstChild;u;u=u.nextSibling){c(u.from+n,!0);let h=u.from+n,p,_=a.get(u.tree);_?p=_:u.to+n>i?(p=eC(r,e,u,n,a),c(u.to+n,!1)):p=u.toTree(),o.push(p),s.push(h-l)}return c(t.to+n,!1),new It(t.type,o,s,t.to+n-l,t.tree?t.tree.propValues:void 0)}class Fu extends m0{constructor(e,t,n,a,i,o,s,l,c){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=a,this.endLeafBlock=i,this.skipContextMarkup=o,this.inlineParsers=s,this.inlineNames=l,this.wrappers=c,this.nodeTypes=Object.create(null);for(let u of e.types)this.nodeTypes[u.name]=u.id}createParse(e,t,n){let a=new GL(this,e,t,n);for(let i of this.wrappers)a=i(a,e,t,n);return a}configure(e){let t=kg(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:a}=this,i=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),s=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),h=this.wrappers;if(xs(t.defineNodes)){a=Object.assign({},a);let p=n.types.slice(),_;for(let b of t.defineNodes){let{name:A,block:I,composite:M,style:U}=typeof b=="string"?{name:b}:b;if(p.some(O=>O.name==A))continue;M&&(a[p.length]=(O,S,k)=>M(S,k,O.value));let V=p.length,m=M?["Block","BlockContext"]:I?V>=Te.ATXHeading1&&V<=Te.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;p.push(On.define({id:V,name:A,props:m&&[[at.group,m]]})),U&&(_||(_={}),Array.isArray(U)||U instanceof jr?_[A]=U:Object.assign(_,U))}n=new Fl(p),_&&(n=n.extend(is(_)))}if(xs(t.props)&&(n=n.extend(...t.props)),xs(t.remove))for(let p of t.remove){let _=this.blockNames.indexOf(p),b=this.inlineNames.indexOf(p);_>-1&&(i[_]=o[_]=void 0),b>-1&&(l[b]=void 0)}if(xs(t.parseBlock))for(let p of t.parseBlock){let _=s.indexOf(p.name);if(_>-1)i[_]=p.parse,o[_]=p.leaf;else{let b=p.before?vc(s,p.before):p.after?vc(s,p.after)+1:s.length-1;i.splice(b,0,p.parse),o.splice(b,0,p.leaf),s.splice(b,0,p.name)}p.endLeaf&&u.push(p.endLeaf)}if(xs(t.parseInline))for(let p of t.parseInline){let _=c.indexOf(p.name);if(_>-1)l[_]=p.parse;else{let b=p.before?vc(c,p.before):p.after?vc(c,p.after)+1:c.length-1;l.splice(b,0,p.parse),c.splice(b,0,p.name)}}return t.wrap&&(h=h.concat(t.wrap)),new Fu(n,i,o,s,u,a,l,c,h)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new QL(this,e,t);e:for(let a=t;a=0){a=s;continue e}}a++}return n.resolveMarkers(0)}}function xs(r){return r!=null&&r.length>0}function kg(r){if(!Array.isArray(r))return r;if(r.length==0)return null;let e=kg(r[0]);if(r.length==1)return e;let t=kg(r.slice(1));if(!t||!e)return e||t;let n=(o,s)=>(o||Zo).concat(s||Zo),a=e.wrap,i=t.wrap;return{props:n(e.props,t.props),defineNodes:n(e.defineNodes,t.defineNodes),parseBlock:n(e.parseBlock,t.parseBlock),parseInline:n(e.parseInline,t.parseInline),remove:n(e.remove,t.remove),wrap:a?i?(o,s,l,c)=>a(i(o,s,l,c),s,l,c):a:i}}function vc(r,e){let t=r.indexOf(e);if(t<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return t}let tC=[On.none];for(let r=1,e;e=Te[r];r++)tC[r]=On.define({id:r,name:e,props:r>=Te.Escape?[]:[[at.group,r in HT?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});const Zo=[];class nC{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,a=0){return this.content.push(e,t,n,4+a*4),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return It.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}let Tl=class{constructor(e,t,n,a=Zo){this.type=e,this.from=t,this.to=n,this.children=a}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new nC(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}};class rC{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Zo}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function wt(r,e,t,n){return new Tl(r,e,t,n)}const aC={resolve:"Emphasis",mark:"EmphasisMark"},iC={resolve:"Emphasis",mark:"EmphasisMark"},Ms={},Yb={};class Jr{constructor(e,t,n,a){this.type=e,this.from=t,this.to=n,this.side=a}}const Fb="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let Cl=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Cl=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch{}const qd={Escape(r,e,t){if(e!=92||t==r.end-1)return-1;let n=r.char(t+1);for(let a=0;a]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(n);if(a)return r.append(wt(Te.URL,t,t+1+a[0].length));let i=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);if(i)return r.append(wt(Te.Comment,t,t+1+i[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return r.append(wt(Te.ProcessingInstruction,t,t+1+o[0].length));let s=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return s?r.append(wt(Te.HTMLTag,t,t+1+s[0].length)):-1},Emphasis(r,e,t){if(e!=95&&e!=42)return-1;let n=t+1;for(;r.char(n)==e;)n++;let a=r.slice(t-1,t),i=r.slice(n,n+1),o=Cl.test(a),s=Cl.test(i),l=/\s|^$/.test(a),c=/\s|^$/.test(i),u=!c&&(!s||l||o),h=!l&&(!o||c||s),p=u&&(e==42||!h||o),_=h&&(e==42||!u||s);return r.append(new Jr(e==95?aC:iC,t,n,(p?1:0)|(_?2:0)))},HardBreak(r,e,t){if(e==92&&r.char(t+1)==10)return r.append(wt(Te.HardBreak,t,t+2));if(e==32){let n=t+1;for(;r.char(n)==32;)n++;if(r.char(n)==10&&n>=t+2)return r.append(wt(Te.HardBreak,t,n+1))}return-1},Link(r,e,t){return e==91?r.append(new Jr(Ms,t,t+1,1)):-1},Image(r,e,t){return e==33&&r.char(t+1)==91?r.append(new Jr(Yb,t,t+2,1)):-1},LinkEnd(r,e,t){if(e!=93)return-1;for(let n=r.parts.length-1;n>=0;n--){let a=r.parts[n];if(a instanceof Jr&&(a.type==Ms||a.type==Yb)){if(!a.side||r.skipSpace(a.to)==t&&!/[(\[]/.test(r.slice(t+1,t+2)))return r.parts[n]=null,-1;let i=r.takeContent(n),o=r.parts[n]=qL(r,i,a.type==Ms?Te.Link:Te.Image,a.from,t+1);if(a.type==Ms)for(let s=0;se?wt(Te.URL,e+t,i+t):i==r.length?null:!1}}function sC(r,e,t){let n=r.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let a=n==40?41:n;for(let i=e+1,o=!1;i=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,a,i){return this.append(new Jr(e,t,n,(a?1:0)|(i?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;l--){let A=this.parts[l];if(A instanceof Jr&&A.side&1&&A.type==a.type&&!(i&&(a.side&1||A.side&2)&&(A.to-A.from+o)%3==0&&((A.to-A.from)%3||o%3))){s=A;break}}if(!s)continue;let c=a.type.resolve,u=[],h=s.from,p=a.to;if(i){let A=Math.min(2,s.to-s.from,o);h=s.to-A,p=a.from+A,c=A==1?"Emphasis":"StrongEmphasis"}s.type.mark&&u.push(this.elt(s.type.mark,h,s.to));for(let A=l+1;A=0;t--){let n=this.parts[t];if(n instanceof Jr&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return Js(this.text,e-this.offset)+this.offset}elt(e,t,n,a){return typeof e=="string"?wt(this.parser.getNodeType(e),t,n,a):new rC(e,t)}}function Ng(r,e){if(!e.length)return r;if(!r.length)return e;let t=r.slice(),n=0;for(let a of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let i=this.fragment.to;for(;i>0&&this.input.read(i-1,i)!=` +`;)i--;this.fragmentEnd=i?i-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=t;if(!n.childAfter(a))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(at.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,a=this.fragmentEnd-(this.fragment.openEnd?1:0),i=e.absoluteLineStart,o=i,s=e.block.children.length,l=o,c=s;for(;;){if(t.to-n>a){if(t.type.isAnonymous&&t.firstChild())continue;break}let u=cC(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,u);else{let h=new It(e.parser.nodeSet.types[Te.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,t.tree),e.addNode(h,u)}if(t.type.is("Block")&&(HL.indexOf(t.type.id)<0?(o=t.to-n,s=e.block.children.length):(o=l,s=c,l=t.to-n,c=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return o-i}}function cC(r,e){let t=r;for(let n=1;nOc[r]),Object.keys(Oc).map(r=>FL[r]),Object.keys(Oc),UL,HT,Object.keys(qd).map(r=>qd[r]),Object.keys(qd),[]);function XL(r,e,t){let n=[];for(let a=r.firstChild,i=e;;a=a.nextSibling){let o=a?a.from:t;if(o>i&&n.push({from:i,to:o}),!a)break;i=a.to}return n}function KL(r){let{codeParser:e,htmlParser:t}=r;return{wrap:YE((a,i)=>{let o=a.type.id;if(e&&(o==Te.CodeBlock||o==Te.FencedCode)){let s="";if(o==Te.FencedCode){let c=a.node.getChild(Te.CodeInfo);c&&(s=i.read(c.from,c.to))}let l=e(s);if(l)return{parser:l,overlay:c=>c.type.id==Te.CodeText}}else if(t&&(o==Te.HTMLBlock||o==Te.HTMLTag))return{parser:t,overlay:XL(a.node,a.from,a.to)};return null})}}const ZL={resolve:"Strikethrough",mark:"StrikethroughMark"},jL={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":Q.strikethrough}},{name:"StrikethroughMark",style:Q.processingInstruction}],parseInline:[{name:"Strikethrough",parse(r,e,t){if(e!=126||r.char(t+1)!=126||r.char(t+2)==126)return-1;let n=r.slice(t-1,t),a=r.slice(t+2,t+3),i=/\s|^$/.test(n),o=/\s|^$/.test(a),s=Cl.test(n),l=Cl.test(a);return r.addDelimiter(ZL,t,t+2,!o&&(!l||i||s),!i&&(!s||o||l))},after:"Emphasis"}]};function el(r,e,t=0,n,a=0){let i=0,o=!0,s=-1,l=-1,c=!1,u=()=>{n.push(r.elt("TableCell",a+s,a+l,r.parser.parseInline(e.slice(s,l),a+s)))};for(let h=t;h-1)&&i++,o=!1,n&&(s>-1&&u(),n.push(r.elt("TableDelimiter",h+a,h+a+1))),s=l=-1):(c||p!=32&&p!=9)&&(s<0&&(s=h),l=h+1),c=!c&&p==92}return s>-1&&(i++,n&&u()),i}function Ub(r,e){for(let t=e;ta instanceof $b)||!Ub(e.text,e.basePos))return!1;let n=r.scanLine(r.absoluteLineEnd+1).text;return uC.test(n)&&el(r,e.text,e.basePos)==el(r,n,e.basePos)},before:"SetextHeading"}]};class eP{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const tP={defineNodes:[{name:"Task",block:!0,style:Q.list},{name:"TaskMarker",style:Q.atom}],parseBlock:[{name:"TaskList",leaf(r,e){return/^\[[ xX]\][ \t]/.test(e.content)&&r.parentType().name=="ListItem"?new eP:null},after:"SetextHeading"}]},Gb=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,qb=/[\w-]+(\.\w+(\.\w+)?)(\/[^\s<]*)?/gy,Qb=/[\w.+-]+@[\w-]+\.[\w.-]+/gy,Hb=/\/[a-zA-Z\d@.]+/gy;function Vb(r,e,t,n){let a=0;for(let i=e;iVb(r,e,n,"("))n--;else if(a==";"&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(r.slice(e,n))))n=e+i.index;else break}return n}function zb(r,e){Qb.lastIndex=e;let t=Qb.exec(r);if(!t)return-1;let n=t[0][t[0].length-1];return n=="_"||n=="-"?-1:e+t[0].length-(n=="."?1:0)}const rP={parseInline:[{name:"Autolink",parse(r,e,t){let n=t-r.offset;Gb.lastIndex=n;let a=Gb.exec(r.text),i=-1;return!a||(a[1]||a[2]?i=nP(r.text,n+a[0].length):a[3]?i=zb(r.text,n):(i=zb(r.text,n+a[0].length),i>-1&&a[0]=="xmpp:"&&(Hb.lastIndex=i,a=Hb.exec(r.text),a&&(i=a.index+a[0].length))),i<0)?-1:(r.addElement(r.elt("URL",t,i+r.offset)),i+r.offset)}}]},aP=[JL,tP,jL,rP];function dC(r,e,t){return(n,a,i)=>{if(a!=r||n.char(i+1)==r)return-1;let o=[n.elt(t,i,i+1)];for(let s=i+1;s=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function SC(r){return r==9||r==10||r==13||r==32}let Zb=null,jb=null,Jb=0;function xg(r,e){let t=r.pos+e;if(Jb==t&&jb==r)return Zb;let n=r.peek(e);for(;SC(n);)n=r.peek(++e);let a="";for(;kP(n);)a+=String.fromCharCode(n),n=r.peek(++e);return jb=r,Jb=t,Zb=a?a.toLowerCase():n==NP||n==DP?void 0:null}const OC=60,du=62,Q0=47,NP=63,DP=33,xP=45;function e2(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new e2(xg(n,1)||"",r):r},reduce(r,e){return e==gC&&r?r.parent:r},reuse(r,e,t,n){let a=e.type.id;return a==uu||a==TP?new e2(xg(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),PP=new ya((r,e)=>{if(r.next!=OC){r.next<0&&e.context&&r.acceptToken(Qd);return}r.advance();let t=r.next==Q0;t&&r.advance();let n=xg(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?bP:uu);let a=e.context?e.context.name:null;if(t){if(n==a)return r.acceptToken(pP);if(a&&IP[a])return r.acceptToken(Qd,-2);if(e.dialectEnabled(RP))return r.acceptToken(gP);for(let i=e.context;i;i=i.parent)if(i.name==n)return;r.acceptToken(_P)}else{if(n=="script")return r.acceptToken(hC);if(n=="style")return r.acceptToken(fC);if(n=="textarea")return r.acceptToken(mC);if(AP.hasOwnProperty(n))return r.acceptToken(pC);a&&Kb[a]&&Kb[a][n]?r.acceptToken(Qd,-1):r.acceptToken(uu)}},{contextual:!0}),BP=new ya(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(Xb);break}if(r.next==xP)e++;else if(r.next==du&&e>=2){t>3&&r.acceptToken(Xb,-2);break}else e=0;r.advance()}});function YP(r){for(;r;r=r.parent)if(r.name=="svg"||r.name=="math")return!0;return!1}const FP=new ya((r,e)=>{if(r.next==Q0&&r.peek(1)==du){let t=e.dialectEnabled(wP)||YP(e.context);r.acceptToken(t?mP:Wb,2)}else r.next==du&&r.acceptToken(Wb,1)});function H0(r,e,t){let n=2+r.length;return new ya(a=>{for(let i=0,o=0,s=0;;s++){if(a.next<0){s&&a.acceptToken(e);break}if(i==0&&a.next==OC||i==1&&a.next==Q0||i>=2&&io?a.acceptToken(e,-o):a.acceptToken(t,-(o-2));break}else if((a.next==10||a.next==13)&&s){a.acceptToken(e,1);break}else i=o=0;a.advance()}})}const UP=H0("script",lP,cP),$P=H0("style",uP,dP),GP=H0("textarea",hP,fP),qP=is({"Text RawText":Q.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Q.angleBracket,TagName:Q.tagName,"MismatchedCloseTag/TagName":[Q.tagName,Q.invalid],AttributeName:Q.attributeName,"AttributeValue UnquotedAttributeValue":Q.attributeValue,Is:Q.definitionOperator,"EntityReference CharacterReference":Q.character,Comment:Q.blockComment,ProcessingInst:Q.processingInstruction,DoctypeDecl:Q.documentMeta}),QP=Ho.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:LP,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[qP],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=s.type.id;if(c==vP)return Hd(s,l,t);if(c==EP)return Hd(s,l,n);if(c==yP)return Hd(s,l,a);if(c==gC&&i.length){let u=s.node,h=u.firstChild,p=h&&t2(h,l),_;if(p){for(let b of i)if(b.tag==p&&(!b.attrs||b.attrs(_||(_=vC(u,l))))){let A=u.lastChild;return{parser:b.parser,overlay:[{from:h.to,to:A.type.id==CP?A.from:u.to}]}}}}if(o&&c==_C){let u=s.node,h;if(h=u.firstChild){let p=o[l.read(h.from,h.to)];if(p)for(let _ of p){if(_.tagName&&_.tagName!=t2(u.parent,l))continue;let b=u.lastChild;if(b.type.id==Dg){let A=b.from+1,I=b.lastChild,M=b.to-(I&&I.isError?0:1);if(M>A)return{parser:_.parser,overlay:[{from:A,to:M}]}}else if(b.type.id==bC)return{parser:_.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const HP=96,n2=1,VP=97,zP=98,r2=2,yC=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],WP=58,XP=40,TC=95,KP=91,Yc=45,ZP=46,jP=35,JP=37;function hu(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function e9(r){return r>=48&&r<=57}const t9=new ya((r,e)=>{for(let t=!1,n=0,a=0;;a++){let{next:i}=r;if(hu(i)||i==Yc||i==TC||t&&e9(i))!t&&(i!=Yc||a>0)&&(t=!0),n===a&&i==Yc&&n++,r.advance();else{t&&r.acceptToken(i==XP?VP:n==2&&e.canShift(r2)?r2:zP);break}}}),n9=new ya(r=>{if(yC.includes(r.peek(-1))){let{next:e}=r;(hu(e)||e==TC||e==jP||e==ZP||e==KP||e==WP||e==Yc)&&r.acceptToken(HP)}}),r9=new ya(r=>{if(!yC.includes(r.peek(-1))){let{next:e}=r;if(e==JP&&(r.advance(),r.acceptToken(n2)),hu(e)){do r.advance();while(hu(r.next));r.acceptToken(n2)}}}),a9=is({"AtKeyword import charset namespace keyframes media supports":Q.definitionKeyword,"from to selector":Q.keyword,NamespaceName:Q.namespace,KeyframeName:Q.labelName,KeyframeRangeName:Q.operatorKeyword,TagName:Q.tagName,ClassName:Q.className,PseudoClassName:Q.constant(Q.className),IdName:Q.labelName,"FeatureName PropertyName":Q.propertyName,AttributeName:Q.attributeName,NumberLiteral:Q.number,KeywordQuery:Q.keyword,UnaryQueryOp:Q.operatorKeyword,"CallTag ValueName":Q.atom,VariableName:Q.variableName,Callee:Q.operatorKeyword,Unit:Q.unit,"UniversalSelector NestingSelector":Q.definitionOperator,MatchOp:Q.compareOperator,"ChildOp SiblingOp, LogicOp":Q.logicOperator,BinOp:Q.arithmeticOperator,Important:Q.modifier,Comment:Q.blockComment,ColorLiteral:Q.color,"ParenthesizedContent StringLiteral":Q.string,":":Q.punctuation,"PseudoOp #":Q.derefOperator,"; ,":Q.separator,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace}),i9={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},o9={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},s9={__proto__:null,not:128,only:128},l9=Ho.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[n9,r9,t9,1,2,3,4,new Wc("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:r=>i9[r]||-1},{term:56,get:r=>o9[r]||-1},{term:98,get:r=>s9[r]||-1}],tokenPrec:1169});let Vd=null;function zd(){if(!Vd&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));Vd=e.sort().map(n=>({type:"property",label:n}))}return Vd||[]}const a2=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),i2=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),c9=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),ri=/^(\w[\w-]*|-\w[\w-]*|)$/,u9=/^-(-[\w-]*)?$/;function d9(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const o2=new BE,h9=["Declaration"];function f9(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function CC(r,e,t){if(e.to-e.from>4096){let n=o2.get(e);if(n)return n;let a=[],i=new Set,o=e.cursor(Qt.IncludeAnonymous);if(o.firstChild())do for(let s of CC(r,o.node,t))i.has(s.label)||(i.add(s.label),a.push(s));while(o.nextSibling());return o2.set(e,a),a}else{let n=[],a=new Set;return e.cursor().iterate(i=>{var o;if(t(i)&&i.matchContext(h9)&&((o=i.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let s=r.sliceString(i.from,i.to);a.has(s)||(a.add(s),n.push({label:s,type:"variable"}))}}),n}}const m9=r=>e=>{let{state:t,pos:n}=e,a=en(t).resolveInner(n,-1),i=a.type.isError&&a.from==a.to-1&&t.doc.sliceString(a.from,a.to)=="-";if(a.name=="PropertyName"||(i||a.name=="TagName")&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:zd(),validFor:ri};if(a.name=="ValueName")return{from:a.from,options:i2,validFor:ri};if(a.name=="PseudoClassName")return{from:a.from,options:a2,validFor:ri};if(r(a)||(e.explicit||i)&&d9(a,t.doc))return{from:r(a)||i?a.from:n,options:CC(t.doc,f9(a),r),validFor:u9};if(a.name=="TagName"){for(let{parent:l}=a;l;l=l.parent)if(l.name=="Block")return{from:a.from,options:zd(),validFor:ri};return{from:a.from,options:c9,validFor:ri}}if(!e.explicit)return null;let o=a.resolve(n),s=o.childBefore(n);return s&&s.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:a2,validFor:ri}:s&&s.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:i2,validFor:ri}:o.name=="Block"||o.name=="Styles"?{from:n,options:zd(),validFor:ri}:null},p9=m9(r=>r.name=="VariableName"),fu=zo.define({name:"css",parser:l9.configure({props:[ql.add({Declaration:Bc()}),Ql.add({"Block KeyframeList":gT})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function g9(){return new Sl(fu,fu.data.of({autocomplete:p9}))}const Ls=["_blank","_self","_top","_parent"],Wd=["ascii","utf-8","utf-16","latin1","latin1"],Xd=["get","post","put","delete"],Kd=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],ur=["true","false"],$e={},_9={a:{attrs:{href:null,ping:null,type:null,media:null,target:Ls,hreflang:null}},abbr:$e,address:$e,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:$e,aside:$e,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:$e,base:{attrs:{href:null,target:Ls}},bdi:$e,bdo:$e,blockquote:{attrs:{cite:null}},body:$e,br:$e,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Kd,formmethod:Xd,formnovalidate:["novalidate"],formtarget:Ls,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:$e,center:$e,cite:$e,code:$e,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:$e,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:$e,div:$e,dl:$e,dt:$e,em:$e,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:$e,figure:$e,footer:$e,form:{attrs:{action:null,name:null,"accept-charset":Wd,autocomplete:["on","off"],enctype:Kd,method:Xd,novalidate:["novalidate"],target:Ls}},h1:$e,h2:$e,h3:$e,h4:$e,h5:$e,h6:$e,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:$e,hgroup:$e,hr:$e,html:{attrs:{manifest:null}},i:$e,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Kd,formmethod:Xd,formnovalidate:["novalidate"],formtarget:Ls,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:$e,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:$e,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:$e,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Wd,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:$e,noscript:$e,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:$e,param:{attrs:{name:null,value:null}},pre:$e,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:$e,rt:$e,ruby:$e,samp:$e,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Wd}},section:$e,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:$e,source:{attrs:{src:null,type:null,media:null}},span:$e,strong:$e,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:$e,summary:$e,sup:$e,table:$e,tbody:$e,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:$e,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:$e,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:$e,time:{attrs:{datetime:null}},title:$e,tr:$e,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:$e,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:$e},RC={accesskey:null,class:null,contenteditable:ur,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:ur,autocorrect:ur,autocapitalize:ur,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":ur,"aria-autocomplete":["inline","list","both","none"],"aria-busy":ur,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":ur,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":ur,"aria-hidden":ur,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":ur,"aria-multiselectable":ur,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":ur,"aria-relevant":null,"aria-required":ur,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},wC="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of wC)RC[r]=null;class Rl{constructor(e,t){this.tags=Object.assign(Object.assign({},_9),e),this.globalAttrs=Object.assign(Object.assign({},RC),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Rl.default=new Rl;function jo(r,e,t=r.length){if(!e)return"";let n=e.firstChild,a=n&&n.getChild("TagName");return a?r.sliceString(a.from,Math.min(a.to,t)):""}function Jo(r,e=!1){for(;r;r=r.parent)if(r.name=="Element")if(e)e=!1;else return r;return null}function AC(r,e,t){let n=t.tags[jo(r,Jo(e))];return(n==null?void 0:n.children)||t.allTags}function V0(r,e){let t=[];for(let n=Jo(e);n&&!n.type.isTop;n=Jo(n.parent)){let a=jo(r,n);if(a&&n.lastChild.name=="CloseTag")break;a&&t.indexOf(a)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&t.push(a)}return t}const IC=/^[:\-\.\w\u00b7-\uffff]*$/;function s2(r,e,t,n,a){let i=/\s*>/.test(r.sliceDoc(a,a+5))?"":">",o=Jo(t,!0);return{from:n,to:a,options:AC(r.doc,o,e).map(s=>({label:s,type:"type"})).concat(V0(r.doc,t).map((s,l)=>({label:"/"+s,apply:"/"+s+i,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function l2(r,e,t,n){let a=/\s*>/.test(r.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:V0(r.doc,e).map((i,o)=>({label:i,apply:i+a,type:"type",boost:99-o})),validFor:IC}}function b9(r,e,t,n){let a=[],i=0;for(let o of AC(r.doc,t,e))a.push({label:"<"+o,type:"type"});for(let o of V0(r.doc,t))a.push({label:"",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function S9(r,e,t,n,a){let i=Jo(t),o=i?e.tags[jo(r.doc,i)]:null,s=o&&o.attrs?Object.keys(o.attrs):[],l=o&&o.globalAttrs===!1?s:s.length?s.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:a,options:l.map(c=>({label:c,type:"property"})),validFor:IC}}function O9(r,e,t,n,a){var i;let o=(i=t.parent)===null||i===void 0?void 0:i.getChild("AttributeName"),s=[],l;if(o){let c=r.sliceDoc(o.from,o.to),u=e.globalAttrs[c];if(!u){let h=Jo(t),p=h?e.tags[jo(r.doc,h)]:null;u=(p==null?void 0:p.attrs)&&p.attrs[c]}if(u){let h=r.sliceDoc(n,a).toLowerCase(),p='"',_='"';/^['"]/.test(h)?(l=h[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",_=r.sliceDoc(a,a+1)==h[0]?"":h[0],h=h.slice(1),n++):l=/^[^\s<>='"]*$/;for(let b of u)s.push({label:b,apply:p+b+_,type:"constant"})}}return{from:n,to:a,options:s,validFor:l}}function kC(r,e){let{state:t,pos:n}=e,a=en(t).resolveInner(n,-1),i=a.resolve(n);for(let o=n,s;i==a&&(s=a.childBefore(o));){let l=s.lastChild;if(!l||!l.type.isError||l.fromkC(n,a)}const NC=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:GT.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:qT.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:QT.parser},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:ea.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:fu.parser}],DC=[{name:"style",parser:fu.parser.configure({top:"Styles"})}].concat(wC.map(r=>({name:r,parser:ea.parser}))),xC=zo.define({name:"html",parser:QP.configure({props:[ql.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].lengthr.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Fc=xC.configure({wrap:EC(NC,DC)});function y9(r={}){let e="",t;r.matchClosingTags===!1&&(e="noMatch"),r.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(r.nestedLanguages&&r.nestedLanguages.length||r.nestedAttributes&&r.nestedAttributes.length)&&(t=EC((r.nestedLanguages||[]).concat(NC),(r.nestedAttributes||[]).concat(DC)));let n=t?xC.configure({wrap:t,dialect:e}):e?Fc.configure({dialect:e}):Fc;return new Sl(n,[Fc.data.of({autocomplete:E9(r)}),r.autoCloseTags!==!1?T9:[],U0().support,g9().support])}const c2=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),T9=Le.inputHandler.of((r,e,t,n)=>{if(r.composing||r.state.readOnly||e!=t||n!=">"&&n!="/"||!Fc.isActiveAt(r.state,e,-1))return!1;let{state:a}=r,i=a.changeByRange(o=>{var s,l,c;let{head:u}=o,h=en(a).resolveInner(u,-1),p;if((h.name=="TagName"||h.name=="StartTag")&&(h=h.parent),n==">"&&h.name=="OpenTag"){if(((l=(s=h.parent)===null||s===void 0?void 0:s.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag"&&(p=jo(a.doc,h.parent,u))&&!c2.has(p)){let _=r.state.doc.sliceString(u,u+1)===">",b=`${_?"":">"}`;return{range:ge.cursor(u+1),changes:{from:u+(_?1:0),insert:b}}}}else if(n=="/"&&h.name=="OpenTag"){let _=h.parent,b=_==null?void 0:_.parent;if(_.from==u-1&&((c=b.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(p=jo(a.doc,b,u))&&!c2.has(p)){let A=r.state.doc.sliceString(u,u+1)===">",I=`/${p}${A?"":">"}`,M=u+I.length+(A?1:0);return{range:ge.cursor(M),changes:{from:u,insert:I}}}}return{range:o}});return i.changes.empty?!1:(r.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)}),MC=w0({commentTokens:{block:{open:""}}}),LC=new at,PC=WL.configure({props:[Ql.add(r=>!r.is("Block")||r.is("Document")||Mg(r)!=null?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),LC.add(Mg),ql.add({Document:()=>null}),qi.add({Document:MC})]});function Mg(r){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(r.name);return e?+e[1]:void 0}function C9(r,e){let t=r;for(;;){let n=t.nextSibling,a;if(!n||(a=Mg(n.type))!=null&&a<=e)break;t=n}return t.to}const R9=pT.of((r,e,t)=>{for(let n=en(r).resolveInner(t,-1);n&&!(n.fromt)return{from:t,to:i}}return null});function z0(r){return new _r(MC,r,[R9],"markdown")}const w9=z0(PC),A9=PC.configure([aP,oP,iP,sP]),BC=z0(A9);function I9(r,e){return t=>{if(t&&r){let n=null;if(t=/\S*/.exec(t)[0],typeof r=="function"?n=r(t):n=ou.matchLanguageName(r,t,!0),n instanceof ou)return n.support?n.support.language.parser:bl.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class Ec{constructor(e,t,n,a,i,o,s){this.node=e,this.from=t,this.to=n,this.spaceBefore=a,this.spaceAfter=i,this.type=o,this.item=s}blank(e,t=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;a--)n+=" ";return n+(t?this.spaceAfter:"")}}marker(e,t){let n=this.node.name=="OrderedList"?String(+FC(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function YC(r,e){let t=[];for(let a=r;a&&a.name!="Document";a=a.parent)(a.name=="ListItem"||a.name=="Blockquote"||a.name=="FencedCode")&&t.push(a);let n=[];for(let a=t.length-1;a>=0;a--){let i=t[a],o,s=e.lineAt(i.from),l=i.from-s.from;if(i.name=="FencedCode")n.push(new Ec(i,l,l,"","","",null));else if(i.name=="Blockquote"&&(o=/^[ \t]*>( ?)/.exec(s.text.slice(l))))n.push(new Ec(i,l,l+o[0].length,"",o[1],">",null));else if(i.name=="ListItem"&&i.parent.name=="OrderedList"&&(o=/^([ \t]*)\d+([.)])([ \t]*)/.exec(s.text.slice(l)))){let c=o[3],u=o[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),n.push(new Ec(i.parent,l,l+u,o[1],c,o[2],i))}else if(i.name=="ListItem"&&i.parent.name=="BulletList"&&(o=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(s.text.slice(l)))){let c=o[4],u=o[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new Ec(i.parent,l,l+u,o[1],c,h,i))}}return n}function FC(r,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(r.from,r.from+10))}function Zd(r,e,t,n=0){for(let a=-1,i=r;;){if(i.name=="ListItem"){let s=FC(i,e),l=+s[2];if(a>=0){if(l!=a+1)return;t.push({from:i.from+s[1].length,to:i.from+s[0].length,insert:String(a+2+n)})}a=l}let o=i.nextSibling;if(!o)break;i=o}}const k9=({state:r,dispatch:e})=>{let t=en(r),{doc:n}=r,a=null,i=r.changeByRange(o=>{if(!o.empty||!BC.isActiveAt(r,o.from))return a={range:o};let s=o.from,l=n.lineAt(s),c=YC(t.resolveInner(s,-1),n);for(;c.length&&c[c.length-1].from>s-l.from;)c.pop();if(!c.length)return a={range:o};let u=c[c.length-1];if(u.to-u.spaceAfter.length>s-l.from)return a={range:o};let h=s>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&h)if(u.node.firstChild.to>=s||l.from>0&&!/[^\s>]/.test(n.lineAt(l.from-1).text)){let I=c.length>1?c[c.length-2]:null,M,U="";I&&I.item?(M=l.from+I.from,U=I.marker(n,1)):M=l.from+(I?I.to:0);let V=[{from:M,to:s,insert:U}];return u.node.name=="OrderedList"&&Zd(u.item,n,V,-2),I&&I.node.name=="OrderedList"&&Zd(I.item,n,V),{range:ge.cursor(M+U.length),changes:V}}else{let I="";for(let M=0,U=c.length-2;M<=U;M++)I+=c[M].blank(M\s*$/.exec(I.text);if(M&&M.index==u.from){let U=r.changes([{from:I.from+M.index,to:I.to},{from:l.from+u.from,to:l.to}]);return{range:o.map(U),changes:U}}}let p=[];u.node.name=="OrderedList"&&Zd(u.item,n,p);let _=u.item&&u.item.from]*/.exec(l.text)[0].length>=u.to)for(let I=0,M=c.length-1;I<=M;I++)b+=I==M&&!_?c[I].marker(n,1):c[I].blank(Il.from&&/\s/.test(l.text.charAt(A-l.from-1));)A--;return b=r.lineBreak+b,p.push({from:A,to:s,insert:b}),{range:ge.cursor(A+b.length),changes:p}});return a?!1:(e(r.update(i,{scrollIntoView:!0,userEvent:"input"})),!0)};function u2(r){return r.name=="QuoteMark"||r.name=="ListMark"}function N9(r,e){let t=r.resolveInner(e,-1),n=e;u2(t)&&(n=t.from,t=t.parent);for(let a;a=t.childBefore(n);)if(u2(a))n=a.from;else if(a.name=="OrderedList"||a.name=="BulletList")t=a.lastChild,n=t.to;else break;return t}const D9=({state:r,dispatch:e})=>{let t=en(r),n=null,a=r.changeByRange(i=>{let o=i.from,{doc:s}=r;if(i.empty&&BC.isActiveAt(r,i.from)){let l=s.lineAt(o),c=YC(N9(t,o),s);if(c.length){let u=c[c.length-1],h=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(o-l.from>h&&!/\S/.test(l.text.slice(h,o-l.from)))return{range:ge.cursor(l.from+h),changes:{from:l.from+h,to:o}};if(o-l.from==h&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let p=l.from+u.from;if(u.item&&u.node.from{let e=JSON.parse(r.data);tl.length>=1e3&&tl.shift(),tl.push(e)});er.onopen=function(r){console.log("Connected to WebSocket Server"),er.send(JSON.stringify({address:"/successful_connexion",port:3e3,args:{}})),er.onerror=function(e){console.log("Websocket Error:",e)},er.onmessage=function(e){console.log("Received: ",e.data)}};function $C(r){er.readyState===WebSocket.OPEN?er.send(JSON.stringify(r)):(console.log("WebSocket is not open. Attempting to reconnect..."),(er.readyState===WebSocket.CONNECTING||er.readyState===WebSocket.OPEN)&&er.close(),er=new WebSocket("ws://localhost:3000"),er.onopen=()=>{er.send(JSON.stringify(r))})}const B9=r=>{let{state:e}=r,t=e.doc.lineAt(e.selection.main.from),n=X0(r.state,t.from);return n.line?Y9(r):n.block?U9(r):!1};function W0(r,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let a=r(e,t);return a?(n(t.update(a)),!0):!1}}const Y9=W0(q9,0),F9=W0(GC,0),U9=W0((r,e)=>GC(r,e,G9(e)),0);function X0(r,e){let t=r.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Ps=50;function $9(r,{open:e,close:t},n,a){let i=r.sliceDoc(n-Ps,n),o=r.sliceDoc(a,a+Ps),s=/\s*$/.exec(i)[0].length,l=/^\s*/.exec(o)[0].length,c=i.length-s;if(i.slice(c-e.length,c)==e&&o.slice(l,l+t.length)==t)return{open:{pos:n-s,margin:s&&1},close:{pos:a+l,margin:l&&1}};let u,h;a-n<=2*Ps?u=h=r.sliceDoc(n,a):(u=r.sliceDoc(n,n+Ps),h=r.sliceDoc(a-Ps,a));let p=/^\s*/.exec(u)[0].length,_=/\s*$/.exec(h)[0].length,b=h.length-_-t.length;return u.slice(p,p+e.length)==e&&h.slice(b,b+t.length)==t?{open:{pos:n+p+e.length,margin:/\s/.test(u.charAt(p+e.length))?1:0},close:{pos:a-_-t.length,margin:/\s/.test(h.charAt(b-1))?1:0}}:null}function G9(r){let e=[];for(let t of r.selection.ranges){let n=r.doc.lineAt(t.from),a=t.to<=n.to?n:r.doc.lineAt(t.to),i=e.length-1;i>=0&&e[i].to>n.from?e[i].to=a.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:a.to})}return e}function GC(r,e,t=e.selection.ranges){let n=t.map(i=>X0(e,i.from).block);if(!n.every(i=>i))return null;let a=t.map((i,o)=>$9(e,n[o],i.from,i.to));if(r!=2&&!a.every(i=>i))return{changes:e.changes(t.map((i,o)=>a[o]?[]:[{from:i.from,insert:n[o].open+" "},{from:i.to,insert:" "+n[o].close}]))};if(r!=1&&a.some(i=>i)){let i=[];for(let o=0,s;oa&&(i==o||o>h.from)){a=h.from;let p=/^\s*/.exec(h.text)[0].length,_=p==h.length,b=h.text.slice(p,p+c.length)==c?p:-1;pi.comment<0&&(!i.empty||i.single))){let i=[];for(let{line:s,token:l,indent:c,empty:u,single:h}of n)(h||!u)&&i.push({from:s.from+c,insert:l+" "});let o=e.changes(i);return{changes:o,selection:e.selection.map(o,1)}}else if(r!=1&&n.some(i=>i.comment>=0)){let i=[];for(let{line:o,comment:s,token:l}of n)if(s>=0){let c=o.from+s,u=c+l.length;o.text[u-o.from]==" "&&u++,i.push({from:c,to:u})}return{changes:i}}return null}const Pg=Ga.define(),Q9=Ga.define(),H9=Ue.define(),qC=Ue.define({combine(r){return qa(r,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,a)=>e(n,a)||t(n,a)})}});function V9(r){let e=0;return r.iterChangedRanges((t,n)=>e=n),e}const QC=Mn.define({create(){return ba.empty},update(r,e){let t=e.state.facet(qC),n=e.annotation(Pg);if(n){let l=e.docChanged?ge.single(V9(e.changes)):void 0,c=ar.fromTransaction(e,l),u=n.side,h=u==0?r.undone:r.done;return c?h=pu(h,h.length,t.minDepth,c):h=VC(h,e.startState.selection),new ba(u==0?n.rest:h,u==0?h:n.rest)}let a=e.annotation(Q9);if((a=="full"||a=="before")&&(r=r.isolate()),e.annotation(Sn.addToHistory)===!1)return e.changes.empty?r:r.addMapping(e.changes.desc);let i=ar.fromTransaction(e),o=e.annotation(Sn.time),s=e.annotation(Sn.userEvent);return i?r=r.addChanges(i,o,s,t,e):e.selection&&(r=r.addSelection(e.startState.selection,o,s,t.newGroupDelay)),(a=="full"||a=="after")&&(r=r.isolate()),r},toJSON(r){return{done:r.done.map(e=>e.toJSON()),undone:r.undone.map(e=>e.toJSON())}},fromJSON(r){return new ba(r.done.map(ar.fromJSON),r.undone.map(ar.fromJSON))}});function z9(r={}){return[QC,qC.of(r),Le.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?K0:e.inputType=="historyRedo"?mu:null;return n?(e.preventDefault(),n(t)):!1}})]}function Uu(r,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let a=t.field(QC,!1);if(!a)return!1;let i=a.pop(r,t,e);return i?(n(i),!0):!1}}const K0=Uu(0,!1),mu=Uu(1,!1),W9=Uu(0,!0),X9=Uu(1,!0);class ar{constructor(e,t,n,a,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=a,this.selectionsAfter=i}setSelAfter(e){return new ar(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(a=>a.toJSON())}}static fromJSON(e){return new ar(e.changes&&_n.fromJSON(e.changes),[],e.mapped&&Sa.fromJSON(e.mapped),e.startSelection&&ge.fromJSON(e.startSelection),e.selectionsAfter.map(ge.fromJSON))}static fromTransaction(e,t){let n=Nr;for(let a of e.startState.facet(H9)){let i=a(e);i.length&&(n=n.concat(i))}return!n.length&&e.changes.empty?null:new ar(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Nr)}static selection(e){return new ar(void 0,Nr,void 0,void 0,e)}}function pu(r,e,t,n){let a=e+1>t+20?e-t-1:0,i=r.slice(a,e);return i.push(n),i}function K9(r,e){let t=[],n=!1;return r.iterChangedRanges((a,i)=>t.push(a,i)),e.iterChangedRanges((a,i,o,s)=>{for(let l=0;l=c&&o<=u&&(n=!0)}}),n}function Z9(r,e){return r.ranges.length==e.ranges.length&&r.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function HC(r,e){return r.length?e.length?r.concat(e):r:e}const Nr=[],j9=200;function VC(r,e){if(r.length){let t=r[r.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-j9));return n.length&&n[n.length-1].eq(e)?r:(n.push(e),pu(r,r.length-1,1e9,t.setSelAfter(n)))}else return[ar.selection([e])]}function J9(r){let e=r[r.length-1],t=r.slice();return t[r.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Jd(r,e){if(!r.length)return r;let t=r.length,n=Nr;for(;t;){let a=e6(r[t-1],e,n);if(a.changes&&!a.changes.empty||a.effects.length){let i=r.slice(0,t);return i[t-1]=a,i}else e=a.mapped,t--,n=a.selectionsAfter}return n.length?[ar.selection(n)]:Nr}function e6(r,e,t){let n=HC(r.selectionsAfter.length?r.selectionsAfter.map(s=>s.map(e)):Nr,t);if(!r.changes)return ar.selection(n);let a=r.changes.map(e),i=e.mapDesc(r.changes,!0),o=r.mapped?r.mapped.composeDesc(i):i;return new ar(a,dt.mapEffects(r.effects,e),o,r.startSelection.map(i),n)}const t6=/^(input\.type|delete)($|\.)/;class ba{constructor(e,t,n=0,a=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=a}isolate(){return this.prevTime?new ba(this.done,this.undone):this}addChanges(e,t,n,a,i){let o=this.done,s=o[o.length-1];return s&&s.changes&&!s.changes.empty&&e.changes&&(!n||t6.test(n))&&(!s.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?r.moveByChar(t,e):$u(t,e))}function $n(r){return r.textDirectionAt(r.state.selection.main.head)==Jt.LTR}const j0=r=>Z0(r,!$n(r)),zC=r=>Z0(r,$n(r)),r6=r=>Z0(r,!1);function WC(r,e){return ra(r,t=>t.empty?r.moveByGroup(t,e):$u(t,e))}const a6=r=>WC(r,!$n(r)),i6=r=>WC(r,$n(r));function o6(r,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(r.sliceDoc(e.from,e.to)))||e.firstChild}function Gu(r,e,t){let n=en(r).resolveInner(e.head),a=t?at.closedBy:at.openedBy;for(let l=e.head;;){let c=t?n.childAfter(l):n.childBefore(l);if(!c)break;o6(r,c,a)?n=c:l=t?c.to:c.from}let i=n.type.prop(a),o,s;return i&&(o=t?kr(r,n.from,1):kr(r,n.to,-1))&&o.matched?s=t?o.end.to:o.end.from:s=t?n.to:n.from,ge.cursor(s,t?-1:1)}const s6=r=>ra(r,e=>Gu(r.state,e,!$n(r))),l6=r=>ra(r,e=>Gu(r.state,e,$n(r)));function XC(r,e){return ra(r,t=>{if(!t.empty)return $u(t,e);let n=r.moveVertically(t,e);return n.head!=t.head?n:r.moveToLineBoundary(t,e)})}const KC=r=>XC(r,!1),ZC=r=>XC(r,!0);function jC(r){let e=r.scrollDOM.clientHeighto.empty?r.moveVertically(o,e,t.height):$u(o,e));if(a.eq(n.selection))return!1;let i;if(t.selfScroll){let o=r.coordsAtPos(n.selection.main.head),s=r.scrollDOM.getBoundingClientRect(),l=s.top+t.marginTop,c=s.bottom-t.marginBottom;o&&o.top>l&&o.bottomJC(r,!1),Bg=r=>JC(r,!0);function Ri(r,e,t){let n=r.lineBlockAt(e.head),a=r.moveToLineBoundary(e,t);if(a.head==e.head&&a.head!=(t?n.to:n.from)&&(a=r.moveToLineBoundary(e,t,!1)),!t&&a.head==n.from&&n.length){let i=/^\s*/.exec(r.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;i&&e.head!=n.from+i&&(a=ge.cursor(n.from+i))}return a}const eR=r=>ra(r,e=>Ri(r,e,!0)),tR=r=>ra(r,e=>Ri(r,e,!1)),c6=r=>ra(r,e=>Ri(r,e,!$n(r))),u6=r=>ra(r,e=>Ri(r,e,$n(r))),d6=r=>ra(r,e=>ge.cursor(r.lineBlockAt(e.head).from,1)),h6=r=>ra(r,e=>ge.cursor(r.lineBlockAt(e.head).to,-1));function f6(r,e,t){let n=!1,a=ls(r.selection,i=>{let o=kr(r,i.head,-1)||kr(r,i.head,1)||i.head>0&&kr(r,i.head-1,1)||i.headf6(r,e,!1);function Yr(r,e){let t=ls(r.state.selection,n=>{let a=e(n);return ge.range(n.anchor,a.head,a.goalColumn,a.bidiLevel||void 0)});return t.eq(r.state.selection)?!1:(r.dispatch(Ta(r.state,t)),!0)}function nR(r,e){return Yr(r,t=>r.moveByChar(t,e))}const rR=r=>nR(r,!$n(r)),aR=r=>nR(r,$n(r));function iR(r,e){return Yr(r,t=>r.moveByGroup(t,e))}const p6=r=>iR(r,!$n(r)),g6=r=>iR(r,$n(r)),_6=r=>Yr(r,e=>Gu(r.state,e,!$n(r))),b6=r=>Yr(r,e=>Gu(r.state,e,$n(r)));function oR(r,e){return Yr(r,t=>r.moveVertically(t,e))}const sR=r=>oR(r,!1),lR=r=>oR(r,!0);function cR(r,e){return Yr(r,t=>r.moveVertically(t,e,jC(r).height))}const h2=r=>cR(r,!1),f2=r=>cR(r,!0),S6=r=>Yr(r,e=>Ri(r,e,!0)),O6=r=>Yr(r,e=>Ri(r,e,!1)),v6=r=>Yr(r,e=>Ri(r,e,!$n(r))),E6=r=>Yr(r,e=>Ri(r,e,$n(r))),y6=r=>Yr(r,e=>ge.cursor(r.lineBlockAt(e.head).from)),T6=r=>Yr(r,e=>ge.cursor(r.lineBlockAt(e.head).to)),m2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:0})),!0),p2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:r.doc.length})),!0),g2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:r.selection.main.anchor,head:0})),!0),_2=({state:r,dispatch:e})=>(e(Ta(r,{anchor:r.selection.main.anchor,head:r.doc.length})),!0),C6=({state:r,dispatch:e})=>(e(r.update({selection:{anchor:0,head:r.doc.length},userEvent:"select"})),!0),R6=({state:r,dispatch:e})=>{let t=Qu(r).map(({from:n,to:a})=>ge.range(n,Math.min(a+1,r.doc.length)));return e(r.update({selection:ge.create(t),userEvent:"select"})),!0},w6=({state:r,dispatch:e})=>{let t=ls(r.selection,n=>{var a;let i=en(r).resolveInner(n.head,1);for(;!(i.from=n.to||i.to>n.to&&i.from<=n.from||!(!((a=i.parent)===null||a===void 0)&&a.parent));)i=i.parent;return ge.range(i.to,i.from)});return e(Ta(r,t)),!0},A6=({state:r,dispatch:e})=>{let t=r.selection,n=null;return t.ranges.length>1?n=ge.create([t.main]):t.main.empty||(n=ge.create([ge.cursor(t.main.head)])),n?(e(Ta(r,n)),!0):!1};function qu(r,e){if(r.state.readOnly)return!1;let t="delete.selection",{state:n}=r,a=n.changeByRange(i=>{let{from:o,to:s}=i;if(o==s){let l=e(o);lo&&(t="delete.forward",l=yc(r,l,!0)),o=Math.min(o,l),s=Math.max(s,l)}else o=yc(r,o,!1),s=yc(r,s,!0);return o==s?{range:i}:{changes:{from:o,to:s},range:ge.cursor(o)}});return a.changes.empty?!1:(r.dispatch(n.update(a,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?Le.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function yc(r,e,t){if(r instanceof Le)for(let n of r.state.facet(Le.atomicRanges).map(a=>a(r)))n.between(e,e,(a,i)=>{ae&&(e=t?i:a)});return e}const uR=(r,e)=>qu(r,t=>{let{state:n}=r,a=n.doc.lineAt(t),i,o;if(!e&&t>a.from&&tuR(r,!1),dR=r=>uR(r,!0),hR=(r,e)=>qu(r,t=>{let n=t,{state:a}=r,i=a.doc.lineAt(n),o=a.charCategorizer(n);for(let s=null;;){if(n==(e?i.to:i.from)){n==t&&i.number!=(e?a.doc.lines:1)&&(n+=e?1:-1);break}let l=Fn(i.text,n-i.from,e)+i.from,c=i.text.slice(Math.min(n,l)-i.from,Math.max(n,l)-i.from),u=o(c);if(s!=null&&u!=s)break;(c!=" "||n!=t)&&(s=u),n=l}return n}),fR=r=>hR(r,!1),I6=r=>hR(r,!0),mR=r=>qu(r,e=>{let t=r.lineBlockAt(e).to;return equ(r,e=>{let t=r.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),N6=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:Ct.of(["",""])},range:ge.cursor(n.from)}));return e(r.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},D6=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>{if(!n.empty||n.from==0||n.from==r.doc.length)return{range:n};let a=n.from,i=r.doc.lineAt(a),o=a==i.from?a-1:Fn(i.text,a-i.from,!1)+i.from,s=a==i.to?a+1:Fn(i.text,a-i.from,!0)+i.from;return{changes:{from:o,to:s,insert:r.doc.slice(a,s).append(r.doc.slice(o,a))},range:ge.cursor(s)}});return t.changes.empty?!1:(e(r.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Qu(r){let e=[],t=-1;for(let n of r.selection.ranges){let a=r.doc.lineAt(n.from),i=r.doc.lineAt(n.to);if(!n.empty&&n.to==i.from&&(i=r.doc.lineAt(n.to-1)),t>=a.number){let o=e[e.length-1];o.to=i.to,o.ranges.push(n)}else e.push({from:a.from,to:i.to,ranges:[n]});t=i.number+1}return e}function pR(r,e,t){if(r.readOnly)return!1;let n=[],a=[];for(let i of Qu(r)){if(t?i.to==r.doc.length:i.from==0)continue;let o=r.doc.lineAt(t?i.to+1:i.from-1),s=o.length+1;if(t){n.push({from:i.to,to:o.to},{from:i.from,insert:o.text+r.lineBreak});for(let l of i.ranges)a.push(ge.range(Math.min(r.doc.length,l.anchor+s),Math.min(r.doc.length,l.head+s)))}else{n.push({from:o.from,to:i.from},{from:i.to,insert:r.lineBreak+o.text});for(let l of i.ranges)a.push(ge.range(l.anchor-s,l.head-s))}}return n.length?(e(r.update({changes:n,scrollIntoView:!0,selection:ge.create(a,r.selection.mainIndex),userEvent:"move.line"})),!0):!1}const x6=({state:r,dispatch:e})=>pR(r,e,!1),M6=({state:r,dispatch:e})=>pR(r,e,!0);function gR(r,e,t){if(r.readOnly)return!1;let n=[];for(let a of Qu(r))t?n.push({from:a.from,insert:r.doc.slice(a.from,a.to)+r.lineBreak}):n.push({from:a.to,insert:r.lineBreak+r.doc.slice(a.from,a.to)});return e(r.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const L6=({state:r,dispatch:e})=>gR(r,e,!1),P6=({state:r,dispatch:e})=>gR(r,e,!0),B6=r=>{if(r.state.readOnly)return!1;let{state:e}=r,t=e.changes(Qu(e).map(({from:a,to:i})=>(a>0?a--:ir.moveVertically(a,!0)).map(t);return r.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Y6(r,e){if(/\(\)|\[\]|\{\}/.test(r.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=en(r).resolveInner(e),n=t.childBefore(e),a=t.childAfter(e),i;return n&&a&&n.to<=e&&a.from>=e&&(i=n.type.prop(at.closedBy))&&i.indexOf(a.name)>-1&&r.doc.lineAt(n.to).from==r.doc.lineAt(a.from).from?{from:n.to,to:a.from}:null}const _R=bR(!1),F6=bR(!0);function bR(r){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(a=>{let{from:i,to:o}=a,s=e.doc.lineAt(i),l=!r&&i==o&&Y6(e,i);r&&(i=o=(o<=s.to?s:e.doc.lineAt(o)).to);let c=new Bu(e,{simulateBreak:i,simulateDoubleBreak:!!l}),u=I0(c,i);for(u==null&&(u=/^\s*/.exec(e.doc.lineAt(i).text)[0].length);os.from&&i{let a=[];for(let o=n.from;o<=n.to;){let s=r.doc.lineAt(o);s.number>t&&(n.empty||n.to>s.from)&&(e(s,a,n),t=s.number),o=s.to+1}let i=r.changes(a);return{changes:a,range:ge.range(i.mapPos(n.anchor,1),i.mapPos(n.head,1))}})}const SR=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=Object.create(null),n=new Bu(r,{overrideIndentation:i=>{let o=t[i];return o??-1}}),a=J0(r,(i,o,s)=>{let l=I0(n,i.from);if(l==null)return;/\S/.test(i.text)||(l=0);let c=/^\s*/.exec(i.text)[0],u=Ol(r,l);(c!=u||s.fromr.readOnly?!1:(e(r.update(J0(r,(t,n)=>{n.push({from:t.from,insert:r.facet(Ko)})}),{userEvent:"input.indent"})),!0),t_=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(J0(r,(t,n)=>{let a=/^\s*/.exec(t.text)[0];if(!a)return;let i=Mu(a,r.tabSize),o=0,s=Ol(r,Math.max(0,i-su(r)));for(;o({mac:r.key,run:r.run,shift:r.shift}))),G6=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:s6,shift:_6},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:l6,shift:b6},{key:"Alt-ArrowUp",run:x6},{key:"Shift-Alt-ArrowUp",run:L6},{key:"Alt-ArrowDown",run:M6},{key:"Shift-Alt-ArrowDown",run:P6},{key:"Escape",run:A6},{key:"Mod-Enter",run:F6},{key:"Alt-l",mac:"Ctrl-l",run:R6},{key:"Mod-i",run:w6,preventDefault:!0},{key:"Mod-[",run:t_},{key:"Mod-]",run:e_},{key:"Mod-Alt-\\",run:SR},{key:"Shift-Mod-k",run:B6},{key:"Shift-Mod-\\",run:m6},{key:"Mod-/",run:B9},{key:"Alt-A",run:F9}].concat($6),q6={key:"Tab",run:e_,shift:t_};function ga(){var r=arguments[0];typeof r=="string"&&(r=document.createElement(r));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var a=t[n];typeof a=="string"?r.setAttribute(n,a):a!=null&&(r[n]=a)}e++}for(;er.normalize("NFKD"):r=>r;class n_{constructor(e,t,n=0,a=e.length,i,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,a),this.bufferStart=n,this.normalize=i?s=>i(b2(s)):b2,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return kn(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=p0(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=Ar(e);let a=this.normalize(t);for(let i=0,o=n;;i++){let s=a.charCodeAt(i),l=this.match(s,o);if(i==a.length-1){if(l)return this.value=l,this;break}o==n&&ithis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,a=n+t[0].length;if(this.matchPos=gu(this.text,a+(n==a?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,a,t)))return this.value={from:n,to:a,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||a.to<=t){let s=new Bo(t,e.sliceString(t,n));return eh.set(e,s),s}if(a.from==t&&a.to==n)return a;let{text:i,from:o}=a;return o>t&&(i=e.sliceString(t,o)+i,o=t),a.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,a=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,a,t)))return this.value={from:n,to:a,match:t},this.matchPos=gu(this.text,a+(n==a?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Bo.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(a_.prototype[Symbol.iterator]=ER.prototype[Symbol.iterator]=function(){return this});function Q6(r){try{return new RegExp(r,r_),!0}catch{return!1}}function gu(r,e){if(e>=r.length)return e;let t=r.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}const H6={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},yR=Ue.define({combine(r){return qa(r,H6,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function V6(r){let e=[Z6,K6];return r&&e.push(yR.of(r)),e}const z6=tt.mark({class:"cm-selectionMatch"}),W6=tt.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function S2(r,e,t,n){return(t==0||r(e.sliceDoc(t-1,t))!=jt.Word)&&(n==e.doc.length||r(e.sliceDoc(n,n+1))!=jt.Word)}function X6(r,e,t,n){return r(e.sliceDoc(t,t+1))==jt.Word&&r(e.sliceDoc(n-1,n))==jt.Word}const K6=xn.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.selectionSet||r.docChanged||r.viewportChanged)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=r.state.facet(yR),{state:t}=r,n=t.selection;if(n.ranges.length>1)return tt.none;let a=n.main,i,o=null;if(a.empty){if(!e.highlightWordAroundCursor)return tt.none;let l=t.wordAt(a.head);if(!l)return tt.none;o=t.charCategorizer(a.head),i=t.sliceDoc(l.from,l.to)}else{let l=a.to-a.from;if(l200)return tt.none;if(e.wholeWords){if(i=t.sliceDoc(a.from,a.to),o=t.charCategorizer(a.head),!(S2(o,t,a.from,a.to)&&X6(o,t,a.from,a.to)))return tt.none}else if(i=t.sliceDoc(a.from,a.to).trim(),!i)return tt.none}let s=[];for(let l of r.visibleRanges){let c=new n_(t.doc,i,l.from,l.to);for(;!c.next().done;){let{from:u,to:h}=c.value;if((!o||S2(o,t,u,h))&&(a.empty&&u<=a.from&&h>=a.to?s.push(W6.range(u,h)):(u>=a.to||h<=a.from)&&s.push(z6.range(u,h)),s.length>e.maxMatches))return tt.none}}return tt.set(s)}},{decorations:r=>r.decorations}),Z6=Le.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});class j6{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Q6(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,n)=>n=="n"?` +`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new n7(this):new e7(this)}getCursor(e,t=0,n){let a=e.doc?e:Et.create({doc:e});return n==null&&(n=a.doc.length),this.regexp?wo(this,a,t,n):Ro(this,a,t,n)}}class TR{constructor(e){this.spec=e}}function Ro(r,e,t,n){return new n_(e.doc,r.unquoted,t,n,r.caseSensitive?void 0:a=>a.toLowerCase(),r.wholeWord?J6(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function J6(r,e){return(t,n,a,i)=>((i>t||i+a.length=t)return null;a.push(n.value)}return a}highlight(e,t,n,a){let i=Ro(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)a(i.value.from,i.value.to)}}function wo(r,e,t,n){return new a_(e.doc,r.search,{ignoreCase:!r.caseSensitive,test:r.wholeWord?t7(e.charCategorizer(e.selection.main.head)):void 0},t,n)}function _u(r,e){return r.slice(Fn(r,e,!1),e)}function bu(r,e){return r.slice(e,Fn(r,e))}function t7(r){return(e,t,n)=>!n[0].length||(r(_u(n.input,n.index))!=jt.Word||r(bu(n.input,n.index))!=jt.Word)&&(r(bu(n.input,n.index+n[0].length))!=jt.Word||r(_u(n.input,n.index+n[0].length))!=jt.Word)}class n7 extends TR{nextMatch(e,t,n){let a=wo(this.spec,e,n,e.doc.length).next();return a.done&&(a=wo(this.spec,e,0,t).next()),a.done?null:a.value}prevMatchInRange(e,t,n){for(let a=1;;a++){let i=Math.max(t,n-a*1e4),o=wo(this.spec,e,i,n),s=null;for(;!o.next().done;)s=o.value;if(s&&(i==t||s.from>i+10))return s;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n=t)return null;a.push(n.value)}return a}highlight(e,t,n,a){let i=wo(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)a(i.value.from,i.value.to)}}const Fg=dt.define();function r7(r){var e=r.Pos;function t(d,f){var g=d.state.vim;if(!g||g.insertMode)return f.head;var v=g.sel.head;if(!v)return f.head;if(!(g.visualBlock&&f.head.line!=v.line))return f.from()==f.anchor&&!f.empty()&&f.head.line==v.line&&f.head.ch!=v.ch?new e(f.head.line,f.head.ch-1):f.head}function n(d,f,g){if(f.line===g.line&&f.ch>=g.ch-1){var v=d.getLine(f.line),C=v.charCodeAt(f.ch);55296<=C&&C<=55551&&(g.ch+=1)}return{start:f,end:g}}var a=[{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],i=a.length,o=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}];function s(d){d.setOption("disableInput",!0),d.setOption("showCursorWhenSelecting",!1),r.signal(d,"vim-mode-change",{mode:"normal"}),d.on("cursorActivity",Kl),Ce(d),r.on(d.getInputField(),"paste",I(d))}function l(d){d.setOption("disableInput",!1),d.off("cursorActivity",Kl),r.off(d.getInputField(),"paste",I(d)),d.state.vim=null,Ka&&clearTimeout(Ka)}function c(d,f){this==r.keyMap.vim&&(d.options.$customCursor=null,r.rmClass(d.getWrapperElement(),"cm-fat-cursor")),(!f||f.attach!=u)&&l(d)}function u(d,f){this==r.keyMap.vim&&(d.curOp&&(d.curOp.selectionChanged=!0),d.options.$customCursor=t,r.addClass(d.getWrapperElement(),"cm-fat-cursor")),(!f||f.attach!=u)&&s(d)}r.defineOption("vimMode",!1,function(d,f,g){f&&d.getOption("keyMap")!="vim"?d.setOption("keyMap","vim"):!f&&g!=r.Init&&/^vim/.test(d.getOption("keyMap"))&&d.setOption("keyMap","default")});function h(d,f){if(f){if(this[d])return this[d];var g=A(d);if(!g)return!1;var v=Ve.findKey(f,g);return typeof v=="function"&&r.signal(f,"vim-keypress",g),v}}var p={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},_={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"},b={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(_)).forEach(function(d){b[(_[d]||"").toLowerCase()]=b[d.toLowerCase()]=d});function A(d){if(d.charAt(0)=="'")return d.charAt(1);var f=d.split(/-(?!$)/),g=f[f.length-1];if(f.length==1&&f[0].length==1)return!1;if(f.length==2&&f[0]=="Shift"&&g.length==1)return!1;for(var v=!1,C=0;C"):!1}function I(d){var f=d.state.vim;return f.onPasteFn||(f.onPasteFn=function(){f.insertMode||(d.setCursor(Re(d.getCursor(),0,1)),be.enterInsertMode(d,{},f))}),f.onPasteFn}var M=/[\d]/,U=[r.isWordChar,function(d){return d&&!r.isWordChar(d)&&!/\s/.test(d)}],V=[function(d){return/\S/.test(d)}];function m(d,f){for(var g=[],v=d;v"]),F=[].concat(O,S,k,["-",'"',".",":","_","/","+"]),Y;try{Y=new RegExp("^[\\p{Lu}]$","u")}catch{Y=/^[A-Z]$/}function q(d,f){return f>=d.firstLine()&&f<=d.lastLine()}function te(d){return/^[a-z]$/.test(d)}function se(d){return"()[]{}".indexOf(d)!=-1}function ie(d){return M.test(d)}function ae(d){return Y.test(d)}function D(d){return/^\s*$/.test(d)}function P(d){return".?!".indexOf(d)!=-1}function H(d,f){for(var g=0;gg?f=g:f0?1:-1,ee,de=G.getCursor();do if(f+=pe,Z=C[(d+f)%d],Z&&(ee=Z.find())&&!Vt(de,ee))break;while(fv)}return Z}function $(G,J){var Z=f,pe=x(G,J);return f=Z,pe&&pe.find()}return{cachedCursor:void 0,add:w,find:$,move:x}},we=function(d){return d?{changes:d.changes,expectCursorActivityForChange:d.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function Ee(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=we()}Ee.prototype={exitMacroRecordMode:function(){var d=he.macroModeState;d.onRecordingDone&&d.onRecordingDone(),d.onRecordingDone=void 0,d.isRecording=!1},enterMacroRecordMode:function(d,f){var g=he.registerController.getRegister(f);if(g){if(g.clear(),this.latestRegister=f,d.openDialog){var v=yr("span",{class:"cm-vim-message"},"recording @"+f);this.onRecordingDone=d.openDialog(v,null,{bottom:!0})}this.isRecording=!0}}};function Ce(d){return d.state.vim||(d.state.vim={inputState:new Lt,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),d.state.vim}var he;function xe(){he={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:ye(),macroModeState:new Ee,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new ze({}),searchHistoryController:new En,exCommandHistoryController:new En};for(var d in z){var f=z[d];f.value=f.defaultValue}}var je,Ve={enterVimMode:s,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return he.registerController},resetVimGlobalState_:xe,getVimGlobalState_:function(){return he},maybeInitVimState_:Ce,suppressErrorLogging:!1,InsertModeKey:Ts,map:function(d,f,g){An.map(d,f,g)},unmap:function(d,f){return An.unmap(d,f)},noremap:function(d,f,g){An.map(d,f,g,!0)},mapclear:function(d){var f=a.length,g=i,v=a.slice(0,f-g);if(a=a.slice(f-g),d)for(var C=v.length-1;C>=0;C--){var w=v[C];if(d!==w.context)if(w.context)this._mapCommand(w);else{var x=["normal","insert","visual"];for(var $ in x)if(x[$]!==d){var G={};for(var J in w)G[J]=w[J];G.context=x[$],this._mapCommand(G)}}}},setOption:oe,getOption:_e,defineOption:ne,defineEx:function(d,f,g){if(!f)f=d;else if(d.indexOf(f)!==0)throw new Error('(Vim.defineEx) "'+f+'" is not a prefix of "'+d+'", command not registered');Ia[d]=g,An.commandMap_[f]={name:d,shortName:f,type:"api"}},handleKey:function(d,f,g){var v=this.findKey(d,f,g);if(typeof v=="function")return v()},multiSelectHandleKey:Tr,findKey:function(d,f,g){var v=Ce(d);function C(){var J=he.macroModeState;if(J.isRecording){if(f=="q")return J.exitMacroRecordMode(),St(d),!0;g!="mapping"&&Ku(J,f)}}function w(){if(f==""){if(v.visualMode)sn(d);else if(v.insertMode)lr(d);else return;return St(d),!0}}function x(){if(w())return!0;v.inputState.keyBuffer.push(f);var J=v.inputState.keyBuffer.join(""),Z=f.length==1,pe=ht.matchCommand(J,a,v.inputState,"insert"),ee=v.inputState.changeQueue;if(pe.type=="none")return St(d),!1;if(pe.type=="partial"){if(je&&window.clearTimeout(je),je=Z&&window.setTimeout(function(){v.insertMode&&v.inputState.keyBuffer.length&&St(d)},_e("insertModeEscKeysTimeout")),Z){var de=d.listSelections();(!ee||ee.removed.length!=de.length)&&(ee=v.inputState.changeQueue=new Dt),ee.inserted+=f;for(var ce=0;ce|./gi,w;w=C.exec(f);){var x=w[0],$=v.insertMode,G=Ve.handleKey(d,x,"mapping");if(!G&&$&&v.insertMode){if(x[0]=="<"){var Z=x.toLowerCase().slice(1,-1),J=Z.split("-"),Z=J.pop();if(Z=="lt")x="<";else if(Z=="space")x=" ";else if(Z=="cr")x=` `;else if(b.hasOwnProperty(Z)){x=b[Z],R(d,x);continue}else x=x[0],C.lastIndex=w.index+1}d.replaceSelection(x)}}}finally{et=!1,nt.length=0}}function Lt(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null,this.changeQueue=null}Lt.prototype.pushRepeatDigit=function(d){this.operator?this.motionRepeat=this.motionRepeat.concat(d):this.prefixRepeat=this.prefixRepeat.concat(d)},Lt.prototype.getRepeat=function(){var d=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(d=1,this.prefixRepeat.length>0&&(d*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(d*=parseInt(this.motionRepeat.join(""),10))),d};function St(d,f){d.state.vim.inputState=new Lt,r.signal(d,"vim-command-done",f)}function Dt(){this.removed=[],this.inserted=""}function Pt(d,f,g){this.clear(),this.keyBuffer=[d||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!f,this.blockwise=!!g}Pt.prototype={setText:function(d,f,g){this.keyBuffer=[d||""],this.linewise=!!f,this.blockwise=!!g},pushText:function(d,f){f&&(this.linewise||this.keyBuffer.push(` `),this.linewise=!0),this.keyBuffer.push(d)},pushInsertModeChanges:function(d){this.insertModeChanges.push(we(d))},pushSearchQuery:function(d){this.searchQueries.push(d)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}};function Rn(d,f){var g=he.registerController.registers;if(!d||d.length!=1)throw Error("Register name must be 1 character");if(g[d])throw Error("Register already defined "+d);g[d]=f,F.push(d)}function ze(d){this.registers=d,this.unnamedRegister=d['"']=new Pt,d["."]=new Pt,d[":"]=new Pt,d["/"]=new Pt,d["+"]=new Pt}ze.prototype={pushText:function(d,f,g,v,C){if(d!=="_"){v&&g.charAt(g.length-1)!==` `&&(g+=` `);var w=this.isValidRegister(d)?this.getRegister(d):null;if(!w){switch(f){case"yank":this.registers[0]=new Pt(g,v,C);break;case"delete":case"change":g.indexOf(` -`)==-1?this.registers["-"]=new Pt(g,v):(this.shiftNumericRegisters_(),this.registers[1]=new Pt(g,v));break}this.unnamedRegister.setText(g,v,C);return}var x=ae(d);x?w.pushText(g,v):w.setText(g,v,C),d==="+"&&navigator.clipboard.writeText(g),this.unnamedRegister.setText(w.toString(),v)}},getRegister:function(d){return this.isValidRegister(d)?(d=d.toLowerCase(),this.registers[d]||(this.registers[d]=new Pt),this.registers[d]):this.unnamedRegister},isValidRegister:function(d){return d&&H(d,F)},shiftNumericRegisters_:function(){for(var d=9;d>=2;d--)this.registers[d]=this.getRegister(""+(d-1))}};function En(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}En.prototype={nextMatch:function(d,f){var g=this.historyBuffer,v=f?-1:1;this.initialPrefix===null&&(this.initialPrefix=d);for(var C=this.iterator+v;f?C>=0:C=g.length)return this.iterator=g.length,this.initialPrefix;if(C<0)return d},pushInput:function(d){var f=this.historyBuffer.indexOf(d);f>-1&&this.historyBuffer.splice(f,1),d.length&&this.historyBuffer.push(d)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var ht={matchCommand:function(d,f,g,v){var C=$t(d,f,v,g);if(!C.full&&!C.partial)return{type:"none"};if(!C.full&&C.partial)return{type:"partial"};for(var w,x=0;x"){var G=Tt(d);if(!G||G.length>1)return{type:"clear"};g.selectedCharacter=G}return{type:"full",command:w}},processCommand:function(d,f,g){switch(f.inputState.repeatOverride=g.repeatOverride,g.type){case"motion":this.processMotion(d,f,g);break;case"operator":this.processOperator(d,f,g);break;case"operatorMotion":this.processOperatorMotion(d,f,g);break;case"action":this.processAction(d,f,g);break;case"search":this.processSearch(d,f,g);break;case"ex":case"keyToEx":this.processEx(d,f,g);break}},processMotion:function(d,f,g){f.inputState.motion=g.motion,f.inputState.motionArgs=Me(g.motionArgs),this.evalInput(d,f)},processOperator:function(d,f,g){var v=f.inputState;if(v.operator)if(v.operator==g.operator){v.motion="expandToLine",v.motionArgs={linewise:!0},this.evalInput(d,f);return}else St(d);v.operator=g.operator,v.operatorArgs=Me(g.operatorArgs),g.keys.length>1&&(v.operatorShortcut=g.keys),g.exitVisualBlock&&(f.visualBlock=!1,Er(d)),f.visualMode&&this.evalInput(d,f)},processOperatorMotion:function(d,f,g){var v=f.visualMode,C=Me(g.operatorMotionArgs);C&&v&&C.visualLine&&(f.visualLine=!0),this.processOperator(d,f,g),v||this.processMotion(d,f,g)},processAction:function(d,f,g){var v=f.inputState,C=v.getRepeat(),w=!!C,x=Me(g.actionArgs)||{};v.selectedCharacter&&(x.selectedCharacter=v.selectedCharacter),g.operator&&this.processOperator(d,f,g),g.motion&&this.processMotion(d,f,g),(g.motion||g.operator)&&this.evalInput(d,f),x.repeat=C||1,x.repeatIsExplicit=w,x.registerName=v.registerName,St(d),f.lastMotion=null,g.isEdit&&this.recordLastEdit(f,v,g),be[g.action](d,x,f)},processSearch:function(d,f,g){if(!d.getSearchCursor)return;var v=g.searchArgs.forward,C=g.searchArgs.wholeWordOnly;Jn(d).setReversed(!v);var w=v?"/":"?",x=Jn(d).getQuery(),$=d.getScrollInfo();function G(ve,Be,Ze){he.searchHistoryController.pushInput(ve),he.searchHistoryController.reset();try{Aa(d,ve,Be,Ze)}catch{Rt(d,"Invalid regex: "+ve),St(d);return}ht.processMotion(d,f,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:g.searchArgs.toJumplist}})}function J(ve){d.scrollTo($.left,$.top),G(ve,!0,!0);var Be=he.macroModeState;Be.isRecording&&ju(Be,ve)}function Z(ve,Be,Ze){var He=r.keyName(ve),xt,un;He=="Up"||He=="Down"?(xt=He=="Up",un=ve.target?ve.target.selectionEnd:0,Be=he.searchHistoryController.nextMatch(Be,xt)||"",Ze(Be),un&&ve.target&&(ve.target.selectionEnd=ve.target.selectionStart=Math.min(un,ve.target.value.length))):He!="Left"&&He!="Right"&&He!="Ctrl"&&He!="Alt"&&He!="Shift"&&he.searchHistoryController.reset();var zt;try{zt=Aa(d,Be,!0,!0)}catch{}zt?d.scrollIntoView(So(d,!v,zt),30):(Za(d),d.scrollTo($.left,$.top))}function pe(ve,Be,Ze){var He=r.keyName(ve);He=="Esc"||He=="Ctrl-C"||He=="Ctrl-["||He=="Backspace"&&Be==""?(he.searchHistoryController.pushInput(Be),he.searchHistoryController.reset(),Aa(d,x),Za(d),d.scrollTo($.left,$.top),r.e_stop(ve),St(d),Ze(),d.focus()):He=="Up"||He=="Down"?r.e_stop(ve):He=="Ctrl-U"&&(r.e_stop(ve),Ze(""))}switch(g.searchArgs.querySrc){case"prompt":var ee=he.macroModeState;if(ee.isPlaying){var Ie=ee.replaySearchQueries.shift();G(Ie,!0,!1)}else Xa(d,{onClose:J,prefix:w,desc:"(JavaScript regexp)",onKeyUp:Z,onKeyDown:pe});break;case"wordUnderCursor":var de=le(d,!1,!1,!1,!0),ce=!0;if(de||(de=le(d,!1,!1,!1,!1),ce=!1),!de)return;var Ie=d.getLine(de.start.line).substring(de.start.ch,de.end.ch);ce&&C?Ie="\\b"+Ie+"\\b":Ie=Ln(Ie),he.jumpList.cachedCursor=d.getCursor(),d.setCursor(de.start),G(Ie,!0,!1);break}},processEx:function(d,f,g){function v(w){he.exCommandHistoryController.pushInput(w),he.exCommandHistoryController.reset(),An.processCommand(d,w),d.state.vim&&St(d)}function C(w,x,$){var G=r.keyName(w),J,Z;(G=="Esc"||G=="Ctrl-C"||G=="Ctrl-["||G=="Backspace"&&x=="")&&(he.exCommandHistoryController.pushInput(x),he.exCommandHistoryController.reset(),r.e_stop(w),St(d),$(),d.focus()),G=="Up"||G=="Down"?(r.e_stop(w),J=G=="Up",Z=w.target?w.target.selectionEnd:0,x=he.exCommandHistoryController.nextMatch(x,J)||"",$(x),Z&&w.target&&(w.target.selectionEnd=w.target.selectionStart=Math.min(Z,w.target.value.length))):G=="Ctrl-U"?(r.e_stop(w),$("")):G!="Left"&&G!="Right"&&G!="Ctrl"&&G!="Alt"&&G!="Shift"&&he.exCommandHistoryController.reset()}g.type=="keyToEx"?An.processCommand(d,g.exArgs.input):f.visualMode?Xa(d,{onClose:v,prefix:":",value:"'<,'>",onKeyDown:C,selectValueOnOpen:!1}):Xa(d,{onClose:v,prefix:":",onKeyDown:C})},evalInput:function(d,f){var g=f.inputState,v=g.motion,C=g.motionArgs||{},w=g.operator,x=g.operatorArgs||{},$=g.registerName,G=f.sel,J=it(f.visualMode?Ne(d,G.head):d.getCursor("head")),Z=it(f.visualMode?Ne(d,G.anchor):d.getCursor("anchor")),pe=it(J),ee=it(Z),de,ce,Ie;if(w&&this.recordLastEdit(f,g),g.repeatOverride!==void 0?Ie=g.repeatOverride:Ie=g.getRepeat(),Ie>0&&C.explicitRepeat?C.repeatIsExplicit=!0:(C.noRepeat||!C.explicitRepeat&&Ie===0)&&(Ie=1,C.repeatIsExplicit=!1),g.selectedCharacter&&(C.selectedCharacter=x.selectedCharacter=g.selectedCharacter),C.repeat=Ie,St(d),v){var ve=Ke[v](d,J,C,f,g);if(f.lastMotion=Ke[v],!ve)return;if(C.toJumplist){var Be=he.jumpList,Ze=Be.cachedCursor;Ze?(Se(d,Ze,ve),delete Be.cachedCursor):Se(d,J,ve)}ve instanceof Array?(ce=ve[0],de=ve[1]):de=ve,de||(de=it(J)),f.visualMode?(f.visualBlock&&de.ch===1/0||(de=Ne(d,de,pe)),ce&&(ce=Ne(d,ce)),ce=ce||ee,G.anchor=ce,G.head=de,Er(d),sr(d,f,"<",_t(ce,de)?ce:de),sr(d,f,">",_t(ce,de)?de:ce)):w||(de=Ne(d,de,pe),d.setCursor(de.line,de.ch))}if(w){if(x.lastSel){ce=ee;var He=x.lastSel,xt=Math.abs(He.head.line-He.anchor.line),un=Math.abs(He.head.ch-He.anchor.ch);He.visualLine?de=new e(ee.line+xt,ee.ch):He.visualBlock?de=new e(ee.line+xt,ee.ch+un):He.head.line==He.anchor.line?de=new e(ee.line,ee.ch+un):de=new e(ee.line+xt,ee.ch),f.visualMode=!0,f.visualLine=He.visualLine,f.visualBlock=He.visualBlock,G=f.sel={anchor:ce,head:de},Er(d)}else f.visualMode&&(x.lastSel={anchor:it(G.anchor),head:it(G.head),visualBlock:f.visualBlock,visualLine:f.visualLine});var zt,dn,bt,mt,hn;if(f.visualMode){zt=Ye(G.head,G.anchor),dn=Gn(G.head,G.anchor),bt=f.visualLine||x.linewise,mt=f.visualBlock?"block":bt?"line":"char";var rn=n(d,zt,dn);if(hn=wa(d,{anchor:rn.start,head:rn.end},mt),bt){var ln=hn.ranges;if(mt=="block")for(var oa=0;oa$:Z.line<$;return pe&&($=Z.line,w=Z.ch),$J&&C.line==J?lo(d,f,g,v,!0):(g.toFirstChar&&(w=X(d.getLine($)),v.lastHPos=w),v.lastHSPos=d.charCoords(new e($,w),"div").left,new e($,w))},moveByDisplayLines:function(d,f,g,v){var C=f;switch(v.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:v.lastHSPos=d.charCoords(C,"div").left}var w=g.repeat,x=d.findPosV(C,g.forward?w:-w,"line",v.lastHSPos);if(x.hitSide)if(g.forward)var $=d.charCoords(x,"div"),G={top:$.top+8,left:v.lastHSPos},x=d.coordsChar(G,"div");else{var J=d.charCoords(new e(d.firstLine(),0),"div");J.left=v.lastHSPos,x=d.coordsChar(J,"div")}return v.lastHPos=x.ch,x},moveByPage:function(d,f,g){var v=f,C=g.repeat;return d.findPosV(v,g.forward?C:-C,"page")},moveByParagraph:function(d,f,g){var v=g.forward?1:-1;return co(d,f,g.repeat,v)},moveBySentence:function(d,f,g){var v=g.forward?1:-1;return fs(d,f,g.repeat,v)},moveByScroll:function(d,f,g,v){var C=d.getScrollInfo(),w=null,x=g.repeat;x||(x=C.clientHeight/(2*d.defaultTextHeight()));var $=d.charCoords(f,"local");if(g.repeat=x,w=Ke.moveByDisplayLines(d,f,g,v),!w)return null;var G=d.charCoords(w,"local");return d.scrollTo(null,C.top+G.top-$.top),w},moveByWords:function(d,f,g){return or(d,f,g.repeat,!!g.forward,!!g.wordEnd,!!g.bigWord)},moveTillCharacter:function(d,f,g){var v=g.repeat,C=ki(d,v,g.forward,g.selectedCharacter,f),w=g.forward?-1:1;return Ae(w,g),C?(C.ch+=w,C):null},moveToCharacter:function(d,f,g){var v=g.repeat;return Ae(0,g),ki(d,v,g.forward,g.selectedCharacter,f)||f},moveToSymbol:function(d,f,g){var v=g.repeat;return At(d,v,g.forward,g.selectedCharacter)||f},moveToColumn:function(d,f,g,v){var C=g.repeat;return v.lastHPos=C-1,v.lastHSPos=d.charCoords(f,"div").left,ds(d,C)},moveToEol:function(d,f,g,v){return lo(d,f,g,v,!1)},moveToFirstNonWhiteSpaceCharacter:function(d,f){var g=f;return new e(g.line,X(d.getLine(g.line)))},moveToMatchedSymbol:function(d,f){for(var g=f,v=g.line,C=g.ch,w=d.getLine(v),x;C"?/[(){}[\]<>]/:/[(){}[\]]/,J=d.findMatchingBracket(new e(v,C),{bracketRegex:G});return J.to}else return g},moveToStartOfLine:function(d,f){return new e(f.line,0)},moveToLineOrEdgeOfDocument:function(d,f,g){var v=g.forward?d.lastLine():d.firstLine();return g.repeatIsExplicit&&(v=g.repeat-d.getOption("firstLineNumber")),new e(v,X(d.getLine(v)))},moveToStartOfDisplayLine:function(d){return d.execCommand("goLineLeft"),d.getCursor()},moveToEndOfDisplayLine:function(d){d.execCommand("goLineRight");var f=d.getCursor();return f.sticky=="before"&&f.ch--,f},textObjectManipulation:function(d,f,g,v){var C={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},w={"'":!0,'"':!0,"`":!0},x=g.selectedCharacter;x=="b"?x="(":x=="B"&&(x="{");var $=!g.textObjectInner,G,J;if(C[x]){if(J=!0,G=ho(d,f,x,$),!G){var Z=d.getSearchCursor(new RegExp("\\"+x,"g"),f);Z.find()&&(G=ho(d,Z.from(),x,$))}}else if(w[x])J=!0,G=ms(d,f,x,$);else if(x==="W")G=le(d,$,!$,!0);else if(x==="w")G=le(d,$,!$,!1);else if(x==="p")if(G=co(d,f,g.repeat,0,$),g.linewise=!0,v.visualMode)v.visualLine||(v.visualLine=!0);else{var pe=v.inputState.operatorArgs;pe&&(pe.linewise=!0),G.end.line--}else if(x==="t")G=me(d,f,$);else if(x==="s"){var ee=d.getLine(f.line);f.ch>0&&P(ee[f.ch])&&(f.ch-=1);var de=uo(d,f,g.repeat,1,$),ce=uo(d,f,g.repeat,-1,$);D(d.getLine(ce.line)[ce.ch])&&D(d.getLine(de.line)[de.ch-1])&&(ce={line:ce.line,ch:ce.ch+1}),G={start:ce,end:de}}return G?d.state.vim.visualMode?vr(d,G.start,G.end,J):[G.start,G.end]:null},repeatLastCharacterSearch:function(d,f,g){var v=he.lastCharacterSearch,C=g.repeat,w=g.forward===v.forward,x=(v.increment?1:0)*(w?-1:1);d.moveH(-x,"char"),g.inclusive=!!w;var $=ki(d,C,w,v.selectedCharacter);return $?($.ch+=x,$):(d.moveH(x,"char"),f)}};function wn(d,f){Ke[d]=f}function tn(d,f){for(var g=[],v=0;vd.lastLine()&&f.linewise&&!pe?d.replaceRange("",Z,$):d.replaceRange("",x,$),f.linewise&&(pe||(d.setCursor(Z),r.commands.newlineAndIndent(d)),x.ch=Number.MAX_VALUE),v=x}he.registerController.pushText(f.registerName,"change",C,f.linewise,g.length>1),be.enterInsertMode(d,{head:v},d.state.vim)},delete:function(d,f,g){var v,C,w=d.state.vim;if(w.visualBlock){C=d.getSelection();var G=tn("",g.length);d.replaceSelections(G),v=Ye(g[0].head,g[0].anchor)}else{var x=g[0].anchor,$=g[0].head;f.linewise&&$.line!=d.firstLine()&&x.line==d.lastLine()&&x.line==$.line-1&&(x.line==d.firstLine()?x.ch=0:x=new e(x.line-1,ft(d,x.line-1))),C=d.getRange(x,$),d.replaceRange("",x,$),v=x,f.linewise&&(v=Ke.moveToFirstNonWhiteSpaceCharacter(d,x))}return he.registerController.pushText(f.registerName,"delete",C,f.linewise,w.visualBlock),Ne(d,v)},indent:function(d,f,g){var v=d.state.vim;if(d.indentMore)for(var C=v.visualMode?f.repeat:1,w=0;wJ.top?(G.line+=($-J.top)/C,G.line=Math.ceil(G.line),d.setCursor(G),J=d.charCoords(G,"local"),d.scrollTo(null,J.top)):d.scrollTo(null,$);else{var Z=$+d.getScrollInfo().clientHeight;Z=C.anchor.line?w=Re(C.head,0,1):w=new e(C.anchor.line,0)}else if(v=="inplace"){if(g.visualMode)return}else v=="lastEdit"&&(w=vo(d)||w);d.setOption("disableInput",!1),f&&f.replace?(d.toggleOverwrite(!0),d.setOption("keyMap","vim-replace"),r.signal(d,"vim-mode-change",{mode:"replace"})):(d.toggleOverwrite(!1),d.setOption("keyMap","vim-insert"),r.signal(d,"vim-mode-change",{mode:"insert"})),he.macroModeState.isPlaying||(d.on("change",Xl),g.insertEnd&&g.insertEnd.clear(),g.insertEnd=d.setBookmark(w,{insertLeft:!0}),r.on(d.getInputField(),"keydown",jl)),g.visualMode&&sn(d),nn(d,w,x)}},toggleVisualMode:function(d,f,g){var v=f.repeat,C=d.getCursor(),w;if(g.visualMode)g.visualLine^f.linewise||g.visualBlock^f.blockwise?(g.visualLine=!!f.linewise,g.visualBlock=!!f.blockwise,r.signal(d,"vim-mode-change",{mode:"visual",subMode:g.visualLine?"linewise":g.visualBlock?"blockwise":""}),Er(d)):sn(d);else{g.visualMode=!0,g.visualLine=!!f.linewise,g.visualBlock=!!f.blockwise,w=Ne(d,new e(C.line,C.ch+v-1));var x=n(d,C,w);g.sel={anchor:x.start,head:x.end},r.signal(d,"vim-mode-change",{mode:"visual",subMode:g.visualLine?"linewise":g.visualBlock?"blockwise":""}),Er(d),sr(d,g,"<",Ye(C,w)),sr(d,g,">",Gn(C,w))}},reselectLastSelection:function(d,f,g){var v=g.lastSelection;if(g.visualMode&&Ra(d,g),v){var C=v.anchorMark.find(),w=v.headMark.find();if(!C||!w)return;g.sel={anchor:C,head:w},g.visualMode=!0,g.visualLine=v.visualLine,g.visualBlock=v.visualBlock,Er(d),sr(d,g,"<",Ye(C,w)),sr(d,g,">",Gn(C,w)),r.signal(d,"vim-mode-change",{mode:"visual",subMode:g.visualLine?"linewise":g.visualBlock?"blockwise":""})}},joinLines:function(d,f,g){var v,C;if(g.visualMode){if(v=d.getCursor("anchor"),C=d.getCursor("head"),_t(C,v)){var w=C;C=v,v=w}C.ch=ft(d,C.line)-1}else{var x=Math.max(f.repeat,2);v=d.getCursor(),C=Ne(d,new e(v.line+x-1,1/0))}for(var $=0,G=v.line;G=2;d--)this.registers[d]=this.getRegister(""+(d-1))}};function En(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}En.prototype={nextMatch:function(d,f){var g=this.historyBuffer,v=f?-1:1;this.initialPrefix===null&&(this.initialPrefix=d);for(var C=this.iterator+v;f?C>=0:C=g.length)return this.iterator=g.length,this.initialPrefix;if(C<0)return d},pushInput:function(d){var f=this.historyBuffer.indexOf(d);f>-1&&this.historyBuffer.splice(f,1),d.length&&this.historyBuffer.push(d)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var ht={matchCommand:function(d,f,g,v){var C=$t(d,f,v,g);if(!C.full&&!C.partial)return{type:"none"};if(!C.full&&C.partial)return{type:"partial"};for(var w,x=0;x"){var G=Tt(d);if(!G||G.length>1)return{type:"clear"};g.selectedCharacter=G}return{type:"full",command:w}},processCommand:function(d,f,g){switch(f.inputState.repeatOverride=g.repeatOverride,g.type){case"motion":this.processMotion(d,f,g);break;case"operator":this.processOperator(d,f,g);break;case"operatorMotion":this.processOperatorMotion(d,f,g);break;case"action":this.processAction(d,f,g);break;case"search":this.processSearch(d,f,g);break;case"ex":case"keyToEx":this.processEx(d,f,g);break}},processMotion:function(d,f,g){f.inputState.motion=g.motion,f.inputState.motionArgs=Me(g.motionArgs),this.evalInput(d,f)},processOperator:function(d,f,g){var v=f.inputState;if(v.operator)if(v.operator==g.operator){v.motion="expandToLine",v.motionArgs={linewise:!0},this.evalInput(d,f);return}else St(d);v.operator=g.operator,v.operatorArgs=Me(g.operatorArgs),g.keys.length>1&&(v.operatorShortcut=g.keys),g.exitVisualBlock&&(f.visualBlock=!1,Er(d)),f.visualMode&&this.evalInput(d,f)},processOperatorMotion:function(d,f,g){var v=f.visualMode,C=Me(g.operatorMotionArgs);C&&v&&C.visualLine&&(f.visualLine=!0),this.processOperator(d,f,g),v||this.processMotion(d,f,g)},processAction:function(d,f,g){var v=f.inputState,C=v.getRepeat(),w=!!C,x=Me(g.actionArgs)||{};v.selectedCharacter&&(x.selectedCharacter=v.selectedCharacter),g.operator&&this.processOperator(d,f,g),g.motion&&this.processMotion(d,f,g),(g.motion||g.operator)&&this.evalInput(d,f),x.repeat=C||1,x.repeatIsExplicit=w,x.registerName=v.registerName,St(d),f.lastMotion=null,g.isEdit&&this.recordLastEdit(f,v,g),be[g.action](d,x,f)},processSearch:function(d,f,g){if(!d.getSearchCursor)return;var v=g.searchArgs.forward,C=g.searchArgs.wholeWordOnly;Jn(d).setReversed(!v);var w=v?"/":"?",x=Jn(d).getQuery(),$=d.getScrollInfo();function G(ve,Be,Ze){he.searchHistoryController.pushInput(ve),he.searchHistoryController.reset();try{Aa(d,ve,Be,Ze)}catch{Rt(d,"Invalid regex: "+ve),St(d);return}ht.processMotion(d,f,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:g.searchArgs.toJumplist}})}function J(ve){d.scrollTo($.left,$.top),G(ve,!0,!0);var Be=he.macroModeState;Be.isRecording&&ju(Be,ve)}function Z(ve,Be,Ze){var He=r.keyName(ve),xt,un;He=="Up"||He=="Down"?(xt=He=="Up",un=ve.target?ve.target.selectionEnd:0,Be=he.searchHistoryController.nextMatch(Be,xt)||"",Ze(Be),un&&ve.target&&(ve.target.selectionEnd=ve.target.selectionStart=Math.min(un,ve.target.value.length))):He!="Left"&&He!="Right"&&He!="Ctrl"&&He!="Alt"&&He!="Shift"&&he.searchHistoryController.reset();var zt;try{zt=Aa(d,Be,!0,!0)}catch{}zt?d.scrollIntoView(bo(d,!v,zt),30):(Za(d),d.scrollTo($.left,$.top))}function pe(ve,Be,Ze){var He=r.keyName(ve);He=="Esc"||He=="Ctrl-C"||He=="Ctrl-["||He=="Backspace"&&Be==""?(he.searchHistoryController.pushInput(Be),he.searchHistoryController.reset(),Aa(d,x),Za(d),d.scrollTo($.left,$.top),r.e_stop(ve),St(d),Ze(),d.focus()):He=="Up"||He=="Down"?r.e_stop(ve):He=="Ctrl-U"&&(r.e_stop(ve),Ze(""))}switch(g.searchArgs.querySrc){case"prompt":var ee=he.macroModeState;if(ee.isPlaying){var Ie=ee.replaySearchQueries.shift();G(Ie,!0,!1)}else Xa(d,{onClose:J,prefix:w,desc:"(JavaScript regexp)",onKeyUp:Z,onKeyDown:pe});break;case"wordUnderCursor":var de=le(d,!1,!1,!1,!0),ce=!0;if(de||(de=le(d,!1,!1,!1,!1),ce=!1),!de)return;var Ie=d.getLine(de.start.line).substring(de.start.ch,de.end.ch);ce&&C?Ie="\\b"+Ie+"\\b":Ie=Ln(Ie),he.jumpList.cachedCursor=d.getCursor(),d.setCursor(de.start),G(Ie,!0,!1);break}},processEx:function(d,f,g){function v(w){he.exCommandHistoryController.pushInput(w),he.exCommandHistoryController.reset(),An.processCommand(d,w),d.state.vim&&St(d)}function C(w,x,$){var G=r.keyName(w),J,Z;(G=="Esc"||G=="Ctrl-C"||G=="Ctrl-["||G=="Backspace"&&x=="")&&(he.exCommandHistoryController.pushInput(x),he.exCommandHistoryController.reset(),r.e_stop(w),St(d),$(),d.focus()),G=="Up"||G=="Down"?(r.e_stop(w),J=G=="Up",Z=w.target?w.target.selectionEnd:0,x=he.exCommandHistoryController.nextMatch(x,J)||"",$(x),Z&&w.target&&(w.target.selectionEnd=w.target.selectionStart=Math.min(Z,w.target.value.length))):G=="Ctrl-U"?(r.e_stop(w),$("")):G!="Left"&&G!="Right"&&G!="Ctrl"&&G!="Alt"&&G!="Shift"&&he.exCommandHistoryController.reset()}g.type=="keyToEx"?An.processCommand(d,g.exArgs.input):f.visualMode?Xa(d,{onClose:v,prefix:":",value:"'<,'>",onKeyDown:C,selectValueOnOpen:!1}):Xa(d,{onClose:v,prefix:":",onKeyDown:C})},evalInput:function(d,f){var g=f.inputState,v=g.motion,C=g.motionArgs||{},w=g.operator,x=g.operatorArgs||{},$=g.registerName,G=f.sel,J=it(f.visualMode?Ne(d,G.head):d.getCursor("head")),Z=it(f.visualMode?Ne(d,G.anchor):d.getCursor("anchor")),pe=it(J),ee=it(Z),de,ce,Ie;if(w&&this.recordLastEdit(f,g),g.repeatOverride!==void 0?Ie=g.repeatOverride:Ie=g.getRepeat(),Ie>0&&C.explicitRepeat?C.repeatIsExplicit=!0:(C.noRepeat||!C.explicitRepeat&&Ie===0)&&(Ie=1,C.repeatIsExplicit=!1),g.selectedCharacter&&(C.selectedCharacter=x.selectedCharacter=g.selectedCharacter),C.repeat=Ie,St(d),v){var ve=Ke[v](d,J,C,f,g);if(f.lastMotion=Ke[v],!ve)return;if(C.toJumplist){var Be=he.jumpList,Ze=Be.cachedCursor;Ze?(Se(d,Ze,ve),delete Be.cachedCursor):Se(d,J,ve)}ve instanceof Array?(ce=ve[0],de=ve[1]):de=ve,de||(de=it(J)),f.visualMode?(f.visualBlock&&de.ch===1/0||(de=Ne(d,de,pe)),ce&&(ce=Ne(d,ce)),ce=ce||ee,G.anchor=ce,G.head=de,Er(d),sr(d,f,"<",_t(ce,de)?ce:de),sr(d,f,">",_t(ce,de)?de:ce)):w||(de=Ne(d,de,pe),d.setCursor(de.line,de.ch))}if(w){if(x.lastSel){ce=ee;var He=x.lastSel,xt=Math.abs(He.head.line-He.anchor.line),un=Math.abs(He.head.ch-He.anchor.ch);He.visualLine?de=new e(ee.line+xt,ee.ch):He.visualBlock?de=new e(ee.line+xt,ee.ch+un):He.head.line==He.anchor.line?de=new e(ee.line,ee.ch+un):de=new e(ee.line+xt,ee.ch),f.visualMode=!0,f.visualLine=He.visualLine,f.visualBlock=He.visualBlock,G=f.sel={anchor:ce,head:de},Er(d)}else f.visualMode&&(x.lastSel={anchor:it(G.anchor),head:it(G.head),visualBlock:f.visualBlock,visualLine:f.visualLine});var zt,dn,bt,mt,hn;if(f.visualMode){zt=Ye(G.head,G.anchor),dn=Gn(G.head,G.anchor),bt=f.visualLine||x.linewise,mt=f.visualBlock?"block":bt?"line":"char";var rn=n(d,zt,dn);if(hn=wa(d,{anchor:rn.start,head:rn.end},mt),bt){var ln=hn.ranges;if(mt=="block")for(var oa=0;oa$:Z.line<$;return pe&&($=Z.line,w=Z.ch),$J&&C.line==J?so(d,f,g,v,!0):(g.toFirstChar&&(w=X(d.getLine($)),v.lastHPos=w),v.lastHSPos=d.charCoords(new e($,w),"div").left,new e($,w))},moveByDisplayLines:function(d,f,g,v){var C=f;switch(v.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:v.lastHSPos=d.charCoords(C,"div").left}var w=g.repeat,x=d.findPosV(C,g.forward?w:-w,"line",v.lastHSPos);if(x.hitSide)if(g.forward)var $=d.charCoords(x,"div"),G={top:$.top+8,left:v.lastHSPos},x=d.coordsChar(G,"div");else{var J=d.charCoords(new e(d.firstLine(),0),"div");J.left=v.lastHSPos,x=d.coordsChar(J,"div")}return v.lastHPos=x.ch,x},moveByPage:function(d,f,g){var v=f,C=g.repeat;return d.findPosV(v,g.forward?C:-C,"page")},moveByParagraph:function(d,f,g){var v=g.forward?1:-1;return lo(d,f,g.repeat,v)},moveBySentence:function(d,f,g){var v=g.forward?1:-1;return hs(d,f,g.repeat,v)},moveByScroll:function(d,f,g,v){var C=d.getScrollInfo(),w=null,x=g.repeat;x||(x=C.clientHeight/(2*d.defaultTextHeight()));var $=d.charCoords(f,"local");if(g.repeat=x,w=Ke.moveByDisplayLines(d,f,g,v),!w)return null;var G=d.charCoords(w,"local");return d.scrollTo(null,C.top+G.top-$.top),w},moveByWords:function(d,f,g){return or(d,f,g.repeat,!!g.forward,!!g.wordEnd,!!g.bigWord)},moveTillCharacter:function(d,f,g){var v=g.repeat,C=ki(d,v,g.forward,g.selectedCharacter,f),w=g.forward?-1:1;return Ae(w,g),C?(C.ch+=w,C):null},moveToCharacter:function(d,f,g){var v=g.repeat;return Ae(0,g),ki(d,v,g.forward,g.selectedCharacter,f)||f},moveToSymbol:function(d,f,g){var v=g.repeat;return At(d,v,g.forward,g.selectedCharacter)||f},moveToColumn:function(d,f,g,v){var C=g.repeat;return v.lastHPos=C-1,v.lastHSPos=d.charCoords(f,"div").left,us(d,C)},moveToEol:function(d,f,g,v){return so(d,f,g,v,!1)},moveToFirstNonWhiteSpaceCharacter:function(d,f){var g=f;return new e(g.line,X(d.getLine(g.line)))},moveToMatchedSymbol:function(d,f){for(var g=f,v=g.line,C=g.ch,w=d.getLine(v),x;C"?/[(){}[\]<>]/:/[(){}[\]]/,J=d.findMatchingBracket(new e(v,C),{bracketRegex:G});return J.to}else return g},moveToStartOfLine:function(d,f){return new e(f.line,0)},moveToLineOrEdgeOfDocument:function(d,f,g){var v=g.forward?d.lastLine():d.firstLine();return g.repeatIsExplicit&&(v=g.repeat-d.getOption("firstLineNumber")),new e(v,X(d.getLine(v)))},moveToStartOfDisplayLine:function(d){return d.execCommand("goLineLeft"),d.getCursor()},moveToEndOfDisplayLine:function(d){d.execCommand("goLineRight");var f=d.getCursor();return f.sticky=="before"&&f.ch--,f},textObjectManipulation:function(d,f,g,v){var C={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},w={"'":!0,'"':!0,"`":!0},x=g.selectedCharacter;x=="b"?x="(":x=="B"&&(x="{");var $=!g.textObjectInner,G,J;if(C[x]){if(J=!0,G=uo(d,f,x,$),!G){var Z=d.getSearchCursor(new RegExp("\\"+x,"g"),f);Z.find()&&(G=uo(d,Z.from(),x,$))}}else if(w[x])J=!0,G=fs(d,f,x,$);else if(x==="W")G=le(d,$,!$,!0);else if(x==="w")G=le(d,$,!$,!1);else if(x==="p")if(G=lo(d,f,g.repeat,0,$),g.linewise=!0,v.visualMode)v.visualLine||(v.visualLine=!0);else{var pe=v.inputState.operatorArgs;pe&&(pe.linewise=!0),G.end.line--}else if(x==="t")G=me(d,f,$);else if(x==="s"){var ee=d.getLine(f.line);f.ch>0&&P(ee[f.ch])&&(f.ch-=1);var de=co(d,f,g.repeat,1,$),ce=co(d,f,g.repeat,-1,$);D(d.getLine(ce.line)[ce.ch])&&D(d.getLine(de.line)[de.ch-1])&&(ce={line:ce.line,ch:ce.ch+1}),G={start:ce,end:de}}return G?d.state.vim.visualMode?vr(d,G.start,G.end,J):[G.start,G.end]:null},repeatLastCharacterSearch:function(d,f,g){var v=he.lastCharacterSearch,C=g.repeat,w=g.forward===v.forward,x=(v.increment?1:0)*(w?-1:1);d.moveH(-x,"char"),g.inclusive=!!w;var $=ki(d,C,w,v.selectedCharacter);return $?($.ch+=x,$):(d.moveH(x,"char"),f)}};function wn(d,f){Ke[d]=f}function tn(d,f){for(var g=[],v=0;vd.lastLine()&&f.linewise&&!pe?d.replaceRange("",Z,$):d.replaceRange("",x,$),f.linewise&&(pe||(d.setCursor(Z),r.commands.newlineAndIndent(d)),x.ch=Number.MAX_VALUE),v=x}he.registerController.pushText(f.registerName,"change",C,f.linewise,g.length>1),be.enterInsertMode(d,{head:v},d.state.vim)},delete:function(d,f,g){var v,C,w=d.state.vim;if(w.visualBlock){C=d.getSelection();var G=tn("",g.length);d.replaceSelections(G),v=Ye(g[0].head,g[0].anchor)}else{var x=g[0].anchor,$=g[0].head;f.linewise&&$.line!=d.firstLine()&&x.line==d.lastLine()&&x.line==$.line-1&&(x.line==d.firstLine()?x.ch=0:x=new e(x.line-1,ft(d,x.line-1))),C=d.getRange(x,$),d.replaceRange("",x,$),v=x,f.linewise&&(v=Ke.moveToFirstNonWhiteSpaceCharacter(d,x))}return he.registerController.pushText(f.registerName,"delete",C,f.linewise,w.visualBlock),Ne(d,v)},indent:function(d,f,g){var v=d.state.vim;if(d.indentMore)for(var C=v.visualMode?f.repeat:1,w=0;wJ.top?(G.line+=($-J.top)/C,G.line=Math.ceil(G.line),d.setCursor(G),J=d.charCoords(G,"local"),d.scrollTo(null,J.top)):d.scrollTo(null,$);else{var Z=$+d.getScrollInfo().clientHeight;Z=C.anchor.line?w=Re(C.head,0,1):w=new e(C.anchor.line,0)}else if(v=="inplace"){if(g.visualMode)return}else v=="lastEdit"&&(w=Oo(d)||w);d.setOption("disableInput",!1),f&&f.replace?(d.toggleOverwrite(!0),d.setOption("keyMap","vim-replace"),r.signal(d,"vim-mode-change",{mode:"replace"})):(d.toggleOverwrite(!1),d.setOption("keyMap","vim-insert"),r.signal(d,"vim-mode-change",{mode:"insert"})),he.macroModeState.isPlaying||(d.on("change",Xl),g.insertEnd&&g.insertEnd.clear(),g.insertEnd=d.setBookmark(w,{insertLeft:!0}),r.on(d.getInputField(),"keydown",jl)),g.visualMode&&sn(d),nn(d,w,x)}},toggleVisualMode:function(d,f,g){var v=f.repeat,C=d.getCursor(),w;if(g.visualMode)g.visualLine^f.linewise||g.visualBlock^f.blockwise?(g.visualLine=!!f.linewise,g.visualBlock=!!f.blockwise,r.signal(d,"vim-mode-change",{mode:"visual",subMode:g.visualLine?"linewise":g.visualBlock?"blockwise":""}),Er(d)):sn(d);else{g.visualMode=!0,g.visualLine=!!f.linewise,g.visualBlock=!!f.blockwise,w=Ne(d,new e(C.line,C.ch+v-1));var x=n(d,C,w);g.sel={anchor:x.start,head:x.end},r.signal(d,"vim-mode-change",{mode:"visual",subMode:g.visualLine?"linewise":g.visualBlock?"blockwise":""}),Er(d),sr(d,g,"<",Ye(C,w)),sr(d,g,">",Gn(C,w))}},reselectLastSelection:function(d,f,g){var v=g.lastSelection;if(g.visualMode&&Ra(d,g),v){var C=v.anchorMark.find(),w=v.headMark.find();if(!C||!w)return;g.sel={anchor:C,head:w},g.visualMode=!0,g.visualLine=v.visualLine,g.visualBlock=v.visualBlock,Er(d),sr(d,g,"<",Ye(C,w)),sr(d,g,">",Gn(C,w)),r.signal(d,"vim-mode-change",{mode:"visual",subMode:g.visualLine?"linewise":g.visualBlock?"blockwise":""})}},joinLines:function(d,f,g){var v,C;if(g.visualMode){if(v=d.getCursor("anchor"),C=d.getCursor("head"),_t(C,v)){var w=C;C=v,v=w}C.ch=ft(d,C.line)-1}else{var x=Math.max(f.repeat,2);v=d.getCursor(),C=Ne(d,new e(v.line+x-1,1/0))}for(var $=0,G=v.line;G{this.continuePaste(d,f,g,w,v)});else{var C=v.toString();this.continuePaste(d,f,g,C,v)}},continuePaste:function(d,f,g,v,C){var w=it(d.getCursor());if(v){if(f.matchIndent){var x=d.getOption("tabSize"),$=function(rn){var ln=rn.split(" ").length-1,oa=rn.split(" ").length-1;return ln*x+oa*1},G=d.getLine(d.getCursor().line),J=$(G.match(/^\s*/)[0]),Z=v.replace(/\n$/,""),pe=v!==Z,ee=$(v.match(/^\s*/)[0]),v=Z.replace(/^\s*/gm,function(rn){var ln=J+($(rn)-ee);if(ln<0)return"";if(d.getOption("indentWithTabs")){var oa=Math.floor(ln/x);return Array(oa+1).join(" ")}else return Array(ln+1).join(" ")});v+=pe?` `:""}if(f.repeat>1)var v=Array(f.repeat+1).join(v);var de=C.linewise,ce=C.blockwise;if(ce){v=v.split(` `),de&&v.pop();for(var Ie=0;Iee in r?RN(r,e,{enumerable:!0,config `)g.visualMode||d.replaceRange("",C,x),(r.commands.newlineAndIndentContinueComment||r.commands.newlineAndIndent)(d);else{var Z=d.getRange(C,x);if(Z=Z.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v),Z=Z.replace(/[^\n]/g,v),g.visualBlock){var pe=new Array(d.getOption("tabSize")+1).join(" ");Z=d.getSelection(),Z=Z.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v),Z=Z.replace(/\t/g,pe).replace(/[^\n]/g,v).split(` `),d.replaceSelections(Z)}else d.replaceRange(Z,C,x);g.visualMode?(C=_t($[0].anchor,$[0].head)?$[0].anchor:$[0].head,d.setCursor(C),sn(d,!1)):d.setCursor(Re(x,0,-1))}},incrementNumberToken:function(d,f){for(var g=d.getCursor(),v=d.getLine(g.line),C=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,w,x,$,G;(w=C.exec(v))!==null&&(x=w.index,$=x+w[0].length,!(g.ch<$)););if(!(!f.backtrack&&$<=g.ch)){if(w){var J=w[2]||w[4],Z=w[3]||w[5],pe=f.increase?1:-1,ee={"0b":2,0:8,"":10,"0x":16}[J.toLowerCase()],de=parseInt(w[1]+Z,ee)+pe*f.repeat;G=de.toString(ee);var ce=J?new Array(Z.length-G.length+1+w[1].length).join("0"):"";G.charAt(0)==="-"?G="-"+J+ce+G.substr(1):G=J+ce+G;var Ie=new e(g.line,x),ve=new e(g.line,$);d.replaceRange(G,Ie,ve)}else return;d.setCursor(new e(g.line,x+G.length-1))}},repeatLastEdit:function(d,f,g){var v=g.lastEditInputState;if(v){var C=f.repeat;C&&f.repeatIsExplicit?g.lastEditInputState.repeatOverride=C:C=g.lastEditInputState.repeatOverride||C,Jl(d,g,C,!1)}},indent:function(d,f){d.indentLine(d.getCursor().line,f.indentRight)},exitInsertMode:lr};function De(d,f){be[d]=f}function Ne(d,f,g){var v=d.state.vim,C=v.insertMode||v.visualMode,w=Math.min(Math.max(d.firstLine(),f.line),d.lastLine()),x=d.getLine(w),$=x.length-1+ +!!C,G=Math.min(Math.max(0,f.ch),$),J=x.charCodeAt(G);if(56320<=J&&J<=57343){var Z=1;g&&g.line==w&&g.ch>G&&(Z=-1),G+=Z,G>$&&(G-=2)}return new e(w,G)}function Me(d){var f={};for(var g in d)d.hasOwnProperty(g)&&(f[g]=d[g]);return f}function Re(d,f,g){return typeof f=="object"&&(g=f.ch,f=f.line),new e(d.line+f,d.ch+g)}function $t(d,f,g,v){for(var C=v.operator,w,x=[],$=[],G=et?f.length-i:0,J=G;J"){var g=f.length-11,v=d.slice(0,g),C=f.slice(0,g);return v==C&&d.length>g?"full":C.indexOf(v)==0?"partial":!1}else return d==f?"full":f.indexOf(d)==0?"partial":!1}function Tt(d){var f=/^.*(<[^>]+>)$/.exec(d),g=f?f[1]:d.slice(-1);if(g.length>1)switch(g){case"":g=` `;break;case"":g=" ";break;default:g="";break}return g}function rt(d,f,g){return function(){for(var v=0;v2&&(f=Ye.apply(void 0,Array.prototype.slice.call(arguments,1))),_t(d,f)?d:f}function Gn(d,f){return arguments.length>2&&(f=Gn.apply(void 0,Array.prototype.slice.call(arguments,1))),_t(d,f)?f:d}function Fr(d,f,g){var v=_t(d,f),C=_t(f,g);return v&&C}function ft(d,f){return d.getLine(f).length}function ir(d){return d.trim?d.trim():d.replace(/^\s+|\s+$/g,"")}function Ln(d){return d.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function Ai(d,f,g){var v=ft(d,f),C=new Array(g-v+1).join(" ");d.setCursor(new e(f,v)),d.replaceRange(C,d.getCursor())}function Ur(d,f){var g=[],v=d.listSelections(),C=it(d.clipPos(f)),w=!Vt(f,C),x=d.getCursor("head"),$=$r(v,x),G=Vt(v[$].head,v[$].anchor),J=v.length-1,Z=J-$>$?J:0,pe=v[Z].anchor,ee=Math.min(pe.line,C.line),de=Math.max(pe.line,C.line),ce=pe.ch,Ie=C.ch,ve=v[Z].head.ch-ce,Be=Ie-ce;ve>0&&Be<=0?(ce++,w||Ie--):ve<0&&Be>=0?(ce--,G||Ie++):ve<0&&Be==-1&&(ce--,Ie++);for(var Ze=ee;Ze<=de;Ze++){var He={anchor:new e(Ze,ce),head:new e(Ze,Ie)};g.push(He)}return d.setSelections(g),f.ch=Ie,pe.ch=ce,pe}function nn(d,f,g){for(var v=[],C=0;CG&&(C.line=G),C.ch=ft(d,C.line)}return{ranges:[{anchor:w,head:C}],primary:0}}else if(g=="block"){var J=Math.min(w.line,C.line),Z=w.ch,pe=Math.max(w.line,C.line),ee=C.ch;Z0&&w&&D(w);w=C.pop())g.line--,g.ch=0;w?(g.line--,g.ch=ft(d,g.line)):g.ch=0}}function Wa(d,f,g){f.ch=0,g.ch=0,g.line++}function X(d){if(!d)return 0;var f=d.search(/\S/);return f==-1?d.length:f}function le(d,f,g,v,C){var w=Gr(d),x=d.getLine(w.line),$=w.ch,G=C?U[0]:V[0];if(g&&/\s/.test(x.charAt($)))G=function(de){return/\s/.test(de)};else{for(;!G(x.charAt($));)if($++,$>=x.length)return null;v?G=V[0]:(G=U[0],G(x.charAt($))||(G=U[1]))}for(var J=$,Z=$;G(x.charAt(J))&&J=0;)Z--;if(Z++,f){for(var pe=J;/\s/.test(x.charAt(J))&&J0;)Z--;Z||(Z=ee)}}return{start:new e(w.line,Z),end:new e(w.line,J)}}function me(d,f,g){var v=f;if(!r.findMatchingTag||!r.findEnclosingTag)return{start:v,end:v};var C=r.findMatchingTag(d,f)||r.findEnclosingTag(d,f);return!C||!C.open||!C.close?{start:v,end:v}:g?{start:C.open.from,end:C.close.to}:{start:C.open.to,end:C.close.from}}function Se(d,f,g){Vt(f,g)||he.jumpList.add(d,f,g)}function Ae(d,f){he.lastCharacterSearch.increment=d,he.lastCharacterSearch.forward=f.forward,he.lastCharacterSearch.selectedCharacter=f.selectedCharacter}var Qe={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Pe={bracket:{isComplete:function(d){if(d.nextCh===d.symb){if(d.depth++,d.depth>=1)return!0}else d.nextCh===d.reverseSymb&&d.depth--;return!1}},section:{init:function(d){d.curMoveThrough=!0,d.symb=(d.forward?"]":"[")===d.symb?"{":"}"},isComplete:function(d){return d.index===0&&d.nextCh===d.symb}},comment:{isComplete:function(d){var f=d.lastCh==="*"&&d.nextCh==="/";return d.lastCh=d.nextCh,f}},method:{init:function(d){d.symb=d.symb==="m"?"{":"}",d.reverseSymb=d.symb==="{"?"}":"{"},isComplete:function(d){return d.nextCh===d.symb}},preprocess:{init:function(d){d.index=0},isComplete:function(d){if(d.nextCh==="#"){var f=d.lineText.match(/^#(\w+)/)[1];if(f==="endif"){if(d.forward&&d.depth===0)return!0;d.depth++}else if(f==="if"){if(!d.forward&&d.depth===0)return!0;d.depth--}if(f==="else"&&d.depth===0)return!0}return!1}}};function At(d,f,g,v){var C=it(d.getCursor()),w=g?1:-1,x=g?d.lineCount():-1,$=C.ch,G=C.line,J=d.getLine(G),Z={lineText:J,nextCh:J.charAt($),lastCh:null,index:$,symb:v,reverseSymb:(g?{")":"(","}":"{"}:{"(":")","{":"}"})[v],forward:g,depth:0,curMoveThrough:!1},pe=Qe[v];if(!pe)return C;var ee=Pe[pe].init,de=Pe[pe].isComplete;for(ee&&ee(Z);G!==x&&f;){if(Z.index+=w,Z.nextCh=Z.lineText.charAt(Z.index),!Z.nextCh){if(G+=w,Z.lineText=d.getLine(G)||"",w>0)Z.index=0;else{var ce=Z.lineText.length;Z.index=ce>0?ce-1:0}Z.nextCh=Z.lineText.charAt(Z.index)}de(Z)&&(C.line=G,C.ch=Z.index,f--)}return Z.nextCh||Z.curMoveThrough?new e(G,Z.index):C}function qn(d,f,g,v,C){var w=f.line,x=f.ch,$=d.getLine(w),G=g?1:-1,J=v?V:U;if(C&&$==""){if(w+=G,$=d.getLine(w),!q(d,w))return null;x=g?0:$.length}for(;;){if(C&&$=="")return{from:0,to:0,line:w};for(var Z=G>0?$.length:-1,pe=Z,ee=Z;x!=Z;){for(var de=!1,ce=0;ce0?0:$.length}}function or(d,f,g,v,C,w){var x=it(f),$=[];(v&&!C||!v&&C)&&g++;for(var G=!(v&&C),J=0;J0;)ee(Z,v)&&g--,Z+=v;return new e(Z,0)}var de=d.state.vim;if(de.visualLine&&ee(w,1,!0)){var ce=de.sel.anchor;ee(ce.line,-1,!0)&&(!C||ce.line!=w)&&(w+=1)}var Ie=pe(w);for(Z=w;Z<=$&&g;Z++)ee(Z,1,!0)&&(!C||pe(Z)!=Ie)&&g--;for(J=new e(Z,0),Z>$&&!Ie?Ie=!0:C=!1,Z=w;Z>x&&!((!C||pe(Z)==Ie||Z==w)&&ee(Z,-1,!0));Z--);return G=new e(Z,0),{start:G,end:J}}function uo(d,f,g,v,C){function w(J){J.pos+J.dir<0||J.pos+J.dir>=J.line.length?J.line=null:J.pos+=J.dir}function x(J,Z,pe,ee){var de=J.getLine(Z),ce={line:de,ln:Z,pos:pe,dir:ee};if(ce.line==="")return{ln:ce.ln,pos:ce.pos};var Ie=ce.pos;for(w(ce);ce.line!==null;){if(Ie=ce.pos,P(ce.line[ce.pos]))if(C){for(w(ce);ce.line!==null&&D(ce.line[ce.pos]);)Ie=ce.pos,w(ce);return{ln:ce.ln,pos:Ie+1}}else return{ln:ce.ln,pos:ce.pos+1};w(ce)}return{ln:ce.ln,pos:Ie+1}}function $(J,Z,pe,ee){var de=J.getLine(Z),ce={line:de,ln:Z,pos:pe,dir:ee};if(ce.line==="")return{ln:ce.ln,pos:ce.pos};var Ie=ce.pos;for(w(ce);ce.line!==null;){if(!D(ce.line[ce.pos])&&!P(ce.line[ce.pos]))Ie=ce.pos;else if(P(ce.line[ce.pos]))return C?D(ce.line[ce.pos+1])?{ln:ce.ln,pos:ce.pos+1}:{ln:ce.ln,pos:Ie}:{ln:ce.ln,pos:Ie};w(ce)}return ce.line=de,C&&D(ce.line[ce.pos])?{ln:ce.ln,pos:ce.pos}:{ln:ce.ln,pos:Ie}}for(var G={ln:f.line,pos:f.ch};g>0;)v<0?G=$(d,G.ln,G.pos,v):G=x(d,G.ln,G.pos,v),g--;return new e(G.ln,G.pos)}function fs(d,f,g,v){function C(G,J){if(J.pos+J.dir<0||J.pos+J.dir>=J.line.length){if(J.ln+=J.dir,!q(G,J.ln)){J.line=null,J.ln=null,J.pos=null;return}J.line=G.getLine(J.ln),J.pos=J.dir>0?0:J.line.length-1}else J.pos+=J.dir}function w(G,J,Z,pe){var ve=G.getLine(J),ee=ve==="",de={line:ve,ln:J,pos:Z,dir:pe},ce={ln:de.ln,pos:de.pos},Ie=de.line==="";for(C(G,de);de.line!==null;){if(ce.ln=de.ln,ce.pos=de.pos,de.line===""&&!Ie)return{ln:de.ln,pos:de.pos};if(ee&&de.line!==""&&!D(de.line[de.pos]))return{ln:de.ln,pos:de.pos};P(de.line[de.pos])&&!ee&&(de.pos===de.line.length-1||D(de.line[de.pos+1]))&&(ee=!0),C(G,de)}var ve=G.getLine(ce.ln);ce.pos=0;for(var Be=ve.length-1;Be>=0;--Be)if(!D(ve[Be])){ce.pos=Be;break}return ce}function x(G,J,Z,pe){var Ie=G.getLine(J),ee={line:Ie,ln:J,pos:Z,dir:pe},de={ln:ee.ln,pos:null},ce=ee.line==="";for(C(G,ee);ee.line!==null;){if(ee.line===""&&!ce)return de.pos!==null?de:{ln:ee.ln,pos:ee.pos};if(P(ee.line[ee.pos])&&de.pos!==null&&!(ee.ln===de.ln&&ee.pos+1===de.pos))return de;ee.line!==""&&!D(ee.line[ee.pos])&&(ce=!1,de={ln:ee.ln,pos:ee.pos}),C(G,ee)}var Ie=G.getLine(de.ln);de.pos=0;for(var ve=0;ve0;)v<0?$=x(d,$.ln,$.pos,v):$=w(d,$.ln,$.pos,v),g--;return new e($.ln,$.pos)}function ho(d,f,g,v){var C=f,w,x,$={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[g],G={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[g],J=d.getLine(C.line).charAt(C.ch),Z=J===G?1:0;if(w=d.scanForBracket(new e(C.line,C.ch+Z),-1,void 0,{bracketRegex:$}),x=d.scanForBracket(new e(C.line,C.ch+Z),1,void 0,{bracketRegex:$}),!w||!x)return null;if(w=w.pos,x=x.pos,w.line==x.line&&w.ch>x.ch||w.line>x.line){var pe=w;w=x,x=pe}return v?x.ch+=1:w.ch+=1,{start:w,end:x}}function ms(d,f,g,v){var C=it(f),w=d.getLine(C.line),x=w.split(""),$,G,J,Z,pe=x.indexOf(g);if(C.ch-1&&!$;J--)x[J]==g&&($=J+1);if($&&!G)for(J=$,Z=x.length;J=f&&d<=g:d==f}function ja(d){var f=d.getScrollInfo(),g=6,v=10,C=d.coordsChar({left:0,top:g+f.top},"local"),w=f.clientHeight-v+f.top,x=d.coordsChar({left:0,top:w},"local");return{top:C.line,bottom:x.line}}function Ja(d,f,g){if(g=="'"||g=="`")return he.jumpList.find(d,-1)||new e(0,0);if(g==".")return vo(d);var v=f.marks[g];return v&&v.find()}function vo(d){if(d.getLastEditEnd)return d.getLastEditEnd();for(var f=d.doc.history.done,g=f.length;g--;)if(f[g].changes)return it(f[g].changes[0].to)}var Ni=function(){this.buildCommandMap_()};Ni.prototype={processCommand:function(d,f,g){var v=this;d.operation(function(){d.curOp.isVimOp=!0,v._processCommand(d,f,g)})},_processCommand:function(d,f,g){var v=d.state.vim,C=he.registerController.getRegister(":"),w=C.toString(),x=new r.StringStream(f);C.setText(f);var $=g||{};$.input=f;try{this.parseInput_(d,x,$)}catch(pe){throw Rt(d,pe.toString()),pe}v.visualMode&&sn(d);var G,J;if(!$.commandName)$.line!==void 0&&(J="move");else if(G=this.matchCommand_($.commandName),G){if(J=G.name,G.excludeFromCommandHistory&&C.setText(w),this.parseCommandArgs_(x,$,G),G.type=="exToKey"){for(var Z=0;Z"))==null?void 0:w.line):g.selectionLine=d.getCursor().line:(g.selectionLine=g.line,g.selectionLineEnd=g.lineEnd);var v=f.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return v?g.commandName=v[1]:g.commandName=f.match(/.*/)[0],g},parseLineSpec_:function(d,f){var g=f.match(/^(\d+)/);if(g)return parseInt(g[1],10)-1;switch(f.next()){case".":return this.parseLineSpecOffset_(f,d.getCursor().line);case"$":return this.parseLineSpecOffset_(f,d.lastLine());case"'":var v=f.next(),C=Ja(d,d.state.vim,v);if(!C)throw new Error("Mark not set");return this.parseLineSpecOffset_(f,C.line);case"-":case"+":return f.backUp(1),this.parseLineSpecOffset_(f,d.getCursor().line);default:f.backUp(1);return}},parseLineSpecOffset_:function(d,f){var g=d.match(/^([+-])?(\d+)/);if(g){var v=parseInt(g[2],10);g[1]=="-"?f-=v:f+=v}return f},parseCommandArgs_:function(d,f,g){if(!d.eol()){f.argString=d.match(/.*/)[0];var v=g.argDelimiter||/\s+/,C=ir(f.argString).split(v);C.length&&C[0]&&(f.args=C)}},matchCommand_:function(d){for(var f=d.length;f>0;f--){var g=d.substring(0,f);if(this.commandMap_[g]){var v=this.commandMap_[g];if(v.name.indexOf(d)===0)return v}}return null},buildCommandMap_:function(){this.commandMap_={};for(var d=0;d0&&w&&D(w);w=C.pop())g.line--,g.ch=0;w?(g.line--,g.ch=ft(d,g.line)):g.ch=0}}function Wa(d,f,g){f.ch=0,g.ch=0,g.line++}function X(d){if(!d)return 0;var f=d.search(/\S/);return f==-1?d.length:f}function le(d,f,g,v,C){var w=Gr(d),x=d.getLine(w.line),$=w.ch,G=C?U[0]:V[0];if(g&&/\s/.test(x.charAt($)))G=function(de){return/\s/.test(de)};else{for(;!G(x.charAt($));)if($++,$>=x.length)return null;v?G=V[0]:(G=U[0],G(x.charAt($))||(G=U[1]))}for(var J=$,Z=$;G(x.charAt(J))&&J=0;)Z--;if(Z++,f){for(var pe=J;/\s/.test(x.charAt(J))&&J0;)Z--;Z||(Z=ee)}}return{start:new e(w.line,Z),end:new e(w.line,J)}}function me(d,f,g){var v=f;if(!r.findMatchingTag||!r.findEnclosingTag)return{start:v,end:v};var C=r.findMatchingTag(d,f)||r.findEnclosingTag(d,f);return!C||!C.open||!C.close?{start:v,end:v}:g?{start:C.open.from,end:C.close.to}:{start:C.open.to,end:C.close.from}}function Se(d,f,g){Vt(f,g)||he.jumpList.add(d,f,g)}function Ae(d,f){he.lastCharacterSearch.increment=d,he.lastCharacterSearch.forward=f.forward,he.lastCharacterSearch.selectedCharacter=f.selectedCharacter}var Qe={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Pe={bracket:{isComplete:function(d){if(d.nextCh===d.symb){if(d.depth++,d.depth>=1)return!0}else d.nextCh===d.reverseSymb&&d.depth--;return!1}},section:{init:function(d){d.curMoveThrough=!0,d.symb=(d.forward?"]":"[")===d.symb?"{":"}"},isComplete:function(d){return d.index===0&&d.nextCh===d.symb}},comment:{isComplete:function(d){var f=d.lastCh==="*"&&d.nextCh==="/";return d.lastCh=d.nextCh,f}},method:{init:function(d){d.symb=d.symb==="m"?"{":"}",d.reverseSymb=d.symb==="{"?"}":"{"},isComplete:function(d){return d.nextCh===d.symb}},preprocess:{init:function(d){d.index=0},isComplete:function(d){if(d.nextCh==="#"){var f=d.lineText.match(/^#(\w+)/)[1];if(f==="endif"){if(d.forward&&d.depth===0)return!0;d.depth++}else if(f==="if"){if(!d.forward&&d.depth===0)return!0;d.depth--}if(f==="else"&&d.depth===0)return!0}return!1}}};function At(d,f,g,v){var C=it(d.getCursor()),w=g?1:-1,x=g?d.lineCount():-1,$=C.ch,G=C.line,J=d.getLine(G),Z={lineText:J,nextCh:J.charAt($),lastCh:null,index:$,symb:v,reverseSymb:(g?{")":"(","}":"{"}:{"(":")","{":"}"})[v],forward:g,depth:0,curMoveThrough:!1},pe=Qe[v];if(!pe)return C;var ee=Pe[pe].init,de=Pe[pe].isComplete;for(ee&&ee(Z);G!==x&&f;){if(Z.index+=w,Z.nextCh=Z.lineText.charAt(Z.index),!Z.nextCh){if(G+=w,Z.lineText=d.getLine(G)||"",w>0)Z.index=0;else{var ce=Z.lineText.length;Z.index=ce>0?ce-1:0}Z.nextCh=Z.lineText.charAt(Z.index)}de(Z)&&(C.line=G,C.ch=Z.index,f--)}return Z.nextCh||Z.curMoveThrough?new e(G,Z.index):C}function qn(d,f,g,v,C){var w=f.line,x=f.ch,$=d.getLine(w),G=g?1:-1,J=v?V:U;if(C&&$==""){if(w+=G,$=d.getLine(w),!q(d,w))return null;x=g?0:$.length}for(;;){if(C&&$=="")return{from:0,to:0,line:w};for(var Z=G>0?$.length:-1,pe=Z,ee=Z;x!=Z;){for(var de=!1,ce=0;ce0?0:$.length}}function or(d,f,g,v,C,w){var x=it(f),$=[];(v&&!C||!v&&C)&&g++;for(var G=!(v&&C),J=0;J0;)ee(Z,v)&&g--,Z+=v;return new e(Z,0)}var de=d.state.vim;if(de.visualLine&&ee(w,1,!0)){var ce=de.sel.anchor;ee(ce.line,-1,!0)&&(!C||ce.line!=w)&&(w+=1)}var Ie=pe(w);for(Z=w;Z<=$&&g;Z++)ee(Z,1,!0)&&(!C||pe(Z)!=Ie)&&g--;for(J=new e(Z,0),Z>$&&!Ie?Ie=!0:C=!1,Z=w;Z>x&&!((!C||pe(Z)==Ie||Z==w)&&ee(Z,-1,!0));Z--);return G=new e(Z,0),{start:G,end:J}}function co(d,f,g,v,C){function w(J){J.pos+J.dir<0||J.pos+J.dir>=J.line.length?J.line=null:J.pos+=J.dir}function x(J,Z,pe,ee){var de=J.getLine(Z),ce={line:de,ln:Z,pos:pe,dir:ee};if(ce.line==="")return{ln:ce.ln,pos:ce.pos};var Ie=ce.pos;for(w(ce);ce.line!==null;){if(Ie=ce.pos,P(ce.line[ce.pos]))if(C){for(w(ce);ce.line!==null&&D(ce.line[ce.pos]);)Ie=ce.pos,w(ce);return{ln:ce.ln,pos:Ie+1}}else return{ln:ce.ln,pos:ce.pos+1};w(ce)}return{ln:ce.ln,pos:Ie+1}}function $(J,Z,pe,ee){var de=J.getLine(Z),ce={line:de,ln:Z,pos:pe,dir:ee};if(ce.line==="")return{ln:ce.ln,pos:ce.pos};var Ie=ce.pos;for(w(ce);ce.line!==null;){if(!D(ce.line[ce.pos])&&!P(ce.line[ce.pos]))Ie=ce.pos;else if(P(ce.line[ce.pos]))return C?D(ce.line[ce.pos+1])?{ln:ce.ln,pos:ce.pos+1}:{ln:ce.ln,pos:Ie}:{ln:ce.ln,pos:Ie};w(ce)}return ce.line=de,C&&D(ce.line[ce.pos])?{ln:ce.ln,pos:ce.pos}:{ln:ce.ln,pos:Ie}}for(var G={ln:f.line,pos:f.ch};g>0;)v<0?G=$(d,G.ln,G.pos,v):G=x(d,G.ln,G.pos,v),g--;return new e(G.ln,G.pos)}function hs(d,f,g,v){function C(G,J){if(J.pos+J.dir<0||J.pos+J.dir>=J.line.length){if(J.ln+=J.dir,!q(G,J.ln)){J.line=null,J.ln=null,J.pos=null;return}J.line=G.getLine(J.ln),J.pos=J.dir>0?0:J.line.length-1}else J.pos+=J.dir}function w(G,J,Z,pe){var ve=G.getLine(J),ee=ve==="",de={line:ve,ln:J,pos:Z,dir:pe},ce={ln:de.ln,pos:de.pos},Ie=de.line==="";for(C(G,de);de.line!==null;){if(ce.ln=de.ln,ce.pos=de.pos,de.line===""&&!Ie)return{ln:de.ln,pos:de.pos};if(ee&&de.line!==""&&!D(de.line[de.pos]))return{ln:de.ln,pos:de.pos};P(de.line[de.pos])&&!ee&&(de.pos===de.line.length-1||D(de.line[de.pos+1]))&&(ee=!0),C(G,de)}var ve=G.getLine(ce.ln);ce.pos=0;for(var Be=ve.length-1;Be>=0;--Be)if(!D(ve[Be])){ce.pos=Be;break}return ce}function x(G,J,Z,pe){var Ie=G.getLine(J),ee={line:Ie,ln:J,pos:Z,dir:pe},de={ln:ee.ln,pos:null},ce=ee.line==="";for(C(G,ee);ee.line!==null;){if(ee.line===""&&!ce)return de.pos!==null?de:{ln:ee.ln,pos:ee.pos};if(P(ee.line[ee.pos])&&de.pos!==null&&!(ee.ln===de.ln&&ee.pos+1===de.pos))return de;ee.line!==""&&!D(ee.line[ee.pos])&&(ce=!1,de={ln:ee.ln,pos:ee.pos}),C(G,ee)}var Ie=G.getLine(de.ln);de.pos=0;for(var ve=0;ve0;)v<0?$=x(d,$.ln,$.pos,v):$=w(d,$.ln,$.pos,v),g--;return new e($.ln,$.pos)}function uo(d,f,g,v){var C=f,w,x,$={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[g],G={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[g],J=d.getLine(C.line).charAt(C.ch),Z=J===G?1:0;if(w=d.scanForBracket(new e(C.line,C.ch+Z),-1,void 0,{bracketRegex:$}),x=d.scanForBracket(new e(C.line,C.ch+Z),1,void 0,{bracketRegex:$}),!w||!x)return null;if(w=w.pos,x=x.pos,w.line==x.line&&w.ch>x.ch||w.line>x.line){var pe=w;w=x,x=pe}return v?x.ch+=1:w.ch+=1,{start:w,end:x}}function fs(d,f,g,v){var C=it(f),w=d.getLine(C.line),x=w.split(""),$,G,J,Z,pe=x.indexOf(g);if(C.ch-1&&!$;J--)x[J]==g&&($=J+1);if($&&!G)for(J=$,Z=x.length;J=f&&d<=g:d==f}function ja(d){var f=d.getScrollInfo(),g=6,v=10,C=d.coordsChar({left:0,top:g+f.top},"local"),w=f.clientHeight-v+f.top,x=d.coordsChar({left:0,top:w},"local");return{top:C.line,bottom:x.line}}function Ja(d,f,g){if(g=="'"||g=="`")return he.jumpList.find(d,-1)||new e(0,0);if(g==".")return Oo(d);var v=f.marks[g];return v&&v.find()}function Oo(d){if(d.getLastEditEnd)return d.getLastEditEnd();for(var f=d.doc.history.done,g=f.length;g--;)if(f[g].changes)return it(f[g].changes[0].to)}var Ni=function(){this.buildCommandMap_()};Ni.prototype={processCommand:function(d,f,g){var v=this;d.operation(function(){d.curOp.isVimOp=!0,v._processCommand(d,f,g)})},_processCommand:function(d,f,g){var v=d.state.vim,C=he.registerController.getRegister(":"),w=C.toString(),x=new r.StringStream(f);C.setText(f);var $=g||{};$.input=f;try{this.parseInput_(d,x,$)}catch(pe){throw Rt(d,pe.toString()),pe}v.visualMode&&sn(d);var G,J;if(!$.commandName)$.line!==void 0&&(J="move");else if(G=this.matchCommand_($.commandName),G){if(J=G.name,G.excludeFromCommandHistory&&C.setText(w),this.parseCommandArgs_(x,$,G),G.type=="exToKey"){for(var Z=0;Z"))==null?void 0:w.line):g.selectionLine=d.getCursor().line:(g.selectionLine=g.line,g.selectionLineEnd=g.lineEnd);var v=f.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return v?g.commandName=v[1]:g.commandName=f.match(/.*/)[0],g},parseLineSpec_:function(d,f){var g=f.match(/^(\d+)/);if(g)return parseInt(g[1],10)-1;switch(f.next()){case".":return this.parseLineSpecOffset_(f,d.getCursor().line);case"$":return this.parseLineSpecOffset_(f,d.lastLine());case"'":var v=f.next(),C=Ja(d,d.state.vim,v);if(!C)throw new Error("Mark not set");return this.parseLineSpecOffset_(f,C.line);case"-":case"+":return f.backUp(1),this.parseLineSpecOffset_(f,d.getCursor().line);default:f.backUp(1);return}},parseLineSpecOffset_:function(d,f){var g=d.match(/^([+-])?(\d+)/);if(g){var v=parseInt(g[2],10);g[1]=="-"?f-=v:f+=v}return f},parseCommandArgs_:function(d,f,g){if(!d.eol()){f.argString=d.match(/.*/)[0];var v=g.argDelimiter||/\s+/,C=ir(f.argString).split(v);C.length&&C[0]&&(f.args=C)}},matchCommand_:function(d){for(var f=d.length;f>0;f--){var g=d.substring(0,f);if(this.commandMap_[g]){var v=this.commandMap_[g];if(v.name.indexOf(d)===0)return v}}return null},buildCommandMap_:function(){this.commandMap_={};for(var d=0;d1)return"Invalid arguments";w=hn&&"decimal"||rn&&"hex"||ln&&"octal"}mt[2]&&(x=new RegExp(mt[2].substr(1,mt[2].length-2),v?"i":""))}}var G=$();if(G){Rt(d,G+": "+f.argString);return}var J=f.line||d.firstLine(),Z=f.lineEnd||f.line||d.lastLine();if(J==Z)return;var pe=new e(J,0),ee=new e(Z,ft(d,Z)),de=d.getRange(pe,ee).split(` `),ce=x||(w=="decimal"?/(-?)([\d]+)/:w=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:w=="octal"?/([0-7]+)/:null),Ie=w=="decimal"?10:w=="hex"?16:w=="octal"?8:null,ve=[],Be=[];if(w||x)for(var Ze=0;Ze=J){Rt(d,"Invalid argument: "+f.argString.substring(C));return}for(var Z=0;Z<=J-G;Z++){var pe=String.fromCharCode(G+Z);delete g.marks[pe]}}else{Rt(d,"Invalid argument: "+x+"-");return}}else delete g.marks[w]}}},An=new Ni;function Eo(d,f,g,v,C,w,x,$,G){d.state.vim.exMode=!0;var J=!1,Z,pe,ee;function de(){d.operation(function(){for(;!J;)ce(),ve();Be()})}function ce(){var He=d.getRange(w.from(),w.to()),xt=He.replace(x,$),un=w.to().line;w.replace(xt),pe=w.to().line,C+=pe-un,ee=pe1&&(Jl(d,g,g.insertModeRepeat-1,!0),g.lastEditInputState.repeatOverride=g.insertModeRepeat),delete g.insertModeRepeat,g.insertMode=!1,f||d.setCursor(d.getCursor().line,d.getCursor().ch-1),d.setOption("keyMap","vim"),d.setOption("disableInput",!0),d.toggleOverwrite(!1),C.setText(x.changes.join("")),r.signal(d,"vim-mode-change",{mode:"normal"}),v.isRecording&&Zu(v)}function Di(d){a.unshift(d)}function zl(d,f,g,v,C){var w={keys:d,type:f};w[f]=g,w[f+"Args"]=v;for(var x in C)w[x]=C[x];Di(w)}ne("insertModeEscKeysTimeout",200,"number"),r.keyMap["vim-insert"]={fallthrough:["default"],attach:u,detach:c,call:h},r.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:u,detach:c};function Wl(d,f,g,v){var C=he.registerController.getRegister(v);if(v==":"){C.keyBuffer[0]&&An.processCommand(d,C.keyBuffer[0]),g.isPlaying=!1;return}var w=C.keyBuffer,x=0;g.isPlaying=!0,g.replaySearchQueries=C.searchQueries.slice(0);for(var $=0;$|<\w+>|./.exec(G),Z=J[0],G=G.substring(J.index+Z.length),Ve.handleKey(d,Z,"macro"),f.insertMode){var pe=C.insertModeChanges[x++].changes;he.macroModeState.lastInsertModeChanges.changes=pe,Xe(d,pe,1),lr(d)}g.isPlaying=!1}function Ku(d,f){if(!d.isPlaying){var g=d.latestRegister,v=he.registerController.getRegister(g);v&&v.pushText(f)}}function Zu(d){if(!d.isPlaying){var f=d.latestRegister,g=he.registerController.getRegister(f);g&&g.pushInsertModeChanges&&g.pushInsertModeChanges(d.lastInsertModeChanges)}}function ju(d,f){if(!d.isPlaying){var g=d.latestRegister,v=he.registerController.getRegister(g);v&&v.pushSearchQuery&&v.pushSearchQuery(f)}}function Xl(d,f){var g=he.macroModeState,v=g.lastInsertModeChanges;if(!g.isPlaying)for(var C=d.state.vim;f;){if(v.expectCursorActivityForChange=!0,v.ignoreCount>1)v.ignoreCount--;else if(f.origin=="+input"||f.origin=="paste"||f.origin===void 0){var w=d.listSelections().length;w>1&&(v.ignoreCount=w);var x=f.text.join(` -`);if(v.maybeReset&&(v.changes=[],v.maybeReset=!1),x)if(d.state.overwrite&&!/\n/.test(x))v.changes.push([x]);else{if(x.length>1){var $=C&&C.insertEnd&&C.insertEnd.find(),G=d.getCursor();if($&&$.line==G.line){var J=$.ch-G.ch;J>0&&J",Gn(v,g))}else f.insertMode||(f.lastHPos=d.getCursor().ch)}function Cs(d){this.keyName=d}function jl(d){var f=he.macroModeState,g=f.lastInsertModeChanges,v=r.keyName(d);if(!v)return;function C(){return g.maybeReset&&(g.changes=[],g.maybeReset=!1),g.changes.push(new Cs(v)),!0}(v.indexOf("Delete")!=-1||v.indexOf("Backspace")!=-1)&&r.lookupKey(v,"vim-insert",C)}function Jl(d,f,g,v){var C=he.macroModeState;C.isPlaying=!0;var w=!!f.lastEditActionCommand,x=f.inputState;function $(){w?ht.processAction(d,f,f.lastEditActionCommand):ht.evalInput(d,f)}function G(Z){if(C.lastInsertModeChanges.changes.length>0){Z=f.lastEditActionCommand?Z:1;var pe=C.lastInsertModeChanges;Xe(d,pe.changes,Z)}}if(f.inputState=f.lastEditInputState,w&&f.lastEditActionCommand.interlaceInsertRepeat)for(var J=0;J"&&!C.insertMode&&!C.visualMode&&x&&C.status=="")St(d);else if(w||!x||d.inVirtualSelectionMode)v=Ve.handleKey(d,f,g);else{var $=ei(C),G=C.inputState.changeQueueList||[];d.operation(function(){d.curOp.isVimOp=!0;var J=0;d.forEachSelection(function(){d.state.vim.inputState.changeQueue=G[J];var Z=d.getCursor("head"),pe=d.getCursor("anchor"),ee=_t(Z,pe)?0:-1,de=_t(Z,pe)?-1:0;Z=Re(Z,0,ee),pe=Re(pe,0,de),d.state.vim.sel.head=Z,d.state.vim.sel.anchor=pe,v=Ve.handleKey(d,f,g),d.virtualSelection&&(G[J]=d.state.vim.inputState.changeQueue,d.state.vim=ei($)),J++}),d.curOp.cursorActivity&&!v&&(d.curOp.cursorActivity=!1),d.state.vim=C,C.inputState.changeQueueList=G,C.inputState.changeQueue=null},!0)}return v&&!C.visualMode&&!C.insert&&C.visualMode!=d.somethingSelected()&&Zl(d,C),v}return xe(),Ve}function Hn(r,e){var t=e.ch,n=e.line+1;n<1&&(n=1,t=0),n>r.lines&&(n=r.lines,t=Number.MAX_VALUE);var a=r.line(n);return Math.min(a.from+Math.max(0,t),a.to)}function Rr(r,e){let t=r.lineAt(e);return{line:t.number-1,ch:e-t.from}}class Su{constructor(e,t){this.line=e,this.ch=t}}function TR(r,e,t){if(r.addEventListener)r.addEventListener(e,t,!1);else{var n=r._handlers||(r._handlers={});n[e]=(n[e]||[]).concat(t)}}function CR(r,e,t){if(r.removeEventListener)r.removeEventListener(e,t,!1);else{var n=r._handlers,a=n&&n[e];if(a){var i=a.indexOf(t);i>-1&&(n[e]=a.slice(0,i).concat(a.slice(i+1)))}}}function RR(r,e,...t){var n,a=(n=r._handlers)===null||n===void 0?void 0:n[e];if(a)for(var i=0;i({anchor:Rr(e,t.anchor),head:Rr(e,t.head)}))}setSelections(e,t){var n=this.cm6.state.doc,a=e.map(i=>ge.range(Hn(n,i.anchor),Hn(n,i.head)));this.cm6.dispatch({selection:ge.create(a,t)})}setSelection(e,t,n){var a=this.cm6.state.doc,i=[ge.range(Hn(a,e),Hn(a,t))];this.cm6.dispatch({selection:ge.create(i,0)}),n&&n.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var t=this.cm6.state.doc;return e<0||e>=t.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new Su(e,0))}}getLineNumber(e){var t=this.$lineHandleChanges;if(!t)return null;for(var n=e.index,a=0;a({from:a.from,to:a.to,insert:e[i]||""}));Ws(this,{changes:n})}getSelection(){return this.getSelections().join(` -`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var t=this.cm6.state.doc,n=e.ch,a=e.line+1;a<1&&(a=1,n=0),a>t.lines&&(a=t.lines,n=Number.MAX_VALUE);var i=t.line(a);return n=Math.min(Math.max(0,n),i.to-i.from),new Su(a-1,n)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var t=this.cm6;return t.dispatch({changes:{from:0,to:t.state.doc.length,insert:e},selection:ge.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e){var t=this.cm6.state,n=Hn(t.doc,e),a=kr(t,n+1,-1);return a&&a.end?{to:Rr(t.doc,a.end.from)}:(a=kr(t,n,1),a&&a.end?{to:Rr(t.doc,a.end.from)}:{to:void 0})}scanForBracket(e,t,n,a){return c7(this,e,t,n,a)}indentLine(e,t){t?this.indentMore():this.indentLess()}indentMore(){e_(this.cm6)}indentLess(){t_(this.cm6)}execCommand(e){e=="indentAuto"?gt.commands.indentAuto(this):e=="goLineLeft"?eR(this.cm6):e=="goLineRight"?(JC(this.cm6),n6(this.cm6)):console.log(e+" is not implemented")}setBookmark(e,t){var n=t!=null&&t.insertLeft?1:-1,a=this.indexFromPos(e),i=new h7(this,a,n);return i}addOverlay({query:e}){let t=new Z6({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(t.valid){t.forVim=!0,this.cm6Query=t;let n=Fg.of(t);return this.cm6.dispatch({effects:n}),t}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let t=Fg.of(this.cm6Query);this.cm6.dispatch({effects:t})}getSearchCursor(e,t){var n=this,a=null,i=null;t.ch==null&&(t.ch=Number.MAX_VALUE);var o=Hn(n.cm6.state.doc,t),s=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(p,_){return _||"\\"+p});function l(p,_=0,b=p.length){return new a_(p,s,{ignoreCase:e.ignoreCase},_,b)}function c(p){var _=n.cm6.state.doc;if(p>_.length)return null;let b=l(_,p).next();return b.done?null:b.value}var u=1e4;function h(p,_){var b=n.cm6.state.doc;for(let A=1;;A++){let I=Math.max(p,_-A*u),M=l(b,I,_),U=null;for(;!M.next().done;)U=M.value;if(U&&(I==p||U.from>I+10))return U;if(I==p)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(p){var _=n.cm6.state.doc;if(p){let b=a?a.from==a.to?a.to-1:a.from:o;a=h(0,b)}else{let b=a?a.from==a.to?a.to+1:a.to:o;a=c(b)}return i=a&&{from:Rr(_,a.from),to:Rr(_,a.to),match:a.match},a&&a.match},from:function(){return i==null?void 0:i.from},to:function(){return i==null?void 0:i.to},replace:function(p){a&&(Ws(n,{changes:{from:a.from,to:a.to,insert:p}}),a.to=a.from+p.length,i&&(i.to=Rr(n.cm6.state.doc,a.to)))}}}findPosV(e,t,n,a){let{cm6:i}=this;const o=i.state.doc;let s=n=="page"?i.dom.clientHeight:0;const l=Hn(o,e);let c=ge.range(l,l,a),u=Math.round(Math.abs(t));for(let p=0;p0,s):n=="line"&&(c=i.moveVertically(c,t>0));let h=Rr(o,c.head);return(t<0&&c.head==0&&a!=0&&e.line==0&&e.ch!=0||t>0&&c.head==o.length&&h.ch!=a&&e.line==h.line)&&(h.hitSide=!0),h}charCoords(e,t){var n=this.cm6.contentDOM.getBoundingClientRect(),a=Hn(this.cm6.state.doc,e),i=this.cm6.coordsAtPos(a),o=-n.top;return{left:((i==null?void 0:i.left)||0)-n.left,top:((i==null?void 0:i.top)||0)+o,bottom:((i==null?void 0:i.bottom)||0)+o}}coordsChar(e,t){var n=this.cm6.contentDOM.getBoundingClientRect(),a=this.cm6.posAtCoords({x:e.left+n.left,y:e.top+n.top})||0;return Rr(this.cm6.state.doc,a)}getScrollInfo(){var e=this.cm6.scrollDOM;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight,width:e.scrollWidth,clientHeight:e.clientHeight,clientWidth:e.clientWidth}}scrollTo(e,t){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),t!=null&&(this.cm6.scrollDOM.scrollTop=t)}scrollIntoView(e,t){if(e){var n=this.indexFromPos(e);this.cm6.dispatch({effects:Le.scrollIntoView(n)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,t){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=t+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(e){this.$lineHandleChanges&&this.$lineHandleChanges.push(e);for(let n in this.marks)this.marks[n].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(n=>n.map(e.changes)));var t=this.curOp=this.curOp||{};e.changes.iterChanges((n,a,i,o,s)=>{(t.$changeStart==null||t.$changeStart>i)&&(t.$changeStart=i),this.$lastChangeEndOffset=o;var l={text:s.toJSON()};t.lastChange?t.lastChange.next=t.lastChange=l:t.lastChange=t.change=l},!0),t.changeHandlers||(t.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var e=this.curOp=this.curOp||{};e.cursorActivityHandlers||(e.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(e){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var t=e()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return t}onBeforeEndOperation(){var e=this.curOp,t=!1;e&&(e.change&&O2(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(O2(e.cursorActivityHandlers,this,null),e.isVimOp&&(t=!0)),this.curOp=null),t&&this.scrollIntoView()}moveH(e,t){if(t=="char"){var n=this.getCursor();this.setCursor(n.line,n.ch+e)}}setOption(e,t){switch(e){case"keyMap":this.state.keyMap=t;break}}getOption(e){switch(e){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readonly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(Zo)==" ";case"indentUnit":return this.cm6.state.facet(Zo).length||2;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var t,n=this.indexFromPos(e),a=uT(this.cm6.state,n),i=a==null?void 0:a.resolve(n),o=((t=i==null?void 0:i.type)===null||t===void 0?void 0:t.name)||"";return/comment/i.test(o)?"comment":/string/i.test(o)?"string":""}overWriteSelection(e){var t=this.cm6.state.doc,n=this.cm6.state.selection,a=n.ranges.map(i=>{if(i.empty){var o=i.to1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var t=this.cm6.state.selection;this.virtualSelection=ge.create(t.ranges,t.mainIndex);for(var n=0;nWs(r,e)})},indentAuto:function(r){bR(r.cm6)}};gt.defineOption=function(r,e,t){};gt.isWordChar=function(r){return Ug.test(r)};gt.keys=a7;gt.keyMap={};gt.addClass=function(){};gt.rmClass=function(){};gt.e_preventDefault=function(r){r.preventDefault()};gt.e_stop=function(r){var e,t;(e=r==null?void 0:r.stopPropagation)===null||e===void 0||e.call(r),(t=r==null?void 0:r.preventDefault)===null||t===void 0||t.call(r)};gt.keyName=function(r){var e=r.key;if(!wR[e]){e=="Escape"&&(e="Esc"),e==" "&&(e="Space"),e.length>1&&(e=e.replace(/Numpad|Arrow/,"")),e.length==1&&(e=e.toUpperCase());var t="";return r.ctrlKey&&(t+="Ctrl-"),r.altKey&&(t+="Alt-"),(t||e.length>1)&&r.shiftKey&&(t+="Shift-"),t+=e,t}};gt.vimKey=function(e){var t=e.key;if(!wR[t]){t.length>1&&t[0]=="n"&&(t=t.replace("Numpad","")),t=r7[t]||t;var n="";return e.ctrlKey&&(n+="C-"),e.altKey&&(n+="A-"),e.metaKey&&(n+="M-"),gt.isMac&&e.altKey&&!e.metaKey&&!e.ctrlKey&&(n=n.slice(2)),(n||t.length>1)&&e.shiftKey&&(n+="S-"),n+=t,n.length>1&&(n="<"+n+">"),n}};gt.lookupKey=function(e,t,n){var a=gt.keys[e];a&&n(a)};gt.on=TR;gt.off=CR;gt.signal=RR;gt.findMatchingTag=u7;gt.findEnclosingTag=d7;function AR(r,e,t){var n=document.createElement("div");return n.appendChild(e),n}function IR(r,e){r.state.currentNotificationClose&&r.state.currentNotificationClose(),r.state.currentNotificationClose=e}function i7(r,e,t){IR(r,s);var n=AR(r,e,t&&t.bottom),a=!1,i,o=t&&typeof t.duration<"u"?t.duration:5e3;function s(){a||(a=!0,clearTimeout(i),n.remove(),NR(r,n))}return n.onclick=function(l){l.preventDefault(),s()},kR(r,n),o&&(i=setTimeout(s,o)),s}function kR(r,e){var t=r.state.dialog;r.state.dialog=e,e&&t!==e&&(t&&t.contains(document.activeElement)&&r.focus(),t&&t.parentElement?t.parentElement.replaceChild(e,t):t&&t.remove(),gt.signal(r,"dialog"))}function NR(r,e){r.state.dialog==e&&(r.state.dialog=null,gt.signal(r,"dialog"))}function o7(r,e,t,n){n||(n={}),IR(r,void 0);var a=AR(r,e,n.bottom),i=!1;kR(r,a);function o(l){if(typeof l=="string")s.value=l;else{if(i)return;i=!0,NR(r,a),r.state.dialog||r.focus(),n.onClose&&n.onClose(a)}}var s=a.getElementsByTagName("input")[0];return s&&(n.value&&(s.value=n.value,n.selectValueOnOpen!==!1&&s.select()),n.onInput&>.on(s,"input",function(l){n.onInput(l,s.value,o)}),n.onKeyUp&>.on(s,"keyup",function(l){n.onKeyUp(l,s.value,o)}),gt.on(s,"keydown",function(l){n&&n.onKeyDown&&n.onKeyDown(l,s.value,o)||(l.keyCode==13&&t(s.value),(l.keyCode==27||n.closeOnEnter!==!1&&l.keyCode==13)&&(s.blur(),gt.e_stop(l),o()))}),n.closeOnBlur!==!1&>.on(s,"blur",function(){setTimeout(function(){document.activeElement!==s&&o()})}),s.focus()),o}var s7={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function l7(r){return r&&r.bracketRegex||/[(){}[\]]/}function c7(r,e,t,n,a){for(var i=a&&a.maxScanLineLength||1e4,o=a&&a.maxScanLines||1e3,s=[],l=l7(a),c=t>0?Math.min(e.line+o,r.lastLine()+1):Math.max(r.firstLine()-1,e.line-o),u=e.line;u!=c;u+=t){var h=r.getLine(u);if(h){var p=t>0?0:h.length-1,_=t>0?h.length:-1;if(!(h.length>i))for(u==e.line&&(p=e.ch-(t<0?1:0));p!=_;p+=t){var b=h.charAt(p);if(l.test(b)){var A=s7[b];if(A&&A.charAt(1)==">"==t>0)s.push(b);else if(s.length)s.pop();else return{pos:new Su(u,p),ch:b}}}}}return u-t==(t>0?r.lastLine():r.firstLine())?!1:null}function u7(r,e){}function d7(r,e){var t,n,a=r.cm6.state,i=r.indexFromPos(e);if(i!t.eq(this.cursors[n]))){let t=this.cursorLayer.children;if(t.length!==e.length){this.cursorLayer.textContent="";for(const n of e)this.cursorLayer.appendChild(n.draw())}else e.forEach((n,a)=>n.adjust(t[a]));this.cursors=e}}destroy(){this.cursorLayer.remove()}}const p7={".cm-vimMode .cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696",color:"transparent !important"}},g7=$a.highest(Le.theme(p7));function _7(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==Jt.LTR?e.left:e.right-r.scrollDOM.clientWidth)-r.scrollDOM.scrollLeft,top:e.top-r.scrollDOM.scrollTop}}function b7(r,e,t,n){let a=t.head,i=!1,o=1,s=r.state.vim;if(s&&(!s.insertMode||r.state.overwrite)){if(i=!0,s.visualBlock&&!n)return null;t.anchor1&&(a--,c=e.state.sliceDoc(a,a+1));let u=e.coordsAtPos(a,1);if(!u)return null;let h=_7(e),p=e.domAtPos(a),_=p?p.node:e.contentDOM;for(;p&&p.node instanceof HTMLElement;)_=p.node,p={node:p.node.childNodes[p.offset],offset:0};if(!(_ instanceof HTMLElement)){if(!_.parentNode)return null;_=_.parentNode}let b=getComputedStyle(_),A=u.left;if(!c||c==` -`||c=="\r")c=" ";else if(c==" "){c=" ";var l=e.coordsAtPos(a+1,-1);l&&(A=l.left-(l.left-u.left)/parseInt(b.tabSize))}else/[\uD800-\uDBFF]/.test(c)&&a{e.state.vim&&(e.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",t=>{e.state.vim.mode=t.mode,t.subMode&&(e.state.vim.mode+=" block"),e.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus()}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():r.dispatch({effects:DR.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=t=>{Ys.handleKey(this.cm,"","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(r){var e;if((r.viewportChanged||r.docChanged)&&this.query&&this.highlight(this.query),r.docChanged&&this.cm.onChange(r),r.selectionSet&&this.cm.onSelectionChange(),r.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),r.transactions){for(let t of r.transactions)for(let n of t.effects)if(n.is(Fg))if(!((e=n.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let i=n.value.create();this.highlight(i)}}this.blockCursor.update(r)}updateClass(){const r=this.cm.state;!r.vim||r.vim.insertMode&&!r.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let r=this.cm.state.statusbar,e=this.cm.state.vim;if(!r||!e)return;let t=this.cm.state.dialog;if(t)t.parentElement!=r&&(r.textContent="",r.appendChild(t));else{r.textContent="";var n=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(n+="(C-O)"),this.statusButton.textContent=`--${n}--`,r.appendChild(this.statusButton)}this.dom.textContent=e.status,r.appendChild(this.dom)}destroy(){Ys.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(r){if(this.query=r,!r)return this.decorations=tt.none;let{view:e}=this,t=new eo;for(let n=0,a=e.visibleRanges,i=a.length;na[n+1].from-2*O7;)s=a[++n].to;r.highlight(e.state,o,s,(l,c)=>{t.add(l,c,T7)})}return this.decorations=t.finish()}handleKey(r,e){const t=gt.vimKey(r),n=this.cm;if(!t)return;let a=n.state.vim;if(!a)return;if(t==""&&!a.insertMode&&!a.visualMode&&this.query){const s=a.searchState_;s&&(n.removeOverlay(s.getOverlay()),s.setOverlay(null))}if(t===""&&!gt.isMac&&n.somethingSelected())return this.waitForCopy=!0,!0;a.status=(a.status||"")+t;let o=Ys.multiSelectHandleKey(n,t,"user");return a=n.state.vim,!o&&a.insertMode&&n.state.overwrite&&(r.key&&r.key.length==1&&!/\n/.test(r.key)?(o=!0,n.overWriteSelection(r.key)):r.key=="Backspace"&&(o=!0,gt.commands.cursorCharLeft(n))),o&&(gt.signal(this.cm,"vim-keypress",t),r.preventDefault(),r.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!o}},{eventHandlers:{copy:function(r,e){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var t=this.cm,n=t.state.vim;n&&(n.insertMode?t.setSelection(t.getCursor(),t.getCursor()):t.operation(()=>{t.curOp&&(t.curOp.isVimOp=!0),Ys.handleKey(t,"","user")}))}))},compositionstart:function(r,e){this.useNextTextInput=!0},keypress:function(r,e){this.lastKeydown=="Dead"&&this.handleKey(r,e)},keydown:function(r,e){this.lastKeydown=r.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(r,e))}},provide:()=>[Le.inputHandler.of((r,e,t,n)=>{var a,i,o=A7(r);if(!o)return!1;var s=(a=o.state)===null||a===void 0?void 0:a.vim,l=o.state.vimPlugin;return s&&!s.insertMode&&!(!((i=o.curOp)===null||i===void 0)&&i.isVimOp)?(n==="\0\0"||(n.length==1&&l.useNextTextInput&&l.handleKey({key:n,preventDefault:()=>{},stopPropagation:()=>{}}),y7(r)),!0):!1})],decorations:r=>r.decorations});function y7(r){var e=r.scrollDOM.parentElement;if(e){if(S7){r.contentDOM.textContent="\0\0",r.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var t=r.scrollDOM.nextSibling,n=window.getSelection(),a=n&&{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset};r.scrollDOM.remove(),e.insertBefore(r.scrollDOM,t);try{a&&n&&(n.setPosition(a.anchorNode,a.anchorOffset),a.focusNode&&n.extend(a.focusNode,a.focusOffset))}catch(i){console.error(i)}r.focus(),r.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}const T7=tt.mark({class:"cm-searchMatch"}),DR=dt.define(),C7=Mn.define({create:()=>!1,update(r,e){for(let t of e.effects)t.is(DR)&&(r=t.value);return r},provide:r=>bl.from(r,e=>e?R7:null)});function R7(r){let e=document.createElement("div");e.className="cm-vim-panel";let t=r.cm;return t.state.dialog&&e.appendChild(t.state.dialog),{top:!1,dom:e}}function w7(r){let e=document.createElement("div");e.className="cm-vim-panel";let t=r.cm;return t.state.statusbar=e,t.state.vimPlugin.updateStatus(),{dom:e}}function i_(r={}){return[v7,E7,g7,r.status?bl.of(w7):C7]}function A7(r){return r.cm||null}class I7{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class Yi{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let a=e,i=n.facet(LR).markerFilter;i&&(a=i(a));let o=tt.set(a.map(s=>s.from==s.to||s.from==s.to-1&&n.doc.lineAt(s.from).to==s.from?tt.widget({widget:new Y7(s),diagnostic:s}).range(s.from):tt.mark({attributes:{class:"cm-lintRange cm-lintRange-"+s.severity+(s.markClass?" "+s.markClass:"")},diagnostic:s}).range(s.from,s.to)),!0);return new Yi(o,t,ts(o))}}function ts(r,e=null,t=0){let n=null;return r.between(t,1e9,(a,i,{spec:o})=>{if(!(e&&o.diagnostic!=e))return n=new I7(a,i,o.diagnostic),!1}),n}function k7(r,e){let t=r.startState.doc.lineAt(e.pos);return!!(r.effects.some(n=>n.is(xR))||r.changes.touchesRange(t.from,t.to))}function N7(r,e){return r.field(br,!1)?e:e.concat(dt.appendConfig.of($7))}const xR=dt.define(),o_=dt.define(),MR=dt.define(),br=Mn.define({create(){return new Yi(tt.none,null,null)},update(r,e){if(e.docChanged){let t=r.diagnostics.map(e.changes),n=null;if(r.selected){let a=e.changes.mapPos(r.selected.from,1);n=ts(t,r.selected.diagnostic,a)||ts(t,null,a)}r=new Yi(t,r.panel,n)}for(let t of e.effects)t.is(xR)?r=Yi.init(t.value,r.panel,e.state):t.is(o_)?r=new Yi(r.diagnostics,t.value?Hu.open:null,r.selected):t.is(MR)&&(r=new Yi(r.diagnostics,r.panel,t.value));return r},provide:r=>[bl.from(r,e=>e.panel),Le.decorations.from(r,e=>e.diagnostics)]}),D7=tt.mark({class:"cm-lintRange cm-lintRange-active"});function x7(r,e,t){let{diagnostics:n}=r.state.field(br),a=[],i=2e8,o=0;n.between(e-(t<0?1:0),e+(t>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||t>0)&&(eBR(r,t,!1)))}const L7=r=>{let e=r.state.field(br,!1);(!e||!e.panel)&&r.dispatch({effects:N7(r.state,[o_.of(!0)])});let t=M8(r,Hu.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},y2=r=>{let e=r.state.field(br,!1);return!e||!e.panel?!1:(r.dispatch({effects:o_.of(!1)}),!0)},P7=r=>{let e=r.state.field(br,!1);if(!e)return!1;let t=r.state.selection.main,n=e.diagnostics.iter(t.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==t.from&&n.to==t.to)?!1:(r.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},B7=[{key:"Mod-Shift-m",run:L7,preventDefault:!0},{key:"F8",run:P7}],LR=Ue.define({combine(r){return Object.assign({sources:r.map(e=>e.source)},qa(r.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}});function PR(r){let e=[];if(r)e:for(let{name:t}of r){for(let n=0;ni.toLowerCase()==a.toLowerCase())){e.push(a);continue e}}e.push("")}return e}function BR(r,e,t){var n;let a=t?PR(e.actions):[];return ga("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},ga("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(n=e.actions)===null||n===void 0?void 0:n.map((i,o)=>{let s=!1,l=p=>{if(p.preventDefault(),s)return;s=!0;let _=ts(r.state.field(br).diagnostics,e);_&&i.apply(r,_.from,_.to)},{name:c}=i,u=a[o]?c.indexOf(a[o]):-1,h=u<0?c:[c.slice(0,u),ga("u",c.slice(u,u+1)),c.slice(u+1)];return ga("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${a[o]})"`}.`},h)}),e.source&&ga("div",{class:"cm-diagnosticSource"},e.source))}class Y7 extends Qa{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return ga("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class T2{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=BR(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Hu{constructor(e){this.view=e,this.items=[];let t=a=>{if(a.keyCode==27)y2(this.view),this.view.focus();else if(a.keyCode==38||a.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(a.keyCode==40||a.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(a.keyCode==36)this.moveSelection(0);else if(a.keyCode==35)this.moveSelection(this.items.length-1);else if(a.keyCode==13)this.view.focus();else if(a.keyCode>=65&&a.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:i}=this.items[this.selectedIndex],o=PR(i.actions);for(let s=0;s{for(let i=0;iy2(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(br).selected;if(!e)return-1;for(let t=0;t{let c=-1,u;for(let h=n;hn&&(this.items.splice(n,c-n),a=!0)),t&&u.diagnostic==t.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),i=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),n++});n({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:s})=>{o.tops.bottom&&(this.list.scrollTop+=o.bottom-s.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),a&&this.sync()}sync(){let e=this.list.firstChild;function t(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(br),n=ts(t.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:MR.of(n)})}static open(e){return new Hu(e)}}function F7(r,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(r)}')`}function Tc(r){return F7(``,'width="6" height="3"')}const U7=Le.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Tc("#d11")},".cm-lintRange-warning":{backgroundImage:Tc("orange")},".cm-lintRange-info":{backgroundImage:Tc("#999")},".cm-lintRange-hint":{backgroundImage:Tc("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),$7=[br,Le.decorations.compute([br],r=>{let{selected:e,panel:t}=r.field(br);return!e||!t||e.from==e.to?tt.none:tt.set([D7.range(e.from,e.to)])}),iT(x7,{hideOn:k7}),U7],hi={seed:{name:"seed",category:"randomness",description:"Seed the random generator",example:"seed(1234)"},delayr:{name:"delayr",category:"time",description:"Delay a function n times by t ms",example:"delayr(50,3,()=> beat(1)::log('hey!'))"},toss:{name:"toss",category:"randomness",description:"Toss a coin, true or false",example:"toss() : log('heads')"},lpadsr:{name:"lpadsr",category:"synthesis",description:"Lowpass filter ADSR envelope",example:"sound('sawtooth').lpadsr(2,0,.1,0,0).out()"},lpenv:{name:"lpenv",category:"synthesis",description:"Lowpass filter ADSR envelope amount",example:"sound('sawtooth').lpenv(2).lpd(.2).out()"},hpadsr:{name:"hpadsr",category:"synthesis",description:"Highpass filter ADSR envelope",example:"sound('sawtooth').hpadsr(2, 0, .1, 0, 0).out()"},hpenv:{name:"hpenv",category:"synthesis",description:"Highpass filter ADSR envelope amount",example:"sound('sawtooth').hpenv(2).hpd(.2).out()"},bpadsr:{name:"bpadsr",category:"synthesis",description:"Bandpass filter ADSR envelope",example:"sound('sawtooth').bpadsr(2, 0, .1, 0, 0).out()"},bpattack:{name:"bpattack",category:"synthesis",description:"Bandpass filter ADSR envelope attack time (in seconds)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpa(.2).out()"},bpdecay:{name:"bpdecay",category:"synthesis",description:"Bandpass filter ADSR envelope decay time (in seconds)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpd(.2).out()"},bpsustain:{name:"bpsustain",category:"synthesis",description:"Bandpass filter ADSR envelope sustain level (0-1)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpsustain(0.5).out()"},bprelease:{name:"bprelease",category:"synthesis",description:"Bandpass filter ADSR envelope release time (in seconds)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpr(.2).out()"},bpenv:{name:"bpenv",category:"synthesis",description:"Bandpass filter ADSR envelope amount",example:"sound('sawtooth').bpenv(2).bpd(.2).out()"},adsr:{name:"adsr",category:"synthesis",description:"ADSR envelope",example:"sound('sawtooth').adsr(0, .1, 0, 0).out()"},ad:{name:"ad",category:"synthesis",description:"AD envelope times (in seconds)",example:"sound('sawtooth').ad(0, .1).out()"},attack:{name:"attack",category:"synthesis",description:"ADSR envelope attack time (in seconds)",example:"sound('sawtooth').attack(.5).out()"},decay:{name:"decay",category:"synthesis",description:"ADSR envelope decay time (in seconds)",example:"sound('sawtooth').decay(.5).out()"},sustain:{name:"sustain",category:"synthesis",description:"ADSR envelope sustain level (0-1)",example:"sound('sawtooth').sustain(.5).out()"},release:{name:"release",category:"synthesis",description:"ADSR envelope release time (in seconds)",example:"sound('sawtooth').release(.5).out()"},fmwave:{name:"fmwave",category:"synthesis",description:"FM synth modulator waveform",example:"sound('fm').fmwave('sine').out()"},fmi:{name:"fmi",category:"audio",description:"FM synth modulator index",example:"sound('fm').fmi([1,2].beat()).out()"},fmh:{name:"fmh",category:"audio",description:"FM synth modulator ratio",example:"sound('fm').fmi(2).fmh(2).out()"},fmattack:{name:"fmattack",category:"synthesis",description:"FM synth modulator ADSR envelope attack time (in seconds)",example:"sound('sine').fmi(2).fmattack(.5).out()"},fmdecay:{name:"fmdecay",category:"synthesis",description:"FM synth modulator ADSR envelope decay time (in seconds)",example:"sound('sine').fmi(2).fmdecay(.5).out()"},fmsustain:{name:"fmsustain",category:"synthesis",description:"FM synth modulator ADSR envelope sustain level (0-1)",example:"sound('sine').fmi(2).fmsustain(.5).out()"},fmrelease:{name:"fmrelease",category:"synthesis",description:"FM synth modulator ADSR envelope release time (in seconds)",example:"sound('sine').fmi(2).fmrelease(.5).out()"},repeat:{name:"repeat",category:"patterns",description:"Repeat every array elements n times",example:"[0,1,2,3].repeat(2)"},quant:{name:"quant",category:"functions",description:"Quantize a value in the given array",example:"quant(30, [0,1,2,3])"},log:{name:"log",category:"javascript",description:"Log a value in the console",example:"log('Hello, world')"},flip:{name:"flip",category:"patterns",description:"Returns true and false alternatively or next value every n beats (arrays)",example:"flip(4, 50) // 4 beats of true, 4 beats of false, 50/50."},n:{name:"n",category:"audio",description:"Sample number or synth oscillator partials count",example:"sound('dr').n([1,2].beat()).out()"},note:{name:"note",category:"patterns",description:"MIDI note number (0-127)",example:"sound('jvbass').note(50).out()"},vel:{name:"vel",category:"audio",description:"Velocity or sound volume (0-1)",example:"sound('cp').vel(.5).out()"},palindrome:{name:"palindrome",category:"patterns",description:"Returns palindrome of the current array",example:"[0,1,2,3].palindrome()"},cutoff:{name:"cutoff",category:"filter",description:"Lowpass filter cutoff frequency",example:"sound('cp').cutoff(1000).out()"},resonance:{name:"resonance",category:"filter",description:"Lowpass filter resonance",example:"sound('cp').resonance(1).out()"},hcutoff:{name:"hcutoff",category:"filter",description:"Highpass filter cutoff frequency",example:"sound('cp').hcutoff(1000).out()"},hresonance:{name:"hresonance",category:"filter",description:"Highpass filter resonance",example:"sound('cp').hresonance(1).out()"},bandf:{name:"bandf",category:"filter",description:"Bandpass filter cutoff frequency",example:"sound('cp').bandf(1000).out()"},bandq:{name:"bandq",category:"filter",description:"Bandpass filter resonance",example:"sound('cp').bandq(1).out()"},vowel:{name:"vowel",category:"filter",description:"Vowel filter type",example:"sound('cp').vowel('a').out()"},coarse:{name:"coarse",category:"synthesis",description:"Artificial sample-rate lowering",example:"beat(.5)::snd('pad').coarse($(1) % 16).clip(.5).out();"},crush:{name:"crush",category:"synthesis",description:"Bitcrushing effect. 1 is extreme, superior values are more subtle.",example:""},speed:{name:"speed",category:"sampling",description:"Sample playback speed",example:"sound('cp').speed(.5).out()"},shape:{name:"shape",category:"synthesis",description:"Waveshaping distorsion",example:"sound('cp').shape(.5).out()"},delay:{name:"delay",category:"effect",description:"Delay effect dry/wet",example:"sound('cp').delay(.5).out()"},delayfb:{name:"delayfb",category:"effect",description:"Delay effect feedback amount (0-1)",example:"sound('cp').delay(0.2).delayfb(.5).out()"},delaytime:{name:"delaytime",category:"effect",description:"Delay effect delay time (in seconds)",example:"sound('cp').delay(0.2).delaytime(.5).out()"},gain:{name:"gain",category:"audio",description:"Playback volume",example:"sound('cp').gain(.5).out()"},bar:{name:"bar",category:"patterns",description:"Returns list index for the current bar (with wrapping)",example:"[0,1,2,3].bar()"},room:{name:"room",category:"effect",description:"Reverb effect room amount (0-1 or +)",example:"sound('cp').room(.5).out()"},size:{name:"size",category:"effect",description:"Reverb effect room size",example:"sound('cp').size(.5).out()"},roomlp:{name:"roomlp",category:"effect",description:"Reverb effect room lowpass filter cutoff frequency",example:"sound('cp').room(.5).size(.5).roomlp(.5).out()"},roomfade:{name:"roomfade",category:"effect",description:"Reverb effect room fade time (in seconds)",example:"sound('cp').room(.5).size(.5).roomfade(.5).out()"},roomdim:{name:"roomdim",category:"effect",description:"Reverb lowpass frequency at -60db (in hertz)",example:"sound('cp').room(.5).size(.5).roomdim(.5).out()"},usine:{name:"usine",category:"modulation",description:"Unipolar sinusoïdal low-frequency oscillator",example:"usine(5) // 5 hz oscillation"},sine:{name:"usine",category:"modulation",description:"Sinusoïdal low-frequency oscillator",example:"usine(5) // 5 hz oscillation"},utriangle:{name:"utriangle",category:"modulation",description:"Unipolar triangular low-frequency oscillator",example:"utriangle(5) // 5 hz oscillation"},triangle:{name:"triangle",category:"modulation",description:"Triangular low-frequency oscillator",example:"triangle(5) // 5 hz oscillation"},usaw:{name:"usaw",category:"modulation",description:"Unipolar sawtooth low-frequency oscillator",example:"usaw(5) // 5 hz oscillation"},saw:{name:"saw",category:"modulation",description:"Sawtooth low-frequency oscillator",example:"saw(5) // 5 hz oscillation"},square:{name:"square",category:"modulation",description:"Square low-frequency oscillator",example:"square(5) // 5 hz oscillation"},usquare:{name:"usquare",category:"modulation",description:"Unipolar square low-frequency oscillator",example:"usquare(5) // 5 hz oscillation"},rhythm:{name:"rhythm",category:"rhythm",description:"Variant of the euclidian algorithm function",example:"rhythm(.5, 3, 8) // time, pulses, steps"},let:{name:"let",category:"javascript",description:"Variable assignation",example:"let baba = 10"},onbeat:{name:"onbeat",category:"rhythm",description:"Return true when targetted beat(s) is/are reached",example:"onbeat([1,2,3]) // true on beats 1, 2 and 3"},oncount:{name:"oncount",category:"rhythm",description:"Return true when targetted beat(s) is/are reached in the given period",example:"oncount([1,2,3], 4) // true on beats 1, 2 and 3 in a 4 beats period"},beat:{name:"beat",category:"rhythm",description:"return true every n beats.",example:"beat(1) :: log(rand(1,5))"},pulse:{name:"pulse",category:"rhythm",description:"return true every n pulses.",example:"pulse(8) :: log(rand(1,5))"},euclid:{name:"euclid",category:"rhythm",description:"Iterator-based euclidian rhythm generator",example:"euclid($(1), 3, 8) // iterator, pulses"},oneuclid:{name:"oneuclid",category:"rhythm",description:"Variant of the euclidian rhythm generator",example:"oneuclid(3, 8) // iterator, pulses"},bin:{name:"bin",category:"rhythm",description:"Convert a decimal number to binary rhythm generator",example:"bin($(1), 9223) // iterator, number to convert"},binrhythm:{name:"binrhythm",category:"rhythm",description:"Binary rhythm generator (time, number)",example:"binrhythm(.5, 9223) :: sound('cp').out()"},prob:{name:"prob",category:"randomness",description:"Return true with a probability of n %",example:"prob(50) // 50% probability"},rand:{name:"rand",category:"randomness",description:"random floating point number between x and y",example:"rand(1, 10) // between 1 and 10"},irand:{name:"irand",category:"randomness",description:"random integer number between x and y",example:"irand(1, 10) // between 1 and 10"},pick:{name:"pick",category:"randomness",description:"Pick a value in the given array",example:"[1,4,10].pick()"},odds:{name:"odds",category:"randomness",description:"Return true with a probability of n %",example:"odds(1/2) // 50% probability"},never:{name:"never",category:"randomness",description:"Return false",example:"never() // false"},almostNever:{name:"almostNever",category:"randomness",description:"Return true with a probability of 2.5%",example:"almostNever() // 2.5% chance"},rarely:{name:"rarely",category:"randomness",description:"Return true with a probability of 10%",example:"rarely() // 10% chance"},scarcely:{name:"scarcely",category:"randomness",description:"Return true with a probability of 25%",example:"scarcely() // 25% chance"},sometimes:{name:"sometimes",category:"randomness",description:"Return true with a probability of 50%",example:"sometimes() // 50% chance"},often:{name:"often",category:"randomness",description:"Return true with a probability of 75%",example:"often() // 75% chance"},frequently:{name:"frequently",category:"randomness",description:"Return true with a probability of 90%",example:"frequently() // chance"},almostAlways:{name:"almostAlways",category:"randomness",description:"Return true with a probability of 98.5%",example:"almostAlways() // 98.5% chance"},always:{name:"always",category:"randomness",description:"Return true",example:"always() // true"},sound:{name:"sound",category:"audio",description:"Base function to play audio (samples / synths)",example:"sound('bd').out()"},snd:{name:"snd",category:"audio",description:"Base function to play audio (samples / synths). Alias for sound.",example:"sound('bd').out()"},tempo:{name:"tempo",category:"time",description:"Get or set the current beats per minute.",example:"tempo(135) // set the bpm to 135"},out:{name:"out",category:"audio",description:"Connect the sound() chain to the output",example:"sound('clap').out()"},script:{name:"script",category:"core",description:"Execute one or more local scripts",example:"beat(1) :: script(1)"},clear_script:{name:"clear_script",category:"core",description:"Deletes the given script",example:"clear_script(2)"},copy_script:{name:"copy_script",category:"core",description:"Copy the script from to the script to",example:"copy_script(1, 2)"},warp:{name:"warp",category:"core",description:"jumps to the n tick of the clock.",example:"warp(1) :: log('back to the big bang!')"},beat_warp:{name:"beat_warp",category:"core",description:"jumps to the n beat of the clock.",example:"beat_warp(1) :: log('back to the first beat!')"},flipbar:{name:"flipbar",category:"time",description:"works just like flip at the level of bars instead of beats",example:"flipbar(2)::beat(1)::snd('kick').out()"},onbar:{name:"onbar",category:"time",description:"return true when targetted bar(s) is/are reached in period",example:"onbar(4, 4)::beat(.5)::snd('hh').out();"},begin:{name:"begin",category:"sampling",description:"Audio playback start time (0-1)",example:"sound('cp').begin(.5).out()"},end:{name:"end",category:"sampling",description:"Audio playback end time (0-1)",example:"sound('cp').end(.5).out()"},mouseX:{name:"mouseX",category:"mouse",description:"Mouse X position (big float)",example:"log(mouseX())"},mouseY:{name:"mouseY",category:"mouse",description:"Mouse Y position (big float)",example:"log(mouseY())"},noteX:{name:"noteX",category:"mouse",description:"Mouse X position (as MIDI note)",example:"log(noteX())"},noteY:{name:"noteY",category:"mouse",description:"Mouse Y position (as MIDI note)",example:"log(noteY())"},cut:{name:"cut",category:"sampling",description:"Cutting sample when other sample met on same orbit (0 or 1)",example:"sound('cp').cut(1).out()"},pan:{name:"pan",category:"audio",description:"Stereo panning (-1 to 1)",example:"sound('cp').pan(-1).out()"},zrand:{name:"zrand",category:"synthesis",description:"ZzFX randomisation factor",example:"sound('zzfx').zrand(.5).out()"},curve:{name:"curve",category:"synthesis",description:"ZzFX waveshaping (0-3)",example:"sound('zzfx').curve(1).out()"},slide:{name:"slide",category:"synthesis",description:"ZzFX pitch slide",example:"sound('zzfx').slide(1).out()"},deltaSlide:{name:"deltaSlide",category:"synthesis",description:"ZzFX pitch delta slide",example:"sound('zzfx').deltaSlide(1).out()"},pitchJump:{name:"pitchJump",category:"synthesis",description:"ZzFX pitch jump",example:"sound('zzfx').pitchJump(1).out()"},pitchJumpTime:{name:"pitchJumpTime",category:"synthesis",description:"ZzFX pitch jump time (time before jump)",example:"sound('zzfx').pitchJumpTime(1).out()"},zcrush:{name:"zcrush",category:"synthesis",description:"ZzFX bitcrushing",example:"sound('zzfx').zcrush(1).out()"},zdelay:{name:"zdelay",category:"synthesis",description:"ZzFX delay",example:"sound('zzfx').zdelay(1).out()"},tremolo:{name:"tremolo",category:"synthesis",description:"ZzFX weird tremolo effect",example:"sound('zzfx').tremolo(1).out()"},speak:{name:"speak",category:"synthesis",description:"Text to speech synthesizer",example:"beat(2) :: speak('Topos!','fr',irand(0,5))"},midi_outputs:{name:"midi_outputs",category:"midi",description:"List of available MIDI outputs",example:"midi_outputs()"},midi_output:{name:"midi_output",category:"midi",description:"Set the current MIDI output",example:"midi_output('IAC Driver Bus 1')"},midi:{name:"midi",category:"midi",description:"Send a MIDI message (note, velocity, channel)",example:"midi(144, 60, 1)"},control_change:{name:"control_change",category:"midi",description:"Send a MIDI control change message",example:"control_change({control: 1, value: 60, channel: 10})"},cc:{name:"cc",category:"midi",description:"Send a MIDI control change message",example:"cc({control: 1, value: 60, channel: 10})"},program_change:{name:"program_change",category:"midi",description:"Send a MIDI program change message",example:"program_change(1, 10)"},sysex:{name:"sysex",category:"midi",description:"Send a MIDI sysex message",example:"sysex(0xF0, 0x7D, 0x00, 0x06, 0x01, 0xF7)"},midi_clock:{name:"midi_clock",category:"midi",description:"Send a MIDI clock message",example:"midi_clock()"},degrade:{name:"degrade",category:"patterns",description:"Removes n% of the given array randomly",example:"[0,1,2,3].degrade(20)"},loop:{name:"loop",category:"patterns",description:"Loop over the given array using an iterator",example:"[0,1,2,3].loop($(1))"},$:{name:"$",category:"patterns",description:"Iterator",example:"[0,1,2,3].loop($(1))"},counter:{name:"counter",category:"patterns",description:"Counter/iterator",example:"counter('my_counter_, 20, 1)"},drunk:{name:"drunk",category:"patterns",description:"Returns the next value in a drunk walk",example:"drunk()"},drunk_max:{name:"drunk_max",category:"patterns",description:"Sets the maximum value of the drunk walk",example:"drunk_max(10)"},drunk_min:{name:"drunk_min",category:"patterns",description:"Sets the minimum value of the drunk walk",example:"drunk_min(0)"},drunk_wrap:{name:"drunk_wrap",category:"patterns",description:"Wraps (or not) of the drunk walk (boolean)",example:"drunk_wrap(true)"},global:{name:"global",category:"variable",description:"Global Variable setter or getter",example:"global.my_var = 10; // Sets global variable 'my_var' to 10"},g:{name:"g",category:"variable",description:"Global Variable setter or getter",example:"g.my_var = 10; // Sets global variable 'my_var' to 10"},delete_variable:{name:"delete_variable",category:"variable",description:"Deletes the given global variable",example:"delete_variable('my_var')"},clear_variables:{name:"clear_variables",category:"variable",description:"Clears all global variables",example:"clear_variables()"},shuffle:{name:"shuffle",category:"patterns",description:"Shuffle the given array",example:"[0,1,2,3].shuffle()"},rotate:{name:"rotate",category:"patterns",description:"Rotate the given array to the right for n indexes",example:"[0,1,2,3].rotate(2)"},unique:{name:"unique",category:"patterns",description:"Remove duplicates from the given array",example:"[0,1,2,3,3,3].unique()"},add:{name:"add",category:"patterns",description:"Add a value to each element of the given array",example:"[0,1,2,3].add(1)"},sub:{name:"sub",category:"patterns",description:"Substract a value to each element of the given array",example:"[0,1,2,3].sub(1)"},mul:{name:"mul",category:"patterns",description:"Multiply each element of the given array by a value",example:"[0,1,2,3].mul(2)"},div:{name:"div",category:"patterns",description:"Divide each element of the given array by a value",example:"[0,1,2,3].div(2)"},scale:{name:"scale",category:"patterns",description:"Scale setter used by Ziffers",example:"z0('0 1 2 3').scale('major').out()"},zzfx:{name:"zzfx",category:"synthesis",description:"ZzFX sound generator",example:"sound('zzfx').zzfx(...).out()"},vib:{name:"vib",category:"synthesis",description:"Vibrato frequency",example:"sound('sine').vib(1).vibmod(0.5).out()"},vibmod:{name:"vibmod",category:"synthesis",description:"Vibrato modulation amount",example:"sound('sine').vib(1).vibmod(4).out()"},fill:{name:"fill",category:"performance",description:"Detects if the Alt key is pressed",example:"fill() ? 1 : 0.5"},ratio:{name:"ratio",category:"synthesis",description:"Compressor ratio",example:"sound('sine').comp(1).ratio(4).out()"},knee:{name:"knee",category:"synthesis",description:"Compressor knee (dB)",example:"sound('sine').comp(-4).knee(4).out()"},compAttack:{name:"compAttack",category:"synthesis",description:"Compressor attack time (in seconds)",example:"sound('sine').comp(-4).compAttack(0.1).out()"},compRelease:{name:"compRelease",category:"synthesis",description:"Compressor release time (in seconds)",example:"sound('sine').comp(-4).compRelease(0.1).out()"},noise:{name:"noise",category:"synthesis",description:"Noise amount in the signal (0-1)",example:"sound('triangle').noise(.25).out()"}},YR=iT((r,e,t)=>{let{from:n,to:a,text:i}=r.state.doc.lineAt(e),o=e,s=e;for(;o>n&&/\w/.test(i[o-n-1]);)o--;for(;s0?null:{pos:o,end:s,above:!0,create(l){if(!(i.slice(o-n,s-n)in hi))return{dom:document.createElement("div")};let c=hi[i.slice(o-n,s-n)]||{},u=` +`),pe,ee)},vglobal:function(d,f){this.global(d,f)},normal:function(d,f){var g=f.argString&&f.argString.trimStart();if(!g){Rt(d,"Argument is required.");return}var v=f.line;if(typeof v=="number")for(var C=isNaN(f.lineEnd)?v:f.lineEnd,w=v;w<=C;w++)d.setCursor(w,0),yt(d,f.argString.trimStart()),d.state.vim.insertMode&&lr(d,!0);else yt(d,f.argString.trimStart()),d.state.vim.insertMode&&lr(d,!0)},global:function(d,f){var g=f.argString;if(!g){Rt(d,"Regular Expression missing from global");return}var v=f.commandName[0]==="v";g[0]==="!"&&f.commandName[0]==="g"&&(v=!0,g=g.slice(1));var C=f.line!==void 0?f.line:d.firstLine(),w=f.lineEnd||f.line||d.lastLine(),x=ms(g),$=g,G;if(x.length&&($=x[0],G=x.slice(1,x.length).join("/")),$)try{Aa(d,$,!0,!0)}catch{Rt(d,"Invalid regex: "+$);return}for(var J=Jn(d).getQuery(),Z=[],pe=C;pe<=w;pe++){var ee=d.getLine(pe),de=J.test(ee);de!==v&&Z.push(G?d.getLineHandle(pe):ee)}if(!G){Rt(d,Z.join(` +`));return}var ce=0,Ie=function(){if(ce=J){Rt(d,"Invalid argument: "+f.argString.substring(C));return}for(var Z=0;Z<=J-G;Z++){var pe=String.fromCharCode(G+Z);delete g.marks[pe]}}else{Rt(d,"Invalid argument: "+x+"-");return}}else delete g.marks[w]}}},An=new Ni;function vo(d,f,g,v,C,w,x,$,G){d.state.vim.exMode=!0;var J=!1,Z,pe,ee;function de(){d.operation(function(){for(;!J;)ce(),ve();Be()})}function ce(){var He=d.getRange(w.from(),w.to()),xt=He.replace(x,$),un=w.to().line;w.replace(xt),pe=w.to().line,C+=pe-un,ee=pe1&&(Jl(d,g,g.insertModeRepeat-1,!0),g.lastEditInputState.repeatOverride=g.insertModeRepeat),delete g.insertModeRepeat,g.insertMode=!1,f||d.setCursor(d.getCursor().line,d.getCursor().ch-1),d.setOption("keyMap","vim"),d.setOption("disableInput",!0),d.toggleOverwrite(!1),C.setText(x.changes.join("")),r.signal(d,"vim-mode-change",{mode:"normal"}),v.isRecording&&Zu(v)}function Di(d){a.unshift(d)}function zl(d,f,g,v,C){var w={keys:d,type:f};w[f]=g,w[f+"Args"]=v;for(var x in C)w[x]=C[x];Di(w)}ne("insertModeEscKeysTimeout",200,"number"),r.keyMap["vim-insert"]={fallthrough:["default"],attach:u,detach:c,call:h},r.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:u,detach:c};function Wl(d,f,g,v){var C=he.registerController.getRegister(v);if(v==":"){C.keyBuffer[0]&&An.processCommand(d,C.keyBuffer[0]),g.isPlaying=!1;return}var w=C.keyBuffer,x=0;g.isPlaying=!0,g.replaySearchQueries=C.searchQueries.slice(0);for(var $=0;$|<\w+>|./.exec(G),Z=J[0],G=G.substring(J.index+Z.length),Ve.handleKey(d,Z,"macro"),f.insertMode){var pe=C.insertModeChanges[x++].changes;he.macroModeState.lastInsertModeChanges.changes=pe,Xe(d,pe,1),lr(d)}g.isPlaying=!1}function Ku(d,f){if(!d.isPlaying){var g=d.latestRegister,v=he.registerController.getRegister(g);v&&v.pushText(f)}}function Zu(d){if(!d.isPlaying){var f=d.latestRegister,g=he.registerController.getRegister(f);g&&g.pushInsertModeChanges&&g.pushInsertModeChanges(d.lastInsertModeChanges)}}function ju(d,f){if(!d.isPlaying){var g=d.latestRegister,v=he.registerController.getRegister(g);v&&v.pushSearchQuery&&v.pushSearchQuery(f)}}function Xl(d,f){var g=he.macroModeState,v=g.lastInsertModeChanges;if(!g.isPlaying)for(var C=d.state.vim;f;){if(v.expectCursorActivityForChange=!0,v.ignoreCount>1)v.ignoreCount--;else if(f.origin=="+input"||f.origin=="paste"||f.origin===void 0){var w=d.listSelections().length;w>1&&(v.ignoreCount=w);var x=f.text.join(` +`);if(v.maybeReset&&(v.changes=[],v.maybeReset=!1),x)if(d.state.overwrite&&!/\n/.test(x))v.changes.push([x]);else{if(x.length>1){var $=C&&C.insertEnd&&C.insertEnd.find(),G=d.getCursor();if($&&$.line==G.line){var J=$.ch-G.ch;J>0&&J",Gn(v,g))}else f.insertMode||(f.lastHPos=d.getCursor().ch)}function Ts(d){this.keyName=d}function jl(d){var f=he.macroModeState,g=f.lastInsertModeChanges,v=r.keyName(d);if(!v)return;function C(){return g.maybeReset&&(g.changes=[],g.maybeReset=!1),g.changes.push(new Ts(v)),!0}(v.indexOf("Delete")!=-1||v.indexOf("Backspace")!=-1)&&r.lookupKey(v,"vim-insert",C)}function Jl(d,f,g,v){var C=he.macroModeState;C.isPlaying=!0;var w=!!f.lastEditActionCommand,x=f.inputState;function $(){w?ht.processAction(d,f,f.lastEditActionCommand):ht.evalInput(d,f)}function G(Z){if(C.lastInsertModeChanges.changes.length>0){Z=f.lastEditActionCommand?Z:1;var pe=C.lastInsertModeChanges;Xe(d,pe.changes,Z)}}if(f.inputState=f.lastEditInputState,w&&f.lastEditActionCommand.interlaceInsertRepeat)for(var J=0;J"&&!C.insertMode&&!C.visualMode&&x&&C.status=="")St(d);else if(w||!x||d.inVirtualSelectionMode)v=Ve.handleKey(d,f,g);else{var $=ei(C),G=C.inputState.changeQueueList||[];d.operation(function(){d.curOp.isVimOp=!0;var J=0;d.forEachSelection(function(){d.state.vim.inputState.changeQueue=G[J];var Z=d.getCursor("head"),pe=d.getCursor("anchor"),ee=_t(Z,pe)?0:-1,de=_t(Z,pe)?-1:0;Z=Re(Z,0,ee),pe=Re(pe,0,de),d.state.vim.sel.head=Z,d.state.vim.sel.anchor=pe,v=Ve.handleKey(d,f,g),d.virtualSelection&&(G[J]=d.state.vim.inputState.changeQueue,d.state.vim=ei($)),J++}),d.curOp.cursorActivity&&!v&&(d.curOp.cursorActivity=!1),d.state.vim=C,C.inputState.changeQueueList=G,C.inputState.changeQueue=null},!0)}return v&&!C.visualMode&&!C.insert&&C.visualMode!=d.somethingSelected()&&Zl(d,C),v}return xe(),Ve}function Hn(r,e){var t=e.ch,n=e.line+1;n<1&&(n=1,t=0),n>r.lines&&(n=r.lines,t=Number.MAX_VALUE);var a=r.line(n);return Math.min(a.from+Math.max(0,t),a.to)}function Rr(r,e){let t=r.lineAt(e);return{line:t.number-1,ch:e-t.from}}class Su{constructor(e,t){this.line=e,this.ch=t}}function CR(r,e,t){if(r.addEventListener)r.addEventListener(e,t,!1);else{var n=r._handlers||(r._handlers={});n[e]=(n[e]||[]).concat(t)}}function RR(r,e,t){if(r.removeEventListener)r.removeEventListener(e,t,!1);else{var n=r._handlers,a=n&&n[e];if(a){var i=a.indexOf(t);i>-1&&(n[e]=a.slice(0,i).concat(a.slice(i+1)))}}}function wR(r,e,...t){var n,a=(n=r._handlers)===null||n===void 0?void 0:n[e];if(a)for(var i=0;i({anchor:Rr(e,t.anchor),head:Rr(e,t.head)}))}setSelections(e,t){var n=this.cm6.state.doc,a=e.map(i=>ge.range(Hn(n,i.anchor),Hn(n,i.head)));this.cm6.dispatch({selection:ge.create(a,t)})}setSelection(e,t,n){var a=this.cm6.state.doc,i=[ge.range(Hn(a,e),Hn(a,t))];this.cm6.dispatch({selection:ge.create(i,0)}),n&&n.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var t=this.cm6.state.doc;return e<0||e>=t.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new Su(e,0))}}getLineNumber(e){var t=this.$lineHandleChanges;if(!t)return null;for(var n=e.index,a=0;a({from:a.from,to:a.to,insert:e[i]||""}));zs(this,{changes:n})}getSelection(){return this.getSelections().join(` +`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var t=this.cm6.state.doc,n=e.ch,a=e.line+1;a<1&&(a=1,n=0),a>t.lines&&(a=t.lines,n=Number.MAX_VALUE);var i=t.line(a);return n=Math.min(Math.max(0,n),i.to-i.from),new Su(a-1,n)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var t=this.cm6;return t.dispatch({changes:{from:0,to:t.state.doc.length,insert:e},selection:ge.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e){var t=this.cm6.state,n=Hn(t.doc,e),a=kr(t,n+1,-1);return a&&a.end?{to:Rr(t.doc,a.end.from)}:(a=kr(t,n,1),a&&a.end?{to:Rr(t.doc,a.end.from)}:{to:void 0})}scanForBracket(e,t,n,a){return u7(this,e,t,n,a)}indentLine(e,t){t?this.indentMore():this.indentLess()}indentMore(){e_(this.cm6)}indentLess(){t_(this.cm6)}execCommand(e){e=="indentAuto"?gt.commands.indentAuto(this):e=="goLineLeft"?tR(this.cm6):e=="goLineRight"?(eR(this.cm6),r6(this.cm6)):console.log(e+" is not implemented")}setBookmark(e,t){var n=t!=null&&t.insertLeft?1:-1,a=this.indexFromPos(e),i=new f7(this,a,n);return i}addOverlay({query:e}){let t=new j6({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(t.valid){t.forVim=!0,this.cm6Query=t;let n=Fg.of(t);return this.cm6.dispatch({effects:n}),t}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let t=Fg.of(this.cm6Query);this.cm6.dispatch({effects:t})}getSearchCursor(e,t){var n=this,a=null,i=null;t.ch==null&&(t.ch=Number.MAX_VALUE);var o=Hn(n.cm6.state.doc,t),s=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(p,_){return _||"\\"+p});function l(p,_=0,b=p.length){return new a_(p,s,{ignoreCase:e.ignoreCase},_,b)}function c(p){var _=n.cm6.state.doc;if(p>_.length)return null;let b=l(_,p).next();return b.done?null:b.value}var u=1e4;function h(p,_){var b=n.cm6.state.doc;for(let A=1;;A++){let I=Math.max(p,_-A*u),M=l(b,I,_),U=null;for(;!M.next().done;)U=M.value;if(U&&(I==p||U.from>I+10))return U;if(I==p)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(p){var _=n.cm6.state.doc;if(p){let b=a?a.from==a.to?a.to-1:a.from:o;a=h(0,b)}else{let b=a?a.from==a.to?a.to+1:a.to:o;a=c(b)}return i=a&&{from:Rr(_,a.from),to:Rr(_,a.to),match:a.match},a&&a.match},from:function(){return i==null?void 0:i.from},to:function(){return i==null?void 0:i.to},replace:function(p){a&&(zs(n,{changes:{from:a.from,to:a.to,insert:p}}),a.to=a.from+p.length,i&&(i.to=Rr(n.cm6.state.doc,a.to)))}}}findPosV(e,t,n,a){let{cm6:i}=this;const o=i.state.doc;let s=n=="page"?i.dom.clientHeight:0;const l=Hn(o,e);let c=ge.range(l,l,a),u=Math.round(Math.abs(t));for(let p=0;p0,s):n=="line"&&(c=i.moveVertically(c,t>0));let h=Rr(o,c.head);return(t<0&&c.head==0&&a!=0&&e.line==0&&e.ch!=0||t>0&&c.head==o.length&&h.ch!=a&&e.line==h.line)&&(h.hitSide=!0),h}charCoords(e,t){var n=this.cm6.contentDOM.getBoundingClientRect(),a=Hn(this.cm6.state.doc,e),i=this.cm6.coordsAtPos(a),o=-n.top;return{left:((i==null?void 0:i.left)||0)-n.left,top:((i==null?void 0:i.top)||0)+o,bottom:((i==null?void 0:i.bottom)||0)+o}}coordsChar(e,t){var n=this.cm6.contentDOM.getBoundingClientRect(),a=this.cm6.posAtCoords({x:e.left+n.left,y:e.top+n.top})||0;return Rr(this.cm6.state.doc,a)}getScrollInfo(){var e=this.cm6.scrollDOM;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight,width:e.scrollWidth,clientHeight:e.clientHeight,clientWidth:e.clientWidth}}scrollTo(e,t){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),t!=null&&(this.cm6.scrollDOM.scrollTop=t)}scrollIntoView(e,t){if(e){var n=this.indexFromPos(e);this.cm6.dispatch({effects:Le.scrollIntoView(n)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,t){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=t+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(e){this.$lineHandleChanges&&this.$lineHandleChanges.push(e);for(let n in this.marks)this.marks[n].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(n=>n.map(e.changes)));var t=this.curOp=this.curOp||{};e.changes.iterChanges((n,a,i,o,s)=>{(t.$changeStart==null||t.$changeStart>i)&&(t.$changeStart=i),this.$lastChangeEndOffset=o;var l={text:s.toJSON()};t.lastChange?t.lastChange.next=t.lastChange=l:t.lastChange=t.change=l},!0),t.changeHandlers||(t.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var e=this.curOp=this.curOp||{};e.cursorActivityHandlers||(e.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(e){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var t=e()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return t}onBeforeEndOperation(){var e=this.curOp,t=!1;e&&(e.change&&O2(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(O2(e.cursorActivityHandlers,this,null),e.isVimOp&&(t=!0)),this.curOp=null),t&&this.scrollIntoView()}moveH(e,t){if(t=="char"){var n=this.getCursor();this.setCursor(n.line,n.ch+e)}}setOption(e,t){switch(e){case"keyMap":this.state.keyMap=t;break}}getOption(e){switch(e){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readonly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(Ko)==" ";case"indentUnit":return this.cm6.state.facet(Ko).length||2;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var t,n=this.indexFromPos(e),a=dT(this.cm6.state,n),i=a==null?void 0:a.resolve(n),o=((t=i==null?void 0:i.type)===null||t===void 0?void 0:t.name)||"";return/comment/i.test(o)?"comment":/string/i.test(o)?"string":""}overWriteSelection(e){var t=this.cm6.state.doc,n=this.cm6.state.selection,a=n.ranges.map(i=>{if(i.empty){var o=i.to1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var t=this.cm6.state.selection;this.virtualSelection=ge.create(t.ranges,t.mainIndex);for(var n=0;nzs(r,e)})},indentAuto:function(r){SR(r.cm6)}};gt.defineOption=function(r,e,t){};gt.isWordChar=function(r){return Ug.test(r)};gt.keys=i7;gt.keyMap={};gt.addClass=function(){};gt.rmClass=function(){};gt.e_preventDefault=function(r){r.preventDefault()};gt.e_stop=function(r){var e,t;(e=r==null?void 0:r.stopPropagation)===null||e===void 0||e.call(r),(t=r==null?void 0:r.preventDefault)===null||t===void 0||t.call(r)};gt.keyName=function(r){var e=r.key;if(!AR[e]){e=="Escape"&&(e="Esc"),e==" "&&(e="Space"),e.length>1&&(e=e.replace(/Numpad|Arrow/,"")),e.length==1&&(e=e.toUpperCase());var t="";return r.ctrlKey&&(t+="Ctrl-"),r.altKey&&(t+="Alt-"),(t||e.length>1)&&r.shiftKey&&(t+="Shift-"),t+=e,t}};gt.vimKey=function(e){var t=e.key;if(!AR[t]){t.length>1&&t[0]=="n"&&(t=t.replace("Numpad","")),t=a7[t]||t;var n="";return e.ctrlKey&&(n+="C-"),e.altKey&&(n+="A-"),e.metaKey&&(n+="M-"),gt.isMac&&e.altKey&&!e.metaKey&&!e.ctrlKey&&(n=n.slice(2)),(n||t.length>1)&&e.shiftKey&&(n+="S-"),n+=t,n.length>1&&(n="<"+n+">"),n}};gt.lookupKey=function(e,t,n){var a=gt.keys[e];a&&n(a)};gt.on=CR;gt.off=RR;gt.signal=wR;gt.findMatchingTag=d7;gt.findEnclosingTag=h7;function IR(r,e,t){var n=document.createElement("div");return n.appendChild(e),n}function kR(r,e){r.state.currentNotificationClose&&r.state.currentNotificationClose(),r.state.currentNotificationClose=e}function o7(r,e,t){kR(r,s);var n=IR(r,e,t&&t.bottom),a=!1,i,o=t&&typeof t.duration<"u"?t.duration:5e3;function s(){a||(a=!0,clearTimeout(i),n.remove(),DR(r,n))}return n.onclick=function(l){l.preventDefault(),s()},NR(r,n),o&&(i=setTimeout(s,o)),s}function NR(r,e){var t=r.state.dialog;r.state.dialog=e,e&&t!==e&&(t&&t.contains(document.activeElement)&&r.focus(),t&&t.parentElement?t.parentElement.replaceChild(e,t):t&&t.remove(),gt.signal(r,"dialog"))}function DR(r,e){r.state.dialog==e&&(r.state.dialog=null,gt.signal(r,"dialog"))}function s7(r,e,t,n){n||(n={}),kR(r,void 0);var a=IR(r,e,n.bottom),i=!1;NR(r,a);function o(l){if(typeof l=="string")s.value=l;else{if(i)return;i=!0,DR(r,a),r.state.dialog||r.focus(),n.onClose&&n.onClose(a)}}var s=a.getElementsByTagName("input")[0];return s&&(n.value&&(s.value=n.value,n.selectValueOnOpen!==!1&&s.select()),n.onInput&>.on(s,"input",function(l){n.onInput(l,s.value,o)}),n.onKeyUp&>.on(s,"keyup",function(l){n.onKeyUp(l,s.value,o)}),gt.on(s,"keydown",function(l){n&&n.onKeyDown&&n.onKeyDown(l,s.value,o)||(l.keyCode==13&&t(s.value),(l.keyCode==27||n.closeOnEnter!==!1&&l.keyCode==13)&&(s.blur(),gt.e_stop(l),o()))}),n.closeOnBlur!==!1&>.on(s,"blur",function(){setTimeout(function(){document.activeElement!==s&&o()})}),s.focus()),o}var l7={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function c7(r){return r&&r.bracketRegex||/[(){}[\]]/}function u7(r,e,t,n,a){for(var i=a&&a.maxScanLineLength||1e4,o=a&&a.maxScanLines||1e3,s=[],l=c7(a),c=t>0?Math.min(e.line+o,r.lastLine()+1):Math.max(r.firstLine()-1,e.line-o),u=e.line;u!=c;u+=t){var h=r.getLine(u);if(h){var p=t>0?0:h.length-1,_=t>0?h.length:-1;if(!(h.length>i))for(u==e.line&&(p=e.ch-(t<0?1:0));p!=_;p+=t){var b=h.charAt(p);if(l.test(b)){var A=l7[b];if(A&&A.charAt(1)==">"==t>0)s.push(b);else if(s.length)s.pop();else return{pos:new Su(u,p),ch:b}}}}}return u-t==(t>0?r.lastLine():r.firstLine())?!1:null}function d7(r,e){}function h7(r,e){var t,n,a=r.cm6.state,i=r.indexFromPos(e);if(i!t.eq(this.cursors[n]))){let t=this.cursorLayer.children;if(t.length!==e.length){this.cursorLayer.textContent="";for(const n of e)this.cursorLayer.appendChild(n.draw())}else e.forEach((n,a)=>n.adjust(t[a]));this.cursors=e}}destroy(){this.cursorLayer.remove()}}const g7={".cm-vimMode .cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696",color:"transparent !important"}},_7=$a.highest(Le.theme(g7));function b7(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==Jt.LTR?e.left:e.right-r.scrollDOM.clientWidth)-r.scrollDOM.scrollLeft,top:e.top-r.scrollDOM.scrollTop}}function S7(r,e,t,n){let a=t.head,i=!1,o=1,s=r.state.vim;if(s&&(!s.insertMode||r.state.overwrite)){if(i=!0,s.visualBlock&&!n)return null;t.anchor1&&(a--,c=e.state.sliceDoc(a,a+1));let u=e.coordsAtPos(a,1);if(!u)return null;let h=b7(e),p=e.domAtPos(a),_=p?p.node:e.contentDOM;for(;p&&p.node instanceof HTMLElement;)_=p.node,p={node:p.node.childNodes[p.offset],offset:0};if(!(_ instanceof HTMLElement)){if(!_.parentNode)return null;_=_.parentNode}let b=getComputedStyle(_),A=u.left;if(!c||c==` +`||c=="\r")c=" ";else if(c==" "){c=" ";var l=e.coordsAtPos(a+1,-1);l&&(A=l.left-(l.left-u.left)/parseInt(b.tabSize))}else/[\uD800-\uDBFF]/.test(c)&&a{e.state.vim&&(e.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",t=>{e.state.vim.mode=t.mode,t.subMode&&(e.state.vim.mode+=" block"),e.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus()}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():r.dispatch({effects:xR.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=t=>{Bs.handleKey(this.cm,"","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(r){var e;if((r.viewportChanged||r.docChanged)&&this.query&&this.highlight(this.query),r.docChanged&&this.cm.onChange(r),r.selectionSet&&this.cm.onSelectionChange(),r.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),r.transactions){for(let t of r.transactions)for(let n of t.effects)if(n.is(Fg))if(!((e=n.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let i=n.value.create();this.highlight(i)}}this.blockCursor.update(r)}updateClass(){const r=this.cm.state;!r.vim||r.vim.insertMode&&!r.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let r=this.cm.state.statusbar,e=this.cm.state.vim;if(!r||!e)return;let t=this.cm.state.dialog;if(t)t.parentElement!=r&&(r.textContent="",r.appendChild(t));else{r.textContent="";var n=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(n+="(C-O)"),this.statusButton.textContent=`--${n}--`,r.appendChild(this.statusButton)}this.dom.textContent=e.status,r.appendChild(this.dom)}destroy(){Bs.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(r){if(this.query=r,!r)return this.decorations=tt.none;let{view:e}=this,t=new eo;for(let n=0,a=e.visibleRanges,i=a.length;na[n+1].from-2*v7;)s=a[++n].to;r.highlight(e.state,o,s,(l,c)=>{t.add(l,c,C7)})}return this.decorations=t.finish()}handleKey(r,e){const t=gt.vimKey(r),n=this.cm;if(!t)return;let a=n.state.vim;if(!a)return;if(t==""&&!a.insertMode&&!a.visualMode&&this.query){const s=a.searchState_;s&&(n.removeOverlay(s.getOverlay()),s.setOverlay(null))}if(t===""&&!gt.isMac&&n.somethingSelected())return this.waitForCopy=!0,!0;a.status=(a.status||"")+t;let o=Bs.multiSelectHandleKey(n,t,"user");return a=n.state.vim,!o&&a.insertMode&&n.state.overwrite&&(r.key&&r.key.length==1&&!/\n/.test(r.key)?(o=!0,n.overWriteSelection(r.key)):r.key=="Backspace"&&(o=!0,gt.commands.cursorCharLeft(n))),o&&(gt.signal(this.cm,"vim-keypress",t),r.preventDefault(),r.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!o}},{eventHandlers:{copy:function(r,e){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var t=this.cm,n=t.state.vim;n&&(n.insertMode?t.setSelection(t.getCursor(),t.getCursor()):t.operation(()=>{t.curOp&&(t.curOp.isVimOp=!0),Bs.handleKey(t,"","user")}))}))},compositionstart:function(r,e){this.useNextTextInput=!0},keypress:function(r,e){this.lastKeydown=="Dead"&&this.handleKey(r,e)},keydown:function(r,e){this.lastKeydown=r.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(r,e))}},provide:()=>[Le.inputHandler.of((r,e,t,n)=>{var a,i,o=I7(r);if(!o)return!1;var s=(a=o.state)===null||a===void 0?void 0:a.vim,l=o.state.vimPlugin;return s&&!s.insertMode&&!(!((i=o.curOp)===null||i===void 0)&&i.isVimOp)?(n==="\0\0"||(n.length==1&&l.useNextTextInput&&l.handleKey({key:n,preventDefault:()=>{},stopPropagation:()=>{}}),T7(r)),!0):!1})],decorations:r=>r.decorations});function T7(r){var e=r.scrollDOM.parentElement;if(e){if(O7){r.contentDOM.textContent="\0\0",r.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var t=r.scrollDOM.nextSibling,n=window.getSelection(),a=n&&{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset};r.scrollDOM.remove(),e.insertBefore(r.scrollDOM,t);try{a&&n&&(n.setPosition(a.anchorNode,a.anchorOffset),a.focusNode&&n.extend(a.focusNode,a.focusOffset))}catch(i){console.error(i)}r.focus(),r.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}const C7=tt.mark({class:"cm-searchMatch"}),xR=dt.define(),R7=Mn.define({create:()=>!1,update(r,e){for(let t of e.effects)t.is(xR)&&(r=t.value);return r},provide:r=>_l.from(r,e=>e?w7:null)});function w7(r){let e=document.createElement("div");e.className="cm-vim-panel";let t=r.cm;return t.state.dialog&&e.appendChild(t.state.dialog),{top:!1,dom:e}}function A7(r){let e=document.createElement("div");e.className="cm-vim-panel";let t=r.cm;return t.state.statusbar=e,t.state.vimPlugin.updateStatus(),{dom:e}}function i_(r={}){return[E7,y7,_7,r.status?_l.of(A7):R7]}function I7(r){return r.cm||null}class k7{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class Yi{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let a=e,i=n.facet(PR).markerFilter;i&&(a=i(a));let o=tt.set(a.map(s=>s.from==s.to||s.from==s.to-1&&n.doc.lineAt(s.from).to==s.from?tt.widget({widget:new F7(s),diagnostic:s}).range(s.from):tt.mark({attributes:{class:"cm-lintRange cm-lintRange-"+s.severity+(s.markClass?" "+s.markClass:"")},diagnostic:s}).range(s.from,s.to)),!0);return new Yi(o,t,es(o))}}function es(r,e=null,t=0){let n=null;return r.between(t,1e9,(a,i,{spec:o})=>{if(!(e&&o.diagnostic!=e))return n=new k7(a,i,o.diagnostic),!1}),n}function N7(r,e){let t=r.startState.doc.lineAt(e.pos);return!!(r.effects.some(n=>n.is(MR))||r.changes.touchesRange(t.from,t.to))}function D7(r,e){return r.field(br,!1)?e:e.concat(dt.appendConfig.of(G7))}const MR=dt.define(),o_=dt.define(),LR=dt.define(),br=Mn.define({create(){return new Yi(tt.none,null,null)},update(r,e){if(e.docChanged){let t=r.diagnostics.map(e.changes),n=null;if(r.selected){let a=e.changes.mapPos(r.selected.from,1);n=es(t,r.selected.diagnostic,a)||es(t,null,a)}r=new Yi(t,r.panel,n)}for(let t of e.effects)t.is(MR)?r=Yi.init(t.value,r.panel,e.state):t.is(o_)?r=new Yi(r.diagnostics,t.value?Hu.open:null,r.selected):t.is(LR)&&(r=new Yi(r.diagnostics,r.panel,t.value));return r},provide:r=>[_l.from(r,e=>e.panel),Le.decorations.from(r,e=>e.diagnostics)]}),x7=tt.mark({class:"cm-lintRange cm-lintRange-active"});function M7(r,e,t){let{diagnostics:n}=r.state.field(br),a=[],i=2e8,o=0;n.between(e-(t<0?1:0),e+(t>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||t>0)&&(eYR(r,t,!1)))}const P7=r=>{let e=r.state.field(br,!1);(!e||!e.panel)&&r.dispatch({effects:D7(r.state,[o_.of(!0)])});let t=L8(r,Hu.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},y2=r=>{let e=r.state.field(br,!1);return!e||!e.panel?!1:(r.dispatch({effects:o_.of(!1)}),!0)},B7=r=>{let e=r.state.field(br,!1);if(!e)return!1;let t=r.state.selection.main,n=e.diagnostics.iter(t.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==t.from&&n.to==t.to)?!1:(r.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},Y7=[{key:"Mod-Shift-m",run:P7,preventDefault:!0},{key:"F8",run:B7}],PR=Ue.define({combine(r){return Object.assign({sources:r.map(e=>e.source)},qa(r.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}});function BR(r){let e=[];if(r)e:for(let{name:t}of r){for(let n=0;ni.toLowerCase()==a.toLowerCase())){e.push(a);continue e}}e.push("")}return e}function YR(r,e,t){var n;let a=t?BR(e.actions):[];return ga("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},ga("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(n=e.actions)===null||n===void 0?void 0:n.map((i,o)=>{let s=!1,l=p=>{if(p.preventDefault(),s)return;s=!0;let _=es(r.state.field(br).diagnostics,e);_&&i.apply(r,_.from,_.to)},{name:c}=i,u=a[o]?c.indexOf(a[o]):-1,h=u<0?c:[c.slice(0,u),ga("u",c.slice(u,u+1)),c.slice(u+1)];return ga("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${a[o]})"`}.`},h)}),e.source&&ga("div",{class:"cm-diagnosticSource"},e.source))}class F7 extends Qa{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return ga("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class T2{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=YR(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Hu{constructor(e){this.view=e,this.items=[];let t=a=>{if(a.keyCode==27)y2(this.view),this.view.focus();else if(a.keyCode==38||a.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(a.keyCode==40||a.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(a.keyCode==36)this.moveSelection(0);else if(a.keyCode==35)this.moveSelection(this.items.length-1);else if(a.keyCode==13)this.view.focus();else if(a.keyCode>=65&&a.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:i}=this.items[this.selectedIndex],o=BR(i.actions);for(let s=0;s{for(let i=0;iy2(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(br).selected;if(!e)return-1;for(let t=0;t{let c=-1,u;for(let h=n;hn&&(this.items.splice(n,c-n),a=!0)),t&&u.diagnostic==t.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),i=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),n++});n({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:s})=>{o.tops.bottom&&(this.list.scrollTop+=o.bottom-s.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),a&&this.sync()}sync(){let e=this.list.firstChild;function t(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(br),n=es(t.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:LR.of(n)})}static open(e){return new Hu(e)}}function U7(r,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(r)}')`}function Tc(r){return U7(``,'width="6" height="3"')}const $7=Le.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Tc("#d11")},".cm-lintRange-warning":{backgroundImage:Tc("orange")},".cm-lintRange-info":{backgroundImage:Tc("#999")},".cm-lintRange-hint":{backgroundImage:Tc("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),G7=[br,Le.decorations.compute([br],r=>{let{selected:e,panel:t}=r.field(br);return!e||!t||e.from==e.to?tt.none:tt.set([x7.range(e.from,e.to)])}),oT(M7,{hideOn:N7}),$7],hi={seed:{name:"seed",category:"randomness",description:"Seed the random generator",example:"seed(1234)"},delayr:{name:"delayr",category:"time",description:"Delay a function n times by t ms",example:"delayr(50,3,()=> beat(1)::log('hey!'))"},toss:{name:"toss",category:"randomness",description:"Toss a coin, true or false",example:"toss() : log('heads')"},lpadsr:{name:"lpadsr",category:"synthesis",description:"Lowpass filter ADSR envelope",example:"sound('sawtooth').lpadsr(2,0,.1,0,0).out()"},lpenv:{name:"lpenv",category:"synthesis",description:"Lowpass filter ADSR envelope amount",example:"sound('sawtooth').lpenv(2).lpd(.2).out()"},hpadsr:{name:"hpadsr",category:"synthesis",description:"Highpass filter ADSR envelope",example:"sound('sawtooth').hpadsr(2, 0, .1, 0, 0).out()"},hpenv:{name:"hpenv",category:"synthesis",description:"Highpass filter ADSR envelope amount",example:"sound('sawtooth').hpenv(2).hpd(.2).out()"},bpadsr:{name:"bpadsr",category:"synthesis",description:"Bandpass filter ADSR envelope",example:"sound('sawtooth').bpadsr(2, 0, .1, 0, 0).out()"},bpattack:{name:"bpattack",category:"synthesis",description:"Bandpass filter ADSR envelope attack time (in seconds)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpa(.2).out()"},bpdecay:{name:"bpdecay",category:"synthesis",description:"Bandpass filter ADSR envelope decay time (in seconds)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpd(.2).out()"},bpsustain:{name:"bpsustain",category:"synthesis",description:"Bandpass filter ADSR envelope sustain level (0-1)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpsustain(0.5).out()"},bprelease:{name:"bprelease",category:"synthesis",description:"Bandpass filter ADSR envelope release time (in seconds)",example:"sound('sawtooth').bpf(2000).bpenv(2).bpr(.2).out()"},bpenv:{name:"bpenv",category:"synthesis",description:"Bandpass filter ADSR envelope amount",example:"sound('sawtooth').bpenv(2).bpd(.2).out()"},adsr:{name:"adsr",category:"synthesis",description:"ADSR envelope",example:"sound('sawtooth').adsr(0, .1, 0, 0).out()"},ad:{name:"ad",category:"synthesis",description:"AD envelope times (in seconds)",example:"sound('sawtooth').ad(0, .1).out()"},attack:{name:"attack",category:"synthesis",description:"ADSR envelope attack time (in seconds)",example:"sound('sawtooth').attack(.5).out()"},decay:{name:"decay",category:"synthesis",description:"ADSR envelope decay time (in seconds)",example:"sound('sawtooth').decay(.5).out()"},sustain:{name:"sustain",category:"synthesis",description:"ADSR envelope sustain level (0-1)",example:"sound('sawtooth').sustain(.5).out()"},release:{name:"release",category:"synthesis",description:"ADSR envelope release time (in seconds)",example:"sound('sawtooth').release(.5).out()"},fmwave:{name:"fmwave",category:"synthesis",description:"FM synth modulator waveform",example:"sound('fm').fmwave('sine').out()"},fmi:{name:"fmi",category:"audio",description:"FM synth modulator index",example:"sound('fm').fmi([1,2].beat()).out()"},fmh:{name:"fmh",category:"audio",description:"FM synth modulator ratio",example:"sound('fm').fmi(2).fmh(2).out()"},fmattack:{name:"fmattack",category:"synthesis",description:"FM synth modulator ADSR envelope attack time (in seconds)",example:"sound('sine').fmi(2).fmattack(.5).out()"},fmdecay:{name:"fmdecay",category:"synthesis",description:"FM synth modulator ADSR envelope decay time (in seconds)",example:"sound('sine').fmi(2).fmdecay(.5).out()"},fmsustain:{name:"fmsustain",category:"synthesis",description:"FM synth modulator ADSR envelope sustain level (0-1)",example:"sound('sine').fmi(2).fmsustain(.5).out()"},fmrelease:{name:"fmrelease",category:"synthesis",description:"FM synth modulator ADSR envelope release time (in seconds)",example:"sound('sine').fmi(2).fmrelease(.5).out()"},repeat:{name:"repeat",category:"patterns",description:"Repeat every array elements n times",example:"[0,1,2,3].repeat(2)"},quant:{name:"quant",category:"functions",description:"Quantize a value in the given array",example:"quant(30, [0,1,2,3])"},log:{name:"log",category:"javascript",description:"Log a value in the console",example:"log('Hello, world')"},flip:{name:"flip",category:"patterns",description:"Returns true and false alternatively or next value every n beats (arrays)",example:"flip(4, 50) // 4 beats of true, 4 beats of false, 50/50."},n:{name:"n",category:"audio",description:"Sample number or synth oscillator partials count",example:"sound('dr').n([1,2].beat()).out()"},note:{name:"note",category:"patterns",description:"MIDI note number (0-127)",example:"sound('jvbass').note(50).out()"},vel:{name:"vel",category:"audio",description:"Velocity or sound volume (0-1)",example:"sound('cp').vel(.5).out()"},palindrome:{name:"palindrome",category:"patterns",description:"Returns palindrome of the current array",example:"[0,1,2,3].palindrome()"},cutoff:{name:"cutoff",category:"filter",description:"Lowpass filter cutoff frequency",example:"sound('cp').cutoff(1000).out()"},resonance:{name:"resonance",category:"filter",description:"Lowpass filter resonance",example:"sound('cp').resonance(1).out()"},hcutoff:{name:"hcutoff",category:"filter",description:"Highpass filter cutoff frequency",example:"sound('cp').hcutoff(1000).out()"},hresonance:{name:"hresonance",category:"filter",description:"Highpass filter resonance",example:"sound('cp').hresonance(1).out()"},bandf:{name:"bandf",category:"filter",description:"Bandpass filter cutoff frequency",example:"sound('cp').bandf(1000).out()"},bandq:{name:"bandq",category:"filter",description:"Bandpass filter resonance",example:"sound('cp').bandq(1).out()"},vowel:{name:"vowel",category:"filter",description:"Vowel filter type",example:"sound('cp').vowel('a').out()"},coarse:{name:"coarse",category:"synthesis",description:"Artificial sample-rate lowering",example:"beat(.5)::snd('pad').coarse($(1) % 16).clip(.5).out();"},crush:{name:"crush",category:"synthesis",description:"Bitcrushing effect. 1 is extreme, superior values are more subtle.",example:""},speed:{name:"speed",category:"sampling",description:"Sample playback speed",example:"sound('cp').speed(.5).out()"},shape:{name:"shape",category:"synthesis",description:"Waveshaping distorsion",example:"sound('cp').shape(.5).out()"},delay:{name:"delay",category:"effect",description:"Delay effect dry/wet",example:"sound('cp').delay(.5).out()"},delayfb:{name:"delayfb",category:"effect",description:"Delay effect feedback amount (0-1)",example:"sound('cp').delay(0.2).delayfb(.5).out()"},delaytime:{name:"delaytime",category:"effect",description:"Delay effect delay time (in seconds)",example:"sound('cp').delay(0.2).delaytime(.5).out()"},gain:{name:"gain",category:"audio",description:"Playback volume",example:"sound('cp').gain(.5).out()"},bar:{name:"bar",category:"patterns",description:"Returns list index for the current bar (with wrapping)",example:"[0,1,2,3].bar()"},room:{name:"room",category:"effect",description:"Reverb effect room amount (0-1 or +)",example:"sound('cp').room(.5).out()"},size:{name:"size",category:"effect",description:"Reverb effect room size",example:"sound('cp').size(.5).out()"},roomlp:{name:"roomlp",category:"effect",description:"Reverb effect room lowpass filter cutoff frequency",example:"sound('cp').room(.5).size(.5).roomlp(.5).out()"},roomfade:{name:"roomfade",category:"effect",description:"Reverb effect room fade time (in seconds)",example:"sound('cp').room(.5).size(.5).roomfade(.5).out()"},roomdim:{name:"roomdim",category:"effect",description:"Reverb lowpass frequency at -60db (in hertz)",example:"sound('cp').room(.5).size(.5).roomdim(.5).out()"},usine:{name:"usine",category:"modulation",description:"Unipolar sinusoïdal low-frequency oscillator",example:"usine(5) // 5 hz oscillation"},sine:{name:"usine",category:"modulation",description:"Sinusoïdal low-frequency oscillator",example:"usine(5) // 5 hz oscillation"},utriangle:{name:"utriangle",category:"modulation",description:"Unipolar triangular low-frequency oscillator",example:"utriangle(5) // 5 hz oscillation"},triangle:{name:"triangle",category:"modulation",description:"Triangular low-frequency oscillator",example:"triangle(5) // 5 hz oscillation"},usaw:{name:"usaw",category:"modulation",description:"Unipolar sawtooth low-frequency oscillator",example:"usaw(5) // 5 hz oscillation"},saw:{name:"saw",category:"modulation",description:"Sawtooth low-frequency oscillator",example:"saw(5) // 5 hz oscillation"},square:{name:"square",category:"modulation",description:"Square low-frequency oscillator",example:"square(5) // 5 hz oscillation"},usquare:{name:"usquare",category:"modulation",description:"Unipolar square low-frequency oscillator",example:"usquare(5) // 5 hz oscillation"},rhythm:{name:"rhythm",category:"rhythm",description:"Variant of the euclidian algorithm function",example:"rhythm(.5, 3, 8) // time, pulses, steps"},let:{name:"let",category:"javascript",description:"Variable assignation",example:"let baba = 10"},onbeat:{name:"onbeat",category:"rhythm",description:"Return true when targetted beat(s) is/are reached",example:"onbeat([1,2,3]) // true on beats 1, 2 and 3"},oncount:{name:"oncount",category:"rhythm",description:"Return true when targetted beat(s) is/are reached in the given period",example:"oncount([1,2,3], 4) // true on beats 1, 2 and 3 in a 4 beats period"},beat:{name:"beat",category:"rhythm",description:"return true every n beats.",example:"beat(1) :: log(rand(1,5))"},pulse:{name:"pulse",category:"rhythm",description:"return true every n pulses.",example:"pulse(8) :: log(rand(1,5))"},euclid:{name:"euclid",category:"rhythm",description:"Iterator-based euclidian rhythm generator",example:"euclid($(1), 3, 8) // iterator, pulses"},oneuclid:{name:"oneuclid",category:"rhythm",description:"Variant of the euclidian rhythm generator",example:"oneuclid(3, 8) // iterator, pulses"},bin:{name:"bin",category:"rhythm",description:"Convert a decimal number to binary rhythm generator",example:"bin($(1), 9223) // iterator, number to convert"},binrhythm:{name:"binrhythm",category:"rhythm",description:"Binary rhythm generator (time, number)",example:"binrhythm(.5, 9223) :: sound('cp').out()"},prob:{name:"prob",category:"randomness",description:"Return true with a probability of n %",example:"prob(50) // 50% probability"},rand:{name:"rand",category:"randomness",description:"random floating point number between x and y",example:"rand(1, 10) // between 1 and 10"},irand:{name:"irand",category:"randomness",description:"random integer number between x and y",example:"irand(1, 10) // between 1 and 10"},pick:{name:"pick",category:"randomness",description:"Pick a value in the given array",example:"[1,4,10].pick()"},odds:{name:"odds",category:"randomness",description:"Return true with a probability of n %",example:"odds(1/2) // 50% probability"},never:{name:"never",category:"randomness",description:"Return false",example:"never() // false"},almostNever:{name:"almostNever",category:"randomness",description:"Return true with a probability of 2.5%",example:"almostNever() // 2.5% chance"},rarely:{name:"rarely",category:"randomness",description:"Return true with a probability of 10%",example:"rarely() // 10% chance"},scarcely:{name:"scarcely",category:"randomness",description:"Return true with a probability of 25%",example:"scarcely() // 25% chance"},sometimes:{name:"sometimes",category:"randomness",description:"Return true with a probability of 50%",example:"sometimes() // 50% chance"},often:{name:"often",category:"randomness",description:"Return true with a probability of 75%",example:"often() // 75% chance"},frequently:{name:"frequently",category:"randomness",description:"Return true with a probability of 90%",example:"frequently() // chance"},almostAlways:{name:"almostAlways",category:"randomness",description:"Return true with a probability of 98.5%",example:"almostAlways() // 98.5% chance"},always:{name:"always",category:"randomness",description:"Return true",example:"always() // true"},sound:{name:"sound",category:"audio",description:"Base function to play audio (samples / synths)",example:"sound('bd').out()"},snd:{name:"snd",category:"audio",description:"Base function to play audio (samples / synths). Alias for sound.",example:"sound('bd').out()"},tempo:{name:"tempo",category:"time",description:"Get or set the current beats per minute.",example:"tempo(135) // set the bpm to 135"},out:{name:"out",category:"audio",description:"Connect the sound() chain to the output",example:"sound('clap').out()"},script:{name:"script",category:"core",description:"Execute one or more local scripts",example:"beat(1) :: script(1)"},clear_script:{name:"clear_script",category:"core",description:"Deletes the given script",example:"clear_script(2)"},copy_script:{name:"copy_script",category:"core",description:"Copy the script from to the script to",example:"copy_script(1, 2)"},warp:{name:"warp",category:"core",description:"jumps to the n tick of the clock.",example:"warp(1) :: log('back to the big bang!')"},beat_warp:{name:"beat_warp",category:"core",description:"jumps to the n beat of the clock.",example:"beat_warp(1) :: log('back to the first beat!')"},flipbar:{name:"flipbar",category:"time",description:"works just like flip at the level of bars instead of beats",example:"flipbar(2)::beat(1)::snd('kick').out()"},onbar:{name:"onbar",category:"time",description:"return true when targetted bar(s) is/are reached in period",example:"onbar(4, 4)::beat(.5)::snd('hh').out();"},begin:{name:"begin",category:"sampling",description:"Audio playback start time (0-1)",example:"sound('cp').begin(.5).out()"},end:{name:"end",category:"sampling",description:"Audio playback end time (0-1)",example:"sound('cp').end(.5).out()"},mouseX:{name:"mouseX",category:"mouse",description:"Mouse X position (big float)",example:"log(mouseX())"},mouseY:{name:"mouseY",category:"mouse",description:"Mouse Y position (big float)",example:"log(mouseY())"},noteX:{name:"noteX",category:"mouse",description:"Mouse X position (as MIDI note)",example:"log(noteX())"},noteY:{name:"noteY",category:"mouse",description:"Mouse Y position (as MIDI note)",example:"log(noteY())"},cut:{name:"cut",category:"sampling",description:"Cutting sample when other sample met on same orbit (0 or 1)",example:"sound('cp').cut(1).out()"},pan:{name:"pan",category:"audio",description:"Stereo panning (-1 to 1)",example:"sound('cp').pan(-1).out()"},zrand:{name:"zrand",category:"synthesis",description:"ZzFX randomisation factor",example:"sound('zzfx').zrand(.5).out()"},curve:{name:"curve",category:"synthesis",description:"ZzFX waveshaping (0-3)",example:"sound('zzfx').curve(1).out()"},slide:{name:"slide",category:"synthesis",description:"ZzFX pitch slide",example:"sound('zzfx').slide(1).out()"},deltaSlide:{name:"deltaSlide",category:"synthesis",description:"ZzFX pitch delta slide",example:"sound('zzfx').deltaSlide(1).out()"},pitchJump:{name:"pitchJump",category:"synthesis",description:"ZzFX pitch jump",example:"sound('zzfx').pitchJump(1).out()"},pitchJumpTime:{name:"pitchJumpTime",category:"synthesis",description:"ZzFX pitch jump time (time before jump)",example:"sound('zzfx').pitchJumpTime(1).out()"},zcrush:{name:"zcrush",category:"synthesis",description:"ZzFX bitcrushing",example:"sound('zzfx').zcrush(1).out()"},zdelay:{name:"zdelay",category:"synthesis",description:"ZzFX delay",example:"sound('zzfx').zdelay(1).out()"},tremolo:{name:"tremolo",category:"synthesis",description:"ZzFX weird tremolo effect",example:"sound('zzfx').tremolo(1).out()"},speak:{name:"speak",category:"synthesis",description:"Text to speech synthesizer",example:"beat(2) :: speak('Topos!','fr',irand(0,5))"},midi_outputs:{name:"midi_outputs",category:"midi",description:"List of available MIDI outputs",example:"midi_outputs()"},midi_output:{name:"midi_output",category:"midi",description:"Set the current MIDI output",example:"midi_output('IAC Driver Bus 1')"},midi:{name:"midi",category:"midi",description:"Send a MIDI message (note, velocity, channel)",example:"midi(144, 60, 1)"},control_change:{name:"control_change",category:"midi",description:"Send a MIDI control change message",example:"control_change({control: 1, value: 60, channel: 10})"},cc:{name:"cc",category:"midi",description:"Send a MIDI control change message",example:"cc({control: 1, value: 60, channel: 10})"},program_change:{name:"program_change",category:"midi",description:"Send a MIDI program change message",example:"program_change(1, 10)"},sysex:{name:"sysex",category:"midi",description:"Send a MIDI sysex message",example:"sysex(0xF0, 0x7D, 0x00, 0x06, 0x01, 0xF7)"},midi_clock:{name:"midi_clock",category:"midi",description:"Send a MIDI clock message",example:"midi_clock()"},degrade:{name:"degrade",category:"patterns",description:"Removes n% of the given array randomly",example:"[0,1,2,3].degrade(20)"},loop:{name:"loop",category:"patterns",description:"Loop over the given array using an iterator",example:"[0,1,2,3].loop($(1))"},$:{name:"$",category:"patterns",description:"Iterator",example:"[0,1,2,3].loop($(1))"},counter:{name:"counter",category:"patterns",description:"Counter/iterator",example:"counter('my_counter_, 20, 1)"},drunk:{name:"drunk",category:"patterns",description:"Returns the next value in a drunk walk",example:"drunk()"},drunk_max:{name:"drunk_max",category:"patterns",description:"Sets the maximum value of the drunk walk",example:"drunk_max(10)"},drunk_min:{name:"drunk_min",category:"patterns",description:"Sets the minimum value of the drunk walk",example:"drunk_min(0)"},drunk_wrap:{name:"drunk_wrap",category:"patterns",description:"Wraps (or not) of the drunk walk (boolean)",example:"drunk_wrap(true)"},global:{name:"global",category:"variable",description:"Global Variable setter or getter",example:"global.my_var = 10; // Sets global variable 'my_var' to 10"},g:{name:"g",category:"variable",description:"Global Variable setter or getter",example:"g.my_var = 10; // Sets global variable 'my_var' to 10"},delete_variable:{name:"delete_variable",category:"variable",description:"Deletes the given global variable",example:"delete_variable('my_var')"},clear_variables:{name:"clear_variables",category:"variable",description:"Clears all global variables",example:"clear_variables()"},shuffle:{name:"shuffle",category:"patterns",description:"Shuffle the given array",example:"[0,1,2,3].shuffle()"},rotate:{name:"rotate",category:"patterns",description:"Rotate the given array to the right for n indexes",example:"[0,1,2,3].rotate(2)"},unique:{name:"unique",category:"patterns",description:"Remove duplicates from the given array",example:"[0,1,2,3,3,3].unique()"},add:{name:"add",category:"patterns",description:"Add a value to each element of the given array",example:"[0,1,2,3].add(1)"},sub:{name:"sub",category:"patterns",description:"Substract a value to each element of the given array",example:"[0,1,2,3].sub(1)"},mul:{name:"mul",category:"patterns",description:"Multiply each element of the given array by a value",example:"[0,1,2,3].mul(2)"},div:{name:"div",category:"patterns",description:"Divide each element of the given array by a value",example:"[0,1,2,3].div(2)"},scale:{name:"scale",category:"patterns",description:"Scale setter used by Ziffers",example:"z0('0 1 2 3').scale('major').out()"},zzfx:{name:"zzfx",category:"synthesis",description:"ZzFX sound generator",example:"sound('zzfx').zzfx(...).out()"},vib:{name:"vib",category:"synthesis",description:"Vibrato frequency",example:"sound('sine').vib(1).vibmod(0.5).out()"},vibmod:{name:"vibmod",category:"synthesis",description:"Vibrato modulation amount",example:"sound('sine').vib(1).vibmod(4).out()"},fill:{name:"fill",category:"performance",description:"Detects if the Alt key is pressed",example:"fill() ? 1 : 0.5"},ratio:{name:"ratio",category:"synthesis",description:"Compressor ratio",example:"sound('sine').comp(1).ratio(4).out()"},knee:{name:"knee",category:"synthesis",description:"Compressor knee (dB)",example:"sound('sine').comp(-4).knee(4).out()"},compAttack:{name:"compAttack",category:"synthesis",description:"Compressor attack time (in seconds)",example:"sound('sine').comp(-4).compAttack(0.1).out()"},compRelease:{name:"compRelease",category:"synthesis",description:"Compressor release time (in seconds)",example:"sound('sine').comp(-4).compRelease(0.1).out()"},noise:{name:"noise",category:"synthesis",description:"Noise amount in the signal (0-1)",example:"sound('triangle').noise(.25).out()"}},FR=oT((r,e,t)=>{let{from:n,to:a,text:i}=r.state.doc.lineAt(e),o=e,s=e;for(;o>n&&/\w/.test(i[o-n-1]);)o--;for(;s0?null:{pos:o,end:s,above:!0,create(l){if(!(i.slice(o-n,s-n)in hi))return{dom:document.createElement("div")};let c=hi[i.slice(o-n,s-n)]||{},u=`

${c.name} [${c.category}]

${c.description}

${c.example}
- `,h=document.createElement("div");return h.classList.add("px-4","py-2","bg-background","rounded-lg"),h.innerHTML=u,{dom:h}}}}),G7=r=>{let e=r.matchBefore(/\w*/);if(e)return e.from==e.to&&!r.explicit?null:{from:e.from,options:Object.keys(hi).map(t=>({label:t,type:hi[t].category,info:()=>{let n=document.createElement("div");return n.innerHTML=` + `,h=document.createElement("div");return h.classList.add("px-4","py-2","bg-background","rounded-lg"),h.innerHTML=u,{dom:h}}}}),q7=r=>{let e=r.matchBefore(/\w*/);if(e)return e.from==e.to&&!r.explicit?null:{from:e.from,options:Object.keys(hi).map(t=>({label:t,type:hi[t].category,info:()=>{let n=document.createElement("div");return n.innerHTML=`

${hi[t].name} [${hi[t].category}]

${hi[t].description}

${hi[t].example}
- `,n.classList.add("px-4","py-2","rounded-lg","w-92"),n}}))}},q7=r=>{let e=Du.get();delete e._base;let t=r.matchBefore(/sound\(/);return t?{from:t.from+6,options:Object.keys(e).map(a=>({label:a,type:e[a].data.type,apply:`"${a}"`}))}:null},FR=r=>{r.black;const e=r.red,t=r.green,n=r.yellow,a=r.blue,i=r.magenta,o=r.cyan,s=r.white;r.brightblack,r.brightred;const l=r.brightgreen;r.brightyellow,r.brightblue,r.brightmagenta,r.brightcyan;const c=r.brightwhite,u=r.background,h=r.selection_foreground,p=r.cursor,_=r.foreground,b=r.selection_background,A=Le.theme({"&":{color:u,backgroundColor:"transparent",fontSize:"24px",fontFamily:"IBM Plex Mono"},".cm-content":{caretColor:p,fontFamily:"IBM Plex Mono"},".cm-cursor, .cm-dropCursor":{borderLeftColor:p},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:c,border:`1px solid ${c}`},".cm-panels":{backgroundColor:b,color:e},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-search.cm-panel":{backgroundColor:"transparent"},".cm-searchMatch":{outline:`1px solid ${i}`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:e},".cm-activeLine":{backgroundColor:`rgba(${parseInt(b.slice(1,3),16)}, ${parseInt(b.slice(3,5),16)}, ${parseInt(b.slice(5,7),16)}, 0.25)`},".cm-selectionMatch":{backgroundColor:`rgba(${parseInt(b.slice(1,3),16)}, ${parseInt(b.slice(3,5),16)}, ${parseInt(b.slice(5,7),16)}, 0.25)`,outline:`1px solid ${c}`},"&.cm-focused .cm-matchingBracket":{color:`rgba(${parseInt(b.slice(1,3),16)}, ${parseInt(b.slice(3,5),16)}, ${parseInt(b.slice(5,7),16)}, 0.25)`},"&.cm-focused .cm-nonmatchingBracket":{color:n},".cm-gutters":{backgroundColor:"transparent",color:_},".cm-activeLineGutter":{backgroundColor:b,color:h},".cm-foldPlaceholder":{border:"none",color:`${c}`},".cm-tooltip":{border:"none",backgroundColor:u},".cm-tooltip .cm-tooltip-arrow:before":{},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:u,borderBottomColor:u},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:u,color:c}}},{dark:!0});let I=ss.define([{tag:Q.paren,color:c},{tag:[Q.propertyName,Q.punctuation,Q.variableName],color:c},{tag:Q.keyword,color:n},{tag:[Q.name,Q.deleted,Q.character,Q.macroName],color:e},{tag:[Q.function(Q.variableName)],color:a},{tag:[Q.labelName],color:c},{tag:[Q.color,Q.constant(Q.name),Q.standard(Q.name)],color:o},{tag:[Q.definition(Q.name),Q.separator],color:c},{tag:[Q.brace],color:s},{tag:[Q.annotation],color:a},{tag:[Q.number,Q.changed,Q.annotation,Q.modifier,Q.self,Q.namespace],color:n},{tag:[Q.typeName,Q.className],color:i},{tag:[Q.operator,Q.operatorKeyword],color:a},{tag:[Q.tagName],color:a},{tag:[Q.squareBracket],color:a},{tag:[Q.angleBracket],color:a},{tag:[Q.attributeName],color:e},{tag:[Q.regexp],color:l},{tag:[Q.quote],color:t},{tag:[Q.string],color:t},{tag:Q.link,color:t,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[Q.url,Q.escape,Q.special(Q.string)],color:t},{tag:[Q.meta],color:c},{tag:[Q.comment],color:c,fontStyle:"italic"},{tag:Q.monospace,color:c},{tag:Q.strong,fontWeight:"bold",color:s},{tag:Q.emphasis,fontStyle:"italic",color:s},{tag:Q.strikethrough,textDecoration:"line-through"},{tag:Q.heading,fontWeight:"bold",color:s},{tag:Q.heading1,fontWeight:"bold",color:s},{tag:[Q.heading2,Q.heading3,Q.heading4],fontWeight:"bold",color:n},{tag:[Q.heading5,Q.heading6],color:e},{tag:[Q.atom,Q.bool,Q.special(Q.variableName)],color:t},{tag:[Q.processingInstruction,Q.inserted],color:t},{tag:[Q.contentSeparator],color:t},{tag:[Q.content],color:c},{tag:Q.invalid,color:e,borderBottom:`1px dotted ${e}`},{tag:Q.null,color:c}]);return[A,x0(I)]},Q7=Le.theme({".cm-line span":{position:"relative"},".cm-line span:hover::after":{position:"absolute",bottom:"100%",left:0,background:"black",color:"white",border:"solid 2px",borderRadius:"5px",content:"var(--tags)",width:"max-content",padding:"1px 4px",zIndex:10,pointerEvents:"none"}}),H7=ss.define(Object.entries(Q).map(([r,e])=>({tag:e,"--tags":`"tag.${r}"`}))),V7=[Q7,x0(H7)],z7=r=>{r.view.dispatch({effects:r.themeCompartment.reconfigure(V7)})},UR=ea.data.of({autocomplete:G7}),W7=ea.data.of({autocomplete:q7}),X7=(()=>[q8(),b8(),V9(),s8(),h8(),Et.allowMultipleSelections.of(!0),n4(),x0(b4,{fallback:!0}),C4(),dL(),EL(),T8(),H6(),no.of([...pL,...$6,...t6,...B7])])(),K7=r=>{r.vimModeCompartment=new wr,r.hoveringCompartment=new wr,r.themeCompartment=new wr,r.completionsCompartment=new wr,r.withLineNumbers=new wr,r.chosenLanguage=new wr,r.fontSize=new wr;const e=r.settings.vimMode?i_():[],t=r.settings.line_numbers?cT():[],n=Le.theme({"&":{fontSize:`${r.settings.font_size}px`},$content:{fontFamily:`${r.settings.font}`,fontSize:`${r.settings.font_size}px`},".cm-gutters":{fontSize:`${r.settings.font_size}px`}});r.editorExtensions=[r.vimModeCompartment.of(e),r.withLineNumbers.of(t),r.fontSize.of(n),r.hoveringCompartment.of(r.settings.tips?YR:[]),r.completionsCompartment.of(r.settings.completions?[UR,W7]:[]),X7,r.themeCompartment.of(FR(r.getColorScheme("Tomorrow Night Burns"))),r.chosenLanguage.of(U0())],r.dynamicPlugins=new wr,r.state=Et.create({extensions:[...r.editorExtensions,Le.lineWrapping,r.dynamicPlugins.of(r.userPlugins),$a.highest(no.of([{key:"Ctrl-Enter",run:()=>!0}])),no.of([G6])],doc:r.universes[r.selected_universe].global.candidate}),r.view=new Le({parent:document.getElementById("editor"),state:r.state}),r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:`${r.settings.font_size}px`},$content:{fontFamily:`${r.settings.font}`,fontSize:`${r.settings.font_size}px`},".cm-gutters":{fontSize:`${r.settings.font_size}px`}}))})};var Dn=Uint8Array,Sr=Uint16Array,s_=Int32Array,Vu=new Dn([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),zu=new Dn([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),$g=new Dn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),$R=function(r,e){for(var t=new Sr(31),n=0;n<31;++n)t[n]=e+=1<>1|(Kt&21845)<<1;ai=(ai&52428)>>2|(ai&13107)<<2,ai=(ai&61680)>>4|(ai&3855)<<4,qg[Kt]=((ai&65280)>>8|(ai&255)<<8)>>1}var Oa=function(r,e,t){for(var n=r.length,a=0,i=new Sr(e);a>l]=c}else for(s=new Sr(n),a=0;a>15-r[a]);return s},Ti=new Dn(288);for(var Kt=0;Kt<144;++Kt)Ti[Kt]=8;for(var Kt=144;Kt<256;++Kt)Ti[Kt]=9;for(var Kt=256;Kt<280;++Kt)Ti[Kt]=7;for(var Kt=280;Kt<288;++Kt)Ti[Kt]=8;var Al=new Dn(32);for(var Kt=0;Kt<32;++Kt)Al[Kt]=5;var j7=Oa(Ti,9,0),J7=Oa(Ti,9,1),eB=Oa(Al,5,0),tB=Oa(Al,5,1),th=function(r){for(var e=r[0],t=1;te&&(e=r[t]);return e},Qr=function(r,e,t){var n=e/8|0;return(r[n]|r[n+1]<<8)>>(e&7)&t},nh=function(r,e){var t=e/8|0;return(r[t]|r[t+1]<<8|r[t+2]<<16)>>(e&7)},l_=function(r){return(r+7)/8|0},c_=function(r,e,t){(e==null||e<0)&&(e=0),(t==null||t>r.length)&&(t=r.length);var n=new Dn(t-e);return n.set(r.subarray(e,t)),n},nB=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],tr=function(r,e,t){var n=new Error(e||nB[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,tr),!t)throw n;return n},u_=function(r,e,t,n){var a=r.length,i=n?n.length:0;if(!a||e.f&&!e.l)return t||new Dn(0);var o=!t||e.i!=2,s=e.i;t||(t=new Dn(a*3));var l=function(Ve){var nt=t.length;if(Ve>nt){var et=new Dn(Math.max(nt*2,Ve));et.set(t),t=et}},c=e.f||0,u=e.p||0,h=e.b||0,p=e.l,_=e.d,b=e.m,A=e.n,I=a*8;do{if(!p){c=Qr(r,u,1);var M=Qr(r,u+1,3);if(u+=3,M)if(M==1)p=J7,_=tB,b=9,A=5;else if(M==2){var O=Qr(r,u,31)+257,S=Qr(r,u+10,15)+4,k=O+Qr(r,u+5,31)+1;u+=14;for(var L=new Dn(k),F=new Dn(19),Y=0;Y>4;if(U<16)L[Y++]=U;else{var ae=0,D=0;for(U==16?(D=3+Qr(r,u,3),u+=2,ae=L[Y-1]):U==17?(D=3+Qr(r,u,7),u+=3):U==18&&(D=11+Qr(r,u,127),u+=7);D--;)L[Y++]=ae}}var P=L.subarray(0,O),H=L.subarray(O);b=th(P),A=th(H),p=Oa(P,b,1),_=Oa(H,A,1)}else tr(1);else{var U=l_(u)+4,V=r[U-4]|r[U-3]<<8,m=U+V;if(m>a){s&&tr(0);break}o&&l(h+V),t.set(r.subarray(U,m),h),e.b=h+=V,e.p=u=m*8,e.f=c;continue}if(u>I){s&&tr(0);break}}o&&l(h+131072);for(var z=(1<>4;if(u+=ae&15,u>I){s&&tr(0);break}if(ae||tr(2),_e<256)t[h++]=_e;else if(_e==256){oe=u,p=null;break}else{var ye=_e-254;if(_e>264){var Y=_e-257,we=Vu[Y];ye=Qr(r,u,(1<>4;Ee||tr(3),u+=Ee&15;var H=Z7[Ce];if(Ce>3){var we=zu[Ce];H+=nh(r,u)&(1<I){s&&tr(0);break}o&&l(h+131072);var he=h+ye;if(h>8},Fs=function(r,e,t){t<<=e&7;var n=e/8|0;r[n]|=t,r[n+1]|=t>>8,r[n+2]|=t>>16},rh=function(r,e){for(var t=[],n=0;np&&(p=i[n].s);var _=new Sr(p+1),b=Qg(t[u-1],_,0);if(b>e){var n=0,A=0,I=b-e,M=1<e)A+=M-(1<>=I;A>0;){var V=i[n].s;_[V]=0&&A;--n){var m=i[n].s;_[m]==e&&(--_[m],++A)}b=e}return{t:new Dn(_),l:b}},Qg=function(r,e,t){return r.s==-1?Math.max(Qg(r.l,e,t+1),Qg(r.r,e,t+1)):e[r.s]=t},R2=function(r){for(var e=r.length;e&&!r[--e];);for(var t=new Sr(++e),n=0,a=r[0],i=1,o=function(l){t[n++]=l},s=1;s<=e;++s)if(r[s]==a&&s!=e)++i;else{if(!a&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(a),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(a);i=1,a=r[s]}return{c:t.subarray(0,n),n:e}},Us=function(r,e){for(var t=0,n=0;n>8,r[a+2]=r[a]^255,r[a+3]=r[a+1]^255;for(var i=0;i4&&!Y[$g[te-1]];--te);var se=c+5<<3,ie=Us(a,Ti)+Us(i,Al)+o,ae=Us(a,p)+Us(i,A)+o+14+3*te+Us(k,Y)+2*k[16]+3*k[17]+7*k[18];if(l>=0&&se<=ie&&se<=ae)return HR(e,u,r.subarray(l,l+c));var D,P,H,z;if(Da(e,u,1+(ae15&&(Da(e,u,ye[L]>>5&127),u+=ye[L]>>12)}}else D=j7,P=Ti,H=eB,z=Al;for(var L=0;L255){var we=Ee>>18&31;Fs(e,u,D[we+257]),u+=P[we+257],we>7&&(Da(e,u,Ee>>23&31),u+=Vu[we]);var Ce=Ee&31;Fs(e,u,H[Ce]),u+=z[Ce],Ce>3&&(Fs(e,u,Ee>>5&8191),u+=zu[Ce])}else Fs(e,u,D[Ee]),u+=P[Ee]}return Fs(e,u,D[256]),u+P[256]},rB=new s_([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),VR=new Dn(0),aB=function(r,e,t,n,a,i){var o=i.z||r.length,s=new Dn(n+o+5*(1+Math.ceil(o/7e3))+a),l=s.subarray(n,s.length-a),c=i.l,u=(i.r||0)&7;if(e){u&&(l[0]=i.r>>3);for(var h=rB[e-1],p=h>>13,_=h&8191,b=(1<7e3||Y>24576)&&(D>423||!c)){u=w2(r,l,0,m,O,S,L,Y,te,F-te,u),Y=k=L=0,te=F;for(var P=0;P<286;++P)O[P]=0;for(var P=0;P<30;++P)S[P]=0}var H=2,z=0,ne=_,oe=ie-ae&32767;if(D>2&&se==V(F-oe))for(var _e=Math.min(p,D)-1,ye=Math.min(32767,F),we=Math.min(258,D);oe<=ye&&--ne&&ie!=ae;){if(r[F+H]==r[F+H-oe]){for(var Ee=0;EeH){if(H=Ee,z=oe,Ee>_e)break;for(var Ce=Math.min(oe,Ee-2),he=0,P=0;Phe&&(he=Ve,ae=xe)}}}ie=ae,ae=A[ie],oe+=ie-ae&32767}if(z){m[Y++]=268435456|Gg[H]<<18|C2[z];var nt=Gg[H]&31,et=C2[z]&31;L+=Vu[nt]+zu[et],++O[257+nt],++S[et],q=F+H,++k}else m[Y++]=r[F],++O[r[F]]}}for(F=Math.max(F,q);F=o&&(l[u/8|0]=c,yt=o),u=HR(l,u+1,r.subarray(F,yt))}i.i=o}return c_(s,0,n+l_(u)+a)},iB=function(){for(var r=new Int32Array(256),e=0;e<256;++e){for(var t=e,n=9;--n;)t=(t&1&&-306674912)^t>>>1;r[e]=t}return r}(),oB=function(){var r=-1;return{p:function(e){for(var t=r,n=0;n>>8;r=t},d:function(){return~r}}},sB=function(r,e,t,n,a){if(!a&&(a={l:1},e.dictionary)){var i=e.dictionary.subarray(-32768),o=new Dn(i.length+r.length);o.set(i),o.set(r,i.length),r=o,a.w=i.length}return aB(r,e.level==null?6:e.level,e.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(r.length)))*1.5):12+e.mem,t,n,a)},Hg=function(r,e,t){for(;t;++e)r[e]=t,t>>>=8},lB=function(r,e){var t=e.filename;if(r[0]=31,r[1]=139,r[2]=8,r[8]=e.level<2?4:e.level==9?2:0,r[9]=3,e.mtime!=0&&Hg(r,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),t){r[3]=8;for(var n=0;n<=t.length;++n)r[n+10]=t.charCodeAt(n)}},cB=function(r){(r[0]!=31||r[1]!=139||r[2]!=8)&&tr(6,"invalid gzip data");var e=r[3],t=10;e&4&&(t+=(r[10]|r[11]<<8)+2);for(var n=(e>>3&1)+(e>>4&1);n>0;n-=!r[t++]);return t+(e&2)},uB=function(r){var e=r.length;return(r[e-4]|r[e-3]<<8|r[e-2]<<16|r[e-1]<<24)>>>0},dB=function(r){return 10+(r.filename?r.filename.length+1:0)},hB=function(r,e){return((r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31)&&tr(6,"invalid zlib data"),(r[1]>>5&1)==+!e&&tr(6,"invalid zlib data: "+(r[1]&32?"need":"unexpected")+" dictionary"),(r[1]>>3&4)+2};function fB(r,e){return u_(r,{i:2},e&&e.out,e&&e.dictionary)}function mB(r,e){e||(e={});var t=oB(),n=r.length;t.p(r);var a=sB(r,e,dB(e),8),i=a.length;return lB(a,e),Hg(a,i-8,t.d()),Hg(a,i-4,n),a}function pB(r,e){var t=cB(r);return t+8>r.length&&tr(6,"invalid gzip data"),u_(r.subarray(t,-8),{i:2},e&&e.out||new Dn(uB(r)),e&&e.dictionary)}function gB(r,e){return u_(r.subarray(hB(r,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}function _B(r,e){return r[0]==31&&r[1]==139&&r[2]==8?pB(r,e):(r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31?fB(r,e):gB(r,e)}var Vg=typeof TextDecoder<"u"&&new TextDecoder,bB=0;try{Vg.decode(VR,{stream:!0}),bB=1}catch{}var SB=function(r){for(var e="",t=0;;){var n=r[t++],a=(n>127)+(n>223)+(n>239);if(t+a>r.length)return{s:e,r:c_(r,t-1)};a?a==3?(n=((n&15)<<18|(r[t++]&63)<<12|(r[t++]&63)<<6|r[t++]&63)-65536,e+=String.fromCharCode(55296|n>>10,56320|n&1023)):a&1?e+=String.fromCharCode((n&31)<<6|r[t++]&63):e+=String.fromCharCode((n&15)<<12|(r[t++]&63)<<6|r[t++]&63):e+=String.fromCharCode(n)}};function OB(r,e){if(e){for(var t="",n=0;n{let e=Du.get();delete e._base;let t=r.matchBefore(/sound\(/);return t?{from:t.from+6,options:Object.keys(e).map(a=>({label:a,type:e[a].data.type,apply:`"${a}"`}))}:null},UR=r=>{r.black;const e=r.red,t=r.green,n=r.yellow,a=r.blue,i=r.magenta,o=r.cyan,s=r.white;r.brightblack,r.brightred;const l=r.brightgreen;r.brightyellow,r.brightblue,r.brightmagenta,r.brightcyan;const c=r.brightwhite,u=r.background,h=r.selection_foreground,p=r.cursor,_=r.foreground,b=r.selection_background,A=Le.theme({"&":{color:u,backgroundColor:"transparent",fontSize:"24px",fontFamily:"IBM Plex Mono"},".cm-content":{caretColor:p,fontFamily:"IBM Plex Mono"},".cm-cursor, .cm-dropCursor":{borderLeftColor:p},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:c,border:`1px solid ${c}`},".cm-panels":{backgroundColor:b,color:e},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-search.cm-panel":{backgroundColor:"transparent"},".cm-searchMatch":{outline:`1px solid ${i}`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:e},".cm-activeLine":{backgroundColor:`rgba(${parseInt(b.slice(1,3),16)}, ${parseInt(b.slice(3,5),16)}, ${parseInt(b.slice(5,7),16)}, 0.25)`},".cm-selectionMatch":{backgroundColor:`rgba(${parseInt(b.slice(1,3),16)}, ${parseInt(b.slice(3,5),16)}, ${parseInt(b.slice(5,7),16)}, 0.25)`,outline:`1px solid ${c}`},"&.cm-focused .cm-matchingBracket":{color:`rgba(${parseInt(b.slice(1,3),16)}, ${parseInt(b.slice(3,5),16)}, ${parseInt(b.slice(5,7),16)}, 0.25)`},"&.cm-focused .cm-nonmatchingBracket":{color:n},".cm-gutters":{backgroundColor:"transparent",color:_},".cm-activeLineGutter":{backgroundColor:b,color:h},".cm-foldPlaceholder":{border:"none",color:`${c}`},".cm-tooltip":{border:"none",backgroundColor:u},".cm-tooltip .cm-tooltip-arrow:before":{},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:u,borderBottomColor:u},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:u,color:c}}},{dark:!0});let I=os.define([{tag:Q.paren,color:c},{tag:[Q.propertyName,Q.punctuation,Q.variableName],color:c},{tag:Q.keyword,color:n},{tag:[Q.name,Q.deleted,Q.character,Q.macroName],color:e},{tag:[Q.function(Q.variableName)],color:a},{tag:[Q.labelName],color:c},{tag:[Q.color,Q.constant(Q.name),Q.standard(Q.name)],color:o},{tag:[Q.definition(Q.name),Q.separator],color:c},{tag:[Q.brace],color:s},{tag:[Q.annotation],color:a},{tag:[Q.number,Q.changed,Q.annotation,Q.modifier,Q.self,Q.namespace],color:n},{tag:[Q.typeName,Q.className],color:i},{tag:[Q.operator,Q.operatorKeyword],color:a},{tag:[Q.tagName],color:a},{tag:[Q.squareBracket],color:a},{tag:[Q.angleBracket],color:a},{tag:[Q.attributeName],color:e},{tag:[Q.regexp],color:l},{tag:[Q.quote],color:t},{tag:[Q.string],color:t},{tag:Q.link,color:t,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[Q.url,Q.escape,Q.special(Q.string)],color:t},{tag:[Q.meta],color:c},{tag:[Q.comment],color:c,fontStyle:"italic"},{tag:Q.monospace,color:c},{tag:Q.strong,fontWeight:"bold",color:s},{tag:Q.emphasis,fontStyle:"italic",color:s},{tag:Q.strikethrough,textDecoration:"line-through"},{tag:Q.heading,fontWeight:"bold",color:s},{tag:Q.heading1,fontWeight:"bold",color:s},{tag:[Q.heading2,Q.heading3,Q.heading4],fontWeight:"bold",color:n},{tag:[Q.heading5,Q.heading6],color:e},{tag:[Q.atom,Q.bool,Q.special(Q.variableName)],color:t},{tag:[Q.processingInstruction,Q.inserted],color:t},{tag:[Q.contentSeparator],color:t},{tag:[Q.content],color:c},{tag:Q.invalid,color:e,borderBottom:`1px dotted ${e}`},{tag:Q.null,color:c}]);return[A,x0(I)]},H7=Le.theme({".cm-line span":{position:"relative"},".cm-line span:hover::after":{position:"absolute",bottom:"100%",left:0,background:"black",color:"white",border:"solid 2px",borderRadius:"5px",content:"var(--tags)",width:"max-content",padding:"1px 4px",zIndex:10,pointerEvents:"none"}}),V7=os.define(Object.entries(Q).map(([r,e])=>({tag:e,"--tags":`"tag.${r}"`}))),z7=[H7,x0(V7)],W7=r=>{r.view.dispatch({effects:r.themeCompartment.reconfigure(z7)})},$R=ea.data.of({autocomplete:q7}),X7=ea.data.of({autocomplete:Q7}),K7=(()=>[Q8(),S8(),z9(),l8(),f8(),Et.allowMultipleSelections.of(!0),r4(),x0(S4,{fallback:!0}),R4(),hL(),yL(),C8(),V6(),no.of([...gL,...G6,...n6,...Y7])])(),Z7=r=>{r.vimModeCompartment=new wr,r.hoveringCompartment=new wr,r.themeCompartment=new wr,r.completionsCompartment=new wr,r.withLineNumbers=new wr,r.chosenLanguage=new wr,r.fontSize=new wr;const e=r.settings.vimMode?i_():[],t=r.settings.line_numbers?uT():[],n=Le.theme({"&":{fontSize:`${r.settings.font_size}px`},$content:{fontFamily:`${r.settings.font}`,fontSize:`${r.settings.font_size}px`},".cm-gutters":{fontSize:`${r.settings.font_size}px`}});r.editorExtensions=[r.vimModeCompartment.of(e),r.withLineNumbers.of(t),r.fontSize.of(n),r.hoveringCompartment.of(r.settings.tips?FR:[]),r.completionsCompartment.of(r.settings.completions?[$R,X7]:[]),K7,r.themeCompartment.of(UR(r.getColorScheme("Tomorrow Night Burns"))),r.chosenLanguage.of(U0())],r.dynamicPlugins=new wr,r.state=Et.create({extensions:[...r.editorExtensions,Le.lineWrapping,r.dynamicPlugins.of(r.userPlugins),$a.highest(no.of([{key:"Ctrl-Enter",run:()=>!0}])),no.of([q6])],doc:r.universes[r.selected_universe].global.candidate}),r.view=new Le({parent:document.getElementById("editor"),state:r.state}),r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:`${r.settings.font_size}px`},$content:{fontFamily:`${r.settings.font}`,fontSize:`${r.settings.font_size}px`},".cm-gutters":{fontSize:`${r.settings.font_size}px`}}))})};var Dn=Uint8Array,Sr=Uint16Array,s_=Int32Array,Vu=new Dn([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),zu=new Dn([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),$g=new Dn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),GR=function(r,e){for(var t=new Sr(31),n=0;n<31;++n)t[n]=e+=1<>1|(Kt&21845)<<1;ai=(ai&52428)>>2|(ai&13107)<<2,ai=(ai&61680)>>4|(ai&3855)<<4,qg[Kt]=((ai&65280)>>8|(ai&255)<<8)>>1}var Oa=function(r,e,t){for(var n=r.length,a=0,i=new Sr(e);a>l]=c}else for(s=new Sr(n),a=0;a>15-r[a]);return s},Ti=new Dn(288);for(var Kt=0;Kt<144;++Kt)Ti[Kt]=8;for(var Kt=144;Kt<256;++Kt)Ti[Kt]=9;for(var Kt=256;Kt<280;++Kt)Ti[Kt]=7;for(var Kt=280;Kt<288;++Kt)Ti[Kt]=8;var wl=new Dn(32);for(var Kt=0;Kt<32;++Kt)wl[Kt]=5;var J7=Oa(Ti,9,0),eB=Oa(Ti,9,1),tB=Oa(wl,5,0),nB=Oa(wl,5,1),th=function(r){for(var e=r[0],t=1;te&&(e=r[t]);return e},Qr=function(r,e,t){var n=e/8|0;return(r[n]|r[n+1]<<8)>>(e&7)&t},nh=function(r,e){var t=e/8|0;return(r[t]|r[t+1]<<8|r[t+2]<<16)>>(e&7)},l_=function(r){return(r+7)/8|0},c_=function(r,e,t){(e==null||e<0)&&(e=0),(t==null||t>r.length)&&(t=r.length);var n=new Dn(t-e);return n.set(r.subarray(e,t)),n},rB=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],tr=function(r,e,t){var n=new Error(e||rB[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,tr),!t)throw n;return n},u_=function(r,e,t,n){var a=r.length,i=n?n.length:0;if(!a||e.f&&!e.l)return t||new Dn(0);var o=!t||e.i!=2,s=e.i;t||(t=new Dn(a*3));var l=function(Ve){var nt=t.length;if(Ve>nt){var et=new Dn(Math.max(nt*2,Ve));et.set(t),t=et}},c=e.f||0,u=e.p||0,h=e.b||0,p=e.l,_=e.d,b=e.m,A=e.n,I=a*8;do{if(!p){c=Qr(r,u,1);var M=Qr(r,u+1,3);if(u+=3,M)if(M==1)p=eB,_=nB,b=9,A=5;else if(M==2){var O=Qr(r,u,31)+257,S=Qr(r,u+10,15)+4,k=O+Qr(r,u+5,31)+1;u+=14;for(var L=new Dn(k),F=new Dn(19),Y=0;Y>4;if(U<16)L[Y++]=U;else{var ae=0,D=0;for(U==16?(D=3+Qr(r,u,3),u+=2,ae=L[Y-1]):U==17?(D=3+Qr(r,u,7),u+=3):U==18&&(D=11+Qr(r,u,127),u+=7);D--;)L[Y++]=ae}}var P=L.subarray(0,O),H=L.subarray(O);b=th(P),A=th(H),p=Oa(P,b,1),_=Oa(H,A,1)}else tr(1);else{var U=l_(u)+4,V=r[U-4]|r[U-3]<<8,m=U+V;if(m>a){s&&tr(0);break}o&&l(h+V),t.set(r.subarray(U,m),h),e.b=h+=V,e.p=u=m*8,e.f=c;continue}if(u>I){s&&tr(0);break}}o&&l(h+131072);for(var z=(1<>4;if(u+=ae&15,u>I){s&&tr(0);break}if(ae||tr(2),_e<256)t[h++]=_e;else if(_e==256){oe=u,p=null;break}else{var ye=_e-254;if(_e>264){var Y=_e-257,we=Vu[Y];ye=Qr(r,u,(1<>4;Ee||tr(3),u+=Ee&15;var H=j7[Ce];if(Ce>3){var we=zu[Ce];H+=nh(r,u)&(1<I){s&&tr(0);break}o&&l(h+131072);var he=h+ye;if(h>8},Ys=function(r,e,t){t<<=e&7;var n=e/8|0;r[n]|=t,r[n+1]|=t>>8,r[n+2]|=t>>16},rh=function(r,e){for(var t=[],n=0;np&&(p=i[n].s);var _=new Sr(p+1),b=Qg(t[u-1],_,0);if(b>e){var n=0,A=0,I=b-e,M=1<e)A+=M-(1<>=I;A>0;){var V=i[n].s;_[V]=0&&A;--n){var m=i[n].s;_[m]==e&&(--_[m],++A)}b=e}return{t:new Dn(_),l:b}},Qg=function(r,e,t){return r.s==-1?Math.max(Qg(r.l,e,t+1),Qg(r.r,e,t+1)):e[r.s]=t},R2=function(r){for(var e=r.length;e&&!r[--e];);for(var t=new Sr(++e),n=0,a=r[0],i=1,o=function(l){t[n++]=l},s=1;s<=e;++s)if(r[s]==a&&s!=e)++i;else{if(!a&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(a),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(a);i=1,a=r[s]}return{c:t.subarray(0,n),n:e}},Fs=function(r,e){for(var t=0,n=0;n>8,r[a+2]=r[a]^255,r[a+3]=r[a+1]^255;for(var i=0;i4&&!Y[$g[te-1]];--te);var se=c+5<<3,ie=Fs(a,Ti)+Fs(i,wl)+o,ae=Fs(a,p)+Fs(i,A)+o+14+3*te+Fs(k,Y)+2*k[16]+3*k[17]+7*k[18];if(l>=0&&se<=ie&&se<=ae)return VR(e,u,r.subarray(l,l+c));var D,P,H,z;if(Da(e,u,1+(ae15&&(Da(e,u,ye[L]>>5&127),u+=ye[L]>>12)}}else D=J7,P=Ti,H=tB,z=wl;for(var L=0;L255){var we=Ee>>18&31;Ys(e,u,D[we+257]),u+=P[we+257],we>7&&(Da(e,u,Ee>>23&31),u+=Vu[we]);var Ce=Ee&31;Ys(e,u,H[Ce]),u+=z[Ce],Ce>3&&(Ys(e,u,Ee>>5&8191),u+=zu[Ce])}else Ys(e,u,D[Ee]),u+=P[Ee]}return Ys(e,u,D[256]),u+P[256]},aB=new s_([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),zR=new Dn(0),iB=function(r,e,t,n,a,i){var o=i.z||r.length,s=new Dn(n+o+5*(1+Math.ceil(o/7e3))+a),l=s.subarray(n,s.length-a),c=i.l,u=(i.r||0)&7;if(e){u&&(l[0]=i.r>>3);for(var h=aB[e-1],p=h>>13,_=h&8191,b=(1<7e3||Y>24576)&&(D>423||!c)){u=w2(r,l,0,m,O,S,L,Y,te,F-te,u),Y=k=L=0,te=F;for(var P=0;P<286;++P)O[P]=0;for(var P=0;P<30;++P)S[P]=0}var H=2,z=0,ne=_,oe=ie-ae&32767;if(D>2&&se==V(F-oe))for(var _e=Math.min(p,D)-1,ye=Math.min(32767,F),we=Math.min(258,D);oe<=ye&&--ne&&ie!=ae;){if(r[F+H]==r[F+H-oe]){for(var Ee=0;EeH){if(H=Ee,z=oe,Ee>_e)break;for(var Ce=Math.min(oe,Ee-2),he=0,P=0;Phe&&(he=Ve,ae=xe)}}}ie=ae,ae=A[ie],oe+=ie-ae&32767}if(z){m[Y++]=268435456|Gg[H]<<18|C2[z];var nt=Gg[H]&31,et=C2[z]&31;L+=Vu[nt]+zu[et],++O[257+nt],++S[et],q=F+H,++k}else m[Y++]=r[F],++O[r[F]]}}for(F=Math.max(F,q);F=o&&(l[u/8|0]=c,yt=o),u=VR(l,u+1,r.subarray(F,yt))}i.i=o}return c_(s,0,n+l_(u)+a)},oB=function(){for(var r=new Int32Array(256),e=0;e<256;++e){for(var t=e,n=9;--n;)t=(t&1&&-306674912)^t>>>1;r[e]=t}return r}(),sB=function(){var r=-1;return{p:function(e){for(var t=r,n=0;n>>8;r=t},d:function(){return~r}}},lB=function(r,e,t,n,a){if(!a&&(a={l:1},e.dictionary)){var i=e.dictionary.subarray(-32768),o=new Dn(i.length+r.length);o.set(i),o.set(r,i.length),r=o,a.w=i.length}return iB(r,e.level==null?6:e.level,e.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(r.length)))*1.5):12+e.mem,t,n,a)},Hg=function(r,e,t){for(;t;++e)r[e]=t,t>>>=8},cB=function(r,e){var t=e.filename;if(r[0]=31,r[1]=139,r[2]=8,r[8]=e.level<2?4:e.level==9?2:0,r[9]=3,e.mtime!=0&&Hg(r,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),t){r[3]=8;for(var n=0;n<=t.length;++n)r[n+10]=t.charCodeAt(n)}},uB=function(r){(r[0]!=31||r[1]!=139||r[2]!=8)&&tr(6,"invalid gzip data");var e=r[3],t=10;e&4&&(t+=(r[10]|r[11]<<8)+2);for(var n=(e>>3&1)+(e>>4&1);n>0;n-=!r[t++]);return t+(e&2)},dB=function(r){var e=r.length;return(r[e-4]|r[e-3]<<8|r[e-2]<<16|r[e-1]<<24)>>>0},hB=function(r){return 10+(r.filename?r.filename.length+1:0)},fB=function(r,e){return((r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31)&&tr(6,"invalid zlib data"),(r[1]>>5&1)==+!e&&tr(6,"invalid zlib data: "+(r[1]&32?"need":"unexpected")+" dictionary"),(r[1]>>3&4)+2};function mB(r,e){return u_(r,{i:2},e&&e.out,e&&e.dictionary)}function pB(r,e){e||(e={});var t=sB(),n=r.length;t.p(r);var a=lB(r,e,hB(e),8),i=a.length;return cB(a,e),Hg(a,i-8,t.d()),Hg(a,i-4,n),a}function gB(r,e){var t=uB(r);return t+8>r.length&&tr(6,"invalid gzip data"),u_(r.subarray(t,-8),{i:2},e&&e.out||new Dn(dB(r)),e&&e.dictionary)}function _B(r,e){return u_(r.subarray(fB(r,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}function bB(r,e){return r[0]==31&&r[1]==139&&r[2]==8?gB(r,e):(r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31?mB(r,e):_B(r,e)}var Vg=typeof TextDecoder<"u"&&new TextDecoder,SB=0;try{Vg.decode(zR,{stream:!0}),SB=1}catch{}var OB=function(r){for(var e="",t=0;;){var n=r[t++],a=(n>127)+(n>223)+(n>239);if(t+a>r.length)return{s:e,r:c_(r,t-1)};a?a==3?(n=((n&15)<<18|(r[t++]&63)<<12|(r[t++]&63)<<6|r[t++]&63)-65536,e+=String.fromCharCode(55296|n>>10,56320|n&1023)):a&1?e+=String.fromCharCode((n&31)<<6|r[t++]&63):e+=String.fromCharCode((n&15)<<12|(r[t++]&63)<<6|r[t++]&63):e+=String.fromCharCode(n)}};function vB(r,e){if(e){for(var t="",n=0;n __ 0 <(^) (^ ^)> (0,8)').sound('wt_stereo') .n([1,2,4].beat(4)).o(2).room(0.9).out() let osci = 2000 + usine(1/2) * 2000; z3('can can:2').sound().gain(1).cutoff(osci).out() -z4('1/4 kick kick snare kick').sound().gain(1).cutoff(osci).out()`],A2=r=>{r=1831565813+(r|=0)|0;let e=Math.imul(r^r>>>15,1|r);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296};let vB=class{constructor(e){this.dictionaries=void 0,this.length=void 0,this.separator=void 0,this.style=void 0,this.seed=void 0;const{length:t,separator:n,dictionaries:a,style:i,seed:o}=e;this.dictionaries=a,this.separator=n,this.length=t,this.style=i,this.seed=o}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries. -Length provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);let e=this.seed;return this.dictionaries.slice(0,this.length).reduce((t,n)=>{let a;e?(a=(o=>{if(typeof o=="string"){const s=o.split("").map(c=>c.charCodeAt(0)).reduce((c,u)=>c+u,1),l=Math.floor(Number(s));return A2(l)}return A2(o)})(e),e=4294967296*a):a=Math.random();let i=n[Math.floor(a*n.length)]||"";if(this.style==="lowerCase")i=i.toLowerCase();else if(this.style==="capital"){const[o,...s]=i.split("");i=o.toUpperCase()+s.join("")}else this.style==="upperCase"&&(i=i.toUpperCase());return t?`${t}${this.separator}${i}`:`${i}`},"")}};const I2={separator:"_",dictionaries:[]},EB=r=>{const e=[...r&&r.dictionaries||I2.dictionaries],t={...I2,...r,length:r&&r.length||e.length,dictionaries:e};if(!r||!r.dictionaries||!r.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new vB(t).generate()};var yB=["aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","canidae","capybara","cardinal","caribou","carp","cat","caterpillar","catfish","catshark","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","cicada","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragon","dragonfly","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","felidae","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","galliform","gamefowl","gayal","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","unicorn","urial","vicuna","viper","vole","vulture","wallaby","walrus","warbler","wasp","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra"],TB=["amaranth","amber","amethyst","apricot","aqua","aquamarine","azure","beige","black","blue","blush","bronze","brown","chocolate","coffee","copper","coral","crimson","cyan","emerald","fuchsia","gold","gray","green","harlequin","indigo","ivory","jade","lavender","lime","magenta","maroon","moccasin","olive","orange","peach","pink","plum","purple","red","rose","salmon","sapphire","scarlet","silver","tan","teal","tomato","turquoise","violet","white","yellow"];const zR=r=>new Promise(e=>setTimeout(e,r)),WR=r=>r.replace(/->|::/g,"&&"),d_=async(r,e)=>{try{return await new Function(`"use strict"; ${WR(e)}`).call(r.api),!0}catch(t){return r.interface.error_line.innerHTML=t,r.api._reportError(t),!1}},Xs=new Map,CB=40,RB=(r,e)=>{Xs.size>=CB&&Xs.delete(Xs.keys().next().value),Xs.set(r,e)},Ci=async(r,e,t=5e3)=>{e.evaluations++;const n=e.candidate;try{const a=Xs.get(n);if(a)a.call(r.api);else{const i=`let i = ${e.evaluations}; ${n}`;if(await Promise.race([d_(r,i),zR(t)])){e.committed=e.candidate;const s=new Function(`"use strict"; ${WR(i)}`);RB(n,s)}else r.api.logOnce("Compilation error!"),await wB(r,e,t)}}catch(a){r.interface.error_line.innerHTML=a,r.api._reportError(a)}},wB=async(r,e,t=1e3)=>{try{await Promise.race([d_(r,e.committed),zR(t)]),e.evaluations&&e.evaluations++}catch(n){r.interface.error_line.innerHTML=n,console.log(n)}},AB=async(r,e)=>{await d_(r,e)},rl={global:{candidate:"",committed:"",evaluations:0},locals:{1:{candidate:"",committed:"",evaluations:0},2:{candidate:"",committed:"",evaluations:0},3:{candidate:"",committed:"",evaluations:0},4:{candidate:"",committed:"",evaluations:0},5:{candidate:"",committed:"",evaluations:0},6:{candidate:"",committed:"",evaluations:0},7:{candidate:"",committed:"",evaluations:0},8:{candidate:"",committed:"",evaluations:0},9:{candidate:"",committed:"",evaluations:0}},init:{candidate:"",committed:"",evaluations:0},example:{candidate:"",committed:"",evaluations:0},notes:{candidate:""}},h_={Welcome:{global:{candidate:"",committed:"",evaluations:0},locals:{1:{candidate:"",committed:"",evaluations:0},2:{candidate:"",committed:"",evaluations:0},3:{candidate:"",committed:"",evaluations:0},4:{candidate:"",committed:"",evaluations:0},5:{candidate:"",committed:"",evaluations:0},6:{candidate:"",committed:"",evaluations:0},7:{candidate:"",committed:"",evaluations:0},8:{candidate:"",committed:"",evaluations:0},9:{candidate:"",committed:"",evaluations:0}},init:{candidate:"",committed:"",evaluations:0},example:{candidate:"",committed:"",evaluations:0},notes:{candidate:""}}};class IB{constructor(){T(this,"vimMode",!1);T(this,"theme","Everblush");T(this,"font","IBM Plex Mono");T(this,"font_size",24);T(this,"universes");T(this,"selected_universe","Default");T(this,"line_numbers",!0);T(this,"time_position",!0);T(this,"tips",!1);T(this,"completions",!1);T(this,"send_clock",!1);T(this,"midi_channels_scripts",!0);T(this,"midi_clock_input");T(this,"default_midi_input");T(this,"midi_clock_ppqn",24);T(this,"load_demo_songs",!0);const e=JSON.parse(localStorage.getItem("topos")||"{}");e&&Object.keys(e).length!==0?(this.vimMode=e.vimMode,this.theme=e.theme,this.font=e.font,this.font_size=e.font_size,this.universes=e.universes,this.selected_universe=e.selected_universe,this.line_numbers=e.line_numbers,this.time_position=e.time_position,this.tips=e.tips,this.completions=e.completions,this.send_clock=e.send_clock,this.midi_channels_scripts=e.midi_channels_scripts,this.midi_clock_input=e.midi_clock_input,this.midi_clock_ppqn=e.midi_clock_ppqn||24,this.default_midi_input=e.default_midi_input,this.load_demo_songs=e.load_demo_songs):this.universes=h_}get_universe(){this.universes.universe_name}get data(){return{vimMode:this.vimMode,theme:this.theme,font:this.font,font_size:this.font_size,universes:this.universes,selected_universe:this.selected_universe,line_numbers:this.line_numbers,time_position:this.time_position,tips:this.tips,completions:this.completions,send_clock:this.send_clock,midi_channels_scripts:this.midi_channels_scripts,midi_clock_input:this.midi_clock_input,midi_clock_ppqn:this.midi_clock_ppqn,default_midi_input:this.default_midi_input,load_demo_songs:this.load_demo_songs}}saveApplicationToLocalStorage(e,t){this.universes=e,this.vimMode=t.vimMode,this.font=t.font,this.font_size=t.font_size,this.selected_universe=t.selected_universe,this.line_numbers=t.line_numbers,this.time_position=t.time_position,this.tips=t.tips,this.completions=t.completions,this.send_clock=t.send_clock,this.midi_channels_scripts=t.midi_channels_scripts,this.midi_clock_input=t.midi_clock_input,this.midi_clock_ppqn=t.midi_clock_ppqn,this.default_midi_input=t.default_midi_input,this.load_demo_songs=t.load_demo_songs,localStorage.setItem("topos",JSON.stringify(this.data))}}const kB=r=>{if(r.settings.load_demo_songs){let e=Ou[Math.floor(Math.random()*Ou.length)];r.selected_universe="Demo",r.universes[r.selected_universe]=structuredClone(rl),r.universes[r.selected_universe].global.committed=e,r.universes[r.selected_universe].global.candidate=e}else try{r.selected_universe=r.settings.selected_universe,r.universes[r.selected_universe]===void 0&&(r.universes[r.selected_universe]=structuredClone(rl))}catch{r.settings.selected_universe="Welcome",r.selected_universe=r.settings.selected_universe,r.universes[r.selected_universe]=structuredClone(rl)}r.interface.universe_viewer.placeholder=`${r.selected_universe}`},XR=()=>{window.history.replaceState({},document.title,"/")},NB=async r=>{async function e(o){const s=await new Promise(l=>{const c=new FileReader;c.onload=()=>l(c.result),c.readAsDataURL(new Blob([o]))});return s.slice(s.indexOf(",")+1)}let t=JSON.stringify({universe:r.settings.universes[r.selected_universe]}),n=mB(new TextEncoder().encode(t),{level:9});const a=await e(n),i=new URL(window.location.href);i.searchParams.set("universe",a),window.history.replaceState({},"",i.toString()),navigator.clipboard.writeText(i.toString())},DB=r=>{let e=new URLSearchParams(window.location.search);if(e!==void 0){let t;if(e!==null){const n=e.get("universe");if(n!==null){let a=Uint8Array.from(atob(n),o=>o.charCodeAt(0));t=JSON.parse(OB(_B(a)));const i=EB({length:2,separator:"_",dictionaries:[TB,yB]});al(r,i,t.universe),XR()}}}},al=(r,e,t=rl)=>{let n=e.trim();if(r.universes[n]===void 0){const a=structuredClone(t);r.universes[n]=a,r.settings.universes[n]=a}r.settings.selected_universe=n,r.selected_universe=n,r.interface.universe_viewer.placeholder=`${n}`,r.updateEditorView(),Ci(r,r.universes[r.selected_universe.toString()].init)},vu=()=>{document.getElementById("modal-buffers").classList.contains("invisible")?(document.getElementById("editor").classList.add("invisible"),document.getElementById("modal-buffers").classList.remove("invisible"),document.getElementById("buffer-search").focus()):zg()},zg=()=>{document.getElementById("buffer-search").value="",document.getElementById("editor").classList.remove("invisible"),document.getElementById("modal-buffers").classList.add("invisible")},xB=()=>{document.getElementById("modal-settings").classList.contains("invisible")?(document.getElementById("editor").classList.add("invisible"),document.getElementById("modal-settings").classList.remove("invisible")):MB()},MB=()=>{document.getElementById("editor").classList.remove("invisible"),document.getElementById("modal-settings").classList.add("invisible")},LB={topos_logo:"topos-logo",fill_viewer:"fillviewer",load_universe_button:"load-universe-button",download_universe_button:"download-universes",upload_universe_button:"upload-universes",upload_samples_button:"upload-samples",sample_indicator:"sample-indicator",destroy_universes_button:"destroy-universes",documentation_button:"doc-button-1",eval_button:"eval-button-1",local_button:"local-button",global_button:"global-button",init_button:"init-button",note_button:"note-button",settings_button:"settings-button",close_settings_button:"close-settings-button",close_universes_button:"close-universes-button",universe_viewer:"universe-viewer",buffer_modal:"modal-buffers",buffer_search:"buffer-search",universe_creator:"universe-creator",local_script_tabs:"local-script-tabs",font_size_input:"font-size-input",font_family_selector:"font-family",vim_mode_checkbox:"vim-mode",line_numbers_checkbox:"show-line-numbers",time_position_checkbox:"show-time-position",tips_checkbox:"show-tips",completion_checkbox:"show-completions",midi_clock_checkbox:"send-midi-clock",midi_channels_scripts:"midi-channels-scripts",midi_clock_ppqn:"midi-clock-ppqn-input",theme_selector:"theme-selector",theme_previewer:"theme-previewer",load_demo_songs:"load-demo-songs",normal_mode_button:"normal-mode",vim_mode_button:"vim-mode",share_button:"share-button",audio_nudge_range:"audio_nudge",dough_nudge_range:"dough_nudge",error_line:"error_line",hydra_canvas:"hydra-bg",feedback:"feedback",drawings:"drawings",scope:"scope"},PB={play_buttons:["play-button-1"],stop_buttons:["stop-button-1"],clear_buttons:["clear-button-1"]},KR=r=>({h1:"text-brightwhite lg:text-4xl text-xl lg:ml-4 lg:mx-4 mx-2 lg:my-4 my-2 lg:mb-4 mb-4 border-b-4 pt-4 pb-3 px-2",h2:"text-brightwhite lg:text-3xl text-xl lg:ml-4 lg:mx-4 mx-2 lg:my-4 my-2 lg:mb-4 mb-4 border-b-2 pt-12 pb-3 px-2",h3:"text-brightwhite lg:text-2xl text-xl lg:ml-4 lg:mx-4 mx-2 lg:my-4 my-2 border-l-2 border-b-2 lg:mb-4 mb-4 pb-2 px-2 lg:mt-16",ul:"text-underline ml-12",li:"list-disc lg:text-2xl text-base text-white lg:mx-4 mx-2 my-4 my-2 leading-normal",p:"lg:text-2xl text-base text-white lg:mx-6 mx-2 my-4 leading-normal",warning:"animate-pulse lg:text-2xl font-bold text-brightred lg:mx-6 mx-2 my-4 leading-normal",a:"lg:text-2xl text-base text-brightred",code:"lg:my-4 sm:my-1 text-base lg:text-xl block whitespace-pre overflow-x-hidden",icode:"lg:my-1 my-1 lg:text-xl sm:text-xs text-brightwhite font-mono bg-brightblack",ic:"lg:my-1 my-1 lg:text-xl sm:text-xs text-brightwhite font-mono bg-brightblack",blockquote:"text-brightwhite border-l-4 border-white pl-4 my-4 mx-4",details:"lg:mx-20 py-2 px-6 lg:text-2xl text-white border-l-8 box-border bg-selection_foreground",summary:"font-semibold text-xl",table:"justify-center lg:my-12 my-2 lg:mx-12 mx-2 lg:text-2xl text-base w-full text-left text-white border-collapse",thead:"text-xs text-gray-700 uppercase",th:"",td:"",tr:"",box:"border bg-red"}),BB=r=>{const e=vt(r);return` +z4('1/4 kick kick snare kick').sound().gain(1).cutoff(osci).out()`],A2=r=>{r=1831565813+(r|=0)|0;let e=Math.imul(r^r>>>15,1|r);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296};let EB=class{constructor(e){this.dictionaries=void 0,this.length=void 0,this.separator=void 0,this.style=void 0,this.seed=void 0;const{length:t,separator:n,dictionaries:a,style:i,seed:o}=e;this.dictionaries=a,this.separator=n,this.length=t,this.style=i,this.seed=o}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries. +Length provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);let e=this.seed;return this.dictionaries.slice(0,this.length).reduce((t,n)=>{let a;e?(a=(o=>{if(typeof o=="string"){const s=o.split("").map(c=>c.charCodeAt(0)).reduce((c,u)=>c+u,1),l=Math.floor(Number(s));return A2(l)}return A2(o)})(e),e=4294967296*a):a=Math.random();let i=n[Math.floor(a*n.length)]||"";if(this.style==="lowerCase")i=i.toLowerCase();else if(this.style==="capital"){const[o,...s]=i.split("");i=o.toUpperCase()+s.join("")}else this.style==="upperCase"&&(i=i.toUpperCase());return t?`${t}${this.separator}${i}`:`${i}`},"")}};const I2={separator:"_",dictionaries:[]},yB=r=>{const e=[...r&&r.dictionaries||I2.dictionaries],t={...I2,...r,length:r&&r.length||e.length,dictionaries:e};if(!r||!r.dictionaries||!r.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new EB(t).generate()};var TB=["aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","canidae","capybara","cardinal","caribou","carp","cat","caterpillar","catfish","catshark","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","cicada","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragon","dragonfly","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","felidae","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","galliform","gamefowl","gayal","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","unicorn","urial","vicuna","viper","vole","vulture","wallaby","walrus","warbler","wasp","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra"],CB=["amaranth","amber","amethyst","apricot","aqua","aquamarine","azure","beige","black","blue","blush","bronze","brown","chocolate","coffee","copper","coral","crimson","cyan","emerald","fuchsia","gold","gray","green","harlequin","indigo","ivory","jade","lavender","lime","magenta","maroon","moccasin","olive","orange","peach","pink","plum","purple","red","rose","salmon","sapphire","scarlet","silver","tan","teal","tomato","turquoise","violet","white","yellow"];const WR=r=>new Promise(e=>setTimeout(e,r)),XR=r=>r.replace(/->|::/g,"&&"),d_=async(r,e)=>{try{return await new Function(`"use strict"; ${XR(e)}`).call(r.api),!0}catch(t){return r.interface.error_line.innerHTML=t,r.api._reportError(t),!1}},Ws=new Map,RB=40,wB=(r,e)=>{Ws.size>=RB&&Ws.delete(Ws.keys().next().value),Ws.set(r,e)},Ci=async(r,e,t=5e3)=>{e.evaluations++;const n=e.candidate;try{const a=Ws.get(n);if(a)a.call(r.api);else{const i=`let i = ${e.evaluations}; ${n}`;if(await Promise.race([d_(r,i),WR(t)])){e.committed=e.candidate;const s=new Function(`"use strict"; ${XR(i)}`);wB(n,s)}else r.api.logOnce("Compilation error!"),await AB(r,e,t)}}catch(a){r.interface.error_line.innerHTML=a,r.api._reportError(a)}},AB=async(r,e,t=1e3)=>{try{await Promise.race([d_(r,e.committed),WR(t)]),e.evaluations&&e.evaluations++}catch(n){r.interface.error_line.innerHTML=n,console.log(n)}},IB=async(r,e)=>{await d_(r,e)},nl={global:{candidate:"",committed:"",evaluations:0},locals:{1:{candidate:"",committed:"",evaluations:0},2:{candidate:"",committed:"",evaluations:0},3:{candidate:"",committed:"",evaluations:0},4:{candidate:"",committed:"",evaluations:0},5:{candidate:"",committed:"",evaluations:0},6:{candidate:"",committed:"",evaluations:0},7:{candidate:"",committed:"",evaluations:0},8:{candidate:"",committed:"",evaluations:0},9:{candidate:"",committed:"",evaluations:0}},init:{candidate:"",committed:"",evaluations:0},example:{candidate:"",committed:"",evaluations:0},notes:{candidate:""}},h_={Welcome:{global:{candidate:"",committed:"",evaluations:0},locals:{1:{candidate:"",committed:"",evaluations:0},2:{candidate:"",committed:"",evaluations:0},3:{candidate:"",committed:"",evaluations:0},4:{candidate:"",committed:"",evaluations:0},5:{candidate:"",committed:"",evaluations:0},6:{candidate:"",committed:"",evaluations:0},7:{candidate:"",committed:"",evaluations:0},8:{candidate:"",committed:"",evaluations:0},9:{candidate:"",committed:"",evaluations:0}},init:{candidate:"",committed:"",evaluations:0},example:{candidate:"",committed:"",evaluations:0},notes:{candidate:""}}};class kB{constructor(){T(this,"vimMode",!1);T(this,"theme","Everblush");T(this,"font","IBM Plex Mono");T(this,"font_size",24);T(this,"universes");T(this,"selected_universe","Default");T(this,"line_numbers",!0);T(this,"time_position",!0);T(this,"tips",!1);T(this,"completions",!1);T(this,"send_clock",!1);T(this,"midi_channels_scripts",!0);T(this,"midi_clock_input");T(this,"default_midi_input");T(this,"midi_clock_ppqn",24);T(this,"load_demo_songs",!0);const e=JSON.parse(localStorage.getItem("topos")||"{}");e&&Object.keys(e).length!==0?(this.vimMode=e.vimMode,this.theme=e.theme,this.font=e.font,this.font_size=e.font_size,this.universes=e.universes,this.selected_universe=e.selected_universe,this.line_numbers=e.line_numbers,this.time_position=e.time_position,this.tips=e.tips,this.completions=e.completions,this.send_clock=e.send_clock,this.midi_channels_scripts=e.midi_channels_scripts,this.midi_clock_input=e.midi_clock_input,this.midi_clock_ppqn=e.midi_clock_ppqn||24,this.default_midi_input=e.default_midi_input,this.load_demo_songs=e.load_demo_songs):this.universes=h_}get_universe(){this.universes.universe_name}get data(){return{vimMode:this.vimMode,theme:this.theme,font:this.font,font_size:this.font_size,universes:this.universes,selected_universe:this.selected_universe,line_numbers:this.line_numbers,time_position:this.time_position,tips:this.tips,completions:this.completions,send_clock:this.send_clock,midi_channels_scripts:this.midi_channels_scripts,midi_clock_input:this.midi_clock_input,midi_clock_ppqn:this.midi_clock_ppqn,default_midi_input:this.default_midi_input,load_demo_songs:this.load_demo_songs}}saveApplicationToLocalStorage(e,t){this.universes=e,this.vimMode=t.vimMode,this.font=t.font,this.font_size=t.font_size,this.selected_universe=t.selected_universe,this.line_numbers=t.line_numbers,this.time_position=t.time_position,this.tips=t.tips,this.completions=t.completions,this.send_clock=t.send_clock,this.midi_channels_scripts=t.midi_channels_scripts,this.midi_clock_input=t.midi_clock_input,this.midi_clock_ppqn=t.midi_clock_ppqn,this.default_midi_input=t.default_midi_input,this.load_demo_songs=t.load_demo_songs,localStorage.setItem("topos",JSON.stringify(this.data))}}const NB=r=>{if(r.settings.load_demo_songs){let e=Ou[Math.floor(Math.random()*Ou.length)];r.selected_universe="Demo",r.universes[r.selected_universe]=structuredClone(nl),r.universes[r.selected_universe].global.committed=e,r.universes[r.selected_universe].global.candidate=e}else try{r.selected_universe=r.settings.selected_universe,r.universes[r.selected_universe]===void 0&&(r.universes[r.selected_universe]=structuredClone(nl))}catch{r.settings.selected_universe="Welcome",r.selected_universe=r.settings.selected_universe,r.universes[r.selected_universe]=structuredClone(nl)}r.interface.universe_viewer.placeholder=`${r.selected_universe}`},KR=()=>{window.history.replaceState({},document.title,"/")},DB=async r=>{async function e(o){const s=await new Promise(l=>{const c=new FileReader;c.onload=()=>l(c.result),c.readAsDataURL(new Blob([o]))});return s.slice(s.indexOf(",")+1)}let t=JSON.stringify({universe:r.settings.universes[r.selected_universe]}),n=pB(new TextEncoder().encode(t),{level:9});const a=await e(n),i=new URL(window.location.href);i.searchParams.set("universe",a),window.history.replaceState({},"",i.toString()),navigator.clipboard.writeText(i.toString())},xB=r=>{let e=new URLSearchParams(window.location.search);if(e!==void 0){let t;if(e!==null){const n=e.get("universe");if(n!==null){let a=Uint8Array.from(atob(n),o=>o.charCodeAt(0));t=JSON.parse(vB(bB(a)));const i=yB({length:2,separator:"_",dictionaries:[CB,TB]});rl(r,i,t.universe),KR()}}}},rl=(r,e,t=nl)=>{let n=e.trim();if(r.universes[n]===void 0){const a=structuredClone(t);r.universes[n]=a,r.settings.universes[n]=a}r.settings.selected_universe=n,r.selected_universe=n,r.interface.universe_viewer.placeholder=`${n}`,r.updateEditorView(),Ci(r,r.universes[r.selected_universe.toString()].init)},vu=()=>{document.getElementById("modal-buffers").classList.contains("invisible")?(document.getElementById("editor").classList.add("invisible"),document.getElementById("modal-buffers").classList.remove("invisible"),document.getElementById("buffer-search").focus()):zg()},zg=()=>{document.getElementById("buffer-search").value="",document.getElementById("editor").classList.remove("invisible"),document.getElementById("modal-buffers").classList.add("invisible")},MB=()=>{document.getElementById("modal-settings").classList.contains("invisible")?(document.getElementById("editor").classList.add("invisible"),document.getElementById("modal-settings").classList.remove("invisible")):LB()},LB=()=>{document.getElementById("editor").classList.remove("invisible"),document.getElementById("modal-settings").classList.add("invisible")},PB={topos_logo:"topos-logo",fill_viewer:"fillviewer",load_universe_button:"load-universe-button",download_universe_button:"download-universes",upload_universe_button:"upload-universes",upload_samples_button:"upload-samples",sample_indicator:"sample-indicator",destroy_universes_button:"destroy-universes",documentation_button:"doc-button-1",eval_button:"eval-button-1",local_button:"local-button",global_button:"global-button",init_button:"init-button",note_button:"note-button",settings_button:"settings-button",close_settings_button:"close-settings-button",close_universes_button:"close-universes-button",universe_viewer:"universe-viewer",buffer_modal:"modal-buffers",buffer_search:"buffer-search",universe_creator:"universe-creator",local_script_tabs:"local-script-tabs",font_size_input:"font-size-input",font_family_selector:"font-family",vim_mode_checkbox:"vim-mode",line_numbers_checkbox:"show-line-numbers",time_position_checkbox:"show-time-position",tips_checkbox:"show-tips",completion_checkbox:"show-completions",midi_clock_checkbox:"send-midi-clock",midi_channels_scripts:"midi-channels-scripts",midi_clock_ppqn:"midi-clock-ppqn-input",theme_selector:"theme-selector",theme_previewer:"theme-previewer",load_demo_songs:"load-demo-songs",normal_mode_button:"normal-mode",vim_mode_button:"vim-mode",share_button:"share-button",audio_nudge_range:"audio_nudge",dough_nudge_range:"dough_nudge",error_line:"error_line",hydra_canvas:"hydra-bg",feedback:"feedback",drawings:"drawings",scope:"scope"},BB={play_buttons:["play-button-1"],stop_buttons:["stop-button-1"],clear_buttons:["clear-button-1"]},ZR=r=>({h1:"text-brightwhite lg:text-4xl text-xl lg:ml-4 lg:mx-4 mx-2 lg:my-4 my-2 lg:mb-4 mb-4 border-b-4 pt-4 pb-3 px-2",h2:"text-brightwhite lg:text-3xl text-xl lg:ml-4 lg:mx-4 mx-2 lg:my-4 my-2 lg:mb-4 mb-4 border-b-2 pt-12 pb-3 px-2",h3:"text-brightwhite lg:text-2xl text-xl lg:ml-4 lg:mx-4 mx-2 lg:my-4 my-2 border-l-2 border-b-2 lg:mb-4 mb-4 pb-2 px-2 lg:mt-16",ul:"text-underline ml-12",li:"list-disc lg:text-2xl text-base text-white lg:mx-4 mx-2 my-4 my-2 leading-normal",p:"lg:text-2xl text-base text-white lg:mx-6 mx-2 my-4 leading-normal",warning:"animate-pulse lg:text-2xl font-bold text-brightred lg:mx-6 mx-2 my-4 leading-normal",a:"lg:text-2xl text-base text-brightred",code:"lg:my-4 sm:my-1 text-base lg:text-xl block whitespace-pre overflow-x-hidden",icode:"lg:my-1 my-1 lg:text-xl sm:text-xs text-brightwhite font-mono bg-brightblack",ic:"lg:my-1 my-1 lg:text-xl sm:text-xs text-brightwhite font-mono bg-brightblack",blockquote:"text-brightwhite border-l-4 border-white pl-4 my-4 mx-4",details:"lg:mx-20 py-2 px-6 lg:text-2xl text-white border-l-8 box-border bg-selection_foreground",summary:"font-semibold text-xl",table:"justify-center lg:my-12 my-2 lg:mx-12 mx-2 lg:text-2xl text-base w-full text-left text-white border-collapse",thead:"text-xs text-gray-700 uppercase",th:"",td:"",tr:"",box:"border bg-red"}),YB=r=>{const e=vt(r);return` # Welcome Welcome to the **Topos** documentation. You can jump here anytime by pressing ${pt("Ctrl + D")}. Press again to make the documentation disappear. Contributions are much appreciated! The documentation [lives here](https://github.com/Bubobubobubobubo/topos/tree/main/src/documentation). @@ -307,7 +307,7 @@ Reloading the application will get you one random song example to study every ti

You can Buy Me a Coffee at ko-fi.com to support the development :)

-`},YB=r=>{const e=vt(r);return`# Loading custom samples +`},FB=r=>{const e=vt(r);return`# Loading custom samples Topos is exposing the samples function that you can use to load your own set of samples. @@ -349,7 +349,7 @@ beat(1)::sound('ocean').clip(1).out() `,!0)} You can also use the .n attribute like usual to load a different sample. -`},FB=r=>{const e=vt(r);return`# Amplitude +`},UB=r=>{const e=vt(r);return`# Amplitude Controlling the volume is probably the most important concept you need to know about. Let's learn the basics. @@ -407,7 +407,7 @@ beat(.25)::sound('sawtooth') .smooth().out(); `,!0)}; -`},UB=r=>{const e=vt(r);return` +`},$B=r=>{const e=vt(r);return` # Audio effects @@ -502,7 +502,7 @@ This effect is leveraging the basic WebAudio compressor. More information can be | compAttack | cmpa | In seconds, time to decrease the gain by 10db | | compRelease | cmpr | In seconds, time to increase the gain by 10db | -`},$B=r=>{const e=vt(r);return`# Sampler +`},GB=r=>{const e=vt(r);return`# Sampler The sampler is a rather complex beast. There is a lot you can do by manipulating samples, from simple playback to complex granulation, wavetable synthesis and concrete music. @@ -629,12 +629,12 @@ beat(1)::sound('fhang').vib([1, 2, 4].bar()).vibmod([0.5, 2].beat()).out() `,!0)} -`},GB=r=>`# Sample Banks +`},qB=r=>`# Sample Banks There is a bank attribute that can help you to sort audio samples from large collections. **AJKPercusyn**, **AkaiLinn**, **AkaiMPC60**, **AkaiXR10**, **AlesisHR16**, **AlesisSR16**, **BossDR110**, **BossDR220**, **BossDR55**, **BossDR550**, **BossDR660**, **CasioRZ1**, **CasioSK1**, **CasioVL1**, **DoepferMS404**, **EmuDrumulator**, **EmuModular**, **EmuSP12**, **KorgDDM110**, **KorgKPR77**, **KorgKR55**, **KorgKRZ**, **KorgM1**, **KorgMinipops**, **KorgPoly800**, **KorgT3**, **Linn9000**, **LinnDrum**, **LinnLM1**, **LinnLM2**, **MFB512**, **MPC1000**, **MoogConcertMateMG1**, **OberheimDMX**, **RhodesPolaris**, **RhythmAce**, **RolandCompurhythm1000**, **RolandCompurhythm78**, **RolandCompurhythm8000**, **RolandD110**, **RolandD70**, **RolandDDR30**, **RolandJD990**, **RolandMC202**, **RolandMC303**, **RolandMT32**, **RolandR8**, **RolandS50**, **RolandSH09**, **RolandSystem100**, **RolandTR505**, **RolandTR606**, **RolandTR626**, **RolandTR707**, **RolandTR727**, **RolandTR808**, **RolandTR909**, **SakataDPM48**, **SequentialCircuitsDrumtracks**, **SequentialCircuitsTom**, **SergeModular**, **SimmonsSDS400**, **SimmonsSDS5**, **SoundmastersR88**, **UnivoxMicroRhythmer12**, **ViscoSpaceDrum**, **XdrumLM8953**, **YamahaRM50**, **YamahaRX21**, **YamahaRX5**, **YamahaRY30**, **YamahaTG33**. -`,qB=r=>{const e=vt(r);return`# Audio Basics +`,QB=r=>{const e=vt(r);return`# Audio Basics The Topos audio engine is [SuperDough](https://www.npmjs.com/package/superdough). This audio engine that takes advantage of the [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API). The engine is capable of many things such as playing samples, synths and effects all at once. It is a very powerful and almost limitless tool to create complex sounds and textures. A set of default sounds are already provided but you can also load your own audio samples if you wish! Let's learn the basics. @@ -779,7 +779,7 @@ Most audio parameters can be used both for samples and synthesizers. This is qui > ${a[i]} (${s}) -`}return n},QB=r=>{const e=vt(r);return` +`}return n},HB=r=>{const e=vt(r);return` # Available audio samples On this page, you will find an exhaustive list of all the samples currently loaded by default by the system. Samples are sorted by **sample packs**. I am gradually adding more of them. @@ -868,12 +868,12 @@ These samples are the one you have loaded for the duration of the session using
${ii(r,"user")}
-`},HB="/assets/topos_arch-db355d32.svg",VB="/assets/many_universes-d74e86dc.svg",zB=r=>{const e=vt(r);return` +`},VB="/assets/topos_arch-db355d32.svg",zB="/assets/many_universes-d74e86dc.svg",WB=r=>{const e=vt(r);return` # Interface The Topos interface is designed on a simple concept: _scripts_ and _universes_. By understanding how the interface works, you will already understand quite a lot. Make sure to learn the dedicated keybindings as well. They will give you extra powers! - + # Scripts @@ -918,7 +918,7 @@ There are some useful functions to help you manage your scripts: # Universes - + A set of files is called a _universe_. You can switch between universes immediately immediately by pressing ${pt("Ctrl + B")}. You can also create a new universe by entering a name. Load a universe by typing its name. Once a universe is loaded, it is not possible to call any data/code from any other universe. Switching between universes does not stop the transport nor reset the clock. The context switches but time keeps flowing. This can be useful for transitioning between songs / parts. @@ -937,7 +937,7 @@ There are some useful functions to help you manage your universes: - Topos will automatically fetch and switch to the universe that was sent to you. -`},WB=r=>{let e=vt(r);return` +`},XB=r=>{let e=vt(r);return` # Keybindings Topos is made to be controlled entirely with a keyboard. It is recommanded to stop using the mouse as much as possible when you are _live coding_. Here is a list of the most important keybindings: @@ -985,7 +985,7 @@ ${e("Claping twice as fast with fill",` beat(fill() ? 1/4 : 1/2)::sound('cp').out() `,!0)} -`},XB=r=>{const e=vt(r);return` +`},KB=r=>{const e=vt(r);return` # Code Topos scripts are using the [JavaScript](https://en.wikipedia.org/wiki/JavaScript) syntax. This is the language used to write pretty much anything in a web browser. JavaScript is easy to learn, and even faster to learn if you are already familiar with other programming languages. Here are some good resources if you want to learn more about it: @@ -1043,7 +1043,7 @@ ${e("This example will crash! Who cares?",` qjldfqsdklqsjdlkqjsdlqkjdlksjd `,!0)} -`},KB=r=>{let e=vt(r);return` +`},ZB=r=>{let e=vt(r);return` # Mouse Using the mouse is a fun way to control your code. It's basically an X/Y controller that you don't have to pay for! There are clever actions you can do with the mouse from generating notes to activating scripts conditionally! @@ -1097,7 +1097,7 @@ log([4,5,6,7].mouseY()) - `},ZB=r=>{const e=vt(r);return`# Oscilloscope + `},jB=r=>{const e=vt(r);return`# Oscilloscope You can turn on the oscilloscope to generate interesting visuals or to inspect audio. Use the scope() function to turn on/off the oscilloscope and to configure it. The oscilloscope is off by default. @@ -1143,7 +1143,7 @@ scope({enabled: true, thickness: 8, Note that these values can be patterned as well! You can transform the oscilloscope into its own light show if you want. The picture is not stable anyway so you won't have much use of it for precision work :) - `},jB=r=>` + `},JB=r=>` # Synchronisation Synchronisation is currently a work in progress. If you are a programmer and if you know something about the topic, please help us to make it work! In the meantime, Topos can already be synchronised but it takes some getting used to. @@ -1165,7 +1165,7 @@ In the settings menu, you will find two ways to _nudge_ the clock, allowing you - **audio nudge**: nudge the **synths** and **sampler** forward (in milliseconds). - note that you need to give some time to the system (2ms+) in order to give it enough time to load and play sounds. - `,JB=()=>` + `,eY=()=>` # About Topos ## The Topos Project @@ -1207,7 +1207,7 @@ You can support the project by making a small donation on [Kofi](https://ko-fi.c - All the [Topos](https//github.com/Bubobubobubobubo/Topos) contributors! **Have fun!** -`,eY=r=>{const e=vt(r);return` +`,tY=r=>{const e=vt(r);return` # Bonus features Some features have been included as a bonus. These features are often about patterning over things that are not directly related to sound: pictures, video, etc. @@ -1283,7 +1283,7 @@ beat(0.25)::gif({ posX: ir(1,1200), // CSS Horizontal Position posY: ir(1, 800), // CSS Vertical Position `,!0)} -`},tY=r=>{const e=vt(r);return` +`},nY=r=>{const e=vt(r);return` # Vizualisation While Topos is mainly being developed as a live coding environment for algorithmic music composition, it also includes some features for live code visualizations. This section will introduce you to these features. @@ -1456,7 +1456,7 @@ The predefined shapes are: * conicGradient(x, y, angle, ...stops) - Creates a conic gradient. -`},nY=r=>{const e=vt(r);return` +`},rY=r=>{const e=vt(r);return` # Chaining You might have noticed that **Topos** is using chains a lot. Chains are a very common pattern when programming, especially when you deal with objets that can be composed from many changing properties. Method chaining is used by many objects but mostly by sound() and midi(). It looks like this: @@ -1589,7 +1589,7 @@ z1('s 0 5 7 0 3 7 0 2 7 0 1 7 0 1 6 5 4 3 2') .odds(1/2, n => n.speed(0.5)) .room(0.5).size(0.5).out() `,!0)}; -`},rY=r=>{const e=vt(r);return` +`},aY=r=>{const e=vt(r);return` # Interaction Topos can interact with the physical world or react to events coming from outside the system (_MIDI_, physical control, etc). By creating interactions with your mouse, keyboard or controllers, you can make your performance more dynamic and/or easier to control. @@ -1687,7 +1687,7 @@ ${e("Show scale on external keyboard",'show_scale("F","aeolian",0,4)',!0)} ${e("Hide scale",'hide_scale("F","aeolian",0,4)',!0)} -`},aY="/assets/times-1426387b.svg",iY=r=>` +`},iY="/assets/times-1426387b.svg",oY=r=>` # What is time? There are two ways to think _intuitively_ about time: @@ -1697,7 +1697,7 @@ There are two ways to think _intuitively_ about time: A musician's job is to interweave cyclical and linear time, repetition and continuity. - + # Time and programming @@ -1713,12 +1713,12 @@ By making music with **Topos**, you will mingle repetitive structures of differe - **cyclical time:** euclidean rhythms, beats, pulsed time, etc... -`,oY="/assets/pulses-30df7a48.svg",sY=r=>{let e=vt(r);return` +`,sY="/assets/pulses-30df7a48.svg",lY=r=>{let e=vt(r);return` # Linear time **Topos** time is flowing just like in your typical computer music program, with _bars_, _beats_, _pulses_ and so on. The transport can be **paused**, **resumed** and/or **stopped**. There are interface buttons to handle these tasks. The tiniest unit of time is the **pulse**. There is a finite number of **pulses** per **beat** (by default, 48 **PPQN**). Beats are passing at a given **BPM** (_beats per minute_). You can change the **BPM** anytime you want. You can also change the granularity of time. - + ### Beats, bar, pulses @@ -1862,7 +1862,7 @@ oncount([1, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16],16) :: sound('hh').out() -`},lY=r=>{let e=vt(r);return` +`},cY=r=>{let e=vt(r);return` # Cyclical time Time as a cycle. A cycle can be quite long (a few bars) or very short (a few pulses). Cyclical time is extremely interesting for _live coders_ since it allows you to control a process that will eventually repeat. If your time constructs are repeating, you are able to hear them again and again. Since you can react and alter the code to change the loops, you become part of a complex feedback system between the computer and yourself. @@ -2042,7 +2042,7 @@ prob(80)::beat(.5) && sound(['hh', 'hat'].pick()).out() -`},cY=r=>{let e=vt(r);return` +`},uY=r=>{let e=vt(r);return` # Long forms Now you know how to play some basic rhythms but in any case, you are stuck in a loop. It's time to learn how to compose larger/longer musical structures. The functions you are going to learn are all about mastering the flow of time on longer periods. **Read and experiment a lot with the following examples**. @@ -2156,7 +2156,7 @@ if (onbar([1,2], 4)) { rhythm(.5, 2, 7) :: snd('snare').n(3).out(); }`,!0)} -`},uY=r=>{const e=vt(r);return` +`},dY=r=>{const e=vt(r);return` # MIDI You can use Topos to play MIDI thanks to the [WebMIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API). You can currently send notes, control change, program change and so on. You can also send a MIDI Clock to your MIDI devices or favorite DAW. Note that Topos is also capable of playing MIDI using **Ziffers** which provides a better syntax for melodic expression. @@ -2259,7 +2259,7 @@ ${e("Setting the channel within the pattern",` z1('(0 2 e 5 2):0 (4 2):1').midi().out() `,!0)} -`},dY=r=>{const e=vt(r);return` +`},hY=r=>{const e=vt(r);return` # Open Sound Control Topos is a sandboxed web application. It cannot speak with your computer directly or only through a secure connexion. You can use the [Open Sound Control](https://en.wikipedia.org/wiki/Open_Sound_Control) protocol to send and receive data from your computer. This protocol is used by many softwares and hardware devices. You can use it to control your favorite DAW, your favorite synthesizer, your favorite robot, or anything really! To use **OSC** with Topos, you will need to download the ToposServer by [following this link](https://github.com/Bubobubobubobubo/Topos). You can download everything as a zip file or clone the project if you know what you are doing. Here is a quick guide to get you started: @@ -2310,7 +2310,7 @@ ${e("Sending a customized OSC message",` osc('/my/osc/address', 5000, 1, 2, 3) `,!0)} -`},hY=r=>{const e=vt(r);return` +`},fY=r=>{const e=vt(r);return` # Array patterns **Topos** is using arrays as a way to make dynamic patterns of data (rhythms, melodies, etc). @@ -2594,7 +2594,7 @@ beat(1)::snd('sine').sustain(0.1).freq([100,100,100,100,200].unique().beat()).ou ${e("Simple addition","[1, 2 ,3].add(2).beat()",!0)} -`},fY=r=>{const e=vt(r);return` +`},mY=r=>{const e=vt(r);return` # Functions ## Scripts @@ -2636,7 +2636,7 @@ ${e("Another woodblock texture",` beat(1) :: delayr(50, 4, () => sound('east').speed([0.5,.25].beat()).out()) flip(2) :: beat(2) :: delayr(150, 4, () => sound('east').speed([0.5,.25].beat() * 4).out()) `,!0)}; -`},mY=r=>{const e=vt(r);return` +`},pY=r=>{const e=vt(r);return` # Generator functions JavaScript generators are powerful functions for generating value sequences. They can be used to generate melodies, rhythms or control parameters. @@ -2774,7 +2774,7 @@ z2(poly(-3)).noteLength(1.0).semitones(2,2,2,1,3,2).sound("sine").out() `,!0)}; -`},pY=r=>{const e=vt(r);return` +`},gY=r=>{const e=vt(r);return` # Variables @@ -2825,7 +2825,7 @@ rhythm(.25, 6, 8) :: sound('dr').n(drunk()).end(.25).out() -`},gY=r=>{const e=vt(r);return` +`},_Y=r=>{const e=vt(r);return` # Probabilities @@ -2896,7 +2896,7 @@ ${e("Using chance with chaining",` .almostNever(n=>n.freq(400)) .out() `,!1)} -`},_Y=r=>{const e=vt(r);return` +`},bY=r=>{const e=vt(r);return` # Low Frequency Oscillators Low Frequency Oscillators (_LFOs_) are an important piece in any digital audio workstation or synthesizer. Topos implements some basic waveforms you can play with to automatically modulate your paremeters. @@ -2928,7 +2928,7 @@ ${e("Modulating the speed of a sample player using a square LFO","beat(.25) && s ${e("Modulating the speed of a sample player using noise","beat(.25) && snd('cp').speed(1 + noise() * 2).out()",!0)}; -`},bY=r=>{const e=vt(r);return` +`},SY=r=>{const e=vt(r);return` # Ziffers Ziffers is a **musical number based notation** tuned for _live coding_. It is a very powerful and flexible notation for describing musical patterns in very few characters. Number based musical notation has a long history and has been used for centuries as a shorthand technique for music notation. Amiika has written [papers](https://zenodo.org/record/7841945) and other documents describing his system. It is currently implemented for many live coding platforms including [Sardine](https://sardine.raphaelforment.fr) (Raphaël Forment) and [Sonic Pi](https://sonic-pi.net/) (Sam Aaron). Ziffers can be used for: @@ -3132,7 +3132,7 @@ ${e("String prototypes",` "q 2 7 8 6".z2({key: "C2", scale: "aeolian"}).sound('sine').scale("minor").out() `,!0)} -`},SY=r=>{const e=vt(r);return` +`},OY=r=>{const e=vt(r);return` # Scales Ziffers supports all the keys and scales. Keys can be defined by using [scientific pitch notation](https://en.wikipedia.org/wiki/Scientific_pitch_notation), for example F3. Western style (1490 scales) can be with scale names named after greek modes and extended by William Zeitler. You will never really run out of scales to play with using Ziffers. Here is a short list of some possible scales that you can play with: @@ -3210,7 +3210,7 @@ ${e("Werckmeister scale in Scala format",` onbeat(1,1.5,3) :: sound('bd').cutoff(100 + usine(.25) * 1000).out() `,!0)} -`},OY=r=>{const e=vt(r);return` +`},vY=r=>{const e=vt(r);return` # Rhythm Ziffers combines rhythmic and melodic notation into a single pattern language. This means that you can use the same pattern to describe both the rhythm and the melody of a musical phrase similarly to the way it is done in traditional music notation. @@ -3320,7 +3320,7 @@ ${e("Pitched samples with sample indices",` z1('_e 1@east:2 4@bd:3 6@arp:2 9@baa').sound().out() `,!0)} -`},vY=r=>{const e=vt(r);return` +`},EY=r=>{const e=vt(r);return` # Algorithmic operations Ziffers provides shorthands for **many** numeric and algorithimic operations such as evaluating random numbers and creating sequences using list operations: @@ -3390,7 +3390,7 @@ z1("s A=(0 (1,4)) B~(2 (3,8)) A B A B A") * to(end: number) Select a range of elements from the beginning of the pattern to the end index * every(amount: number) Select every n-th element from the pattern -`},EY=r=>{const e=vt(r);return` +`},yY=r=>{const e=vt(r);return` # Tonnetz The Riemannian Tonnetz is a geometric representation of pitches where we apply mathematical operations to analyze harmonic and melodic relationships in tonal music. Ziffers includes an implementation of live coding Tonnetz developed together with Edgar Delgado Vega. Nevertheless, our implementation allows you to play in different chord complexes and **combine 67 transformations** with **new exploratory notation**. You have at your disposal the sets: traditional PLR, film music, extended PLR* and functions for seventh chords PLRQ, PLRQ*, ST. @@ -3722,7 +3722,7 @@ z1("1/16 0") * Remark F: You can find more details about Weitzmann and Boretz regions in chapters 4 and 7 of Richard Cohn's book [Audacious Euphony: Chromatic Harmony and the Triad's Second Nature (2012)](https://books.google.com.pe/books?id=rZxZCMRiO9EC&pg=PA59&hl=es&source=gbs_toc_r&cad=2#v=onepage&q&f=false). -`},yY=r=>{const e=vt(r);return` +`},TY=r=>{const e=vt(r);return` # Synchronization Ziffers patterns can be synced to any event by using **cue**, **sync**, **wait** and **listen** methods. @@ -3797,7 +3797,7 @@ beat([2.0,0.5,1.5].bar(1)) :: z2('q 6 3').wait(z1).sound('sine').release(0.16).sustain(0.55).out() `,!0)} -`},TY=r=>{const e=vt(r);return` +`},CY=r=>{const e=vt(r);return` # Synthesizers Topos comes by default with a forever-increasing number of synthesis capabilities. These synths are based on basic [WebAudio](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) designs. For heavy synthesis duties, I recommend you to user other synthesizers or softwares through MIDI. There is already a lot you can do with the built-in synths though! @@ -4146,7 +4146,7 @@ ${e("Live coded poetry with array and string chaining",` .rate(rand(.4,.6)) .speak(); `,!0)} -`};var Uc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ZR(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var jR={exports:{}};(function(r){(function(){function e(m){var O={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:`Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(m===!1)return JSON.parse(JSON.stringify(O));var S={};for(var k in O)O.hasOwnProperty(k)&&(S[k]=O[k].defaultValue);return S}function t(){var m=e(!0),O={};for(var S in m)m.hasOwnProperty(S)&&(O[S]=!0);return O}var n={},a={},i={},o=e(!0),s="vanilla",l={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:t()};n.helper={},n.extensions={},n.setOption=function(m,O){return o[m]=O,this},n.getOption=function(m){return o[m]},n.getOptions=function(){return o},n.resetOptions=function(){o=e(!0)},n.setFlavor=function(m){if(!l.hasOwnProperty(m))throw Error(m+" flavor was not found");n.resetOptions();var O=l[m];s=m;for(var S in O)O.hasOwnProperty(S)&&(o[S]=O[S])},n.getFlavor=function(){return s},n.getFlavorOptions=function(m){if(l.hasOwnProperty(m))return l[m]},n.getDefaultOptions=function(m){return e(m)},n.subParser=function(m,O){if(n.helper.isString(m))if(typeof O<"u")a[m]=O;else{if(a.hasOwnProperty(m))return a[m];throw Error("SubParser named "+m+" not registered!")}},n.extension=function(m,O){if(!n.helper.isString(m))throw Error("Extension 'name' must be a string");if(m=n.helper.stdExtName(m),n.helper.isUndefined(O)){if(!i.hasOwnProperty(m))throw Error("Extension named "+m+" is not registered!");return i[m]}else{typeof O=="function"&&(O=O()),n.helper.isArray(O)||(O=[O]);var S=c(O,m);if(S.valid)i[m]=O;else throw Error(S.error)}},n.getAllExtensions=function(){return i},n.removeExtension=function(m){delete i[m]},n.resetExtensions=function(){i={}};function c(m,O){var S=O?"Error in "+O+" extension->":"Error in unnamed extension",k={valid:!0,error:""};n.helper.isArray(m)||(m=[m]);for(var L=0;L"u"},n.helper.forEach=function(m,O){if(n.helper.isUndefined(m))throw new Error("obj param is required");if(n.helper.isUndefined(O))throw new Error("callback param is required");if(!n.helper.isFunction(O))throw new Error("callback param must be a function/closure");if(typeof m.forEach=="function")m.forEach(O);else if(n.helper.isArray(m))for(var S=0;S").replace(/&/g,"&")};var h=function(m,O,S,k){var L=k||"",F=L.indexOf("g")>-1,Y=new RegExp(O+"|"+S,"g"+L.replace(/g/g,"")),q=new RegExp(O,L.replace(/g/g,"")),te=[],se,ie,ae,D,P;do for(se=0;ae=Y.exec(m);)if(q.test(ae[0]))se++||(ie=Y.lastIndex,D=ie-ae[0].length);else if(se&&!--se){P=ae.index+ae[0].length;var H={left:{start:D,end:ie},match:{start:ie,end:ae.index},right:{start:ae.index,end:P},wholeMatch:{start:D,end:P}};if(te.push(H),!F)return te}while(se&&(Y.lastIndex=ie));return te};n.helper.matchRecursiveRegExp=function(m,O,S,k){for(var L=h(m,O,S,k),F=[],Y=0;Y0){var se=[];Y[0].wholeMatch.start!==0&&se.push(m.slice(0,Y[0].wholeMatch.start));for(var ie=0;ie=0?k+(S||0):k},n.helper.splitAtIndex=function(m,O){if(!n.helper.isString(m))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[m.substring(0,O),m.substring(O)]},n.helper.encodeEmailAddress=function(m){var O=[function(S){return"&#"+S.charCodeAt(0)+";"},function(S){return"&#x"+S.charCodeAt(0).toString(16)+";"},function(S){return S}];return m=m.replace(/./g,function(S){if(S==="@")S=O[Math.floor(Math.random()*2)](S);else{var k=Math.random();S=k>.9?O[2](S):k>.45?O[1](S):O[0](S)}return S}),m},n.helper.padEnd=function(O,S,k){return S=S>>0,k=String(k||" "),O.length>S?String(O):(S=S-O.length,S>k.length&&(k+=k.repeat(S/k.length)),String(O)+k.slice(0,S))},typeof console>"u"&&(console={warn:function(m){alert(m)},log:function(m){alert(m)},error:function(m){throw m}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:`S`},n.Converter=function(m){var O={},S=[],k=[],L={},F=s,Y={parsed:{},raw:"",format:""};q();function q(){m=m||{};for(var D in o)o.hasOwnProperty(D)&&(O[D]=o[D]);if(typeof m=="object")for(var P in m)m.hasOwnProperty(P)&&(O[P]=m[P]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof m+" was passed instead.");O.extensions&&n.helper.forEach(O.extensions,te)}function te(D,P){if(P=P||null,n.helper.isString(D))if(D=n.helper.stdExtName(D),P=D,n.extensions[D]){console.warn("DEPRECATION WARNING: "+D+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),se(n.extensions[D],D);return}else if(!n.helper.isUndefined(i[D]))D=i[D];else throw Error('Extension "'+D+'" could not be loaded. It was either not found or is not a valid extension.');typeof D=="function"&&(D=D()),n.helper.isArray(D)||(D=[D]);var H=c(D,P);if(!H.valid)throw Error(H.error);for(var z=0;z (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(m===!1)return JSON.parse(JSON.stringify(O));var S={};for(var k in O)O.hasOwnProperty(k)&&(S[k]=O[k].defaultValue);return S}function t(){var m=e(!0),O={};for(var S in m)m.hasOwnProperty(S)&&(O[S]=!0);return O}var n={},a={},i={},o=e(!0),s="vanilla",l={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:t()};n.helper={},n.extensions={},n.setOption=function(m,O){return o[m]=O,this},n.getOption=function(m){return o[m]},n.getOptions=function(){return o},n.resetOptions=function(){o=e(!0)},n.setFlavor=function(m){if(!l.hasOwnProperty(m))throw Error(m+" flavor was not found");n.resetOptions();var O=l[m];s=m;for(var S in O)O.hasOwnProperty(S)&&(o[S]=O[S])},n.getFlavor=function(){return s},n.getFlavorOptions=function(m){if(l.hasOwnProperty(m))return l[m]},n.getDefaultOptions=function(m){return e(m)},n.subParser=function(m,O){if(n.helper.isString(m))if(typeof O<"u")a[m]=O;else{if(a.hasOwnProperty(m))return a[m];throw Error("SubParser named "+m+" not registered!")}},n.extension=function(m,O){if(!n.helper.isString(m))throw Error("Extension 'name' must be a string");if(m=n.helper.stdExtName(m),n.helper.isUndefined(O)){if(!i.hasOwnProperty(m))throw Error("Extension named "+m+" is not registered!");return i[m]}else{typeof O=="function"&&(O=O()),n.helper.isArray(O)||(O=[O]);var S=c(O,m);if(S.valid)i[m]=O;else throw Error(S.error)}},n.getAllExtensions=function(){return i},n.removeExtension=function(m){delete i[m]},n.resetExtensions=function(){i={}};function c(m,O){var S=O?"Error in "+O+" extension->":"Error in unnamed extension",k={valid:!0,error:""};n.helper.isArray(m)||(m=[m]);for(var L=0;L"u"},n.helper.forEach=function(m,O){if(n.helper.isUndefined(m))throw new Error("obj param is required");if(n.helper.isUndefined(O))throw new Error("callback param is required");if(!n.helper.isFunction(O))throw new Error("callback param must be a function/closure");if(typeof m.forEach=="function")m.forEach(O);else if(n.helper.isArray(m))for(var S=0;S").replace(/&/g,"&")};var h=function(m,O,S,k){var L=k||"",F=L.indexOf("g")>-1,Y=new RegExp(O+"|"+S,"g"+L.replace(/g/g,"")),q=new RegExp(O,L.replace(/g/g,"")),te=[],se,ie,ae,D,P;do for(se=0;ae=Y.exec(m);)if(q.test(ae[0]))se++||(ie=Y.lastIndex,D=ie-ae[0].length);else if(se&&!--se){P=ae.index+ae[0].length;var H={left:{start:D,end:ie},match:{start:ie,end:ae.index},right:{start:ae.index,end:P},wholeMatch:{start:D,end:P}};if(te.push(H),!F)return te}while(se&&(Y.lastIndex=ie));return te};n.helper.matchRecursiveRegExp=function(m,O,S,k){for(var L=h(m,O,S,k),F=[],Y=0;Y0){var se=[];Y[0].wholeMatch.start!==0&&se.push(m.slice(0,Y[0].wholeMatch.start));for(var ie=0;ie=0?k+(S||0):k},n.helper.splitAtIndex=function(m,O){if(!n.helper.isString(m))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[m.substring(0,O),m.substring(O)]},n.helper.encodeEmailAddress=function(m){var O=[function(S){return"&#"+S.charCodeAt(0)+";"},function(S){return"&#x"+S.charCodeAt(0).toString(16)+";"},function(S){return S}];return m=m.replace(/./g,function(S){if(S==="@")S=O[Math.floor(Math.random()*2)](S);else{var k=Math.random();S=k>.9?O[2](S):k>.45?O[1](S):O[0](S)}return S}),m},n.helper.padEnd=function(O,S,k){return S=S>>0,k=String(k||" "),O.length>S?String(O):(S=S-O.length,S>k.length&&(k+=k.repeat(S/k.length)),String(O)+k.slice(0,S))},typeof console>"u"&&(console={warn:function(m){alert(m)},log:function(m){alert(m)},error:function(m){throw m}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:`S`},n.Converter=function(m){var O={},S=[],k=[],L={},F=s,Y={parsed:{},raw:"",format:""};q();function q(){m=m||{};for(var D in o)o.hasOwnProperty(D)&&(O[D]=o[D]);if(typeof m=="object")for(var P in m)m.hasOwnProperty(P)&&(O[P]=m[P]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof m+" was passed instead.");O.extensions&&n.helper.forEach(O.extensions,te)}function te(D,P){if(P=P||null,n.helper.isString(D))if(D=n.helper.stdExtName(D),P=D,n.extensions[D]){console.warn("DEPRECATION WARNING: "+D+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),se(n.extensions[D],D);return}else if(!n.helper.isUndefined(i[D]))D=i[D];else throw Error('Extension "'+D+'" could not be loaded. It was either not found or is not a valid extension.');typeof D=="function"&&(D=D()),n.helper.isArray(D)||(D=[D]);var H=c(D,P);if(!H.valid)throw Error(H.error);for(var z=0;z"+O.preList[S]+""}),n.subParser("makeMarkdown.strikethrough",function(m,O){var S="";if(m.hasChildNodes()){S+="~~";for(var k=m.childNodes,L=k.length,F=0;Ftr>th"),F=m.querySelectorAll("tbody>tr"),Y,q;for(Y=0;YH&&(H=z)}for(Y=0;Y/g,"\\$1>"),O=O.replace(/^#/gm,"\\#"),O=O.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),O=O.replace(/^( {0,3}\d+)\./gm,"$1\\."),O=O.replace(/^( {0,3})([+-])/gm,"$1\\$2"),O=O.replace(/]([\s]*)\(/g,"\\]$1\\("),O=O.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),O});var V=this;r.exports?r.exports=n:V.showdown=n}).call(Uc)})(jR);var JR=jR.exports;const ew=ZR(JR);function ah(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}ah.proto=function(){return RegExp.escape=ah,ah};var Eu={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */Eu.exports;(function(r,e){(function(t){var n=e,a=r&&r.exports==n&&r,i=typeof Uc=="object"&&Uc;(i.global===i||i.window===i)&&(t=i);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},h=/["&'<>`]/g,p={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},_=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,b=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,A=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,I={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` -`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},M={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},U={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},V=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],m=String.fromCharCode,O={},S=O.hasOwnProperty,k=function(z,ne){return S.call(z,ne)},L=function(z,ne){for(var oe=-1,_e=z.length;++oe<_e;)if(z[oe]==ne)return!0;return!1},F=function(z,ne){if(!z)return ne;var oe={},_e;for(_e in ne)oe[_e]=k(z,_e)?z[_e]:ne[_e];return oe},Y=function(z,ne){var oe="";return z>=55296&&z<=57343||z>1114111?(ne&&se("character reference outside the permissible Unicode range"),"�"):k(U,z)?(ne&&se("disallowed character reference"),U[z]):(ne&&L(V,z)&&se("disallowed character reference"),z>65535&&(z-=65536,oe+=m(z>>>10&1023|55296),z=56320|z&1023),oe+=m(z),oe)},q=function(z){return"&#x"+z.toString(16).toUpperCase()+";"},te=function(z){return"&#"+z+";"},se=function(z){throw Error("Parse error: "+z)},ie=function(z,ne){ne=F(ne,ie.options);var oe=ne.strict;oe&&b.test(z)&&se("forbidden code point");var _e=ne.encodeEverything,ye=ne.useNamedReferences,we=ne.allowUnsafeSymbols,Ee=ne.decimal?te:q,Ce=function(he){return Ee(he.charCodeAt(0))};return _e?(z=z.replace(s,function(he){return ye&&k(u,he)?"&"+u[he]+";":Ce(he)}),ye&&(z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),ye&&(z=z.replace(c,function(he){return"&"+u[he]+";"}))):ye?(we||(z=z.replace(h,function(he){return"&"+u[he]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),z=z.replace(c,function(he){return"&"+u[he]+";"})):we||(z=z.replace(h,Ce)),z.replace(o,function(he){var xe=he.charCodeAt(0),je=he.charCodeAt(1),Ve=(xe-55296)*1024+je-56320+65536;return Ee(Ve)}).replace(l,Ce)};ie.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ae=function(z,ne){ne=F(ne,ae.options);var oe=ne.strict;return oe&&_.test(z)&&se("malformed character reference"),z.replace(A,function(_e,ye,we,Ee,Ce,he,xe,je,Ve){var nt,et,yt,Lt,St,Dt;return ye?(St=ye,I[St]):we?(St=we,Dt=Ee,Dt&&ne.isAttributeValue?(oe&&Dt=="="&&se("`&` did not start a character reference"),_e):(oe&&se("named character reference was not terminated by a semicolon"),M[St]+(Dt||""))):Ce?(yt=Ce,et=he,oe&&!et&&se("character reference was not terminated by a semicolon"),nt=parseInt(yt,10),Y(nt,oe)):xe?(Lt=xe,et=je,oe&&!et&&se("character reference was not terminated by a semicolon"),nt=parseInt(Lt,16),Y(nt,oe)):(oe&&se("named character reference was not terminated by a semicolon"),_e)})};ae.options={isAttributeValue:!1,strict:!1};var D=function(z){return z.replace(h,function(ne){return p[ne]})},P={version:"1.2.0",encode:ie,decode:ae,escape:D,unescape:ae};if(n&&!n.nodeType)if(a)a.exports=P;else for(var H in P)k(P,H)&&(n[H]=P[H]);else t.he=P})(Uc)})(Eu,Eu.exports);var CY=Eu.exports,k2=CY,RY={decode:function(e){return k2.decode(e)},encode:function(e){return k2.encode(e)}};function tw(r){return r instanceof Map?r.clear=r.delete=r.set=function(){throw new Error("map is read-only")}:r instanceof Set&&(r.add=r.clear=r.delete=function(){throw new Error("set is read-only")}),Object.freeze(r),Object.getOwnPropertyNames(r).forEach(e=>{const t=r[e],n=typeof t;(n==="object"||n==="function")&&!Object.isFrozen(t)&&tw(t)}),r}class N2{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function nw(r){return r.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function gi(r,...e){const t=Object.create(null);for(const n in r)t[n]=r[n];return e.forEach(function(n){for(const a in n)t[a]=n[a]}),t}const wY="",D2=r=>!!r.scope,AY=(r,{prefix:e})=>{if(r.startsWith("language:"))return r.replace("language:","language-");if(r.includes(".")){const t=r.split(".");return[`${e}${t.shift()}`,...t.map((n,a)=>`${n}${"_".repeat(a+1)}`)].join(" ")}return`${e}${r}`};class IY{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=nw(e)}openNode(e){if(!D2(e))return;const t=AY(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){D2(e)&&(this.buffer+=wY)}value(){return this.buffer}span(e){this.buffer+=``}}const x2=(r={})=>{const e={children:[]};return Object.assign(e,r),e};class f_{constructor(){this.rootNode=x2(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=x2({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(n=>this._walk(e,n)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{f_._collapse(t)}))}}class kY extends f_{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new IY(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Il(r){return r?typeof r=="string"?r:r.source:null}function rw(r){return so("(?=",r,")")}function NY(r){return so("(?:",r,")*")}function DY(r){return so("(?:",r,")?")}function so(...r){return r.map(t=>Il(t)).join("")}function xY(r){const e=r[r.length-1];return typeof e=="object"&&e.constructor===Object?(r.splice(r.length-1,1),e):{}}function m_(...r){return"("+(xY(r).capture?"":"?:")+r.map(n=>Il(n)).join("|")+")"}function aw(r){return new RegExp(r.toString()+"|").exec("").length-1}function MY(r,e){const t=r&&r.exec(e);return t&&t.index===0}const LY=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function p_(r,{joinWith:e}){let t=0;return r.map(n=>{t+=1;const a=t;let i=Il(n),o="";for(;i.length>0;){const s=LY.exec(i);if(!s){o+=i;break}o+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+a):(o+=s[0],s[0]==="("&&t++)}return o}).map(n=>`(${n})`).join(e)}const PY=/\b\B/,iw="[a-zA-Z]\\w*",g_="[a-zA-Z_]\\w*",ow="\\b\\d+(\\.\\d+)?",sw="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",lw="\\b(0b[01]+)",BY="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",YY=(r={})=>{const e=/^#![ ]*\//;return r.binary&&(r.begin=so(e,/.*\b/,r.binary,/\b.*/)),gi({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,n)=>{t.index!==0&&n.ignoreMatch()}},r)},kl={begin:"\\\\[\\s\\S]",relevance:0},FY={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[kl]},UY={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[kl]},$Y={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Wu=function(r,e,t={}){const n=gi({scope:"comment",begin:r,end:e,contains:[]},t);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=m_("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:so(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},GY=Wu("//","$"),qY=Wu("/\\*","\\*/"),QY=Wu("#","$"),HY={scope:"number",begin:ow,relevance:0},VY={scope:"number",begin:sw,relevance:0},zY={scope:"number",begin:lw,relevance:0},WY={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[kl,{begin:/\[/,end:/\]/,relevance:0,contains:[kl]}]}]},XY={scope:"title",begin:iw,relevance:0},KY={scope:"title",begin:g_,relevance:0},ZY={begin:"\\.\\s*"+g_,relevance:0},jY=function(r){return Object.assign(r,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Cc=Object.freeze({__proto__:null,MATCH_NOTHING_RE:PY,IDENT_RE:iw,UNDERSCORE_IDENT_RE:g_,NUMBER_RE:ow,C_NUMBER_RE:sw,BINARY_NUMBER_RE:lw,RE_STARTERS_RE:BY,SHEBANG:YY,BACKSLASH_ESCAPE:kl,APOS_STRING_MODE:FY,QUOTE_STRING_MODE:UY,PHRASAL_WORDS_MODE:$Y,COMMENT:Wu,C_LINE_COMMENT_MODE:GY,C_BLOCK_COMMENT_MODE:qY,HASH_COMMENT_MODE:QY,NUMBER_MODE:HY,C_NUMBER_MODE:VY,BINARY_NUMBER_MODE:zY,REGEXP_MODE:WY,TITLE_MODE:XY,UNDERSCORE_TITLE_MODE:KY,METHOD_GUARD:ZY,END_SAME_AS_BEGIN:jY});function JY(r,e){r.input[r.index-1]==="."&&e.ignoreMatch()}function eF(r,e){r.className!==void 0&&(r.scope=r.className,delete r.className)}function tF(r,e){e&&r.beginKeywords&&(r.begin="\\b("+r.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",r.__beforeBegin=JY,r.keywords=r.keywords||r.beginKeywords,delete r.beginKeywords,r.relevance===void 0&&(r.relevance=0))}function nF(r,e){Array.isArray(r.illegal)&&(r.illegal=m_(...r.illegal))}function rF(r,e){if(r.match){if(r.begin||r.end)throw new Error("begin & end are not supported with match");r.begin=r.match,delete r.match}}function aF(r,e){r.relevance===void 0&&(r.relevance=1)}const iF=(r,e)=>{if(!r.beforeMatch)return;if(r.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},r);Object.keys(r).forEach(n=>{delete r[n]}),r.keywords=t.keywords,r.begin=so(t.beforeMatch,rw(t.begin)),r.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},r.relevance=0,delete t.beforeMatch},oF=["of","and","for","in","not","or","if","then","parent","list","value"],sF="keyword";function cw(r,e,t=sF){const n=Object.create(null);return typeof r=="string"?a(t,r.split(" ")):Array.isArray(r)?a(t,r):Object.keys(r).forEach(function(i){Object.assign(n,cw(r[i],e,i))}),n;function a(i,o){e&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");n[l[0]]=[i,lF(l[0],l[1])]})}}function lF(r,e){return e?Number(e):cF(r)?0:1}function cF(r){return oF.includes(r.toLowerCase())}const M2={},Xi=r=>{console.error(r)},L2=(r,...e)=>{console.log(`WARN: ${r}`,...e)},Ro=(r,e)=>{M2[`${r}/${e}`]||(console.log(`Deprecated as of ${r}. ${e}`),M2[`${r}/${e}`]=!0)},yu=new Error;function uw(r,e,{key:t}){let n=0;const a=r[t],i={},o={};for(let s=1;s<=e.length;s++)o[s+n]=a[s],i[s+n]=!0,n+=aw(e[s-1]);r[t]=o,r[t]._emit=i,r[t]._multi=!0}function uF(r){if(Array.isArray(r.begin)){if(r.skip||r.excludeBegin||r.returnBegin)throw Xi("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),yu;if(typeof r.beginScope!="object"||r.beginScope===null)throw Xi("beginScope must be object"),yu;uw(r,r.begin,{key:"beginScope"}),r.begin=p_(r.begin,{joinWith:""})}}function dF(r){if(Array.isArray(r.end)){if(r.skip||r.excludeEnd||r.returnEnd)throw Xi("skip, excludeEnd, returnEnd not compatible with endScope: {}"),yu;if(typeof r.endScope!="object"||r.endScope===null)throw Xi("endScope must be object"),yu;uw(r,r.end,{key:"endScope"}),r.end=p_(r.end,{joinWith:""})}}function hF(r){r.scope&&typeof r.scope=="object"&&r.scope!==null&&(r.beginScope=r.scope,delete r.scope)}function fF(r){hF(r),typeof r.beginScope=="string"&&(r.beginScope={_wrap:r.beginScope}),typeof r.endScope=="string"&&(r.endScope={_wrap:r.endScope}),uF(r),dF(r)}function mF(r){function e(o,s){return new RegExp(Il(o),"m"+(r.case_insensitive?"i":"")+(r.unicodeRegex?"u":"")+(s?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=aw(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=e(p_(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((h,p)=>p>0&&h!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new t;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function a(o){const s=new n;return o.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function i(o,s){const l=o;if(o.isCompiled)return l;[eF,rF,fF,iF].forEach(u=>u(o,s)),r.compilerExtensions.forEach(u=>u(o,s)),o.__beforeBegin=null,[tF,nF,aF].forEach(u=>u(o,s)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=cw(o.keywords,r.case_insensitive)),l.keywordPatternRe=e(c,!0),s&&(o.begin||(o.begin=/\B|\b/),l.beginRe=e(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=e(l.end)),l.terminatorEnd=Il(l.end)||"",o.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(l.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return pF(u==="self"?o:u)})),o.contains.forEach(function(u){i(u,l)}),o.starts&&i(o.starts,s),l.matcher=a(l),l}if(r.compilerExtensions||(r.compilerExtensions=[]),r.contains&&r.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return r.classNameAliases=gi(r.classNameAliases||{}),i(r)}function dw(r){return r?r.endsWithParent||dw(r.starts):!1}function pF(r){return r.variants&&!r.cachedVariants&&(r.cachedVariants=r.variants.map(function(e){return gi(r,{variants:null},e)})),r.cachedVariants?r.cachedVariants:dw(r)?gi(r,{starts:r.starts?gi(r.starts):null}):Object.isFrozen(r)?gi(r):r}var gF="11.8.0";class _F extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ih=nw,P2=gi,B2=Symbol("nomatch"),bF=7,hw=function(r){const e=Object.create(null),t=Object.create(null),n=[];let a=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:kY};function l(P){return s.noHighlightRe.test(P)}function c(P){let H=P.className+" ";H+=P.parentNode?P.parentNode.className:"";const z=s.languageDetectRe.exec(H);if(z){const ne=F(z[1]);return ne||(L2(i.replace("{}",z[1])),L2("Falling back to no-highlight mode for this block.",P)),ne?z[1]:"no-highlight"}return H.split(/\s+/).find(ne=>l(ne)||F(ne))}function u(P,H,z){let ne="",oe="";typeof H=="object"?(ne=P,z=H.ignoreIllegals,oe=H.language):(Ro("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ro("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),oe=P,ne=H),z===void 0&&(z=!0);const _e={code:ne,language:oe};ae("before:highlight",_e);const ye=_e.result?_e.result:h(_e.language,_e.code,z);return ye.code=_e.code,ae("after:highlight",ye),ye}function h(P,H,z,ne){const oe=Object.create(null);function _e(be,De){return be.keywords[De]}function ye(){if(!ze.keywords){ht.addText(Ke);return}let be=0;ze.keywordPatternRe.lastIndex=0;let De=ze.keywordPatternRe.exec(Ke),Ne="";for(;De;){Ne+=Ke.substring(be,De.index);const Me=Dt.case_insensitive?De[0].toLowerCase():De[0],Re=_e(ze,Me);if(Re){const[$t,ut]=Re;if(ht.addText(Ne),Ne="",oe[Me]=(oe[Me]||0)+1,oe[Me]<=bF&&(wn+=ut),$t.startsWith("_"))Ne+=De[0];else{const Tt=Dt.classNameAliases[$t]||$t;Ce(De[0],Tt)}}else Ne+=De[0];be=ze.keywordPatternRe.lastIndex,De=ze.keywordPatternRe.exec(Ke)}Ne+=Ke.substring(be),ht.addText(Ne)}function we(){if(Ke==="")return;let be=null;if(typeof ze.subLanguage=="string"){if(!e[ze.subLanguage]){ht.addText(Ke);return}be=h(ze.subLanguage,Ke,!0,En[ze.subLanguage]),En[ze.subLanguage]=be._top}else be=_(Ke,ze.subLanguage.length?ze.subLanguage:null);ze.relevance>0&&(wn+=be.relevance),ht.__addSublanguage(be._emitter,be.language)}function Ee(){ze.subLanguage!=null?we():ye(),Ke=""}function Ce(be,De){be!==""&&(ht.startScope(De),ht.addText(be),ht.endScope())}function he(be,De){let Ne=1;const Me=De.length-1;for(;Ne<=Me;){if(!be._emit[Ne]){Ne++;continue}const Re=Dt.classNameAliases[be[Ne]]||be[Ne],$t=De[Ne];Re?Ce($t,Re):(Ke=$t,ye(),Ke=""),Ne++}}function xe(be,De){return be.scope&&typeof be.scope=="string"&&ht.openNode(Dt.classNameAliases[be.scope]||be.scope),be.beginScope&&(be.beginScope._wrap?(Ce(Ke,Dt.classNameAliases[be.beginScope._wrap]||be.beginScope._wrap),Ke=""):be.beginScope._multi&&(he(be.beginScope,De),Ke="")),ze=Object.create(be,{parent:{value:ze}}),ze}function je(be,De,Ne){let Me=MY(be.endRe,Ne);if(Me){if(be["on:end"]){const Re=new N2(be);be["on:end"](De,Re),Re.isMatchIgnored&&(Me=!1)}if(Me){for(;be.endsParent&&be.parent;)be=be.parent;return be}}if(be.endsWithParent)return je(be.parent,De,Ne)}function Ve(be){return ze.matcher.regexIndex===0?(Ke+=be[0],1):(j=!0,0)}function nt(be){const De=be[0],Ne=be.rule,Me=new N2(Ne),Re=[Ne.__beforeBegin,Ne["on:begin"]];for(const $t of Re)if($t&&($t(be,Me),Me.isMatchIgnored))return Ve(De);return Ne.skip?Ke+=De:(Ne.excludeBegin&&(Ke+=De),Ee(),!Ne.returnBegin&&!Ne.excludeBegin&&(Ke=De)),xe(Ne,be),Ne.returnBegin?0:De.length}function et(be){const De=be[0],Ne=H.substring(be.index),Me=je(ze,be,Ne);if(!Me)return B2;const Re=ze;ze.endScope&&ze.endScope._wrap?(Ee(),Ce(De,ze.endScope._wrap)):ze.endScope&&ze.endScope._multi?(Ee(),he(ze.endScope,be)):Re.skip?Ke+=De:(Re.returnEnd||Re.excludeEnd||(Ke+=De),Ee(),Re.excludeEnd&&(Ke=De));do ze.scope&&ht.closeNode(),!ze.skip&&!ze.subLanguage&&(wn+=ze.relevance),ze=ze.parent;while(ze!==Me.parent);return Me.starts&&xe(Me.starts,be),Re.returnEnd?0:De.length}function yt(){const be=[];for(let De=ze;De!==Dt;De=De.parent)De.scope&&be.unshift(De.scope);be.forEach(De=>ht.openNode(De))}let Lt={};function St(be,De){const Ne=De&&De[0];if(Ke+=be,Ne==null)return Ee(),0;if(Lt.type==="begin"&&De.type==="end"&&Lt.index===De.index&&Ne===""){if(Ke+=H.slice(De.index,De.index+1),!a){const Me=new Error(`0 width match regex (${P})`);throw Me.languageName=P,Me.badRule=Lt.rule,Me}return 1}if(Lt=De,De.type==="begin")return nt(De);if(De.type==="illegal"&&!z){const Me=new Error('Illegal lexeme "'+Ne+'" for mode "'+(ze.scope||"")+'"');throw Me.mode=ze,Me}else if(De.type==="end"){const Me=et(De);if(Me!==B2)return Me}if(De.type==="illegal"&&Ne==="")return 1;if(Ut>1e5&&Ut>De.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ke+=Ne,Ne.length}const Dt=F(P);if(!Dt)throw Xi(i.replace("{}",P)),new Error('Unknown language: "'+P+'"');const Pt=mF(Dt);let Rn="",ze=ne||Pt;const En={},ht=new s.__emitter(s);yt();let Ke="",wn=0,tn=0,Ut=0,j=!1;try{if(Dt.__emitTokens)Dt.__emitTokens(H,ht);else{for(ze.matcher.considerAll();;){Ut++,j?j=!1:ze.matcher.considerAll(),ze.matcher.lastIndex=tn;const be=ze.matcher.exec(H);if(!be)break;const De=H.substring(tn,be.index),Ne=St(De,be);tn=be.index+Ne}St(H.substring(tn))}return ht.finalize(),Rn=ht.toHTML(),{language:P,value:Rn,relevance:wn,illegal:!1,_emitter:ht,_top:ze}}catch(be){if(be.message&&be.message.includes("Illegal"))return{language:P,value:ih(H),illegal:!0,relevance:0,_illegalBy:{message:be.message,index:tn,context:H.slice(tn-100,tn+100),mode:be.mode,resultSoFar:Rn},_emitter:ht};if(a)return{language:P,value:ih(H),illegal:!1,relevance:0,errorRaised:be,_emitter:ht,_top:ze};throw be}}function p(P){const H={value:ih(P),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return H._emitter.addText(P),H}function _(P,H){H=H||s.languages||Object.keys(e);const z=p(P),ne=H.filter(F).filter(q).map(Ee=>h(Ee,P,!1));ne.unshift(z);const oe=ne.sort((Ee,Ce)=>{if(Ee.relevance!==Ce.relevance)return Ce.relevance-Ee.relevance;if(Ee.language&&Ce.language){if(F(Ee.language).supersetOf===Ce.language)return 1;if(F(Ce.language).supersetOf===Ee.language)return-1}return 0}),[_e,ye]=oe,we=_e;return we.secondBest=ye,we}function b(P,H,z){const ne=H&&t[H]||z;P.classList.add("hljs"),P.classList.add(`language-${ne}`)}function A(P){let H=null;const z=c(P);if(l(z))return;if(ae("before:highlightElement",{el:P,language:z}),P.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(P)),s.throwUnescapedHTML))throw new _F("One of your code blocks includes unescaped HTML.",P.innerHTML);H=P;const ne=H.textContent,oe=z?u(ne,{language:z,ignoreIllegals:!0}):_(ne);P.innerHTML=oe.value,b(P,z,oe.language),P.result={language:oe.language,re:oe.relevance,relevance:oe.relevance},oe.secondBest&&(P.secondBest={language:oe.secondBest.language,relevance:oe.secondBest.relevance}),ae("after:highlightElement",{el:P,result:oe,text:ne})}function I(P){s=P2(s,P)}const M=()=>{m(),Ro("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function U(){m(),Ro("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let V=!1;function m(){if(document.readyState==="loading"){V=!0;return}document.querySelectorAll(s.cssSelector).forEach(A)}function O(){V&&m()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",O,!1);function S(P,H){let z=null;try{z=H(r)}catch(ne){if(Xi("Language definition for '{}' could not be registered.".replace("{}",P)),a)Xi(ne);else throw ne;z=o}z.name||(z.name=P),e[P]=z,z.rawDefinition=H.bind(null,r),z.aliases&&Y(z.aliases,{languageName:P})}function k(P){delete e[P];for(const H of Object.keys(t))t[H]===P&&delete t[H]}function L(){return Object.keys(e)}function F(P){return P=(P||"").toLowerCase(),e[P]||e[t[P]]}function Y(P,{languageName:H}){typeof P=="string"&&(P=[P]),P.forEach(z=>{t[z.toLowerCase()]=H})}function q(P){const H=F(P);return H&&!H.disableAutodetect}function te(P){P["before:highlightBlock"]&&!P["before:highlightElement"]&&(P["before:highlightElement"]=H=>{P["before:highlightBlock"](Object.assign({block:H.el},H))}),P["after:highlightBlock"]&&!P["after:highlightElement"]&&(P["after:highlightElement"]=H=>{P["after:highlightBlock"](Object.assign({block:H.el},H))})}function se(P){te(P),n.push(P)}function ie(P){const H=n.indexOf(P);H!==-1&&n.splice(H,1)}function ae(P,H){const z=P;n.forEach(function(ne){ne[z]&&ne[z](H)})}function D(P){return Ro("10.7.0","highlightBlock will be removed entirely in v12.0"),Ro("10.7.0","Please use highlightElement now."),A(P)}Object.assign(r,{highlight:u,highlightAuto:_,highlightAll:m,highlightElement:A,highlightBlock:D,configure:I,initHighlighting:M,initHighlightingOnLoad:U,registerLanguage:S,unregisterLanguage:k,listLanguages:L,getLanguage:F,registerAliases:Y,autoDetection:q,inherit:P2,addPlugin:se,removePlugin:ie}),r.debugMode=function(){a=!1},r.safeMode=function(){a=!0},r.versionString=gF,r.regex={concat:so,lookahead:rw,either:m_,optional:DY,anyNumberOfTimes:NY};for(const P in Cc)typeof Cc[P]=="object"&&tw(Cc[P]);return Object.assign(r,Cc),r},ns=hw({});ns.newInstance=()=>hw({});var SF=ns;ns.HighlightJS=ns;ns.default=ns;var oh,Y2;function OF(){if(Y2)return oh;Y2=1;function r(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",u="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",h="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",p="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",_=c+u+h+p,b="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",A="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",I="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",M="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",U="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",V="отображениевремениэлементовпланировщика ",m="типфайлаформатированногодокумента ",O="обходрезультатазапроса типзаписизапроса ",S="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",k="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",L="типизмеренияпостроителязапроса ",F="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",Y="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",q="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",te="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",se="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",ie="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",ae="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",D="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",P="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",H="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",z="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",ne=b+A+I+M+U+V+m+O+S+k+L+F+Y+q+te+se+ie+ae+D+P+H+z,ye="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",we="null истина ложь неопределено",Ee=e.inherit(e.NUMBER_MODE),Ce={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},he={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},xe=e.inherit(e.C_LINE_COMMENT_MODE),je={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:i+l},contains:[xe]},Ve={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},nt={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:we},contains:[Ee,Ce,he]},xe]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:i,built_in:_,class:ne,type:ye,literal:we},contains:[je,nt,xe,Ve,Ee,Ce,he]}}return oh=r,oh}var sh,F2;function vF(){if(F2)return sh;F2=1;function r(e){const t=e.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,a=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},s={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},u={scope:"attribute",match:t.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:a,contains:[{scope:"operator",match:/=\/?/},u,i,o,s,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return sh=r,sh}var lh,U2;function EF(){if(U2)return lh;U2=1;function r(e){const t=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return lh=r,lh}var ch,$2;function yF(){if($2)return ch;$2=1;function r(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,a=t.concat(n,t.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}return ch=r,ch}var uh,G2;function TF(){if(G2)return uh;G2=1;function r(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,a=t+"(\\."+t+")?("+n+")?",i="\\w+",s="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+a+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,u=e.COMMENT("--","$"),h={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[u,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:s,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[u,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},h,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},h]}}return uh=r,uh}var dh,q2;function CF(){if(q2)return dh;q2=1;function r(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[a],n.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return dh=r,dh}var hh,Q2;function RF(){if(Q2)return hh;Q2=1;function r(e){const t={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},a,n,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return hh=r,hh}var fh,H2;function wF(){if(H2)return fh;H2=1;function r(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),a={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},i=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),s=[i,o,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,a]},...s],illegal:/\/\/|->|=>|\[\[/}}return fh=r,fh}var mh,V2;function AF(){if(V2)return mh;V2=1;function r(e){const t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},s={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,i,e.REGEXP_MODE];const l=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return mh=r,mh}var ph,z2;function IF(){if(z2)return ph;z2=1;function r(t){const n=t.regex,a=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",s="<[^<>]+>",l="(?!struct)("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional(s)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},_={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},a,t.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(o)+t.IDENT_RE,relevance:0},A=n.optional(o)+t.IDENT_RE+"\\s*\\(",I=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],M=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],U=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],V=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],S={type:M,keyword:I,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:U},k={className:"function.dispatch",relevance:0,keywords:{_hint:V},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},L=[k,_,c,a,t.C_BLOCK_COMMENT_MODE,p,h],F={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:L.concat([{begin:/\(/,end:/\)/,keywords:S,contains:L.concat(["self"]),relevance:0}]),relevance:0},Y={className:"function",begin:"("+l+"[\\*&\\s]+)+"+A,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:S,relevance:0},{begin:A,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[a,t.C_BLOCK_COMMENT_MODE,h,p,c,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",a,t.C_BLOCK_COMMENT_MODE,h,p,c]}]},c,a,t.C_BLOCK_COMMENT_MODE,_]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:S,illegal:"",keywords:S,contains:["self",c]},{begin:t.IDENT_RE+"::",keywords:S},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const n={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},a=r(t),i=a.keywords;return i.type=[...i.type,...n.type],i.literal=[...i.literal,...n.literal],i.built_in=[...i.built_in,...n.built_in],i._hints=n._hints,a.name="Arduino",a.aliases=["ino"],a.supersetOf="cpp",a}return ph=e,ph}var gh,W2;function kF(){if(W2)return gh;W2=1;function r(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return gh=r,gh}var _h,X2;function NF(){if(X2)return _h;X2=1;function r(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(o,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,c,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,s,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:u}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return _h=r,_h}var bh,K2;function DF(){if(K2)return bh;K2=1;function r(e){const t=e.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},a=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],s={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,s,...a,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return bh=r,bh}var Sh,Z2;function xF(){if(Z2)return Sh;Z2=1;function r(e){const t=e.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],a=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(a),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(a),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return Sh=r,Sh}var Oh,j2;function MF(){if(j2)return Oh;j2=1;function r(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return Oh=r,Oh}var vh,J2;function LF(){if(J2)return vh;J2=1;function r(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},s={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},u={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},h={className:"symbol",begin:"@[A-z0-9_]+"},p={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[s,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:i,literal:a},contains:[o,s,l,c,u,h,p]}}return vh=r,vh}var Eh,eS;function PF(){if(eS)return Eh;eS=1;function r(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return Eh=r,Eh}var yh,tS;function BF(){if(tS)return yh;tS=1;function r(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[t,a,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return yh=r,yh}var Th,nS;function YF(){if(nS)return Th;nS=1;function r(e){const t=e.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},s={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},s]}}return Th=r,Th}var Ch,rS;function FF(){if(rS)return Ch;rS=1;function r(e){const t=e.regex,n={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},b=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],A=["true","false"],I={match:/(\/[a-z._-]+)+/},M=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],U=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],V=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],m=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:b,literal:A,built_in:[...M,...U,"set","shopt",...V,...m]},contains:[p,e.SHEBANG(),_,u,e.HASH_COMMENT_MODE,o,I,s,l,c,n]}}return Ch=r,Ch}var Rh,aS;function UF(){if(aS)return Rh;aS=1;function r(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return Rh=r,Rh}var wh,iS;function $F(){if(iS)return wh;iS=1;function r(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return wh=r,wh}var Ah,oS;function GF(){if(oS)return Ah;oS=1;function r(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return Ah=r,Ah}var Ih,sS;function qF(){if(sS)return Ih;sS=1;function r(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="<[^<>]+>",s="("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},b=t.optional(i)+e.IDENT_RE+"\\s*\\(",M={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},U=[p,l,n,e.C_BLOCK_COMMENT_MODE,h,u],V={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:M,contains:U.concat([{begin:/\(/,end:/\)/,keywords:M,contains:U.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+s+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:M,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:M,relevance:0},{begin:b,returnBegin:!0,contains:[e.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C",aliases:["h"],keywords:M,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:p,strings:u,keywords:M}}}return Ih=r,Ih}var kh,lS;function QF(){if(lS)return kh;lS=1;function r(e){const t=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],a="false true",i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},u={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[o,s,e.NUMBER_MODE]},...i]},h=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],p={match:[/OBJECT/,/\s+/,t.either(...h),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:a},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,s,l,c,e.NUMBER_MODE,p,u]}}return kh=r,kh}var Nh,cS;function HF(){if(cS)return Nh;cS=1;function r(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],a=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:n,literal:a},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}return Nh=r,Nh}var Dh,uS;function VF(){if(uS)return Dh;uS=1;function r(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],a=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(n),meta:a},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return Dh=r,Dh}var xh,dS;function zF(){if(dS)return xh;dS=1;function r(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return xh=r,xh}var Mh,hS;function WF(){if(hS)return Mh;hS=1;function r(e){const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:n,relevance:0},s={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),h={scope:"punctuation",match:/,/,relevance:0},p=e.COMMENT(";","$",{relevance:0}),_={className:"literal",begin:/\b(true|false|nil)\b/},b={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},A={className:"symbol",begin:"[:]{1,2}"+n},I={begin:"\\(",end:"\\)"},M={endsWithParent:!0,relevance:0},U={keywords:i,className:"name",begin:n,relevance:0,starts:M},V=[h,I,l,c,u,p,A,b,s,_,o],m={beginKeywords:a,keywords:{$pattern:n,keyword:a},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(V)};return I.contains=[m,U,M],M.contains=V,b.contains=V,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[h,I,l,c,u,p,A,b,s,_]}}return Mh=r,Mh}var Lh,fS;function XF(){if(fS)return Lh;fS=1;function r(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return Lh=r,Lh}var Ph,mS;function KF(){if(mS)return Ph;mS=1;function r(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Ph=r,Ph}var Bh,pS;function ZF(){if(pS)return Bh;pS=1;const r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(a,t,n);function o(s){const l=["npm","print"],c=["yes","no","on","off"],u=["then","unless","until","loop","by","when","and","or","is","isnt","not"],h=["var","const","let","function","static"],p=O=>S=>!O.includes(S),_={keyword:r.concat(u).filter(p(h)),literal:e.concat(c),built_in:i.concat(l)},b="[A-Za-z$_][0-9A-Za-z$_]*",A={className:"subst",begin:/#\{/,end:/\}/,keywords:_},I=[s.BINARY_NUMBER_MODE,s.inherit(s.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[s.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[s.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[s.BACKSLASH_ESCAPE,A]},{begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,A]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[A,s.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+b},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];A.contains=I;const M=s.inherit(s.TITLE_MODE,{begin:b}),U="(\\(.*\\)\\s*)?\\B[-=]>",V={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]},m={variants:[{match:[/class\s+/,b,/\s+extends\s+/,b]},{match:[/class\s+/,b]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:_};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:_,illegal:/\/\*/,contains:[...I,s.COMMENT("###","###"),s.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+b+"\\s*=\\s*"+U,end:"[-=]>",returnBegin:!0,contains:[M,V]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:U,end:"[-=]>",returnBegin:!0,contains:[V]}]},m,{begin:b+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return Bh=o,Bh}var Yh,gS;function jF(){if(gS)return Yh;gS=1;function r(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return Yh=r,Yh}var Fh,_S;function JF(){if(_S)return Fh;_S=1;function r(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return Fh=r,Fh}var Uh,bS;function eU(){if(bS)return Uh;bS=1;function r(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="<[^<>]+>",s="(?!struct)("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},b=t.optional(i)+e.IDENT_RE+"\\s*\\(",A=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],I=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],M=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],U=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],O={type:I,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:M},S={className:"function.dispatch",relevance:0,keywords:{_hint:U},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},k=[S,p,l,n,e.C_BLOCK_COMMENT_MODE,h,u],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:O,contains:k.concat([{begin:/\(/,end:/\)/,keywords:O,contains:k.concat(["self"]),relevance:0}]),relevance:0},F={className:"function",begin:"("+s+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:O,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:O,relevance:0},{begin:b,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:O,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:O,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:O,illegal:"",keywords:O,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:O},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Uh=r,Uh}var $h,SS;function tU(){if(SS)return $h;SS=1;function r(e){const t="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",a="property rsc_defaults op_defaults",i="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",s="number string",l="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:i+" "+o+" "+s,literal:l},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:a,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return $h=r,$h}var Gh,OS;function nU(){if(OS)return Gh;OS=1;function r(e){const t="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",s={$pattern:a,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:s};function h(U,V){const m=[{begin:U,end:V}];return m[0].contains=m,m}const p={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:h("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},_={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%q<",end:">",contains:h("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},b={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},A={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%r<",end:">",contains:h("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},I={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},M=[u,p,_,A,b,I,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[p,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return l.contains=M,u.contains=M.slice(1),{name:"Crystal",aliases:["cr"],keywords:s,contains:M}}return Gh=r,Gh}var qh,vS;function rU(){if(vS)return qh;vS=1;function r(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(o),built_in:t,literal:a},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),p={className:"subst",begin:/\{/,end:/\}/,keywords:s},_=e.inherit(p,{illegal:/\n/}),b={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,_]},A={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]},I=e.inherit(A,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]});p.contains=[A,b,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],_.contains=[I,b,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const M={variants:[A,b,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},U={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},V=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",m={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},M,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,U,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,U,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+V+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,U],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[M,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m]}}return qh=r,qh}var Qh,ES;function aU(){if(ES)return Qh;ES=1;function r(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return Qh=r,Qh}var Hh,yS;function iU(){if(yS)return Hh;yS=1;const r=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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function o(s){const l=s.regex,c=r(s),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",p=/@-?\w[\w]*(-\w+)*/,_="[a-zA-Z-][a-zA-Z0-9_-]*",b=[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,u,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+_,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+n.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...b,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...b,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:p},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...b,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Hh=o,Hh}var Vh,TS;function oU(){if(TS)return Vh;TS=1;function r(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",s="0[xX]"+o,l="([eE][+-]?"+a+")",c="("+a+"(\\.\\d*|"+l+")|\\d+\\."+a+"|\\."+n+l+"?)",u="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+a+")",h="("+n+"|"+i+"|"+s+")",p="("+u+"|"+c+")",_=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,b={className:"number",begin:"\\b"+h+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},A={className:"number",begin:"\\b("+p+"([fF]|L|i|[fF]i|Li)?|"+h+"(i|[fF]i|Li))",relevance:0},I={className:"string",begin:"'("+_+"|.)",end:"'",illegal:"."},U={className:"string",begin:'"',contains:[{begin:_,relevance:0}],end:'"[cwd]?'},V={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},m={className:"string",begin:"`",end:"`[cwd]?"},O={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},S={className:"string",begin:'q"\\{',end:'\\}"'},k={className:"meta",begin:"^#!",end:"$",relevance:5},L={className:"meta",begin:"#(line)",end:"$",relevance:5},F={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},Y=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,Y,O,U,V,m,S,A,b,I,k,L,F]}}return Vh=r,Vh}var zh,CS;function sU(){if(CS)return zh;CS=1;function r(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},p=e.inherit(u,{contains:[]}),_=e.inherit(h,{contains:[]});u.contains.push(_),h.contains.push(p);let b=[n,c];return[u,h,p,_].forEach(M=>{M.contains=M.contains.concat(b)}),b=b.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:b},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:b}]}]},n,o,u,h,{className:"quote",begin:"^>\\s+",contains:b,end:"$"},i,a,c,s]}}return zh=r,zh}var Wh,RS;function lU(){if(RS)return Wh;RS=1;function r(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[e.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return Wh=r,Wh}var Xh,wS;function cU(){if(wS)return Xh;wS=1;function r(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},s={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,s,a].concat(n)},a].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,s,e.NUMBER_MODE,o,l,c,a].concat(n)}}return Xh=r,Xh}var Kh,AS;function uU(){if(AS)return Kh;AS=1;function r(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return Kh=r,Kh}var Zh,IS;function dU(){if(IS)return Zh;IS=1;function r(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return Zh=r,Zh}var jh,kS;function hU(){if(kS)return jh;kS=1;function r(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return jh=r,jh}var Jh,NS;function fU(){if(NS)return Jh;NS=1;function r(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},s={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},u={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},h={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},p={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},_={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[u,i,o,s,c,p,h,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,a,_,{begin:e.IDENT_RE+"::",keywords:""}]}}return nf=r,nf}var rf,LS;function _U(){if(LS)return rf;LS=1;function r(e){const t="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}return rf=r,rf}var af,PS;function bU(){if(PS)return af;PS=1;function r(e){const t=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,n,i]}}return af=r,af}var of,BS;function SU(){if(BS)return of;BS=1;function r(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",s={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},h={match:/\\[\s\S]/,scope:"char.escape",relevance:0},p=`[/|([{<"']`,_=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],b=S=>({scope:"char.escape",begin:t.concat(/\\/,S),relevance:0}),A={className:"string",begin:"~[a-z](?="+p+")",contains:_.map(S=>e.inherit(S,{contains:[b(S.end),h,l]}))},I={className:"string",begin:"~[A-Z](?="+p+")",contains:_.map(S=>e.inherit(S,{contains:[b(S.end)]}))},M={className:"regex",variants:[{begin:"~r(?="+p+")",contains:_.map(S=>e.inherit(S,{end:t.concat(S.end,/[uismxfU]{0,7}/),contains:[b(S.end),h,l]}))},{begin:"~R(?="+p+")",contains:_.map(S=>e.inherit(S,{end:t.concat(S.end,/[uismxfU]{0,7}/),contains:[b(S.end)]}))}]},U={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},V={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},m=e.inherit(V,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),O=[U,M,I,A,e.HASH_COMMENT_MODE,m,V,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[U,{begin:a}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=O,{name:"Elixir",aliases:["ex","exs"],keywords:s,contains:O}}return of=r,of}var sf,YS;function OU(){if(YS)return sf;YS=1;function r(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={begin:/\{/,end:/\}/,contains:a.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,a,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return sf=r,sf}var lf,FS;function vU(){if(FS)return lf;FS=1;function r(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(a,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:s},p={className:"string",contains:[e.BACKSLASH_ESCAPE,h],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},_="[1-9](_?[0-9])*|0",b="[0-9](_?[0-9])*",A={className:"number",relevance:0,variants:[{begin:`\\b(${_})(\\.(${b}))?([eE][+-]?(${b})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},I={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},k=[p,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:s},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[I]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[p,{begin:n}],relevance:0},A,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,u),relevance:0}].concat(c,u);h.contains=k,I.contains=k;const L="[>?]>",F="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",Y="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",q=[{begin:/^\s*=>/,starts:{end:"$",contains:k}},{className:"meta.prompt",begin:"^("+L+"|"+F+"|"+Y+")(?=[ ])",starts:{end:"$",keywords:s,contains:k}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(q).concat(u).concat(k)}}return lf=r,lf}var cf,US;function EU(){if(US)return cf;US=1;function r(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return cf=r,cf}var uf,$S;function yU(){if($S)return uf;$S=1;function r(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return uf=r,uf}var df,GS;function TU(){if(GS)return df;GS=1;function r(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},s={begin:"fun\\s+"+t+"/\\d+"},l={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},u={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},h={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},p={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},_={beginKeywords:"fun receive if try case",end:"end",keywords:a};_.contains=[i,s,e.inherit(e.APOS_STRING_MODE,{className:""}),_,l,e.QUOTE_STRING_MODE,o,c,u,h,p];const b=[i,s,_,l,e.QUOTE_STRING_MODE,o,c,u,h,p];l.contains[1].contains=b,c.contains=b,p.contains[1].contains=b;const A=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],I={className:"params",begin:"\\(",end:"\\)",contains:b};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[I,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:a,contains:b}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:A.map(M=>`${M}|1.5`).join(" ")},contains:[I]},o,e.QUOTE_STRING_MODE,p,u,h,c,{begin:/\.$/}]}}return df=r,df}var hf,qS;function CU(){if(qS)return hf;qS=1;function r(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return hf=r,hf}var ff,QS;function RU(){if(QS)return ff;QS=1;function r(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return ff=r,ff}var mf,HS;function wU(){if(HS)return mf;HS=1;function r(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,n,i,e.C_NUMBER_MODE]}}return mf=r,mf}var pf,VS;function AU(){if(VS)return pf;VS=1;function r(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},a={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:t.concat(/\b\d+/,o,i)},{begin:t.concat(/\.\d+/,o,i)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},a,s]}}return pf=r,pf}var gf,zS;function IU(){if(zS)return gf;zS=1;function r(s){return new RegExp(s.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(s){return s?typeof s=="string"?s:s.source:null}function t(s){return n("(?=",s,")")}function n(...s){return s.map(c=>e(c)).join("")}function a(s){const l=s[s.length-1];return typeof l=="object"&&l.constructor===Object?(s.splice(s.length-1,1),l):{}}function i(...s){return"("+(a(s).capture?"":"?:")+s.map(u=>e(u)).join("|")+")"}function o(s){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},u=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],h=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],p=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],_=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],A={keyword:l,literal:h,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":p},M={variants:[s.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),s.C_LINE_COMMENT_MODE]},U=/[a-zA-Z_](\w|')*/,V={scope:"variable",begin:/``/,end:/``/},m=/\B('|\^)/,O={scope:"symbol",variants:[{match:n(m,/``.*?``/)},{match:n(m,s.UNDERSCORE_IDENT_RE)}],relevance:0},S=function({includeEqual:Ee}){let Ce;Ee?Ce="!%&*+-/<=>@^|~?":Ce="!%&*+-/<>@^|~?";const he=Array.from(Ce),xe=n("[",...he.map(r),"]"),je=i(xe,/\./),Ve=n(je,t(je)),nt=i(n(Ve,je,"*"),n(xe,"+"));return{scope:"operator",match:i(nt,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},k=S({includeEqual:!0}),L=S({includeEqual:!1}),F=function(Ee,Ce){return{begin:n(Ee,t(n(/\s*/,i(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:Ce,end:t(i(/\n/,/=/)),relevance:0,keywords:s.inherit(A,{type:_}),contains:[M,O,s.inherit(V,{scope:null}),L]}},Y=F(/:/,"operator"),q=F(/\bof\b/,"keyword"),te={begin:[/(^|\s+)/,/type/,/\s+/,U],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:A,contains:[M,s.inherit(V,{scope:null}),O,{scope:"operator",match:/<|>/},Y]},se={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},ie={begin:[/^\s*/,n(/#/,i(...u)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},ae={variants:[s.BINARY_NUMBER_MODE,s.C_NUMBER_MODE]},D={scope:"string",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE]},P={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},s.BACKSLASH_ESCAPE]},H={scope:"string",begin:/"""/,end:/"""/,relevance:2},z={scope:"subst",begin:/\{/,end:/\}/,keywords:A},ne={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},s.BACKSLASH_ESCAPE,z]},oe={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},s.BACKSLASH_ESCAPE,z]},_e={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},z],relevance:2},ye={scope:"string",match:n(/'/,i(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return z.contains=[oe,ne,P,D,ye,c,M,V,Y,se,ie,ae,O,k],{name:"F#",aliases:["fs","f#"],keywords:A,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[_e,oe,ne,H,P,D,ye]},M,V,te,{scope:"meta",begin:/\[\]/,relevance:2,contains:[V,H,P,D,ye,ae]},q,Y,se,ie,ae,O,k]}}return gf=o,gf}var _f,WS;function kU(){if(WS)return _f;WS=1;function r(e){const t=e.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},s={begin:"/",end:"/",keywords:n,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,s,{className:"comment",begin:t.concat(l,t.anyNumberOfTimes(t.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,s,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},a,i]},e.C_NUMBER_MODE,i]}}return _f=r,_f}var bf,XS;function NU(){if(XS)return bf;XS=1;function r(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],s={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(_,b,A){const I=e.inherit({className:"function",beginKeywords:_,end:b,excludeEnd:!0,contains:[].concat(o)},A||{});return I.contains.push(s),I.contains.push(e.C_NUMBER_MODE),I.contains.push(e.C_BLOCK_COMMENT_MODE),I.contains.push(n),I},c={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},u={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},h={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},p={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,c,h,u,"self"]};return h.contains.push(p),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,u,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,p]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},h,i]}}return bf=r,bf}var Sf,KS;function DU(){if(KS)return Sf;KS=1;function r(e){const t="[A-Z_][A-Z0-9_.]*",n="%",a={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),s=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),o,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:n},i].concat(s)}}return Sf=r,Sf}var Of,ZS;function xU(){if(ZS)return Of;ZS=1;function r(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return Of=r,Of}var vf,jS;function MU(){if(jS)return vf;jS=1;function r(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return vf=r,vf}var Ef,JS;function LU(){if(JS)return Ef;JS=1;function r(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Ef=r,Ef}var yf,eO;function PU(){if(eO)return yf;eO=1;function r(e){const o={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:o,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Af=r,Af}var If,oO;function GU(){if(oO)return If;oO=1;function r(e){const t=e.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},a={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,o=/''|'[^']+'/,s=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,u=t.either(i,o,s,l),h=t.concat(t.optional(/\.|\.\/|\//),u,t.anyNumberOfTimes(t.concat(c,u))),p=t.concat("(",s,"|",l,")(?==)"),_={begin:h},b=e.inherit(_,{keywords:a}),A={begin:/\(/,end:/\)/},I={className:"attr",begin:p,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,b,A]}}},M={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},U={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,M,I,b,A],returnEnd:!0},V=e.inherit(_,{className:"name",keywords:n,starts:e.inherit(U,{end:/\)/})});A.contains=[V];const m=e.inherit(_,{keywords:n,className:"name",starts:e.inherit(U,{end:/\}\}/})}),O=e.inherit(_,{keywords:n,className:"name"}),S=e.inherit(_,{className:"name",keywords:n,starts:e.inherit(U,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[m],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[O]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[O]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[S]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[S]}]}}return If=r,If}var kf,sO;function qU(){if(sO)return kf;sO=1;function r(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[n,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),t]},s={begin:/\{/,end:/\}/,contains:o.contains},l="([0-9]_*)+",c="([0-9a-fA-F]_*)+",u="([01]_*)+",h="([0-7]_*)+",p={className:"number",relevance:0,variants:[{match:`\\b(${l})(\\.(${l}))?([eE][+-]?(${l}))?\\b`},{match:`\\b0[xX]_*(${c})(\\.(${c}))?([pP][+-]?(${l}))?\\b`},{match:`\\b0[oO](${h})\\b`},{match:`\\b0[bB](${u})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[o,t],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[o,t],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,o,t]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,i,o,s,t]},{beginKeywords:"default",end:"$",contains:[i,o,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,e.QUOTE_STRING_MODE,t]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,a,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,p,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}]}}return kf=r,kf}var Nf,lO;function QU(){if(lO)return Nf;lO=1;function r(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:":[ ]*",end:"[^A-Za-z0-9_ \\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ ]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}return Nf=r,Nf}var Df,cO;function HU(){if(cO)return Df;cO=1;function r(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return Df=r,Df}var xf,uO;function VU(){if(uO)return xf;uO=1;function r(e){const t=e.regex,n="HTTP/([32]|1\\.[01])",a=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:t.concat("^",a,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(i,{relevance:0})]}}return xf=r,xf}var Mf,dO;function zU(){if(dO)return Mf;dO=1;function r(e){const t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",a={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:n,relevance:0},s={className:"number",begin:i,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),u={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},h={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},p={className:"comment",begin:"\\^"+n},_=e.COMMENT("\\^\\{","\\}"),b={className:"symbol",begin:"[:]{1,2}"+n},A={begin:"\\(",end:"\\)"},I={endsWithParent:!0,relevance:0},M={className:"name",relevance:0,keywords:a,begin:n,starts:I},U=[A,l,p,_,c,b,h,s,u,o];return A.contains=[e.COMMENT("comment",""),M,I],I.contains=U,h.contains=U,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),A,l,p,_,c,b,h,s,u]}}return Mf=r,Mf}var Lf,hO;function WU(){if(hO)return Lf;hO=1;function r(e){const t="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:n,contains:["self"]}]}}return Lf=r,Lf}var Pf,fO;function XU(){if(fO)return Pf;fO=1;function r(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},a=e.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[a,o,i,s,n,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,h=/'[^']*'/,p=t.either(c,u,h),_=t.concat(p,"(\\s*\\.\\s*",p,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:_,className:"attr",starts:{end:/$/,contains:[a,l,o,i,s,n]}}]}}return Pf=r,Pf}var Bf,mO;function KU(){if(mO)return Bf;mO=1;function r(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},a=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,a)},{begin:t.concat(/\b\d+/,i,a)},{begin:t.concat(/\.\d+/,i,a)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}return Bf=r,Bf}var Yf,pO;function ZU(){if(pO)return Yf;pO=1;function r(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",i="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",s="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",l="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",u="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",h="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",p="smHidden smMaximized smMinimized smNormal wmNo wmYes ",_="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",b="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",A="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",I="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",M="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",U="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",V="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",m="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",O="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",S="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",k="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",L="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",F="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",Y="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",q="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",te="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",se="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",ie="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",ae="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",D="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",P="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",H="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",z="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",ne="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",oe="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",_e="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",ye="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",we="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Ee=i+o+s+l+c+u+h+p+_+b+A+I+M+U+V+m+O+S+k+L+F+Y+q+te+se+ie+ae+D+P+H+z+ne+oe+_e+ye+we,Ce="atUser atGroup atRole ",he="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",xe="apBegin apEnd ",je="alLeft alRight ",Ve="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",nt="cirCommon cirRevoked ",et="ctSignature ctEncode ctSignatureEncode ",yt="clbUnchecked clbChecked clbGrayed ",Lt="ceISB ceAlways ceNever ",St="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Dt="cfInternal cfDisplay ",Pt="ciUnspecified ciWrite ciRead ",Rn="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",ze="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",En="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ht="cltInternal cltPrimary cltGUI ",Ke="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",wn="dssEdit dssInsert dssBrowse dssInActive ",tn="dftDate dftShortDate dftDateTime dftTimeStamp ",Ut="dotDays dotHours dotMinutes dotSeconds ",j="dtkndLocal dtkndUTC ",be="arNone arView arEdit arFull ",De="ddaView ddaEdit ",Ne="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Me="ecotFile ecotProcess ",Re="eaGet eaCopy eaCreate eaCreateStandardRoute ",$t="edltAll edltNothing edltQuery ",ut="essmText essmCard ",Tt="esvtLast esvtLastActive esvtSpecified ",rt="edsfExecutive edsfArchive ",it="edstSQLServer edstFile ",Vt="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",_t="vsDefault vsDesign vsActive vsObsolete ",Ye="etNone etCertificate etPassword etCertificatePassword ",Gn="ecException ecWarning ecInformation ",Fr="estAll estApprovingOnly ",ft="evtLast evtLastActive evtQuery ",ir="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Ln="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",Ai="grhAuto grhX1 grhX2 grhX3 ",Ur="hltText hltRTF hltHTML ",nn="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",$r="im8bGrayscale im24bRGB im1bMonochrome ",Ii="itBMP itJPEG itWMF itPNG ",Ra="ikhInformation ikhWarning ikhError ikhNoIcon ",vr="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",Er="isShow isHide isByUserSettings ",wa="jkJob jkNotice jkControlJob ",Gr="jtInner jtLeft jtRight jtFull jtCross ",sn="lbpAbove lbpBelow lbpLeft lbpRight ",za="eltPerConnection eltPerUser ",Wa="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",X="sfsItalic sfsStrikeout sfsNormal ",le="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",me="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Se="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",Ae="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",Qe="rdWindow rdFile rdPrinter ",Pe="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",At="reOnChange reOnChangeValues ",qn="ttGlobal ttLocal ttUser ttSystem ",or="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",lo="smSelect smLike smCard ",ki="stNone stAuthenticating stApproving ",ds="sctString sctStream ",sr="sstAnsiSort sstNaturalSort ",hs="svtEqual svtContain ",co="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",uo="tarAbortByUser tarAbortByWorkflowException ",fs="tvtAllWords tvtExactPhrase tvtAnyWord ",ho="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",ms="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",fo="btAnd btDetailAnd btOr btNotOr btOnly ",Jn="vmView vmSelect vmNavigation ",ps="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",gs="wfatPrevious wfatNext wfatCancel wfatFinish ",mo="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",po="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",_s="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",go="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",bs="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",_o="waAll waPerformers waManual ",Ss="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Os="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",yr="wiLow wiNormal wiHigh ",Rt="wrtSoft wrtHard ",vs="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Xa="wtmFull wtmFromCurrent wtmOnlyCurrent ",Es=Ce+he+xe+je+Ve+nt+et+yt+Lt+St+Dt+Pt+Rn+ze+En+ht+Ke+wn+tn+Ut+j+be+De+Ne+Me+Re+$t+ut+Tt+rt+it+Vt+_t+Ye+Gn+Fr+ft+ir+Ln+Ai+Ur+nn+$r+Ii+Ra+vr+Er+wa+Gr+sn+za+Wa+X+le+me+Se+Ae+Qe+Pe+At+qn+or+lo+ki+ds+sr+hs+co+uo+fs+ho+ms+fo+Jn+ps+gs+mo+po+_s+go+bs+_o+Ss+Os+yr+Rt+vs+Xa,Aa="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",ys="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Ka="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",bo=Ee+Es,So=ys,Ts="null true false nil ",Za={className:"number",begin:e.NUMBER_RE,relevance:0},Oo={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},ja={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ja={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,ja]},vo={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,ja]},Ni={variants:[Ja,vo]},Ia={$pattern:t,keyword:a,built_in:bo,class:So,literal:Ts},An={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Ia,relevance:0},Eo={className:"type",begin:":[ \\t]*("+Ka.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},lr={className:"variable",keywords:Ia,begin:t,relevance:0,contains:[Eo,An]},Di=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Ia,illegal:"\\$|\\?|%|,|;$|~|#|@|a(o,s,l-1))}function i(o){const s=o.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+a("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),b={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},A={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},I={className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[o.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:b,illegal:/<\/|#/,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[o.BACKSLASH_ESCAPE]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[s.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[I,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",o.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:b,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[A,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,n,o.C_BLOCK_COMMENT_MODE]},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},n,A]}}return Ff=i,Ff}var Uf,_O;function JU(){if(_O)return Uf;_O=1;const r="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,a);function l(c){const u=c.regex,h=(he,{after:xe})=>{const je="",end:""},b=/<[A-Za-z0-9\\._:-]+\s*\/>/,A={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(he,xe)=>{const je=he[0].length+he.index,Ve=he.input[je];if(Ve==="<"||Ve===","){xe.ignoreMatch();return}Ve===">"&&(h(he,{after:je})||xe.ignoreMatch());let nt;const et=he.input.substring(je);if(nt=et.match(/^\s*=/)){xe.ignoreMatch();return}if((nt=et.match(/^\s+extends\s+/))&&nt.index===0){xe.ignoreMatch();return}}},I={$pattern:r,keyword:e,literal:t,built_in:s,"variable.language":o},M="[0-9](_?[0-9])*",U=`\\.(${M})`,V="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",m={className:"number",variants:[{begin:`(\\b(${V})((${U})|\\.)?|(${U}))[eE][+-]?(${M})\\b`},{begin:`\\b(${V})\\b((${U})\\b|\\.)?|(${U})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:I,contains:[]},S={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},k={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,O],subLanguage:"css"}},L={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},F={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,O]},q={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},te=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,S,k,L,F,{match:/\$\d+/},m];O.contains=te.concat({begin:/\{/,end:/\}/,keywords:I,contains:["self"].concat(te)});const se=[].concat(q,O.contains),ie=se.concat([{begin:/\(/,end:/\)/,keywords:I,contains:["self"].concat(se)}]),ae={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:I,contains:ie},D={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,u.concat(p,"(",u.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...a]}},H={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ae],illegal:/%/},ne={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function oe(he){return u.concat("(?!",he.join("|"),")")}const _e={match:u.concat(/\b/,oe([...i,"super","import"]),p,u.lookahead(/\(/)),className:"title.function",relevance:0},ye={begin:u.concat(/\./,u.lookahead(u.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},we={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ae]},Ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Ce={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ae]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:I,exports:{PARAMS_CONTAINS:ie,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,S,k,L,F,q,{match:/\$\d+/},m,P,{className:"attr",begin:p+u.lookahead(":"),relevance:0},Ce,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[q,c.REGEXP_MODE,{className:"function",begin:Ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:I,contains:ie}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:b},{begin:A.begin,"on:begin":A.isTrulyOpeningTag,end:A.end}],subLanguage:"xml",contains:[{begin:A.begin,end:A.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ae,c.inherit(c.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},ye,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ae]},_e,ne,D,we,{match:/\$[(.]/}]}}return Uf=l,Uf}var $f,bO;function e$(){if(bO)return $f;bO=1;function r(e){const n={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},a={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,o,a,i,n]}}return $f=r,$f}var Gf,SO;function t$(){if(SO)return Gf;SO=1;function r(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],i={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",keywords:{literal:a},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Gf=r,Gf}var qf,OO;function n$(){if(OO)return qf;OO=1;function r(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",o={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},s={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},u={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},h={className:"variable",begin:"\\$"+t},p={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},_={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],begin:"`",end:"`"},b={className:"meta",begin:"@"+t},A={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return s.name="Julia",s.contains=[l,c,p,_,b,A,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],u.contains=s.contains,s}return qf=r,qf}var Qf,vO;function r$(){if(vO)return Qf;vO=1;function r(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Qf=r,Qf}var Hf,EO;function a$(){if(EO)return Hf;EO=1;var r="[0-9](_*[0-9])*",e=`\\.(${r})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:`(\\b(${r})((${e})|\\.)?|(${e}))[eE][+-]?(${r})[fFdD]?\\b`},{begin:`\\b(${r})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${r})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${r})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function a(i){const o={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(h);const p={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},_={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(h,{className:"string"}),"self"]}]},b=n,A=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),I={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},M=I;return M.variants[1].contains=[I],I.variants[1].contains=[M],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,A,s,l,p,_,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[I,i.C_LINE_COMMENT_MODE,A],relevance:0},i.C_LINE_COMMENT_MODE,A,p,_,h,i.C_NUMBER_MODE]},A]},{begin:[/class|interface|trait/,/\s+/,i.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},p,_]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},b]}}return Hf=a,Hf}var Vf,yO;function i$(){if(yO)return Vf;yO=1;function r(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:t+"|&[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"},o=e.COMMENT("",{relevance:0}),s={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},l={className:"meta",begin:"\\[/noprocess|"+n},c={className:"symbol",begin:"'"+t+"'"},u=[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:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},s,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},s,l].concat(u)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(u)}}return Vf=r,Vf}var zf,TO;function o$(){if(TO)return zf;TO=1;function r(e){const n=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(q=>q+"(?![a-zA-Z@:_])")),a=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(q=>q+"(?![a-zA-Z:_])").join("|")),i=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],s={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:a},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:i}]},l={className:"params",relevance:0,begin:/#+\d?/},c={variants:o},u={className:"built_in",relevance:0,begin:/[$&^_]/},h={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},p=e.COMMENT("%","$",{relevance:0}),_=[s,l,c,u,h,p],b={begin:/\{/,end:/\}/,relevance:0,contains:["self",..._]},A=e.inherit(b,{relevance:0,endsParent:!0,contains:[b,..._]}),I={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[b,..._]},M={begin:/\s+/,relevance:0},U=[A],V=[I],m=function(q,te){return{contains:[M],starts:{relevance:0,contains:q,starts:te}}},O=function(q,te){return{begin:"\\\\"+q+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+q},relevance:0,contains:[M],starts:te}},S=function(q,te){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+q+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},m(U,te))},k=(q="string")=>e.END_SAME_AS_BEGIN({className:q,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),L=function(q){return{className:"string",end:"(?=\\\\end\\{"+q+"\\})"}},F=(q="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:q,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),Y=[...["verb","lstinline"].map(q=>O(q,{contains:[k()]})),O("mint",m(U,{contains:[k()]})),O("mintinline",m(U,{contains:[F(),k()]})),O("url",{contains:[F("link"),F("link")]}),O("hyperref",{contains:[F("link")]}),O("href",m(V,{contains:[F("link")]})),...[].concat(...["","\\*"].map(q=>[S("verbatim"+q,L("verbatim"+q)),S("filecontents"+q,m(U,L("filecontents"+q))),...["","B","L"].map(te=>S(te+"Verbatim"+q,m(V,L(te+"Verbatim"+q))))])),S("minted",m(V,m(U,L("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...Y,..._]}}return zf=r,zf}var Wf,CO;function s$(){if(CO)return Wf;CO=1;function r(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Wf=r,Wf}var Xf,RO;function l$(){if(RO)return Xf;RO=1;function r(e){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}return Xf=r,Xf}var Kf,wO;function c$(){if(wO)return Kf;wO=1;const r=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.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:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),o=n.concat(a);function s(l){const c=r(l),u=o,h="and or not only",p="[\\w-]+",_="("+p+"|@\\{"+p+"\\})",b=[],A=[],I=function(q){return{className:"string",begin:"~?"+q+".*?"+q}},M=function(q,te,se){return{className:q,begin:te,relevance:se}},U={$pattern:/[a-z-]+/,keyword:h,attribute:t.join(" ")},V={begin:"\\(",end:"\\)",contains:A,keywords:U,relevance:0};A.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,I("'"),I('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,V,M("variable","@@?"+p,10),M("variable","@\\{"+p+"\\}"),M("built_in","~?`[^`]*?`"),{className:"attribute",begin:p+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const m=A.concat({begin:/\{/,end:/\}/,contains:b}),O={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(A)},S={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:A}}]},k={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:U,returnEnd:!0,contains:A,relevance:0}},L={className:"variable",variants:[{begin:"@"+p+"\\s*:",relevance:15},{begin:"@"+p}],starts:{end:"[;}]",returnEnd:!0,contains:m}},F={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,O,M("keyword","all\\b"),M("variable","@\\{"+p+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,M("selector-tag",_,0),M("selector-id","#"+_),M("selector-class","\\."+_,0),M("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:m},{begin:"!important"},c.FUNCTION_DISPATCH]},Y={begin:p+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[F]};return b.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,k,L,Y,S,F,O,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:b}}return Kf=s,Kf}var Zf,AO;function u$(){if(AO)return Zf;AO=1;function r(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},u={className:"symbol",begin:"[:&]"+t},h={begin:t,relevance:0},p={begin:n},b={contains:[o,s,c,u,{begin:"\\(",end:"\\)",contains:["self",i,s,o,h]},h],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},A={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},I={begin:"\\(\\s*",end:"\\)"},M={endsWithParent:!0,relevance:0};return I.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},M],M.contains=[b,A,I,i,o,s,l,c,u,p,h],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),i,s,l,b,A,I,h]}}return Zf=r,Zf}var jf,IO;function d$(){if(IO)return jf;IO=1;function r(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],a=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a].concat(n),illegal:";$|^\\[|^=|&|\\{"}}return jf=r,jf}var Jf,kO;function h$(){if(kO)return Jf;kO=1;const r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(a,t,n);function o(s){const l=["npm","print"],c=["yes","no","on","off","it","that","void"],u=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],h={keyword:r.concat(u),literal:e.concat(c),built_in:i.concat(l)},p="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",_=s.inherit(s.TITLE_MODE,{begin:p}),b={className:"subst",begin:/#\{/,end:/\}/,keywords:h},A={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:h},I=[s.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[s.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[s.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[s.BACKSLASH_ESCAPE,b,A]},{begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,b,A]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[b,s.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+p},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];b.contains=I;const M={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:h,contains:["self"].concat(I)}]},U={begin:"(#=>|=>|\\|>>|-?->|!->)"},V={variants:[{match:[/class\s+/,p,/\s+extends\s+/,p]},{match:[/class\s+/,p]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:h};return{name:"LiveScript",aliases:["ls"],keywords:h,illegal:/\/\*/,contains:I.concat([s.COMMENT("\\/\\*","\\*\\/"),s.HASH_COMMENT_MODE,U,{className:"function",contains:[_,M],returnBegin:!0,variants:[{begin:"("+p+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+p+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+p+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},V,{begin:p+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Jf=o,Jf}var em,NO;function f$(){if(NO)return em;NO=1;function r(e){const t=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,a={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},s={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:t.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},u={className:"title",variants:[{begin:t.concat(/@/,n)},{begin:/@\d+/},{begin:t.concat(/!/,n)},{begin:t.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[a,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},u,o,i,c,l,s]}}return em=r,em}var tm,DO;function m$(){if(DO)return tm;DO=1;function r(e){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},a={className:"number",relevance:0,begin:e.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[n,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return tm=r,tm}var nm,xO;function p$(){if(xO)return nm;xO=1;function r(e){const t="\\[=*\\[",n="\\]=*\\]",a={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[a],relevance:5}])}}return nm=r,nm}var rm,MO;function g$(){if(MO)return rm;MO=1;function r(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{A.has(k[0])||L.ignoreMatch()}},{className:"symbol",relevance:0,begin:b}]},M={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},U={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},V={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},m={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},O={className:"brace",relevance:0,begin:/[[\](){}]/},S={className:"message-name",relevance:0,begin:n.concat("::",b)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),V,m,S,I,M,t.QUOTE_STRING_MODE,_,U,O]}}return am=e,am}var im,PO;function b$(){if(PO)return im;PO=1;function r(e){const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return im=r,im}var om,BO;function S$(){if(BO)return om;BO=1;function r(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return om=r,om}var sm,YO;function O$(){if(YO)return sm;YO=1;function r(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,e.C_BLOCK_COMMENT_MODE,a,e.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}return lm=r,lm}var cm,UO;function E$(){if(UO)return cm;UO=1;function r(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return cm=r,cm}var um,$O;function y$(){if($O)return um;$O=1;function r(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return um=r,um}var dm,GO;function T$(){if(GO)return dm;GO=1;function r(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],a=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},s={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,o,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(b,A,I="\\1")=>{const M=I==="\\1"?I:t.concat(I,A);return t.concat(t.concat("(?:",b,")"),A,/(?:\\.|[^\\\/])*?/,M,/(?:\\.|[^\\\/])*?/,I,a)},p=(b,A,I)=>t.concat(t.concat("(?:",b,")"),A,/(?:\\.|[^\\\/])*?/,I,a),_=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",t.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=_,s.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:_}}return dm=r,dm}var hm,qO;function C$(){if(qO)return hm;qO=1;function r(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return hm=r,hm}var fm,QO;function R$(){if(QO)return fm;QO=1;function r(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},a={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,a,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return fm=r,fm}var mm,HO;function w$(){if(HO)return mm;HO=1;function r(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];a.contains=i;const o=e.inherit(e.TITLE_MODE,{begin:n}),s="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+s,end:"[-=]>",returnBegin:!0,contains:[o,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:s,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return mm=r,mm}var pm,VO;function A$(){if(VO)return pm;VO=1;function r(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return pm=r,pm}var gm,zO;function I$(){if(zO)return gm;zO=1;function r(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},a={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,a,t,n]}}return gm=r,gm}var _m,WO;function k$(){if(WO)return _m;WO=1;function r(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},i={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:i.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:i}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return _m=r,_m}var bm,XO;function N$(){if(XO)return bm;XO=1;function r(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return bm=r,bm}var Sm,KO;function D$(){if(KO)return Sm;KO=1;function r(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},a={className:"char.escape",begin:/''\$/},i={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[a,n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},s=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i];return n.contains=s,{name:"Nix",aliases:["nixos"],keywords:t,contains:s}}return Sm=r,Sm}var Om,ZO;function x$(){if(ZO)return Om;ZO=1;function r(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Om=r,Om}var vm,jO;function M$(){if(jO)return vm;jO=1;function r(e){const t=e.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],a=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...n))},s={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},u={className:"params",begin:t.either(...a)},h={className:"keyword",begin:t.concat(/!/,t.either(...i))},p={className:"char.escape",begin:/\$(\\[nrt]|\$)/},_={className:"title.function",begin:/\w+::\w+/},b={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[p,o,s,l,c]},A=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],I=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],M={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},V={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:A,literal:I},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),V,M,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},b,h,s,l,c,u,_,e.NUMBER_MODE]}}return vm=r,vm}var Em,JO;function L$(){if(JO)return Em;JO=1;function r(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Em=r,Em}var ym,ev;function P$(){if(ev)return ym;ev=1;function r(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},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']*",relevance:0},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 ym=r,ym}var Tm,tv;function B$(){if(tv)return Tm;tv=1;function r(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},s={className:"params",begin:"\\(",end:"\\)",contains:["self",a,i,t,n]},l={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[s,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,o,i,t,l,c]}}return Tm=r,Tm}var Cm,nv;function Y$(){if(nv)return Cm;nv=1;function r(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),a=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},s={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,o]},n,a]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,a,e.C_LINE_COMMENT_MODE,i,o,e.NUMBER_MODE,s,l]}}return Cm=r,Cm}var Rm,rv;function F$(){if(rv)return Rm;rv=1;function r(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return Rm=r,Rm}var wm,av;function U$(){if(av)return wm;av=1;function r(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,n]}}return wm=r,wm}var Am,iv;function $$(){if(iv)return Am;iv=1;function r(e){const t=e.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",s="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",u=c.trim().split(" ").map(function(I){return I.split("|")[0]}).join("|"),h="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",p="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",_="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",A="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(I){return I.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+l+s,built_in:h+p+_},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+A+")\\s*\\("},{begin:"\\.("+u+")\\b"},{begin:"\\b("+u+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+u+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return Am=r,Am}var Im,ov;function G$(){if(ov)return Im;ov=1;function r(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,a=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o={scope:"variable",match:"\\$+"+a},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(ie,ae)=>{ae.data._beginMatch=ie[1]||ie[2]},"on:end":(ie,ae)=>{ae.data._beginMatch!==ie[1]&&ae.ignoreMatch()}},p=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),_=`[ -]`,b={scope:"string",variants:[u,c,h,p]},A={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},I=["false","null","true"],M=["__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"],U=["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"],m={keyword:M,literal:(ie=>{const ae=[];return ie.forEach(D=>{ae.push(D),D.toLowerCase()===D?ae.push(D.toUpperCase()):ae.push(D.toLowerCase())}),ae})(I),built_in:U},O=ie=>ie.map(ae=>ae.replace(/\|\d+$/,"")),S={variants:[{match:[/new/,t.concat(_,"+"),t.concat("(?!",O(U).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},k=t.concat(a,"\\b(?!\\()"),L={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),k],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),k],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},F={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},Y={relevance:0,begin:/\(/,end:/\)/,keywords:m,contains:[F,o,L,e.C_BLOCK_COMMENT_MODE,b,A,S]},q={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",O(M).join("\\b|"),"|",O(U).join("\\b|"),"\\b)"),a,t.concat(_,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Y]};Y.contains.push(q);const te=[F,L,e.C_BLOCK_COMMENT_MODE,b,A,S],se={begin:t.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:I,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:I,keyword:["new","array"]},contains:["self",...te]},...te,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:m,contains:[se,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},o,q,L,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},S,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:m,contains:["self",o,L,e.C_BLOCK_COMMENT_MODE,b,A]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},b,A]}}return Im=r,Im}var km,sv;function q$(){if(sv)return km;sv=1;function r(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return km=r,km}var Nm,lv;function Q$(){if(lv)return Nm;lv=1;function r(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Nm=r,Nm}var Dm,cv;function H$(){if(cv)return Dm;cv=1;function r(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},a={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},s={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,n,a,i,s,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Dm=r,Dm}var xm,uv;function V$(){if(uv)return xm;uv=1;function r(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",a="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,s={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},u={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[s,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},h={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},p={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},_=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[p]}),b={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},A={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},I={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},M={begin:/using\s/,end:/$/,returnBegin:!0,contains:[u,h,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},U={variants:[{className:"operator",begin:"(".concat(a,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},V={className:"selector-tag",begin:/@\B/,relevance:0},m={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},O=[m,_,s,e.NUMBER_MODE,u,h,b,l,c,V],S={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",O,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return m.contains.unshift(S),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:O.concat(A,I,M,U,S)}}return xm=r,xm}var Mm,dv;function z$(){if(dv)return Mm;dv=1;function r(e){const t=e.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],a=e.IDENT_RE,i={variants:[{match:t.concat(t.either(...n),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,a,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,a],className:{1:"keyword",2:"class.title"}},s={relevance:0,match:[/\./,a],className:{2:"property"}},l={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,a]},{match:[/class/,/\s+/,a]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],u=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...u],type:c},contains:[l,o,i,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Mm=r,Mm}var Lm,hv;function W$(){if(hv)return Lm;hv=1;function r(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Lm=r,Lm}var Pm,fv;function X$(){if(fv)return Pm;fv=1;function r(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},a={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},s={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},h=[t,n,a,{begin:/:-/},i,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,s,l,c,e.C_NUMBER_MODE];return a.contains=h,i.contains=h,{name:"Prolog",contains:h.concat([{begin:/\.$/}])}}return Pm=r,Pm}var Bm,mv;function K$(){if(mv)return Bm;mv=1;function r(e){const t="[ \\t\\f]*",n="[ \\t\\f]+",a=t+"[:=]"+t,i=n,o="("+a+"|"+i+")",s="([^\\\\:= \\t\\f\\n]|\\\\.)+",l={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:s+a},{begin:s+i}],contains:[{className:"attr",begin:s,endsParent:!0}],starts:l},{className:"attr",begin:s+t+"$"}]}}return Bm=r,Bm}var Ym,pv;function Z$(){if(pv)return Ym;pv=1;function r(e){const t=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],a={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:n,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return Ym=r,Ym}var Fm,gv;function j$(){if(gv)return Fm;gv=1;function r(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=e.inherit(e.TITLE_MODE,{begin:a}),o={className:"variable",begin:"\\$"+a},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,o,s,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[s,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return Fm=r,Fm}var Um,_v;function J$(){if(_v)return Um;_v=1;function r(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,n]}}return Um=r,Um}var $m,bv;function eG(){if(bv)return $m;bv=1;function r(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},p={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,h,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},_="[0-9](_?[0-9])*",b=`(\\b(${_}))?\\.(${_})|\\b(${_})\\.`,A=`\\b|${a.join("|")}`,I={className:"number",relevance:0,variants:[{begin:`(\\b(${_})|(${b}))[eE][+-]?(${_})[jJ]?(?=${A})`},{begin:`(${b})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${A})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${A})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${A})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${A})`},{begin:`\\b(${_})[jJ](?=${A})`}]},M={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},U={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,I,p,e.HASH_COMMENT_MODE]}]};return u.contains=[p,I,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,I,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,M,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[U]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[I,U,p]}]}}return $m=r,$m}var Gm,Sv;function tG(){if(Sv)return Gm;Sv=1;function r(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Gm=r,Gm}var qm,Ov;function nG(){if(Ov)return qm;Ov=1;function r(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return qm=r,qm}var Qm,vv;function rG(){if(vv)return Qm;vv=1;function r(e){const t=e.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},a="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:a,returnEnd:!1}},l={begin:a+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:a,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:t.concat(a,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:a})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},s,l,c],illegal:/#/}}return Qm=r,Qm}var Hm,Ev;function aG(){if(Ev)return Hm;Ev=1;function r(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[o,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Hm=r,Hm}var Vm,yv;function iG(){if(yv)return Vm;yv=1;function r(e){function t(S){return S.map(function(k){return k.split("").map(function(L){return"\\"+L}).join("")}).join("|")}const n="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",i="'?[a-z$_][0-9a-z$_]*",o="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+i+"\\s*(,"+i+"\\s*)*)?\\))?",s=n+"("+o+"){0,2}",l="("+t(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",c="\\s+"+l+"\\s+",u={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},h="\\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_]+)?)?)",p={className:"number",relevance:0,variants:[{begin:h},{begin:"\\(-"+h+"\\)"}]},_={className:"operator",relevance:0,begin:l},b=[{className:"identifier",relevance:0,begin:n},_,p],A=[e.QUOTE_STRING_MODE,_,{className:"module",begin:"\\b"+a,returnBegin:!0,relevance:0,end:".",contains:[{className:"identifier",begin:a,relevance:0}]}],I=[{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:a,relevance:0}]}],M={begin:n,end:"(,|\\n|\\))",relevance:0,contains:[_,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:I}]},U={className:"function",relevance:0,keywords:u,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+n+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:n},{begin:s},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[M]}]},{begin:"\\(\\.\\s"+n+"\\)\\s*=>"}]};A.push(U);const V={className:"constructor",begin:a+"\\(",end:"\\)",illegal:"\\n",keywords:u,contains:[e.QUOTE_STRING_MODE,_,{className:"params",begin:"\\b"+n}]},m={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:u,end:"=>",relevance:0,contains:[V,_,{relevance:0,className:"constructor",begin:a}]},O={className:"module-access",keywords:u,returnBegin:!0,variants:[{begin:"\\b("+a+"\\.)+"+n},{begin:"\\b("+a+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[U,{begin:"\\(",end:"\\)",relevance:0,skip:!0}].concat(A)},{begin:"\\b("+a+"\\.)+\\{",end:/\}/}],contains:A};return I.push(O),{name:"ReasonML",aliases:["re"],keywords:u,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:b},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:b},V,{className:"operator",begin:c,illegal:"-->",relevance:0},p,e.C_LINE_COMMENT_MODE,m,U,{className:"module-def",begin:"\\bmodule\\s+"+n+"\\s+"+a+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:u,relevance:0,contains:[{className:"module",relevance:0,begin:a},{begin:/\{/,end:/\}/,relevance:0,skip:!0}].concat(A)},O]}}return Vm=r,Vm}var zm,Tv;function oG(){if(Tv)return zm;Tv=1;function r(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),l,c,s,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,c,s,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+a.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return Xm=r,Xm}var Km,wv;function cG(){if(wv)return Km;wv=1;function r(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],a=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:a,built_in:t,type:n},illegal:""},n]}}return jm=r,jm}var Jm,kv;function hG(){if(kv)return Jm;kv=1;function r(e){const t=e.regex,n=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],a=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],i=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:n},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...i)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...a)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return Jm=r,Jm}var ep,Nv;function fG(){if(Nv)return ep;Nv=1;function r(e){const t=e.regex,n={className:"meta",begin:"@[A-Za-z]+"},a={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},i={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[a],relevance:10}]},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},s={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},s]},c={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[s]},u={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},h={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},p=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],_={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,c,l,e.C_NUMBER_MODE,u,h,...p,_,n]}}return ep=r,ep}var tp,Dv;function mG(){if(Dv)return tp;Dv=1;function r(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",a=n+"[+\\-]"+n+"i",i={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},s={className:"number",variants:[{begin:n,relevance:0},{begin:a,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],u={begin:t,relevance:0},h={className:"symbol",begin:"'"+t},p={endsWithParent:!0,relevance:0},_={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,s,u,h]}]},b={className:"name",relevance:0,begin:t,keywords:i},I={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[b,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[u]}]},b,p]};return p.contains=[o,s,l,u,h,_,I].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),s,l,h,_,I].concat(c)}}return tp=r,tp}var np,xv;function pG(){if(xv)return np;xv=1;function r(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}return np=r,np}var rp,Mv;function gG(){if(Mv)return rp;Mv=1;const r=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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function o(s){const l=r(s),c=a,u=n,h="@[a-z-]+",p="and or not only",b={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},b,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,b,l.HEXCOLOR,l.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:t.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},b,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return rp=o,rp}var ap,Lv;function _G(){if(Lv)return ap;Lv=1;function r(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return ap=r,ap}var ip,Pv;function bG(){if(Pv)return ip;Pv=1;function r(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+a.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return ip=r,ip}var op,Bv;function SG(){if(Bv)return op;Bv=1;function r(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},a={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:t+":",relevance:0},e.C_NUMBER_MODE,a,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,a]}]}}return op=r,op}var sp,Yv;function OG(){if(Yv)return sp;Yv=1;function r(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 sp=r,sp}var lp,Fv;function vG(){if(Fv)return lp;Fv=1;function r(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},a={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"],o=["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","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:i,built_in:s,literal:o},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,n,a,l],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return lp=r,lp}var cp,Uv;function EG(){if(Uv)return cp;Uv=1;function r(e){const t=e.regex,n=e.COMMENT("--","$"),a={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},o=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],p=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],b=h,A=[...u,...c].filter(m=>!h.includes(m)),I={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},M={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},U={begin:t.concat(/\b/,t.either(...b),/\s*\(/),relevance:0,keywords:{built_in:b}};function V(m,{exceptions:O,when:S}={}){const k=S;return O=O||[],m.map(L=>L.match(/\|\d+$/)||O.includes(L)?L:k(L)?`${L}|0`:L)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:V(A,{when:m=>m.length<3}),literal:o,type:l,built_in:p},contains:[{begin:t.either(..._),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:A.concat(_),literal:o,type:l}},{className:"type",begin:t.either(...s)},U,I,a,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,M]}}return cp=r,cp}var up,$v;function yG(){if($v)return up;$v=1;function r(e){const t=e.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],a=["for","in","if","else","while","break","continue","return"],i=["array","complex","int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["Phi","Phi_approx","abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","binomial_coefficient_log","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","distance","dot_product","dot_self","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","expm1","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_lp","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","int_step","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_cloglog","inv_logit","inv_sqrt","inv_square","inverse","inverse_spd","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","logit","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_log","multiply_lower_tri_self_transpose","negative_infinity","norm","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","polar","positive_infinity","pow","print","prod","proj","qr_Q","qr_R","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],s=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","multinomial_logit","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","student_t","uniform","von_mises","weibull","wiener","wishart"],l=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},u=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:n,type:i,keyword:a,built_in:o},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,l,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...u),/\s*=/),keywords:u},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...s),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:s,begin:t.concat(/\w*/,t.either(...s),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...s),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...s)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return up=r,up}var dp,Gv;function TG(){if(Gv)return dp;Gv=1;function r(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r +`}return S.trim()}),n.subParser("makeMarkdown.tableCell",function(m,O){var S="";if(!m.hasChildNodes())return"";for(var k=m.childNodes,L=k.length,F=0;F/g,"\\$1>"),O=O.replace(/^#/gm,"\\#"),O=O.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),O=O.replace(/^( {0,3}\d+)\./gm,"$1\\."),O=O.replace(/^( {0,3})([+-])/gm,"$1\\$2"),O=O.replace(/]([\s]*)\(/g,"\\]$1\\("),O=O.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),O});var V=this;r.exports?r.exports=n:V.showdown=n}).call(Uc)})(JR);var ew=JR.exports;const tw=jR(ew);function ah(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}ah.proto=function(){return RegExp.escape=ah,ah};var Eu={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */Eu.exports;(function(r,e){(function(t){var n=e,a=r&&r.exports==n&&r,i=typeof Uc=="object"&&Uc;(i.global===i||i.window===i)&&(t=i);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},h=/["&'<>`]/g,p={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},_=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,b=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,A=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,I={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},M={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},U={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},V=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],m=String.fromCharCode,O={},S=O.hasOwnProperty,k=function(z,ne){return S.call(z,ne)},L=function(z,ne){for(var oe=-1,_e=z.length;++oe<_e;)if(z[oe]==ne)return!0;return!1},F=function(z,ne){if(!z)return ne;var oe={},_e;for(_e in ne)oe[_e]=k(z,_e)?z[_e]:ne[_e];return oe},Y=function(z,ne){var oe="";return z>=55296&&z<=57343||z>1114111?(ne&&se("character reference outside the permissible Unicode range"),"�"):k(U,z)?(ne&&se("disallowed character reference"),U[z]):(ne&&L(V,z)&&se("disallowed character reference"),z>65535&&(z-=65536,oe+=m(z>>>10&1023|55296),z=56320|z&1023),oe+=m(z),oe)},q=function(z){return"&#x"+z.toString(16).toUpperCase()+";"},te=function(z){return"&#"+z+";"},se=function(z){throw Error("Parse error: "+z)},ie=function(z,ne){ne=F(ne,ie.options);var oe=ne.strict;oe&&b.test(z)&&se("forbidden code point");var _e=ne.encodeEverything,ye=ne.useNamedReferences,we=ne.allowUnsafeSymbols,Ee=ne.decimal?te:q,Ce=function(he){return Ee(he.charCodeAt(0))};return _e?(z=z.replace(s,function(he){return ye&&k(u,he)?"&"+u[he]+";":Ce(he)}),ye&&(z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),ye&&(z=z.replace(c,function(he){return"&"+u[he]+";"}))):ye?(we||(z=z.replace(h,function(he){return"&"+u[he]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),z=z.replace(c,function(he){return"&"+u[he]+";"})):we||(z=z.replace(h,Ce)),z.replace(o,function(he){var xe=he.charCodeAt(0),je=he.charCodeAt(1),Ve=(xe-55296)*1024+je-56320+65536;return Ee(Ve)}).replace(l,Ce)};ie.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ae=function(z,ne){ne=F(ne,ae.options);var oe=ne.strict;return oe&&_.test(z)&&se("malformed character reference"),z.replace(A,function(_e,ye,we,Ee,Ce,he,xe,je,Ve){var nt,et,yt,Lt,St,Dt;return ye?(St=ye,I[St]):we?(St=we,Dt=Ee,Dt&&ne.isAttributeValue?(oe&&Dt=="="&&se("`&` did not start a character reference"),_e):(oe&&se("named character reference was not terminated by a semicolon"),M[St]+(Dt||""))):Ce?(yt=Ce,et=he,oe&&!et&&se("character reference was not terminated by a semicolon"),nt=parseInt(yt,10),Y(nt,oe)):xe?(Lt=xe,et=je,oe&&!et&&se("character reference was not terminated by a semicolon"),nt=parseInt(Lt,16),Y(nt,oe)):(oe&&se("named character reference was not terminated by a semicolon"),_e)})};ae.options={isAttributeValue:!1,strict:!1};var D=function(z){return z.replace(h,function(ne){return p[ne]})},P={version:"1.2.0",encode:ie,decode:ae,escape:D,unescape:ae};if(n&&!n.nodeType)if(a)a.exports=P;else for(var H in P)k(P,H)&&(n[H]=P[H]);else t.he=P})(Uc)})(Eu,Eu.exports);var RY=Eu.exports,k2=RY,wY={decode:function(e){return k2.decode(e)},encode:function(e){return k2.encode(e)}};function nw(r){return r instanceof Map?r.clear=r.delete=r.set=function(){throw new Error("map is read-only")}:r instanceof Set&&(r.add=r.clear=r.delete=function(){throw new Error("set is read-only")}),Object.freeze(r),Object.getOwnPropertyNames(r).forEach(e=>{const t=r[e],n=typeof t;(n==="object"||n==="function")&&!Object.isFrozen(t)&&nw(t)}),r}class N2{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function rw(r){return r.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function gi(r,...e){const t=Object.create(null);for(const n in r)t[n]=r[n];return e.forEach(function(n){for(const a in n)t[a]=n[a]}),t}const AY="",D2=r=>!!r.scope,IY=(r,{prefix:e})=>{if(r.startsWith("language:"))return r.replace("language:","language-");if(r.includes(".")){const t=r.split(".");return[`${e}${t.shift()}`,...t.map((n,a)=>`${n}${"_".repeat(a+1)}`)].join(" ")}return`${e}${r}`};class kY{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=rw(e)}openNode(e){if(!D2(e))return;const t=IY(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){D2(e)&&(this.buffer+=AY)}value(){return this.buffer}span(e){this.buffer+=``}}const x2=(r={})=>{const e={children:[]};return Object.assign(e,r),e};class f_{constructor(){this.rootNode=x2(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=x2({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(n=>this._walk(e,n)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{f_._collapse(t)}))}}class NY extends f_{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new kY(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Al(r){return r?typeof r=="string"?r:r.source:null}function aw(r){return oo("(?=",r,")")}function DY(r){return oo("(?:",r,")*")}function xY(r){return oo("(?:",r,")?")}function oo(...r){return r.map(t=>Al(t)).join("")}function MY(r){const e=r[r.length-1];return typeof e=="object"&&e.constructor===Object?(r.splice(r.length-1,1),e):{}}function m_(...r){return"("+(MY(r).capture?"":"?:")+r.map(n=>Al(n)).join("|")+")"}function iw(r){return new RegExp(r.toString()+"|").exec("").length-1}function LY(r,e){const t=r&&r.exec(e);return t&&t.index===0}const PY=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function p_(r,{joinWith:e}){let t=0;return r.map(n=>{t+=1;const a=t;let i=Al(n),o="";for(;i.length>0;){const s=PY.exec(i);if(!s){o+=i;break}o+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+a):(o+=s[0],s[0]==="("&&t++)}return o}).map(n=>`(${n})`).join(e)}const BY=/\b\B/,ow="[a-zA-Z]\\w*",g_="[a-zA-Z_]\\w*",sw="\\b\\d+(\\.\\d+)?",lw="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",cw="\\b(0b[01]+)",YY="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",FY=(r={})=>{const e=/^#![ ]*\//;return r.binary&&(r.begin=oo(e,/.*\b/,r.binary,/\b.*/)),gi({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,n)=>{t.index!==0&&n.ignoreMatch()}},r)},Il={begin:"\\\\[\\s\\S]",relevance:0},UY={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Il]},$Y={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Il]},GY={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Wu=function(r,e,t={}){const n=gi({scope:"comment",begin:r,end:e,contains:[]},t);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=m_("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:oo(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},qY=Wu("//","$"),QY=Wu("/\\*","\\*/"),HY=Wu("#","$"),VY={scope:"number",begin:sw,relevance:0},zY={scope:"number",begin:lw,relevance:0},WY={scope:"number",begin:cw,relevance:0},XY={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Il,{begin:/\[/,end:/\]/,relevance:0,contains:[Il]}]}]},KY={scope:"title",begin:ow,relevance:0},ZY={scope:"title",begin:g_,relevance:0},jY={begin:"\\.\\s*"+g_,relevance:0},JY=function(r){return Object.assign(r,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Cc=Object.freeze({__proto__:null,MATCH_NOTHING_RE:BY,IDENT_RE:ow,UNDERSCORE_IDENT_RE:g_,NUMBER_RE:sw,C_NUMBER_RE:lw,BINARY_NUMBER_RE:cw,RE_STARTERS_RE:YY,SHEBANG:FY,BACKSLASH_ESCAPE:Il,APOS_STRING_MODE:UY,QUOTE_STRING_MODE:$Y,PHRASAL_WORDS_MODE:GY,COMMENT:Wu,C_LINE_COMMENT_MODE:qY,C_BLOCK_COMMENT_MODE:QY,HASH_COMMENT_MODE:HY,NUMBER_MODE:VY,C_NUMBER_MODE:zY,BINARY_NUMBER_MODE:WY,REGEXP_MODE:XY,TITLE_MODE:KY,UNDERSCORE_TITLE_MODE:ZY,METHOD_GUARD:jY,END_SAME_AS_BEGIN:JY});function eF(r,e){r.input[r.index-1]==="."&&e.ignoreMatch()}function tF(r,e){r.className!==void 0&&(r.scope=r.className,delete r.className)}function nF(r,e){e&&r.beginKeywords&&(r.begin="\\b("+r.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",r.__beforeBegin=eF,r.keywords=r.keywords||r.beginKeywords,delete r.beginKeywords,r.relevance===void 0&&(r.relevance=0))}function rF(r,e){Array.isArray(r.illegal)&&(r.illegal=m_(...r.illegal))}function aF(r,e){if(r.match){if(r.begin||r.end)throw new Error("begin & end are not supported with match");r.begin=r.match,delete r.match}}function iF(r,e){r.relevance===void 0&&(r.relevance=1)}const oF=(r,e)=>{if(!r.beforeMatch)return;if(r.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},r);Object.keys(r).forEach(n=>{delete r[n]}),r.keywords=t.keywords,r.begin=oo(t.beforeMatch,aw(t.begin)),r.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},r.relevance=0,delete t.beforeMatch},sF=["of","and","for","in","not","or","if","then","parent","list","value"],lF="keyword";function uw(r,e,t=lF){const n=Object.create(null);return typeof r=="string"?a(t,r.split(" ")):Array.isArray(r)?a(t,r):Object.keys(r).forEach(function(i){Object.assign(n,uw(r[i],e,i))}),n;function a(i,o){e&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");n[l[0]]=[i,cF(l[0],l[1])]})}}function cF(r,e){return e?Number(e):uF(r)?0:1}function uF(r){return sF.includes(r.toLowerCase())}const M2={},Xi=r=>{console.error(r)},L2=(r,...e)=>{console.log(`WARN: ${r}`,...e)},Co=(r,e)=>{M2[`${r}/${e}`]||(console.log(`Deprecated as of ${r}. ${e}`),M2[`${r}/${e}`]=!0)},yu=new Error;function dw(r,e,{key:t}){let n=0;const a=r[t],i={},o={};for(let s=1;s<=e.length;s++)o[s+n]=a[s],i[s+n]=!0,n+=iw(e[s-1]);r[t]=o,r[t]._emit=i,r[t]._multi=!0}function dF(r){if(Array.isArray(r.begin)){if(r.skip||r.excludeBegin||r.returnBegin)throw Xi("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),yu;if(typeof r.beginScope!="object"||r.beginScope===null)throw Xi("beginScope must be object"),yu;dw(r,r.begin,{key:"beginScope"}),r.begin=p_(r.begin,{joinWith:""})}}function hF(r){if(Array.isArray(r.end)){if(r.skip||r.excludeEnd||r.returnEnd)throw Xi("skip, excludeEnd, returnEnd not compatible with endScope: {}"),yu;if(typeof r.endScope!="object"||r.endScope===null)throw Xi("endScope must be object"),yu;dw(r,r.end,{key:"endScope"}),r.end=p_(r.end,{joinWith:""})}}function fF(r){r.scope&&typeof r.scope=="object"&&r.scope!==null&&(r.beginScope=r.scope,delete r.scope)}function mF(r){fF(r),typeof r.beginScope=="string"&&(r.beginScope={_wrap:r.beginScope}),typeof r.endScope=="string"&&(r.endScope={_wrap:r.endScope}),dF(r),hF(r)}function pF(r){function e(o,s){return new RegExp(Al(o),"m"+(r.case_insensitive?"i":"")+(r.unicodeRegex?"u":"")+(s?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=iw(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=e(p_(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((h,p)=>p>0&&h!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new t;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function a(o){const s=new n;return o.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function i(o,s){const l=o;if(o.isCompiled)return l;[tF,aF,mF,oF].forEach(u=>u(o,s)),r.compilerExtensions.forEach(u=>u(o,s)),o.__beforeBegin=null,[nF,rF,iF].forEach(u=>u(o,s)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=uw(o.keywords,r.case_insensitive)),l.keywordPatternRe=e(c,!0),s&&(o.begin||(o.begin=/\B|\b/),l.beginRe=e(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=e(l.end)),l.terminatorEnd=Al(l.end)||"",o.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(l.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return gF(u==="self"?o:u)})),o.contains.forEach(function(u){i(u,l)}),o.starts&&i(o.starts,s),l.matcher=a(l),l}if(r.compilerExtensions||(r.compilerExtensions=[]),r.contains&&r.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return r.classNameAliases=gi(r.classNameAliases||{}),i(r)}function hw(r){return r?r.endsWithParent||hw(r.starts):!1}function gF(r){return r.variants&&!r.cachedVariants&&(r.cachedVariants=r.variants.map(function(e){return gi(r,{variants:null},e)})),r.cachedVariants?r.cachedVariants:hw(r)?gi(r,{starts:r.starts?gi(r.starts):null}):Object.isFrozen(r)?gi(r):r}var _F="11.8.0";class bF extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ih=rw,P2=gi,B2=Symbol("nomatch"),SF=7,fw=function(r){const e=Object.create(null),t=Object.create(null),n=[];let a=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:NY};function l(P){return s.noHighlightRe.test(P)}function c(P){let H=P.className+" ";H+=P.parentNode?P.parentNode.className:"";const z=s.languageDetectRe.exec(H);if(z){const ne=F(z[1]);return ne||(L2(i.replace("{}",z[1])),L2("Falling back to no-highlight mode for this block.",P)),ne?z[1]:"no-highlight"}return H.split(/\s+/).find(ne=>l(ne)||F(ne))}function u(P,H,z){let ne="",oe="";typeof H=="object"?(ne=P,z=H.ignoreIllegals,oe=H.language):(Co("10.7.0","highlight(lang, code, ...args) has been deprecated."),Co("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),oe=P,ne=H),z===void 0&&(z=!0);const _e={code:ne,language:oe};ae("before:highlight",_e);const ye=_e.result?_e.result:h(_e.language,_e.code,z);return ye.code=_e.code,ae("after:highlight",ye),ye}function h(P,H,z,ne){const oe=Object.create(null);function _e(be,De){return be.keywords[De]}function ye(){if(!ze.keywords){ht.addText(Ke);return}let be=0;ze.keywordPatternRe.lastIndex=0;let De=ze.keywordPatternRe.exec(Ke),Ne="";for(;De;){Ne+=Ke.substring(be,De.index);const Me=Dt.case_insensitive?De[0].toLowerCase():De[0],Re=_e(ze,Me);if(Re){const[$t,ut]=Re;if(ht.addText(Ne),Ne="",oe[Me]=(oe[Me]||0)+1,oe[Me]<=SF&&(wn+=ut),$t.startsWith("_"))Ne+=De[0];else{const Tt=Dt.classNameAliases[$t]||$t;Ce(De[0],Tt)}}else Ne+=De[0];be=ze.keywordPatternRe.lastIndex,De=ze.keywordPatternRe.exec(Ke)}Ne+=Ke.substring(be),ht.addText(Ne)}function we(){if(Ke==="")return;let be=null;if(typeof ze.subLanguage=="string"){if(!e[ze.subLanguage]){ht.addText(Ke);return}be=h(ze.subLanguage,Ke,!0,En[ze.subLanguage]),En[ze.subLanguage]=be._top}else be=_(Ke,ze.subLanguage.length?ze.subLanguage:null);ze.relevance>0&&(wn+=be.relevance),ht.__addSublanguage(be._emitter,be.language)}function Ee(){ze.subLanguage!=null?we():ye(),Ke=""}function Ce(be,De){be!==""&&(ht.startScope(De),ht.addText(be),ht.endScope())}function he(be,De){let Ne=1;const Me=De.length-1;for(;Ne<=Me;){if(!be._emit[Ne]){Ne++;continue}const Re=Dt.classNameAliases[be[Ne]]||be[Ne],$t=De[Ne];Re?Ce($t,Re):(Ke=$t,ye(),Ke=""),Ne++}}function xe(be,De){return be.scope&&typeof be.scope=="string"&&ht.openNode(Dt.classNameAliases[be.scope]||be.scope),be.beginScope&&(be.beginScope._wrap?(Ce(Ke,Dt.classNameAliases[be.beginScope._wrap]||be.beginScope._wrap),Ke=""):be.beginScope._multi&&(he(be.beginScope,De),Ke="")),ze=Object.create(be,{parent:{value:ze}}),ze}function je(be,De,Ne){let Me=LY(be.endRe,Ne);if(Me){if(be["on:end"]){const Re=new N2(be);be["on:end"](De,Re),Re.isMatchIgnored&&(Me=!1)}if(Me){for(;be.endsParent&&be.parent;)be=be.parent;return be}}if(be.endsWithParent)return je(be.parent,De,Ne)}function Ve(be){return ze.matcher.regexIndex===0?(Ke+=be[0],1):(j=!0,0)}function nt(be){const De=be[0],Ne=be.rule,Me=new N2(Ne),Re=[Ne.__beforeBegin,Ne["on:begin"]];for(const $t of Re)if($t&&($t(be,Me),Me.isMatchIgnored))return Ve(De);return Ne.skip?Ke+=De:(Ne.excludeBegin&&(Ke+=De),Ee(),!Ne.returnBegin&&!Ne.excludeBegin&&(Ke=De)),xe(Ne,be),Ne.returnBegin?0:De.length}function et(be){const De=be[0],Ne=H.substring(be.index),Me=je(ze,be,Ne);if(!Me)return B2;const Re=ze;ze.endScope&&ze.endScope._wrap?(Ee(),Ce(De,ze.endScope._wrap)):ze.endScope&&ze.endScope._multi?(Ee(),he(ze.endScope,be)):Re.skip?Ke+=De:(Re.returnEnd||Re.excludeEnd||(Ke+=De),Ee(),Re.excludeEnd&&(Ke=De));do ze.scope&&ht.closeNode(),!ze.skip&&!ze.subLanguage&&(wn+=ze.relevance),ze=ze.parent;while(ze!==Me.parent);return Me.starts&&xe(Me.starts,be),Re.returnEnd?0:De.length}function yt(){const be=[];for(let De=ze;De!==Dt;De=De.parent)De.scope&&be.unshift(De.scope);be.forEach(De=>ht.openNode(De))}let Lt={};function St(be,De){const Ne=De&&De[0];if(Ke+=be,Ne==null)return Ee(),0;if(Lt.type==="begin"&&De.type==="end"&&Lt.index===De.index&&Ne===""){if(Ke+=H.slice(De.index,De.index+1),!a){const Me=new Error(`0 width match regex (${P})`);throw Me.languageName=P,Me.badRule=Lt.rule,Me}return 1}if(Lt=De,De.type==="begin")return nt(De);if(De.type==="illegal"&&!z){const Me=new Error('Illegal lexeme "'+Ne+'" for mode "'+(ze.scope||"")+'"');throw Me.mode=ze,Me}else if(De.type==="end"){const Me=et(De);if(Me!==B2)return Me}if(De.type==="illegal"&&Ne==="")return 1;if(Ut>1e5&&Ut>De.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ke+=Ne,Ne.length}const Dt=F(P);if(!Dt)throw Xi(i.replace("{}",P)),new Error('Unknown language: "'+P+'"');const Pt=pF(Dt);let Rn="",ze=ne||Pt;const En={},ht=new s.__emitter(s);yt();let Ke="",wn=0,tn=0,Ut=0,j=!1;try{if(Dt.__emitTokens)Dt.__emitTokens(H,ht);else{for(ze.matcher.considerAll();;){Ut++,j?j=!1:ze.matcher.considerAll(),ze.matcher.lastIndex=tn;const be=ze.matcher.exec(H);if(!be)break;const De=H.substring(tn,be.index),Ne=St(De,be);tn=be.index+Ne}St(H.substring(tn))}return ht.finalize(),Rn=ht.toHTML(),{language:P,value:Rn,relevance:wn,illegal:!1,_emitter:ht,_top:ze}}catch(be){if(be.message&&be.message.includes("Illegal"))return{language:P,value:ih(H),illegal:!0,relevance:0,_illegalBy:{message:be.message,index:tn,context:H.slice(tn-100,tn+100),mode:be.mode,resultSoFar:Rn},_emitter:ht};if(a)return{language:P,value:ih(H),illegal:!1,relevance:0,errorRaised:be,_emitter:ht,_top:ze};throw be}}function p(P){const H={value:ih(P),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return H._emitter.addText(P),H}function _(P,H){H=H||s.languages||Object.keys(e);const z=p(P),ne=H.filter(F).filter(q).map(Ee=>h(Ee,P,!1));ne.unshift(z);const oe=ne.sort((Ee,Ce)=>{if(Ee.relevance!==Ce.relevance)return Ce.relevance-Ee.relevance;if(Ee.language&&Ce.language){if(F(Ee.language).supersetOf===Ce.language)return 1;if(F(Ce.language).supersetOf===Ee.language)return-1}return 0}),[_e,ye]=oe,we=_e;return we.secondBest=ye,we}function b(P,H,z){const ne=H&&t[H]||z;P.classList.add("hljs"),P.classList.add(`language-${ne}`)}function A(P){let H=null;const z=c(P);if(l(z))return;if(ae("before:highlightElement",{el:P,language:z}),P.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(P)),s.throwUnescapedHTML))throw new bF("One of your code blocks includes unescaped HTML.",P.innerHTML);H=P;const ne=H.textContent,oe=z?u(ne,{language:z,ignoreIllegals:!0}):_(ne);P.innerHTML=oe.value,b(P,z,oe.language),P.result={language:oe.language,re:oe.relevance,relevance:oe.relevance},oe.secondBest&&(P.secondBest={language:oe.secondBest.language,relevance:oe.secondBest.relevance}),ae("after:highlightElement",{el:P,result:oe,text:ne})}function I(P){s=P2(s,P)}const M=()=>{m(),Co("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function U(){m(),Co("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let V=!1;function m(){if(document.readyState==="loading"){V=!0;return}document.querySelectorAll(s.cssSelector).forEach(A)}function O(){V&&m()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",O,!1);function S(P,H){let z=null;try{z=H(r)}catch(ne){if(Xi("Language definition for '{}' could not be registered.".replace("{}",P)),a)Xi(ne);else throw ne;z=o}z.name||(z.name=P),e[P]=z,z.rawDefinition=H.bind(null,r),z.aliases&&Y(z.aliases,{languageName:P})}function k(P){delete e[P];for(const H of Object.keys(t))t[H]===P&&delete t[H]}function L(){return Object.keys(e)}function F(P){return P=(P||"").toLowerCase(),e[P]||e[t[P]]}function Y(P,{languageName:H}){typeof P=="string"&&(P=[P]),P.forEach(z=>{t[z.toLowerCase()]=H})}function q(P){const H=F(P);return H&&!H.disableAutodetect}function te(P){P["before:highlightBlock"]&&!P["before:highlightElement"]&&(P["before:highlightElement"]=H=>{P["before:highlightBlock"](Object.assign({block:H.el},H))}),P["after:highlightBlock"]&&!P["after:highlightElement"]&&(P["after:highlightElement"]=H=>{P["after:highlightBlock"](Object.assign({block:H.el},H))})}function se(P){te(P),n.push(P)}function ie(P){const H=n.indexOf(P);H!==-1&&n.splice(H,1)}function ae(P,H){const z=P;n.forEach(function(ne){ne[z]&&ne[z](H)})}function D(P){return Co("10.7.0","highlightBlock will be removed entirely in v12.0"),Co("10.7.0","Please use highlightElement now."),A(P)}Object.assign(r,{highlight:u,highlightAuto:_,highlightAll:m,highlightElement:A,highlightBlock:D,configure:I,initHighlighting:M,initHighlightingOnLoad:U,registerLanguage:S,unregisterLanguage:k,listLanguages:L,getLanguage:F,registerAliases:Y,autoDetection:q,inherit:P2,addPlugin:se,removePlugin:ie}),r.debugMode=function(){a=!1},r.safeMode=function(){a=!0},r.versionString=_F,r.regex={concat:oo,lookahead:aw,either:m_,optional:xY,anyNumberOfTimes:DY};for(const P in Cc)typeof Cc[P]=="object"&&nw(Cc[P]);return Object.assign(r,Cc),r},ts=fw({});ts.newInstance=()=>fw({});var OF=ts;ts.HighlightJS=ts;ts.default=ts;var oh,Y2;function vF(){if(Y2)return oh;Y2=1;function r(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",u="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",h="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",p="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",_=c+u+h+p,b="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",A="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",I="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",M="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",U="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",V="отображениевремениэлементовпланировщика ",m="типфайлаформатированногодокумента ",O="обходрезультатазапроса типзаписизапроса ",S="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",k="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",L="типизмеренияпостроителязапроса ",F="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",Y="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",q="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",te="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",se="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",ie="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",ae="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",D="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",P="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",H="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",z="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",ne=b+A+I+M+U+V+m+O+S+k+L+F+Y+q+te+se+ie+ae+D+P+H+z,ye="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",we="null истина ложь неопределено",Ee=e.inherit(e.NUMBER_MODE),Ce={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},he={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},xe=e.inherit(e.C_LINE_COMMENT_MODE),je={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:i+l},contains:[xe]},Ve={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},nt={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:we},contains:[Ee,Ce,he]},xe]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:i,built_in:_,class:ne,type:ye,literal:we},contains:[je,nt,xe,Ve,Ee,Ce,he]}}return oh=r,oh}var sh,F2;function EF(){if(F2)return sh;F2=1;function r(e){const t=e.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,a=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},s={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},u={scope:"attribute",match:t.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:a,contains:[{scope:"operator",match:/=\/?/},u,i,o,s,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return sh=r,sh}var lh,U2;function yF(){if(U2)return lh;U2=1;function r(e){const t=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return lh=r,lh}var ch,$2;function TF(){if($2)return ch;$2=1;function r(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,a=t.concat(n,t.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}return ch=r,ch}var uh,G2;function CF(){if(G2)return uh;G2=1;function r(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,a=t+"(\\."+t+")?("+n+")?",i="\\w+",s="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+a+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,u=e.COMMENT("--","$"),h={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[u,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:s,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[u,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},h,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},h]}}return uh=r,uh}var dh,q2;function RF(){if(q2)return dh;q2=1;function r(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[a],n.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return dh=r,dh}var hh,Q2;function wF(){if(Q2)return hh;Q2=1;function r(e){const t={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},a,n,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return hh=r,hh}var fh,H2;function AF(){if(H2)return fh;H2=1;function r(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),a={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},i=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),s=[i,o,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,a]},...s],illegal:/\/\/|->|=>|\[\[/}}return fh=r,fh}var mh,V2;function IF(){if(V2)return mh;V2=1;function r(e){const t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},s={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,i,e.REGEXP_MODE];const l=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return mh=r,mh}var ph,z2;function kF(){if(z2)return ph;z2=1;function r(t){const n=t.regex,a=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",s="<[^<>]+>",l="(?!struct)("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional(s)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},_={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},a,t.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(o)+t.IDENT_RE,relevance:0},A=n.optional(o)+t.IDENT_RE+"\\s*\\(",I=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],M=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],U=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],V=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],S={type:M,keyword:I,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:U},k={className:"function.dispatch",relevance:0,keywords:{_hint:V},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},L=[k,_,c,a,t.C_BLOCK_COMMENT_MODE,p,h],F={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:L.concat([{begin:/\(/,end:/\)/,keywords:S,contains:L.concat(["self"]),relevance:0}]),relevance:0},Y={className:"function",begin:"("+l+"[\\*&\\s]+)+"+A,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:S,relevance:0},{begin:A,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[a,t.C_BLOCK_COMMENT_MODE,h,p,c,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",a,t.C_BLOCK_COMMENT_MODE,h,p,c]}]},c,a,t.C_BLOCK_COMMENT_MODE,_]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:S,illegal:"",keywords:S,contains:["self",c]},{begin:t.IDENT_RE+"::",keywords:S},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const n={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},a=r(t),i=a.keywords;return i.type=[...i.type,...n.type],i.literal=[...i.literal,...n.literal],i.built_in=[...i.built_in,...n.built_in],i._hints=n._hints,a.name="Arduino",a.aliases=["ino"],a.supersetOf="cpp",a}return ph=e,ph}var gh,W2;function NF(){if(W2)return gh;W2=1;function r(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return gh=r,gh}var _h,X2;function DF(){if(X2)return _h;X2=1;function r(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(o,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,c,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,s,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:u}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return _h=r,_h}var bh,K2;function xF(){if(K2)return bh;K2=1;function r(e){const t=e.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},a=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],s={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,s,...a,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return bh=r,bh}var Sh,Z2;function MF(){if(Z2)return Sh;Z2=1;function r(e){const t=e.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],a=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(a),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(a),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return Sh=r,Sh}var Oh,j2;function LF(){if(j2)return Oh;j2=1;function r(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return Oh=r,Oh}var vh,J2;function PF(){if(J2)return vh;J2=1;function r(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},s={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},u={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},h={className:"symbol",begin:"@[A-z0-9_]+"},p={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[s,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:i,literal:a},contains:[o,s,l,c,u,h,p]}}return vh=r,vh}var Eh,eS;function BF(){if(eS)return Eh;eS=1;function r(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return Eh=r,Eh}var yh,tS;function YF(){if(tS)return yh;tS=1;function r(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[t,a,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return yh=r,yh}var Th,nS;function FF(){if(nS)return Th;nS=1;function r(e){const t=e.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},s={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},s]}}return Th=r,Th}var Ch,rS;function UF(){if(rS)return Ch;rS=1;function r(e){const t=e.regex,n={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},b=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],A=["true","false"],I={match:/(\/[a-z._-]+)+/},M=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],U=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],V=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],m=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:b,literal:A,built_in:[...M,...U,"set","shopt",...V,...m]},contains:[p,e.SHEBANG(),_,u,e.HASH_COMMENT_MODE,o,I,s,l,c,n]}}return Ch=r,Ch}var Rh,aS;function $F(){if(aS)return Rh;aS=1;function r(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return Rh=r,Rh}var wh,iS;function GF(){if(iS)return wh;iS=1;function r(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return wh=r,wh}var Ah,oS;function qF(){if(oS)return Ah;oS=1;function r(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return Ah=r,Ah}var Ih,sS;function QF(){if(sS)return Ih;sS=1;function r(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="<[^<>]+>",s="("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},b=t.optional(i)+e.IDENT_RE+"\\s*\\(",M={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},U=[p,l,n,e.C_BLOCK_COMMENT_MODE,h,u],V={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:M,contains:U.concat([{begin:/\(/,end:/\)/,keywords:M,contains:U.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+s+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:M,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:M,relevance:0},{begin:b,returnBegin:!0,contains:[e.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C",aliases:["h"],keywords:M,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:p,strings:u,keywords:M}}}return Ih=r,Ih}var kh,lS;function HF(){if(lS)return kh;lS=1;function r(e){const t=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],a="false true",i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},u={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[o,s,e.NUMBER_MODE]},...i]},h=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],p={match:[/OBJECT/,/\s+/,t.either(...h),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:a},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,s,l,c,e.NUMBER_MODE,p,u]}}return kh=r,kh}var Nh,cS;function VF(){if(cS)return Nh;cS=1;function r(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],a=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:n,literal:a},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}return Nh=r,Nh}var Dh,uS;function zF(){if(uS)return Dh;uS=1;function r(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],a=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(n),meta:a},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return Dh=r,Dh}var xh,dS;function WF(){if(dS)return xh;dS=1;function r(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return xh=r,xh}var Mh,hS;function XF(){if(hS)return Mh;hS=1;function r(e){const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:n,relevance:0},s={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),h={scope:"punctuation",match:/,/,relevance:0},p=e.COMMENT(";","$",{relevance:0}),_={className:"literal",begin:/\b(true|false|nil)\b/},b={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},A={className:"symbol",begin:"[:]{1,2}"+n},I={begin:"\\(",end:"\\)"},M={endsWithParent:!0,relevance:0},U={keywords:i,className:"name",begin:n,relevance:0,starts:M},V=[h,I,l,c,u,p,A,b,s,_,o],m={beginKeywords:a,keywords:{$pattern:n,keyword:a},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(V)};return I.contains=[m,U,M],M.contains=V,b.contains=V,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[h,I,l,c,u,p,A,b,s,_]}}return Mh=r,Mh}var Lh,fS;function KF(){if(fS)return Lh;fS=1;function r(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return Lh=r,Lh}var Ph,mS;function ZF(){if(mS)return Ph;mS=1;function r(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Ph=r,Ph}var Bh,pS;function jF(){if(pS)return Bh;pS=1;const r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(a,t,n);function o(s){const l=["npm","print"],c=["yes","no","on","off"],u=["then","unless","until","loop","by","when","and","or","is","isnt","not"],h=["var","const","let","function","static"],p=O=>S=>!O.includes(S),_={keyword:r.concat(u).filter(p(h)),literal:e.concat(c),built_in:i.concat(l)},b="[A-Za-z$_][0-9A-Za-z$_]*",A={className:"subst",begin:/#\{/,end:/\}/,keywords:_},I=[s.BINARY_NUMBER_MODE,s.inherit(s.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[s.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[s.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[s.BACKSLASH_ESCAPE,A]},{begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,A]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[A,s.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+b},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];A.contains=I;const M=s.inherit(s.TITLE_MODE,{begin:b}),U="(\\(.*\\)\\s*)?\\B[-=]>",V={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]},m={variants:[{match:[/class\s+/,b,/\s+extends\s+/,b]},{match:[/class\s+/,b]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:_};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:_,illegal:/\/\*/,contains:[...I,s.COMMENT("###","###"),s.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+b+"\\s*=\\s*"+U,end:"[-=]>",returnBegin:!0,contains:[M,V]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:U,end:"[-=]>",returnBegin:!0,contains:[V]}]},m,{begin:b+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return Bh=o,Bh}var Yh,gS;function JF(){if(gS)return Yh;gS=1;function r(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return Yh=r,Yh}var Fh,_S;function eU(){if(_S)return Fh;_S=1;function r(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return Fh=r,Fh}var Uh,bS;function tU(){if(bS)return Uh;bS=1;function r(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="<[^<>]+>",s="(?!struct)("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},b=t.optional(i)+e.IDENT_RE+"\\s*\\(",A=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],I=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],M=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],U=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],O={type:I,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:M},S={className:"function.dispatch",relevance:0,keywords:{_hint:U},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},k=[S,p,l,n,e.C_BLOCK_COMMENT_MODE,h,u],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:O,contains:k.concat([{begin:/\(/,end:/\)/,keywords:O,contains:k.concat(["self"]),relevance:0}]),relevance:0},F={className:"function",begin:"("+s+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:O,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:O,relevance:0},{begin:b,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:O,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:O,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:O,illegal:"",keywords:O,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:O},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Uh=r,Uh}var $h,SS;function nU(){if(SS)return $h;SS=1;function r(e){const t="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",a="property rsc_defaults op_defaults",i="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",s="number string",l="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:i+" "+o+" "+s,literal:l},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:a,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return $h=r,$h}var Gh,OS;function rU(){if(OS)return Gh;OS=1;function r(e){const t="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",s={$pattern:a,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:s};function h(U,V){const m=[{begin:U,end:V}];return m[0].contains=m,m}const p={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:h("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},_={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%q<",end:">",contains:h("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},b={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},A={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%r<",end:">",contains:h("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},I={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},M=[u,p,_,A,b,I,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[p,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return l.contains=M,u.contains=M.slice(1),{name:"Crystal",aliases:["cr"],keywords:s,contains:M}}return Gh=r,Gh}var qh,vS;function aU(){if(vS)return qh;vS=1;function r(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(o),built_in:t,literal:a},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),p={className:"subst",begin:/\{/,end:/\}/,keywords:s},_=e.inherit(p,{illegal:/\n/}),b={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,_]},A={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]},I=e.inherit(A,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]});p.contains=[A,b,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],_.contains=[I,b,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const M={variants:[A,b,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},U={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},V=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",m={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},M,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,U,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,U,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+V+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,U],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[M,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m]}}return qh=r,qh}var Qh,ES;function iU(){if(ES)return Qh;ES=1;function r(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return Qh=r,Qh}var Hh,yS;function oU(){if(yS)return Hh;yS=1;const r=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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function o(s){const l=s.regex,c=r(s),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",p=/@-?\w[\w]*(-\w+)*/,_="[a-zA-Z-][a-zA-Z0-9_-]*",b=[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,u,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+_,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+n.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...b,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...b,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:p},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...b,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Hh=o,Hh}var Vh,TS;function sU(){if(TS)return Vh;TS=1;function r(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",s="0[xX]"+o,l="([eE][+-]?"+a+")",c="("+a+"(\\.\\d*|"+l+")|\\d+\\."+a+"|\\."+n+l+"?)",u="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+a+")",h="("+n+"|"+i+"|"+s+")",p="("+u+"|"+c+")",_=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,b={className:"number",begin:"\\b"+h+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},A={className:"number",begin:"\\b("+p+"([fF]|L|i|[fF]i|Li)?|"+h+"(i|[fF]i|Li))",relevance:0},I={className:"string",begin:"'("+_+"|.)",end:"'",illegal:"."},U={className:"string",begin:'"',contains:[{begin:_,relevance:0}],end:'"[cwd]?'},V={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},m={className:"string",begin:"`",end:"`[cwd]?"},O={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},S={className:"string",begin:'q"\\{',end:'\\}"'},k={className:"meta",begin:"^#!",end:"$",relevance:5},L={className:"meta",begin:"#(line)",end:"$",relevance:5},F={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},Y=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,Y,O,U,V,m,S,A,b,I,k,L,F]}}return Vh=r,Vh}var zh,CS;function lU(){if(CS)return zh;CS=1;function r(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},p=e.inherit(u,{contains:[]}),_=e.inherit(h,{contains:[]});u.contains.push(_),h.contains.push(p);let b=[n,c];return[u,h,p,_].forEach(M=>{M.contains=M.contains.concat(b)}),b=b.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:b},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:b}]}]},n,o,u,h,{className:"quote",begin:"^>\\s+",contains:b,end:"$"},i,a,c,s]}}return zh=r,zh}var Wh,RS;function cU(){if(RS)return Wh;RS=1;function r(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[e.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return Wh=r,Wh}var Xh,wS;function uU(){if(wS)return Xh;wS=1;function r(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},s={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,s,a].concat(n)},a].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,s,e.NUMBER_MODE,o,l,c,a].concat(n)}}return Xh=r,Xh}var Kh,AS;function dU(){if(AS)return Kh;AS=1;function r(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return Kh=r,Kh}var Zh,IS;function hU(){if(IS)return Zh;IS=1;function r(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return Zh=r,Zh}var jh,kS;function fU(){if(kS)return jh;kS=1;function r(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return jh=r,jh}var Jh,NS;function mU(){if(NS)return Jh;NS=1;function r(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},s={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},u={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},h={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},p={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},_={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[u,i,o,s,c,p,h,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,a,_,{begin:e.IDENT_RE+"::",keywords:""}]}}return nf=r,nf}var rf,LS;function bU(){if(LS)return rf;LS=1;function r(e){const t="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}return rf=r,rf}var af,PS;function SU(){if(PS)return af;PS=1;function r(e){const t=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,n,i]}}return af=r,af}var of,BS;function OU(){if(BS)return of;BS=1;function r(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",s={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},h={match:/\\[\s\S]/,scope:"char.escape",relevance:0},p=`[/|([{<"']`,_=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],b=S=>({scope:"char.escape",begin:t.concat(/\\/,S),relevance:0}),A={className:"string",begin:"~[a-z](?="+p+")",contains:_.map(S=>e.inherit(S,{contains:[b(S.end),h,l]}))},I={className:"string",begin:"~[A-Z](?="+p+")",contains:_.map(S=>e.inherit(S,{contains:[b(S.end)]}))},M={className:"regex",variants:[{begin:"~r(?="+p+")",contains:_.map(S=>e.inherit(S,{end:t.concat(S.end,/[uismxfU]{0,7}/),contains:[b(S.end),h,l]}))},{begin:"~R(?="+p+")",contains:_.map(S=>e.inherit(S,{end:t.concat(S.end,/[uismxfU]{0,7}/),contains:[b(S.end)]}))}]},U={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},V={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},m=e.inherit(V,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),O=[U,M,I,A,e.HASH_COMMENT_MODE,m,V,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[U,{begin:a}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=O,{name:"Elixir",aliases:["ex","exs"],keywords:s,contains:O}}return of=r,of}var sf,YS;function vU(){if(YS)return sf;YS=1;function r(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={begin:/\{/,end:/\}/,contains:a.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,a,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return sf=r,sf}var lf,FS;function EU(){if(FS)return lf;FS=1;function r(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(a,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:s},p={className:"string",contains:[e.BACKSLASH_ESCAPE,h],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},_="[1-9](_?[0-9])*|0",b="[0-9](_?[0-9])*",A={className:"number",relevance:0,variants:[{begin:`\\b(${_})(\\.(${b}))?([eE][+-]?(${b})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},I={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},k=[p,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:s},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[I]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[p,{begin:n}],relevance:0},A,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,u),relevance:0}].concat(c,u);h.contains=k,I.contains=k;const L="[>?]>",F="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",Y="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",q=[{begin:/^\s*=>/,starts:{end:"$",contains:k}},{className:"meta.prompt",begin:"^("+L+"|"+F+"|"+Y+")(?=[ ])",starts:{end:"$",keywords:s,contains:k}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(q).concat(u).concat(k)}}return lf=r,lf}var cf,US;function yU(){if(US)return cf;US=1;function r(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return cf=r,cf}var uf,$S;function TU(){if($S)return uf;$S=1;function r(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return uf=r,uf}var df,GS;function CU(){if(GS)return df;GS=1;function r(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},s={begin:"fun\\s+"+t+"/\\d+"},l={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},u={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},h={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},p={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},_={beginKeywords:"fun receive if try case",end:"end",keywords:a};_.contains=[i,s,e.inherit(e.APOS_STRING_MODE,{className:""}),_,l,e.QUOTE_STRING_MODE,o,c,u,h,p];const b=[i,s,_,l,e.QUOTE_STRING_MODE,o,c,u,h,p];l.contains[1].contains=b,c.contains=b,p.contains[1].contains=b;const A=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],I={className:"params",begin:"\\(",end:"\\)",contains:b};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[I,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:a,contains:b}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:A.map(M=>`${M}|1.5`).join(" ")},contains:[I]},o,e.QUOTE_STRING_MODE,p,u,h,c,{begin:/\.$/}]}}return df=r,df}var hf,qS;function RU(){if(qS)return hf;qS=1;function r(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return hf=r,hf}var ff,QS;function wU(){if(QS)return ff;QS=1;function r(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return ff=r,ff}var mf,HS;function AU(){if(HS)return mf;HS=1;function r(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,n,i,e.C_NUMBER_MODE]}}return mf=r,mf}var pf,VS;function IU(){if(VS)return pf;VS=1;function r(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},a={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:t.concat(/\b\d+/,o,i)},{begin:t.concat(/\.\d+/,o,i)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},a,s]}}return pf=r,pf}var gf,zS;function kU(){if(zS)return gf;zS=1;function r(s){return new RegExp(s.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(s){return s?typeof s=="string"?s:s.source:null}function t(s){return n("(?=",s,")")}function n(...s){return s.map(c=>e(c)).join("")}function a(s){const l=s[s.length-1];return typeof l=="object"&&l.constructor===Object?(s.splice(s.length-1,1),l):{}}function i(...s){return"("+(a(s).capture?"":"?:")+s.map(u=>e(u)).join("|")+")"}function o(s){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},u=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],h=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],p=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],_=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],A={keyword:l,literal:h,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":p},M={variants:[s.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),s.C_LINE_COMMENT_MODE]},U=/[a-zA-Z_](\w|')*/,V={scope:"variable",begin:/``/,end:/``/},m=/\B('|\^)/,O={scope:"symbol",variants:[{match:n(m,/``.*?``/)},{match:n(m,s.UNDERSCORE_IDENT_RE)}],relevance:0},S=function({includeEqual:Ee}){let Ce;Ee?Ce="!%&*+-/<=>@^|~?":Ce="!%&*+-/<>@^|~?";const he=Array.from(Ce),xe=n("[",...he.map(r),"]"),je=i(xe,/\./),Ve=n(je,t(je)),nt=i(n(Ve,je,"*"),n(xe,"+"));return{scope:"operator",match:i(nt,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},k=S({includeEqual:!0}),L=S({includeEqual:!1}),F=function(Ee,Ce){return{begin:n(Ee,t(n(/\s*/,i(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:Ce,end:t(i(/\n/,/=/)),relevance:0,keywords:s.inherit(A,{type:_}),contains:[M,O,s.inherit(V,{scope:null}),L]}},Y=F(/:/,"operator"),q=F(/\bof\b/,"keyword"),te={begin:[/(^|\s+)/,/type/,/\s+/,U],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:A,contains:[M,s.inherit(V,{scope:null}),O,{scope:"operator",match:/<|>/},Y]},se={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},ie={begin:[/^\s*/,n(/#/,i(...u)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},ae={variants:[s.BINARY_NUMBER_MODE,s.C_NUMBER_MODE]},D={scope:"string",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE]},P={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},s.BACKSLASH_ESCAPE]},H={scope:"string",begin:/"""/,end:/"""/,relevance:2},z={scope:"subst",begin:/\{/,end:/\}/,keywords:A},ne={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},s.BACKSLASH_ESCAPE,z]},oe={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},s.BACKSLASH_ESCAPE,z]},_e={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},z],relevance:2},ye={scope:"string",match:n(/'/,i(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return z.contains=[oe,ne,P,D,ye,c,M,V,Y,se,ie,ae,O,k],{name:"F#",aliases:["fs","f#"],keywords:A,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[_e,oe,ne,H,P,D,ye]},M,V,te,{scope:"meta",begin:/\[\]/,relevance:2,contains:[V,H,P,D,ye,ae]},q,Y,se,ie,ae,O,k]}}return gf=o,gf}var _f,WS;function NU(){if(WS)return _f;WS=1;function r(e){const t=e.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},s={begin:"/",end:"/",keywords:n,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,s,{className:"comment",begin:t.concat(l,t.anyNumberOfTimes(t.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,s,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},a,i]},e.C_NUMBER_MODE,i]}}return _f=r,_f}var bf,XS;function DU(){if(XS)return bf;XS=1;function r(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],s={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(_,b,A){const I=e.inherit({className:"function",beginKeywords:_,end:b,excludeEnd:!0,contains:[].concat(o)},A||{});return I.contains.push(s),I.contains.push(e.C_NUMBER_MODE),I.contains.push(e.C_BLOCK_COMMENT_MODE),I.contains.push(n),I},c={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},u={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},h={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},p={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,c,h,u,"self"]};return h.contains.push(p),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,u,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,p]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},h,i]}}return bf=r,bf}var Sf,KS;function xU(){if(KS)return Sf;KS=1;function r(e){const t="[A-Z_][A-Z0-9_.]*",n="%",a={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),s=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),o,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:n},i].concat(s)}}return Sf=r,Sf}var Of,ZS;function MU(){if(ZS)return Of;ZS=1;function r(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return Of=r,Of}var vf,jS;function LU(){if(jS)return vf;jS=1;function r(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return vf=r,vf}var Ef,JS;function PU(){if(JS)return Ef;JS=1;function r(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Ef=r,Ef}var yf,eO;function BU(){if(eO)return yf;eO=1;function r(e){const o={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:o,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Af=r,Af}var If,oO;function qU(){if(oO)return If;oO=1;function r(e){const t=e.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},a={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,o=/''|'[^']+'/,s=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,u=t.either(i,o,s,l),h=t.concat(t.optional(/\.|\.\/|\//),u,t.anyNumberOfTimes(t.concat(c,u))),p=t.concat("(",s,"|",l,")(?==)"),_={begin:h},b=e.inherit(_,{keywords:a}),A={begin:/\(/,end:/\)/},I={className:"attr",begin:p,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,b,A]}}},M={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},U={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,M,I,b,A],returnEnd:!0},V=e.inherit(_,{className:"name",keywords:n,starts:e.inherit(U,{end:/\)/})});A.contains=[V];const m=e.inherit(_,{keywords:n,className:"name",starts:e.inherit(U,{end:/\}\}/})}),O=e.inherit(_,{keywords:n,className:"name"}),S=e.inherit(_,{className:"name",keywords:n,starts:e.inherit(U,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[m],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[O]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[O]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[S]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[S]}]}}return If=r,If}var kf,sO;function QU(){if(sO)return kf;sO=1;function r(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[n,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),t]},s={begin:/\{/,end:/\}/,contains:o.contains},l="([0-9]_*)+",c="([0-9a-fA-F]_*)+",u="([01]_*)+",h="([0-7]_*)+",p={className:"number",relevance:0,variants:[{match:`\\b(${l})(\\.(${l}))?([eE][+-]?(${l}))?\\b`},{match:`\\b0[xX]_*(${c})(\\.(${c}))?([pP][+-]?(${l}))?\\b`},{match:`\\b0[oO](${h})\\b`},{match:`\\b0[bB](${u})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[o,t],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[o,t],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,o,t]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,i,o,s,t]},{beginKeywords:"default",end:"$",contains:[i,o,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,e.QUOTE_STRING_MODE,t]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,a,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,p,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}]}}return kf=r,kf}var Nf,lO;function HU(){if(lO)return Nf;lO=1;function r(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:":[ ]*",end:"[^A-Za-z0-9_ \\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ ]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}return Nf=r,Nf}var Df,cO;function VU(){if(cO)return Df;cO=1;function r(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return Df=r,Df}var xf,uO;function zU(){if(uO)return xf;uO=1;function r(e){const t=e.regex,n="HTTP/([32]|1\\.[01])",a=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:t.concat("^",a,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(i,{relevance:0})]}}return xf=r,xf}var Mf,dO;function WU(){if(dO)return Mf;dO=1;function r(e){const t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",a={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:n,relevance:0},s={className:"number",begin:i,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),u={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},h={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},p={className:"comment",begin:"\\^"+n},_=e.COMMENT("\\^\\{","\\}"),b={className:"symbol",begin:"[:]{1,2}"+n},A={begin:"\\(",end:"\\)"},I={endsWithParent:!0,relevance:0},M={className:"name",relevance:0,keywords:a,begin:n,starts:I},U=[A,l,p,_,c,b,h,s,u,o];return A.contains=[e.COMMENT("comment",""),M,I],I.contains=U,h.contains=U,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),A,l,p,_,c,b,h,s,u]}}return Mf=r,Mf}var Lf,hO;function XU(){if(hO)return Lf;hO=1;function r(e){const t="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:n,contains:["self"]}]}}return Lf=r,Lf}var Pf,fO;function KU(){if(fO)return Pf;fO=1;function r(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},a=e.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[a,o,i,s,n,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,h=/'[^']*'/,p=t.either(c,u,h),_=t.concat(p,"(\\s*\\.\\s*",p,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:_,className:"attr",starts:{end:/$/,contains:[a,l,o,i,s,n]}}]}}return Pf=r,Pf}var Bf,mO;function ZU(){if(mO)return Bf;mO=1;function r(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},a=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,a)},{begin:t.concat(/\b\d+/,i,a)},{begin:t.concat(/\.\d+/,i,a)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}return Bf=r,Bf}var Yf,pO;function jU(){if(pO)return Yf;pO=1;function r(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",i="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",s="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",l="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",u="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",h="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",p="smHidden smMaximized smMinimized smNormal wmNo wmYes ",_="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",b="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",A="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",I="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",M="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",U="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",V="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",m="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",O="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",S="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",k="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",L="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",F="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",Y="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",q="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",te="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",se="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",ie="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",ae="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",D="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",P="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",H="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",z="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",ne="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",oe="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",_e="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",ye="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",we="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Ee=i+o+s+l+c+u+h+p+_+b+A+I+M+U+V+m+O+S+k+L+F+Y+q+te+se+ie+ae+D+P+H+z+ne+oe+_e+ye+we,Ce="atUser atGroup atRole ",he="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",xe="apBegin apEnd ",je="alLeft alRight ",Ve="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",nt="cirCommon cirRevoked ",et="ctSignature ctEncode ctSignatureEncode ",yt="clbUnchecked clbChecked clbGrayed ",Lt="ceISB ceAlways ceNever ",St="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Dt="cfInternal cfDisplay ",Pt="ciUnspecified ciWrite ciRead ",Rn="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",ze="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",En="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ht="cltInternal cltPrimary cltGUI ",Ke="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",wn="dssEdit dssInsert dssBrowse dssInActive ",tn="dftDate dftShortDate dftDateTime dftTimeStamp ",Ut="dotDays dotHours dotMinutes dotSeconds ",j="dtkndLocal dtkndUTC ",be="arNone arView arEdit arFull ",De="ddaView ddaEdit ",Ne="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Me="ecotFile ecotProcess ",Re="eaGet eaCopy eaCreate eaCreateStandardRoute ",$t="edltAll edltNothing edltQuery ",ut="essmText essmCard ",Tt="esvtLast esvtLastActive esvtSpecified ",rt="edsfExecutive edsfArchive ",it="edstSQLServer edstFile ",Vt="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",_t="vsDefault vsDesign vsActive vsObsolete ",Ye="etNone etCertificate etPassword etCertificatePassword ",Gn="ecException ecWarning ecInformation ",Fr="estAll estApprovingOnly ",ft="evtLast evtLastActive evtQuery ",ir="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Ln="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",Ai="grhAuto grhX1 grhX2 grhX3 ",Ur="hltText hltRTF hltHTML ",nn="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",$r="im8bGrayscale im24bRGB im1bMonochrome ",Ii="itBMP itJPEG itWMF itPNG ",Ra="ikhInformation ikhWarning ikhError ikhNoIcon ",vr="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",Er="isShow isHide isByUserSettings ",wa="jkJob jkNotice jkControlJob ",Gr="jtInner jtLeft jtRight jtFull jtCross ",sn="lbpAbove lbpBelow lbpLeft lbpRight ",za="eltPerConnection eltPerUser ",Wa="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",X="sfsItalic sfsStrikeout sfsNormal ",le="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",me="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Se="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",Ae="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",Qe="rdWindow rdFile rdPrinter ",Pe="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",At="reOnChange reOnChangeValues ",qn="ttGlobal ttLocal ttUser ttSystem ",or="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",so="smSelect smLike smCard ",ki="stNone stAuthenticating stApproving ",us="sctString sctStream ",sr="sstAnsiSort sstNaturalSort ",ds="svtEqual svtContain ",lo="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",co="tarAbortByUser tarAbortByWorkflowException ",hs="tvtAllWords tvtExactPhrase tvtAnyWord ",uo="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",fs="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",ho="btAnd btDetailAnd btOr btNotOr btOnly ",Jn="vmView vmSelect vmNavigation ",ms="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",ps="wfatPrevious wfatNext wfatCancel wfatFinish ",fo="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",mo="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",gs="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",po="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",_s="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",go="waAll waPerformers waManual ",bs="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Ss="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",yr="wiLow wiNormal wiHigh ",Rt="wrtSoft wrtHard ",Os="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Xa="wtmFull wtmFromCurrent wtmOnlyCurrent ",vs=Ce+he+xe+je+Ve+nt+et+yt+Lt+St+Dt+Pt+Rn+ze+En+ht+Ke+wn+tn+Ut+j+be+De+Ne+Me+Re+$t+ut+Tt+rt+it+Vt+_t+Ye+Gn+Fr+ft+ir+Ln+Ai+Ur+nn+$r+Ii+Ra+vr+Er+wa+Gr+sn+za+Wa+X+le+me+Se+Ae+Qe+Pe+At+qn+or+so+ki+us+sr+ds+lo+co+hs+uo+fs+ho+Jn+ms+ps+fo+mo+gs+po+_s+go+bs+Ss+yr+Rt+Os+Xa,Aa="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",Es="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Ka="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",_o=Ee+vs,bo=Es,ys="null true false nil ",Za={className:"number",begin:e.NUMBER_RE,relevance:0},So={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},ja={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ja={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,ja]},Oo={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,ja]},Ni={variants:[Ja,Oo]},Ia={$pattern:t,keyword:a,built_in:_o,class:bo,literal:ys},An={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Ia,relevance:0},vo={className:"type",begin:":[ \\t]*("+Ka.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},lr={className:"variable",keywords:Ia,begin:t,relevance:0,contains:[vo,An]},Di=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Ia,illegal:"\\$|\\?|%|,|;$|~|#|@|a(o,s,l-1))}function i(o){const s=o.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+a("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),b={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},A={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},I={className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[o.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:b,illegal:/<\/|#/,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[o.BACKSLASH_ESCAPE]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[s.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[I,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",o.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:b,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[A,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,n,o.C_BLOCK_COMMENT_MODE]},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},n,A]}}return Ff=i,Ff}var Uf,_O;function e$(){if(_O)return Uf;_O=1;const r="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,a);function l(c){const u=c.regex,h=(he,{after:xe})=>{const je="",end:""},b=/<[A-Za-z0-9\\._:-]+\s*\/>/,A={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(he,xe)=>{const je=he[0].length+he.index,Ve=he.input[je];if(Ve==="<"||Ve===","){xe.ignoreMatch();return}Ve===">"&&(h(he,{after:je})||xe.ignoreMatch());let nt;const et=he.input.substring(je);if(nt=et.match(/^\s*=/)){xe.ignoreMatch();return}if((nt=et.match(/^\s+extends\s+/))&&nt.index===0){xe.ignoreMatch();return}}},I={$pattern:r,keyword:e,literal:t,built_in:s,"variable.language":o},M="[0-9](_?[0-9])*",U=`\\.(${M})`,V="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",m={className:"number",variants:[{begin:`(\\b(${V})((${U})|\\.)?|(${U}))[eE][+-]?(${M})\\b`},{begin:`\\b(${V})\\b((${U})\\b|\\.)?|(${U})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:I,contains:[]},S={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},k={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,O],subLanguage:"css"}},L={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},F={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,O]},q={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},te=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,S,k,L,F,{match:/\$\d+/},m];O.contains=te.concat({begin:/\{/,end:/\}/,keywords:I,contains:["self"].concat(te)});const se=[].concat(q,O.contains),ie=se.concat([{begin:/\(/,end:/\)/,keywords:I,contains:["self"].concat(se)}]),ae={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:I,contains:ie},D={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,u.concat(p,"(",u.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...a]}},H={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ae],illegal:/%/},ne={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function oe(he){return u.concat("(?!",he.join("|"),")")}const _e={match:u.concat(/\b/,oe([...i,"super","import"]),p,u.lookahead(/\(/)),className:"title.function",relevance:0},ye={begin:u.concat(/\./,u.lookahead(u.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},we={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ae]},Ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Ce={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ae]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:I,exports:{PARAMS_CONTAINS:ie,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,S,k,L,F,q,{match:/\$\d+/},m,P,{className:"attr",begin:p+u.lookahead(":"),relevance:0},Ce,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[q,c.REGEXP_MODE,{className:"function",begin:Ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:I,contains:ie}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:b},{begin:A.begin,"on:begin":A.isTrulyOpeningTag,end:A.end}],subLanguage:"xml",contains:[{begin:A.begin,end:A.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ae,c.inherit(c.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},ye,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ae]},_e,ne,D,we,{match:/\$[(.]/}]}}return Uf=l,Uf}var $f,bO;function t$(){if(bO)return $f;bO=1;function r(e){const n={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},a={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,o,a,i,n]}}return $f=r,$f}var Gf,SO;function n$(){if(SO)return Gf;SO=1;function r(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],i={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",keywords:{literal:a},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Gf=r,Gf}var qf,OO;function r$(){if(OO)return qf;OO=1;function r(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",o={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},s={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},u={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},h={className:"variable",begin:"\\$"+t},p={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},_={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],begin:"`",end:"`"},b={className:"meta",begin:"@"+t},A={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return s.name="Julia",s.contains=[l,c,p,_,b,A,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],u.contains=s.contains,s}return qf=r,qf}var Qf,vO;function a$(){if(vO)return Qf;vO=1;function r(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Qf=r,Qf}var Hf,EO;function i$(){if(EO)return Hf;EO=1;var r="[0-9](_*[0-9])*",e=`\\.(${r})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:`(\\b(${r})((${e})|\\.)?|(${e}))[eE][+-]?(${r})[fFdD]?\\b`},{begin:`\\b(${r})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${r})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${r})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function a(i){const o={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(h);const p={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},_={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(h,{className:"string"}),"self"]}]},b=n,A=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),I={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},M=I;return M.variants[1].contains=[I],I.variants[1].contains=[M],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,A,s,l,p,_,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[I,i.C_LINE_COMMENT_MODE,A],relevance:0},i.C_LINE_COMMENT_MODE,A,p,_,h,i.C_NUMBER_MODE]},A]},{begin:[/class|interface|trait/,/\s+/,i.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},p,_]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},b]}}return Hf=a,Hf}var Vf,yO;function o$(){if(yO)return Vf;yO=1;function r(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:t+"|&[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"},o=e.COMMENT("",{relevance:0}),s={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},l={className:"meta",begin:"\\[/noprocess|"+n},c={className:"symbol",begin:"'"+t+"'"},u=[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:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},s,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},s,l].concat(u)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(u)}}return Vf=r,Vf}var zf,TO;function s$(){if(TO)return zf;TO=1;function r(e){const n=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(q=>q+"(?![a-zA-Z@:_])")),a=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(q=>q+"(?![a-zA-Z:_])").join("|")),i=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],s={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:a},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:i}]},l={className:"params",relevance:0,begin:/#+\d?/},c={variants:o},u={className:"built_in",relevance:0,begin:/[$&^_]/},h={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},p=e.COMMENT("%","$",{relevance:0}),_=[s,l,c,u,h,p],b={begin:/\{/,end:/\}/,relevance:0,contains:["self",..._]},A=e.inherit(b,{relevance:0,endsParent:!0,contains:[b,..._]}),I={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[b,..._]},M={begin:/\s+/,relevance:0},U=[A],V=[I],m=function(q,te){return{contains:[M],starts:{relevance:0,contains:q,starts:te}}},O=function(q,te){return{begin:"\\\\"+q+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+q},relevance:0,contains:[M],starts:te}},S=function(q,te){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+q+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},m(U,te))},k=(q="string")=>e.END_SAME_AS_BEGIN({className:q,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),L=function(q){return{className:"string",end:"(?=\\\\end\\{"+q+"\\})"}},F=(q="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:q,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),Y=[...["verb","lstinline"].map(q=>O(q,{contains:[k()]})),O("mint",m(U,{contains:[k()]})),O("mintinline",m(U,{contains:[F(),k()]})),O("url",{contains:[F("link"),F("link")]}),O("hyperref",{contains:[F("link")]}),O("href",m(V,{contains:[F("link")]})),...[].concat(...["","\\*"].map(q=>[S("verbatim"+q,L("verbatim"+q)),S("filecontents"+q,m(U,L("filecontents"+q))),...["","B","L"].map(te=>S(te+"Verbatim"+q,m(V,L(te+"Verbatim"+q))))])),S("minted",m(V,m(U,L("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...Y,..._]}}return zf=r,zf}var Wf,CO;function l$(){if(CO)return Wf;CO=1;function r(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Wf=r,Wf}var Xf,RO;function c$(){if(RO)return Xf;RO=1;function r(e){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}return Xf=r,Xf}var Kf,wO;function u$(){if(wO)return Kf;wO=1;const r=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.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:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),o=n.concat(a);function s(l){const c=r(l),u=o,h="and or not only",p="[\\w-]+",_="("+p+"|@\\{"+p+"\\})",b=[],A=[],I=function(q){return{className:"string",begin:"~?"+q+".*?"+q}},M=function(q,te,se){return{className:q,begin:te,relevance:se}},U={$pattern:/[a-z-]+/,keyword:h,attribute:t.join(" ")},V={begin:"\\(",end:"\\)",contains:A,keywords:U,relevance:0};A.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,I("'"),I('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,V,M("variable","@@?"+p,10),M("variable","@\\{"+p+"\\}"),M("built_in","~?`[^`]*?`"),{className:"attribute",begin:p+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const m=A.concat({begin:/\{/,end:/\}/,contains:b}),O={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(A)},S={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:A}}]},k={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:U,returnEnd:!0,contains:A,relevance:0}},L={className:"variable",variants:[{begin:"@"+p+"\\s*:",relevance:15},{begin:"@"+p}],starts:{end:"[;}]",returnEnd:!0,contains:m}},F={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,O,M("keyword","all\\b"),M("variable","@\\{"+p+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,M("selector-tag",_,0),M("selector-id","#"+_),M("selector-class","\\."+_,0),M("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:m},{begin:"!important"},c.FUNCTION_DISPATCH]},Y={begin:p+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[F]};return b.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,k,L,Y,S,F,O,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:b}}return Kf=s,Kf}var Zf,AO;function d$(){if(AO)return Zf;AO=1;function r(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},u={className:"symbol",begin:"[:&]"+t},h={begin:t,relevance:0},p={begin:n},b={contains:[o,s,c,u,{begin:"\\(",end:"\\)",contains:["self",i,s,o,h]},h],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},A={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},I={begin:"\\(\\s*",end:"\\)"},M={endsWithParent:!0,relevance:0};return I.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},M],M.contains=[b,A,I,i,o,s,l,c,u,p,h],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),i,s,l,b,A,I,h]}}return Zf=r,Zf}var jf,IO;function h$(){if(IO)return jf;IO=1;function r(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],a=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a].concat(n),illegal:";$|^\\[|^=|&|\\{"}}return jf=r,jf}var Jf,kO;function f$(){if(kO)return Jf;kO=1;const r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(a,t,n);function o(s){const l=["npm","print"],c=["yes","no","on","off","it","that","void"],u=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],h={keyword:r.concat(u),literal:e.concat(c),built_in:i.concat(l)},p="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",_=s.inherit(s.TITLE_MODE,{begin:p}),b={className:"subst",begin:/#\{/,end:/\}/,keywords:h},A={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:h},I=[s.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[s.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[s.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[s.BACKSLASH_ESCAPE,b,A]},{begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,b,A]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[b,s.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+p},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];b.contains=I;const M={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:h,contains:["self"].concat(I)}]},U={begin:"(#=>|=>|\\|>>|-?->|!->)"},V={variants:[{match:[/class\s+/,p,/\s+extends\s+/,p]},{match:[/class\s+/,p]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:h};return{name:"LiveScript",aliases:["ls"],keywords:h,illegal:/\/\*/,contains:I.concat([s.COMMENT("\\/\\*","\\*\\/"),s.HASH_COMMENT_MODE,U,{className:"function",contains:[_,M],returnBegin:!0,variants:[{begin:"("+p+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+p+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+p+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},V,{begin:p+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Jf=o,Jf}var em,NO;function m$(){if(NO)return em;NO=1;function r(e){const t=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,a={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},s={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:t.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},u={className:"title",variants:[{begin:t.concat(/@/,n)},{begin:/@\d+/},{begin:t.concat(/!/,n)},{begin:t.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[a,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},u,o,i,c,l,s]}}return em=r,em}var tm,DO;function p$(){if(DO)return tm;DO=1;function r(e){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},a={className:"number",relevance:0,begin:e.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[n,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return tm=r,tm}var nm,xO;function g$(){if(xO)return nm;xO=1;function r(e){const t="\\[=*\\[",n="\\]=*\\]",a={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[a],relevance:5}])}}return nm=r,nm}var rm,MO;function _$(){if(MO)return rm;MO=1;function r(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{A.has(k[0])||L.ignoreMatch()}},{className:"symbol",relevance:0,begin:b}]},M={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},U={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},V={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},m={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},O={className:"brace",relevance:0,begin:/[[\](){}]/},S={className:"message-name",relevance:0,begin:n.concat("::",b)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),V,m,S,I,M,t.QUOTE_STRING_MODE,_,U,O]}}return am=e,am}var im,PO;function S$(){if(PO)return im;PO=1;function r(e){const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return im=r,im}var om,BO;function O$(){if(BO)return om;BO=1;function r(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return om=r,om}var sm,YO;function v$(){if(YO)return sm;YO=1;function r(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,e.C_BLOCK_COMMENT_MODE,a,e.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}return lm=r,lm}var cm,UO;function y$(){if(UO)return cm;UO=1;function r(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return cm=r,cm}var um,$O;function T$(){if($O)return um;$O=1;function r(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return um=r,um}var dm,GO;function C$(){if(GO)return dm;GO=1;function r(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],a=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},s={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,o,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(b,A,I="\\1")=>{const M=I==="\\1"?I:t.concat(I,A);return t.concat(t.concat("(?:",b,")"),A,/(?:\\.|[^\\\/])*?/,M,/(?:\\.|[^\\\/])*?/,I,a)},p=(b,A,I)=>t.concat(t.concat("(?:",b,")"),A,/(?:\\.|[^\\\/])*?/,I,a),_=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",t.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=_,s.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:_}}return dm=r,dm}var hm,qO;function R$(){if(qO)return hm;qO=1;function r(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return hm=r,hm}var fm,QO;function w$(){if(QO)return fm;QO=1;function r(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},a={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,a,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return fm=r,fm}var mm,HO;function A$(){if(HO)return mm;HO=1;function r(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];a.contains=i;const o=e.inherit(e.TITLE_MODE,{begin:n}),s="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+s,end:"[-=]>",returnBegin:!0,contains:[o,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:s,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return mm=r,mm}var pm,VO;function I$(){if(VO)return pm;VO=1;function r(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return pm=r,pm}var gm,zO;function k$(){if(zO)return gm;zO=1;function r(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},a={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,a,t,n]}}return gm=r,gm}var _m,WO;function N$(){if(WO)return _m;WO=1;function r(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},i={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:i.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:i}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return _m=r,_m}var bm,XO;function D$(){if(XO)return bm;XO=1;function r(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return bm=r,bm}var Sm,KO;function x$(){if(KO)return Sm;KO=1;function r(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},a={className:"char.escape",begin:/''\$/},i={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[a,n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},s=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i];return n.contains=s,{name:"Nix",aliases:["nixos"],keywords:t,contains:s}}return Sm=r,Sm}var Om,ZO;function M$(){if(ZO)return Om;ZO=1;function r(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Om=r,Om}var vm,jO;function L$(){if(jO)return vm;jO=1;function r(e){const t=e.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],a=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...n))},s={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},u={className:"params",begin:t.either(...a)},h={className:"keyword",begin:t.concat(/!/,t.either(...i))},p={className:"char.escape",begin:/\$(\\[nrt]|\$)/},_={className:"title.function",begin:/\w+::\w+/},b={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[p,o,s,l,c]},A=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],I=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],M={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},V={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:A,literal:I},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),V,M,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},b,h,s,l,c,u,_,e.NUMBER_MODE]}}return vm=r,vm}var Em,JO;function P$(){if(JO)return Em;JO=1;function r(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Em=r,Em}var ym,ev;function B$(){if(ev)return ym;ev=1;function r(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},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']*",relevance:0},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 ym=r,ym}var Tm,tv;function Y$(){if(tv)return Tm;tv=1;function r(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},s={className:"params",begin:"\\(",end:"\\)",contains:["self",a,i,t,n]},l={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[s,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,o,i,t,l,c]}}return Tm=r,Tm}var Cm,nv;function F$(){if(nv)return Cm;nv=1;function r(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),a=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},s={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,o]},n,a]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,a,e.C_LINE_COMMENT_MODE,i,o,e.NUMBER_MODE,s,l]}}return Cm=r,Cm}var Rm,rv;function U$(){if(rv)return Rm;rv=1;function r(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return Rm=r,Rm}var wm,av;function $$(){if(av)return wm;av=1;function r(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,n]}}return wm=r,wm}var Am,iv;function G$(){if(iv)return Am;iv=1;function r(e){const t=e.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",s="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",u=c.trim().split(" ").map(function(I){return I.split("|")[0]}).join("|"),h="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",p="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",_="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",A="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(I){return I.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+l+s,built_in:h+p+_},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+A+")\\s*\\("},{begin:"\\.("+u+")\\b"},{begin:"\\b("+u+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+u+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return Am=r,Am}var Im,ov;function q$(){if(ov)return Im;ov=1;function r(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,a=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o={scope:"variable",match:"\\$+"+a},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(ie,ae)=>{ae.data._beginMatch=ie[1]||ie[2]},"on:end":(ie,ae)=>{ae.data._beginMatch!==ie[1]&&ae.ignoreMatch()}},p=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),_=`[ +]`,b={scope:"string",variants:[u,c,h,p]},A={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},I=["false","null","true"],M=["__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"],U=["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"],m={keyword:M,literal:(ie=>{const ae=[];return ie.forEach(D=>{ae.push(D),D.toLowerCase()===D?ae.push(D.toUpperCase()):ae.push(D.toLowerCase())}),ae})(I),built_in:U},O=ie=>ie.map(ae=>ae.replace(/\|\d+$/,"")),S={variants:[{match:[/new/,t.concat(_,"+"),t.concat("(?!",O(U).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},k=t.concat(a,"\\b(?!\\()"),L={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),k],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),k],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},F={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},Y={relevance:0,begin:/\(/,end:/\)/,keywords:m,contains:[F,o,L,e.C_BLOCK_COMMENT_MODE,b,A,S]},q={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",O(M).join("\\b|"),"|",O(U).join("\\b|"),"\\b)"),a,t.concat(_,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Y]};Y.contains.push(q);const te=[F,L,e.C_BLOCK_COMMENT_MODE,b,A,S],se={begin:t.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:I,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:I,keyword:["new","array"]},contains:["self",...te]},...te,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:m,contains:[se,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},o,q,L,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},S,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:m,contains:["self",o,L,e.C_BLOCK_COMMENT_MODE,b,A]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},b,A]}}return Im=r,Im}var km,sv;function Q$(){if(sv)return km;sv=1;function r(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return km=r,km}var Nm,lv;function H$(){if(lv)return Nm;lv=1;function r(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Nm=r,Nm}var Dm,cv;function V$(){if(cv)return Dm;cv=1;function r(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},a={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},s={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,n,a,i,s,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Dm=r,Dm}var xm,uv;function z$(){if(uv)return xm;uv=1;function r(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",a="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,s={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},u={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[s,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},h={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},p={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},_=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[p]}),b={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},A={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},I={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},M={begin:/using\s/,end:/$/,returnBegin:!0,contains:[u,h,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},U={variants:[{className:"operator",begin:"(".concat(a,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},V={className:"selector-tag",begin:/@\B/,relevance:0},m={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},O=[m,_,s,e.NUMBER_MODE,u,h,b,l,c,V],S={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",O,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return m.contains.unshift(S),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:O.concat(A,I,M,U,S)}}return xm=r,xm}var Mm,dv;function W$(){if(dv)return Mm;dv=1;function r(e){const t=e.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],a=e.IDENT_RE,i={variants:[{match:t.concat(t.either(...n),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,a,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,a],className:{1:"keyword",2:"class.title"}},s={relevance:0,match:[/\./,a],className:{2:"property"}},l={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,a]},{match:[/class/,/\s+/,a]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],u=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...u],type:c},contains:[l,o,i,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Mm=r,Mm}var Lm,hv;function X$(){if(hv)return Lm;hv=1;function r(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Lm=r,Lm}var Pm,fv;function K$(){if(fv)return Pm;fv=1;function r(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},a={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},s={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},h=[t,n,a,{begin:/:-/},i,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,s,l,c,e.C_NUMBER_MODE];return a.contains=h,i.contains=h,{name:"Prolog",contains:h.concat([{begin:/\.$/}])}}return Pm=r,Pm}var Bm,mv;function Z$(){if(mv)return Bm;mv=1;function r(e){const t="[ \\t\\f]*",n="[ \\t\\f]+",a=t+"[:=]"+t,i=n,o="("+a+"|"+i+")",s="([^\\\\:= \\t\\f\\n]|\\\\.)+",l={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:s+a},{begin:s+i}],contains:[{className:"attr",begin:s,endsParent:!0}],starts:l},{className:"attr",begin:s+t+"$"}]}}return Bm=r,Bm}var Ym,pv;function j$(){if(pv)return Ym;pv=1;function r(e){const t=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],a={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:n,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return Ym=r,Ym}var Fm,gv;function J$(){if(gv)return Fm;gv=1;function r(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=e.inherit(e.TITLE_MODE,{begin:a}),o={className:"variable",begin:"\\$"+a},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,o,s,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[s,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return Fm=r,Fm}var Um,_v;function eG(){if(_v)return Um;_v=1;function r(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,n]}}return Um=r,Um}var $m,bv;function tG(){if(bv)return $m;bv=1;function r(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},p={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,h,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},_="[0-9](_?[0-9])*",b=`(\\b(${_}))?\\.(${_})|\\b(${_})\\.`,A=`\\b|${a.join("|")}`,I={className:"number",relevance:0,variants:[{begin:`(\\b(${_})|(${b}))[eE][+-]?(${_})[jJ]?(?=${A})`},{begin:`(${b})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${A})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${A})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${A})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${A})`},{begin:`\\b(${_})[jJ](?=${A})`}]},M={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},U={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,I,p,e.HASH_COMMENT_MODE]}]};return u.contains=[p,I,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,I,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,M,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[U]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[I,U,p]}]}}return $m=r,$m}var Gm,Sv;function nG(){if(Sv)return Gm;Sv=1;function r(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Gm=r,Gm}var qm,Ov;function rG(){if(Ov)return qm;Ov=1;function r(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return qm=r,qm}var Qm,vv;function aG(){if(vv)return Qm;vv=1;function r(e){const t=e.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},a="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:a,returnEnd:!1}},l={begin:a+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:a,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:t.concat(a,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:a})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},s,l,c],illegal:/#/}}return Qm=r,Qm}var Hm,Ev;function iG(){if(Ev)return Hm;Ev=1;function r(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[o,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Hm=r,Hm}var Vm,yv;function oG(){if(yv)return Vm;yv=1;function r(e){function t(S){return S.map(function(k){return k.split("").map(function(L){return"\\"+L}).join("")}).join("|")}const n="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",i="'?[a-z$_][0-9a-z$_]*",o="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+i+"\\s*(,"+i+"\\s*)*)?\\))?",s=n+"("+o+"){0,2}",l="("+t(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",c="\\s+"+l+"\\s+",u={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},h="\\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_]+)?)?)",p={className:"number",relevance:0,variants:[{begin:h},{begin:"\\(-"+h+"\\)"}]},_={className:"operator",relevance:0,begin:l},b=[{className:"identifier",relevance:0,begin:n},_,p],A=[e.QUOTE_STRING_MODE,_,{className:"module",begin:"\\b"+a,returnBegin:!0,relevance:0,end:".",contains:[{className:"identifier",begin:a,relevance:0}]}],I=[{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:a,relevance:0}]}],M={begin:n,end:"(,|\\n|\\))",relevance:0,contains:[_,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:I}]},U={className:"function",relevance:0,keywords:u,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+n+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:n},{begin:s},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[M]}]},{begin:"\\(\\.\\s"+n+"\\)\\s*=>"}]};A.push(U);const V={className:"constructor",begin:a+"\\(",end:"\\)",illegal:"\\n",keywords:u,contains:[e.QUOTE_STRING_MODE,_,{className:"params",begin:"\\b"+n}]},m={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:u,end:"=>",relevance:0,contains:[V,_,{relevance:0,className:"constructor",begin:a}]},O={className:"module-access",keywords:u,returnBegin:!0,variants:[{begin:"\\b("+a+"\\.)+"+n},{begin:"\\b("+a+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[U,{begin:"\\(",end:"\\)",relevance:0,skip:!0}].concat(A)},{begin:"\\b("+a+"\\.)+\\{",end:/\}/}],contains:A};return I.push(O),{name:"ReasonML",aliases:["re"],keywords:u,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:b},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:b},V,{className:"operator",begin:c,illegal:"-->",relevance:0},p,e.C_LINE_COMMENT_MODE,m,U,{className:"module-def",begin:"\\bmodule\\s+"+n+"\\s+"+a+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:u,relevance:0,contains:[{className:"module",relevance:0,begin:a},{begin:/\{/,end:/\}/,relevance:0,skip:!0}].concat(A)},O]}}return Vm=r,Vm}var zm,Tv;function sG(){if(Tv)return zm;Tv=1;function r(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),l,c,s,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,c,s,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+a.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return Xm=r,Xm}var Km,wv;function uG(){if(wv)return Km;wv=1;function r(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],a=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:a,built_in:t,type:n},illegal:""},n]}}return jm=r,jm}var Jm,kv;function fG(){if(kv)return Jm;kv=1;function r(e){const t=e.regex,n=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],a=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],i=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:n},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...i)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...a)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return Jm=r,Jm}var ep,Nv;function mG(){if(Nv)return ep;Nv=1;function r(e){const t=e.regex,n={className:"meta",begin:"@[A-Za-z]+"},a={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},i={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[a],relevance:10}]},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},s={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},s]},c={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[s]},u={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},h={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},p=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],_={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,c,l,e.C_NUMBER_MODE,u,h,...p,_,n]}}return ep=r,ep}var tp,Dv;function pG(){if(Dv)return tp;Dv=1;function r(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",a=n+"[+\\-]"+n+"i",i={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},s={className:"number",variants:[{begin:n,relevance:0},{begin:a,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],u={begin:t,relevance:0},h={className:"symbol",begin:"'"+t},p={endsWithParent:!0,relevance:0},_={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,s,u,h]}]},b={className:"name",relevance:0,begin:t,keywords:i},I={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[b,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[u]}]},b,p]};return p.contains=[o,s,l,u,h,_,I].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),s,l,h,_,I].concat(c)}}return tp=r,tp}var np,xv;function gG(){if(xv)return np;xv=1;function r(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}return np=r,np}var rp,Mv;function _G(){if(Mv)return rp;Mv=1;const r=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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function o(s){const l=r(s),c=a,u=n,h="@[a-z-]+",p="and or not only",b={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},b,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,b,l.HEXCOLOR,l.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:t.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},b,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return rp=o,rp}var ap,Lv;function bG(){if(Lv)return ap;Lv=1;function r(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return ap=r,ap}var ip,Pv;function SG(){if(Pv)return ip;Pv=1;function r(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+a.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return ip=r,ip}var op,Bv;function OG(){if(Bv)return op;Bv=1;function r(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},a={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:t+":",relevance:0},e.C_NUMBER_MODE,a,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,a]}]}}return op=r,op}var sp,Yv;function vG(){if(Yv)return sp;Yv=1;function r(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 sp=r,sp}var lp,Fv;function EG(){if(Fv)return lp;Fv=1;function r(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},a={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"],o=["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","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:i,built_in:s,literal:o},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,n,a,l],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return lp=r,lp}var cp,Uv;function yG(){if(Uv)return cp;Uv=1;function r(e){const t=e.regex,n=e.COMMENT("--","$"),a={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},o=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],p=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],b=h,A=[...u,...c].filter(m=>!h.includes(m)),I={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},M={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},U={begin:t.concat(/\b/,t.either(...b),/\s*\(/),relevance:0,keywords:{built_in:b}};function V(m,{exceptions:O,when:S}={}){const k=S;return O=O||[],m.map(L=>L.match(/\|\d+$/)||O.includes(L)?L:k(L)?`${L}|0`:L)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:V(A,{when:m=>m.length<3}),literal:o,type:l,built_in:p},contains:[{begin:t.either(..._),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:A.concat(_),literal:o,type:l}},{className:"type",begin:t.either(...s)},U,I,a,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,M]}}return cp=r,cp}var up,$v;function TG(){if($v)return up;$v=1;function r(e){const t=e.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],a=["for","in","if","else","while","break","continue","return"],i=["array","complex","int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["Phi","Phi_approx","abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","binomial_coefficient_log","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","distance","dot_product","dot_self","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","expm1","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_lp","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","int_step","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_cloglog","inv_logit","inv_sqrt","inv_square","inverse","inverse_spd","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","logit","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_log","multiply_lower_tri_self_transpose","negative_infinity","norm","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","polar","positive_infinity","pow","print","prod","proj","qr_Q","qr_R","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],s=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","multinomial_logit","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","student_t","uniform","von_mises","weibull","wiener","wishart"],l=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},u=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:n,type:i,keyword:a,built_in:o},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,l,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...u),/\s*=/),keywords:u},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...s),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:s,begin:t.concat(/\w*/,t.either(...s),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...s),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...s)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return up=r,up}var dp,Gv;function CG(){if(Gv)return dp;Gv=1;function r(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{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 dp=r,dp}var hp,qv;function CG(){if(qv)return hp;qv=1;function r(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 hp=r,hp}var fp,Qv;function RG(){if(Qv)return fp;Qv=1;const r=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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function o(s){const l=r(s),c="and or not only",u={className:"variable",begin:"\\$"+s.IDENT_RE},h=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],p="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+p,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+p,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+p,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+n.join("|")+")"+p},{className:"selector-pseudo",begin:"&?:(:)?("+a.join("|")+")"+p},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:t.join(" ")},contains:[l.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+h.join("|")+"))\\b"},u,l.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,u,s.APOS_STRING_MODE,l.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE]}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,u,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,l.CSS_NUMBER_MODE,s.C_BLOCK_COMMENT_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},l.FUNCTION_DISPATCH]}}return fp=o,fp}var mp,Hv;function wG(){if(Hv)return mp;Hv=1;function r(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ +"]*"`}]},{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 dp=r,dp}var hp,qv;function RG(){if(qv)return hp;qv=1;function r(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 hp=r,hp}var fp,Qv;function wG(){if(Qv)return fp;Qv=1;const r=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"],t=["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"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function o(s){const l=r(s),c="and or not only",u={className:"variable",begin:"\\$"+s.IDENT_RE},h=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],p="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+p,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+p,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+p,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+n.join("|")+")"+p},{className:"selector-pseudo",begin:"&?:(:)?("+a.join("|")+")"+p},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:t.join(" ")},contains:[l.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+h.join("|")+"))\\b"},u,l.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,u,s.APOS_STRING_MODE,l.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE]}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,u,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,l.CSS_NUMBER_MODE,s.C_BLOCK_COMMENT_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},l.FUNCTION_DISPATCH]}}return fp=o,fp}var mp,Hv;function AG(){if(Hv)return mp;Hv=1;function r(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (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 mp=r,mp}var pp,Vv;function AG(){if(Vv)return pp;Vv=1;function r(L){return L?typeof L=="string"?L:L.source:null}function e(L){return t("(?=",L,")")}function t(...L){return L.map(Y=>r(Y)).join("")}function n(L){const F=L[L.length-1];return typeof F=="object"&&F.constructor===Object?(L.splice(L.length-1,1),F):{}}function a(...L){return"("+(n(L).capture?"":"?:")+L.map(q=>r(q)).join("|")+")"}const i=L=>t(/\b/,L,/\w$/.test(L)?/\b/:/\B/),o=["Protocol","Type"].map(i),s=["init","self"].map(i),l=["Any","Self"],c=["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"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],_=["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"],b=a(/[/=\-+!*%<>&|^~?]/,/[\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]/),A=a(b,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),I=t(b,A,"*"),M=a(/[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]/),U=a(M,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),V=t(M,U,"*"),m=t(/[A-Z]/,U,"*"),O=["autoclosure",t(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",t(/objc\(/,V,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],S=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function k(L){const F={match:/\s+/,relevance:0},Y=L.COMMENT("/\\*","\\*/",{contains:["self"]}),q=[L.C_LINE_COMMENT_MODE,Y],te={match:[/\./,a(...o,...s)],className:{2:"keyword"}},se={match:t(/\./,a(...c)),relevance:0},ie=c.filter(ut=>typeof ut=="string").concat(["_|0"]),ae=c.filter(ut=>typeof ut!="string").concat(l).map(i),D={variants:[{className:"keyword",match:a(...ae,...s)}]},P={$pattern:a(/\b\w+/,/#\w+/),keyword:ie.concat(p),literal:u},H=[te,se,D],z={match:t(/\./,a(..._)),relevance:0},ne={className:"built_in",match:t(/\b/,a(..._),/(?=\()/)},oe=[z,ne],_e={match:/->/,relevance:0},ye={className:"operator",relevance:0,variants:[{match:I},{match:`\\.(\\.|${A})+`}]},we=[_e,ye],Ee="([0-9]_*)+",Ce="([0-9a-fA-F]_*)+",he={className:"number",relevance:0,variants:[{match:`\\b(${Ee})(\\.(${Ee}))?([eE][+-]?(${Ee}))?\\b`},{match:`\\b0x(${Ce})(\\.(${Ce}))?([pP][+-]?(${Ee}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},xe=(ut="")=>({className:"subst",variants:[{match:t(/\\/,ut,/[0\\tnr"']/)},{match:t(/\\/,ut,/u\{[0-9a-fA-F]{1,8}\}/)}]}),je=(ut="")=>({className:"subst",match:t(/\\/,ut,/[\t ]*(?:[\r\n]|\r\n)/)}),Ve=(ut="")=>({className:"subst",label:"interpol",begin:t(/\\/,ut,/\(/),end:/\)/}),nt=(ut="")=>({begin:t(ut,/"""/),end:t(/"""/,ut),contains:[xe(ut),je(ut),Ve(ut)]}),et=(ut="")=>({begin:t(ut,/"/),end:t(/"/,ut),contains:[xe(ut),Ve(ut)]}),yt={className:"string",variants:[nt(),nt("#"),nt("##"),nt("###"),et(),et("#"),et("##"),et("###")]},Lt={match:t(/`/,V,/`/)},St={className:"variable",match:/\$\d+/},Dt={className:"variable",match:`\\$${U}+`},Pt=[Lt,St,Dt],Rn={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:S,contains:[...we,he,yt]}]}},ze={className:"keyword",match:t(/@/,a(...O))},En={className:"meta",match:t(/@/,V)},ht=[Rn,ze,En],Ke={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,U,"+")},{className:"type",match:m,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:t(/\s+&\s+/,e(m)),relevance:0}]},wn={begin://,keywords:P,contains:[...q,...H,...ht,_e,Ke]};Ke.contains.push(wn);const tn={match:t(V,/\s*:/),keywords:"_|0",relevance:0},Ut={begin:/\(/,end:/\)/,relevance:0,keywords:P,contains:["self",tn,...q,...H,...oe,...we,he,yt,...Pt,...ht,Ke]},j={begin://,contains:[...q,Ke]},be={begin:a(e(t(V,/\s*:/)),e(t(V,/\s+/,V,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:V}]},De={begin:/\(/,end:/\)/,keywords:P,contains:[be,...q,...H,...we,he,yt,...ht,Ke,Ut],endsParent:!0,illegal:/["']/},Ne={match:[/func/,/\s+/,a(Lt.match,V,I)],className:{1:"keyword",3:"title.function"},contains:[j,De,F],illegal:[/\[/,/%/]},Me={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[j,De,F],illegal:/\[|%/},Re={match:[/operator/,/\s+/,I],className:{1:"keyword",3:"title"}},$t={begin:[/precedencegroup/,/\s+/,m],className:{1:"keyword",3:"title"},contains:[Ke],keywords:[...h,...u],end:/}/};for(const ut of yt.variants){const Tt=ut.contains.find(it=>it.label==="interpol");Tt.keywords=P;const rt=[...H,...oe,...we,he,yt,...Pt];Tt.contains=[...rt,{begin:/\(/,end:/\)/,contains:["self",...rt]}]}return{name:"Swift",keywords:P,contains:[...q,Ne,Me,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:P,contains:[L.inherit(L.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...H]},Re,$t,{beginKeywords:"import",end:/$/,contains:[...q],relevance:0},...H,...oe,...we,he,yt,...Pt,...ht,Ke,Ut]}}return pp=k,pp}var gp,zv;function IG(){if(zv)return gp;zv=1;function r(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return gp=r,gp}var _p,Wv;function kG(){if(Wv)return _p;Wv=1;function r(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",p={className:"number",begin:"\\b"+l+c+u+h+"\\b"},_={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},b={begin:/\{/,end:/\}/,contains:[_],illegal:"\\n",relevance:0},A={begin:"\\[",end:"\\]",contains:[_],illegal:"\\n",relevance:0},I=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},p,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,A,o],M=[...I];return M.pop(),M.push(s),_.contains=M,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}return _p=r,_p}var bp,Xv;function NG(){if(Xv)return bp;Xv=1;function r(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return bp=r,bp}var Sp,Kv;function DG(){if(Kv)return Sp;Kv=1;function r(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,a={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[a]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},a]}}return Sp=r,Sp}var Op,Zv;function xG(){if(Zv)return Op;Zv=1;function r(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}return Op=r,Op}var vp,jv;function MG(){if(jv)return vp;jv=1;function r(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},a={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[a,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return vp=r,vp}var Ep,Jv;function LG(){if(Jv)return Ep;Jv=1;function r(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],a=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let i=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];i=i.concat(i.map(A=>`end${A}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},s={scope:"number",match:/\d+/},l={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,s]},c={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[l]},u={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:a}]},h=(A,{relevance:I})=>({beginScope:{1:"template-tag",3:"name"},relevance:I||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...A)],end:/%\}/,keywords:"in",contains:[u,c,o,s]}),p=/[a-z_]+/,_=h(i,{relevance:2}),b=h([p],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),_,b,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",u,c,o,s]}]}}return Ep=r,Ep}var yp,eE;function PG(){if(eE)return yp;eE=1;const r="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,a);function l(u){const h=u.regex,p=(xe,{after:je})=>{const Ve="",end:""},A=/<[A-Za-z0-9\\._:-]+\s*\/>/,I={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(xe,je)=>{const Ve=xe[0].length+xe.index,nt=xe.input[Ve];if(nt==="<"||nt===","){je.ignoreMatch();return}nt===">"&&(p(xe,{after:Ve})||je.ignoreMatch());let et;const yt=xe.input.substring(Ve);if(et=yt.match(/^\s*=/)){je.ignoreMatch();return}if((et=yt.match(/^\s+extends\s+/))&&et.index===0){je.ignoreMatch();return}}},M={$pattern:r,keyword:e,literal:t,built_in:s,"variable.language":o},U="[0-9](_?[0-9])*",V=`\\.(${U})`,m="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",O={className:"number",variants:[{begin:`(\\b(${m})((${V})|\\.)?|(${V}))[eE][+-]?(${U})\\b`},{begin:`\\b(${m})\\b((${V})\\b|\\.)?|(${V})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},S={className:"subst",begin:"\\$\\{",end:"\\}",keywords:M,contains:[]},k={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,S],subLanguage:"xml"}},L={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,S],subLanguage:"css"}},F={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,S],subLanguage:"graphql"}},Y={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,S]},te={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:_+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},se=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,k,L,F,Y,{match:/\$\d+/},O];S.contains=se.concat({begin:/\{/,end:/\}/,keywords:M,contains:["self"].concat(se)});const ie=[].concat(te,S.contains),ae=ie.concat([{begin:/\(/,end:/\)/,keywords:M,contains:["self"].concat(ie)}]),D={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:M,contains:ae},P={variants:[{match:[/class/,/\s+/,_,/\s+/,/extends/,/\s+/,h.concat(_,"(",h.concat(/\./,_),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,_],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...a]}},z={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,_,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},oe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(xe){return h.concat("(?!",xe.join("|"),")")}const ye={match:h.concat(/\b/,_e([...i,"super","import"]),_,h.lookahead(/\(/)),className:"title.function",relevance:0},we={begin:h.concat(/\./,h.lookahead(h.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ee={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},Ce="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",he={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(Ce)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:M,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),z,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,k,L,F,Y,te,{match:/\$\d+/},O,H,{className:"attr",begin:_+h.lookahead(":"),relevance:0},he,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[te,u.REGEXP_MODE,{className:"function",begin:Ce,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:M,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:A},{begin:I.begin,"on:begin":I.isTrulyOpeningTag,end:I.end}],subLanguage:"xml",contains:[{begin:I.begin,end:I.end,skip:!0,contains:["self"]}]}]},ne,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,u.inherit(u.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},we,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},ye,oe,P,Ee,{match:/\$[(.]/}]}}function c(u){const h=l(u),p=r,_=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],b={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},A={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:_},contains:[h.exports.CLASS_REFERENCE]},I={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},M=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],U={$pattern:r,keyword:e.concat(M),literal:t,built_in:s.concat(_),"variable.language":o},V={className:"meta",begin:"@"+p},m=(S,k,L)=>{const F=S.contains.findIndex(Y=>Y.label===k);if(F===-1)throw new Error("can not find mode to replace");S.contains.splice(F,1,L)};Object.assign(h.keywords,U),h.exports.PARAMS_CONTAINS.push(V),h.contains=h.contains.concat([V,b,A]),m(h,"shebang",u.SHEBANG()),m(h,"use_strict",I);const O=h.contains.find(S=>S.label==="func.def");return O.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return yp=c,yp}var Tp,tE;function BG(){if(tE)return Tp;tE=1;function r(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return Tp=r,Tp}var Cp,nE;function YG(){if(nE)return Cp;nE=1;function r(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},a={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,l,/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(s,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},p=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,a,c,u,h,p,_,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[_]}]}}return Cp=r,Cp}var Rp,rE;function FG(){if(rE)return Rp;rE=1;function r(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],a=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],i={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:a,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[i,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return Rp=r,Rp}var wp,aE;function UG(){if(aE)return wp;aE=1;function r(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return wp=r,wp}var Ap,iE;function $G(){if(iE)return Ap;iE=1;function r(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},a=["__FILE__","__LINE__"],i=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...a))},{scope:"meta",begin:t.concat(/`/,t.either(...i)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:i}]}}return Ap=r,Ap}var Ip,oE;function GG(){if(oE)return Ip;oE=1;function r(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,a=t+"(\\."+t+")?("+n+")?",i="\\w+",s="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+a+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:s,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return Ip=r,Ip}var kp,sE;function qG(){if(sE)return kp;sE=1;function r(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return kp=r,kp}var Np,lE;function QG(){if(lE)return Np;lE=1;function r(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),a=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:a},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,s,i,e.QUOTE_STRING_MODE,c,u,l]}}return Np=r,Np}var Dp,cE;function HG(){if(cE)return Dp;cE=1;function r(e){const t=e.regex,n=/[a-zA-Z]\w*/,a=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],o=["this","super"],s=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],l=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},u={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...l)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},h={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},p={relevance:0,match:t.either(...l),className:"operator"},_={className:"string",begin:/"""/,end:/"""/},b={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},A={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},I={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:s}},M=e.C_NUMBER_MODE,U={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},V=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),m={scope:"subst",begin:/%\(/,end:/\)/,contains:[M,I,c,A,p]},O={scope:"string",begin:/"/,end:/"/,contains:[m,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};m.contains.push(O);const S=[...a,...o,...i],k={relevance:0,match:t.concat("\\b(?!",S.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:a,"variable.language":o,literal:i},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},M,O,_,V,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,I,h,U,u,c,p,A,b,k]}}return Dp=r,Dp}var xp,uE;function VG(){if(uE)return xp;uE=1;function r(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return xp=r,xp}var Mp,dE;function zG(){if(dE)return Mp;dE=1;function r(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],a=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],o={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(a)},s={className:"string",begin:'"',end:'"',illegal:"\\n"},l={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},u={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},h={beginKeywords:"import",end:"$",keywords:o,contains:[s]},p={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:o}})]};return{name:"XL",aliases:["tao"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,l,c,p,h,u,e.NUMBER_MODE]}}return Mp=r,Mp}var Lp,hE;function WG(){if(hE)return Lp;hE=1;function r(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Lp=r,Lp}var Pp,fE;function XG(){if(fE)return Pp;fE=1;function r(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,a={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,a]}}return Pp=r,Pp}var re=SF;re.registerLanguage("1c",OF());re.registerLanguage("abnf",vF());re.registerLanguage("accesslog",EF());re.registerLanguage("actionscript",yF());re.registerLanguage("ada",TF());re.registerLanguage("angelscript",CF());re.registerLanguage("apache",RF());re.registerLanguage("applescript",wF());re.registerLanguage("arcade",AF());re.registerLanguage("arduino",IF());re.registerLanguage("armasm",kF());re.registerLanguage("xml",NF());re.registerLanguage("asciidoc",DF());re.registerLanguage("aspectj",xF());re.registerLanguage("autohotkey",MF());re.registerLanguage("autoit",LF());re.registerLanguage("avrasm",PF());re.registerLanguage("awk",BF());re.registerLanguage("axapta",YF());re.registerLanguage("bash",FF());re.registerLanguage("basic",UF());re.registerLanguage("bnf",$F());re.registerLanguage("brainfuck",GF());re.registerLanguage("c",qF());re.registerLanguage("cal",QF());re.registerLanguage("capnproto",HF());re.registerLanguage("ceylon",VF());re.registerLanguage("clean",zF());re.registerLanguage("clojure",WF());re.registerLanguage("clojure-repl",XF());re.registerLanguage("cmake",KF());re.registerLanguage("coffeescript",ZF());re.registerLanguage("coq",jF());re.registerLanguage("cos",JF());re.registerLanguage("cpp",eU());re.registerLanguage("crmsh",tU());re.registerLanguage("crystal",nU());re.registerLanguage("csharp",rU());re.registerLanguage("csp",aU());re.registerLanguage("css",iU());re.registerLanguage("d",oU());re.registerLanguage("markdown",sU());re.registerLanguage("dart",lU());re.registerLanguage("delphi",cU());re.registerLanguage("diff",uU());re.registerLanguage("django",dU());re.registerLanguage("dns",hU());re.registerLanguage("dockerfile",fU());re.registerLanguage("dos",mU());re.registerLanguage("dsconfig",pU());re.registerLanguage("dts",gU());re.registerLanguage("dust",_U());re.registerLanguage("ebnf",bU());re.registerLanguage("elixir",SU());re.registerLanguage("elm",OU());re.registerLanguage("ruby",vU());re.registerLanguage("erb",EU());re.registerLanguage("erlang-repl",yU());re.registerLanguage("erlang",TU());re.registerLanguage("excel",CU());re.registerLanguage("fix",RU());re.registerLanguage("flix",wU());re.registerLanguage("fortran",AU());re.registerLanguage("fsharp",IU());re.registerLanguage("gams",kU());re.registerLanguage("gauss",NU());re.registerLanguage("gcode",DU());re.registerLanguage("gherkin",xU());re.registerLanguage("glsl",MU());re.registerLanguage("gml",LU());re.registerLanguage("go",PU());re.registerLanguage("golo",BU());re.registerLanguage("gradle",YU());re.registerLanguage("graphql",FU());re.registerLanguage("groovy",UU());re.registerLanguage("haml",$U());re.registerLanguage("handlebars",GU());re.registerLanguage("haskell",qU());re.registerLanguage("haxe",QU());re.registerLanguage("hsp",HU());re.registerLanguage("http",VU());re.registerLanguage("hy",zU());re.registerLanguage("inform7",WU());re.registerLanguage("ini",XU());re.registerLanguage("irpf90",KU());re.registerLanguage("isbl",ZU());re.registerLanguage("java",jU());re.registerLanguage("javascript",JU());re.registerLanguage("jboss-cli",e$());re.registerLanguage("json",t$());re.registerLanguage("julia",n$());re.registerLanguage("julia-repl",r$());re.registerLanguage("kotlin",a$());re.registerLanguage("lasso",i$());re.registerLanguage("latex",o$());re.registerLanguage("ldif",s$());re.registerLanguage("leaf",l$());re.registerLanguage("less",c$());re.registerLanguage("lisp",u$());re.registerLanguage("livecodeserver",d$());re.registerLanguage("livescript",h$());re.registerLanguage("llvm",f$());re.registerLanguage("lsl",m$());re.registerLanguage("lua",p$());re.registerLanguage("makefile",g$());re.registerLanguage("mathematica",_$());re.registerLanguage("matlab",b$());re.registerLanguage("maxima",S$());re.registerLanguage("mel",O$());re.registerLanguage("mercury",v$());re.registerLanguage("mipsasm",E$());re.registerLanguage("mizar",y$());re.registerLanguage("perl",T$());re.registerLanguage("mojolicious",C$());re.registerLanguage("monkey",R$());re.registerLanguage("moonscript",w$());re.registerLanguage("n1ql",A$());re.registerLanguage("nestedtext",I$());re.registerLanguage("nginx",k$());re.registerLanguage("nim",N$());re.registerLanguage("nix",D$());re.registerLanguage("node-repl",x$());re.registerLanguage("nsis",M$());re.registerLanguage("objectivec",L$());re.registerLanguage("ocaml",P$());re.registerLanguage("openscad",B$());re.registerLanguage("oxygene",Y$());re.registerLanguage("parser3",F$());re.registerLanguage("pf",U$());re.registerLanguage("pgsql",$$());re.registerLanguage("php",G$());re.registerLanguage("php-template",q$());re.registerLanguage("plaintext",Q$());re.registerLanguage("pony",H$());re.registerLanguage("powershell",V$());re.registerLanguage("processing",z$());re.registerLanguage("profile",W$());re.registerLanguage("prolog",X$());re.registerLanguage("properties",K$());re.registerLanguage("protobuf",Z$());re.registerLanguage("puppet",j$());re.registerLanguage("purebasic",J$());re.registerLanguage("python",eG());re.registerLanguage("python-repl",tG());re.registerLanguage("q",nG());re.registerLanguage("qml",rG());re.registerLanguage("r",aG());re.registerLanguage("reasonml",iG());re.registerLanguage("rib",oG());re.registerLanguage("roboconf",sG());re.registerLanguage("routeros",lG());re.registerLanguage("rsl",cG());re.registerLanguage("ruleslanguage",uG());re.registerLanguage("rust",dG());re.registerLanguage("sas",hG());re.registerLanguage("scala",fG());re.registerLanguage("scheme",mG());re.registerLanguage("scilab",pG());re.registerLanguage("scss",gG());re.registerLanguage("shell",_G());re.registerLanguage("smali",bG());re.registerLanguage("smalltalk",SG());re.registerLanguage("sml",OG());re.registerLanguage("sqf",vG());re.registerLanguage("sql",EG());re.registerLanguage("stan",yG());re.registerLanguage("stata",TG());re.registerLanguage("step21",CG());re.registerLanguage("stylus",RG());re.registerLanguage("subunit",wG());re.registerLanguage("swift",AG());re.registerLanguage("taggerscript",IG());re.registerLanguage("yaml",kG());re.registerLanguage("tap",NG());re.registerLanguage("tcl",DG());re.registerLanguage("thrift",xG());re.registerLanguage("tp",MG());re.registerLanguage("twig",LG());re.registerLanguage("typescript",PG());re.registerLanguage("vala",BG());re.registerLanguage("vbnet",YG());re.registerLanguage("vbscript",FG());re.registerLanguage("vbscript-html",UG());re.registerLanguage("verilog",$G());re.registerLanguage("vhdl",GG());re.registerLanguage("vim",qG());re.registerLanguage("wasm",QG());re.registerLanguage("wren",HG());re.registerLanguage("x86asm",VG());re.registerLanguage("xl",zG());re.registerLanguage("xquery",WG());re.registerLanguage("zephir",XG());re.HighlightJS=re;re.default=re;var KG=re,ZG=RY.decode,jG=JR,Bp=KG,Yp='class="',JG=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.pre,n=t===void 0?!1:t,a=e.auto_detection,i=a===void 0?!0:a,o=function(l,c,u){var h={left:"",flags:"g"},p=function(b,A,I,M){A=ZG(A);var U=(I.match(/class=\"([^ \"]+)/)||[])[1];if(!U&&!i)return b;if(I.includes(Yp)){var V=I.indexOf(Yp)+Yp.length;I=I.slice(0,V)+"hljs "+I.slice(V)}else I=I.slice(0,-1)+' class="hljs">';return n&&U&&(I=I.replace("
]*>",right:"
",'
')),U&&Bp.getLanguage(U)?I+Bp.highlight(A,{language:U}).value+M:I+Bp.highlightAuto(A).value+M};return jG.helper.replaceRecursiveRegExp(l,p,h.left,h.right,h.flags)};return[{type:"output",filter:o}]};const eq=ZR(JG);const tq=r=>{const e=vt(r);return`
+`},{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 mp=r,mp}var pp,Vv;function IG(){if(Vv)return pp;Vv=1;function r(L){return L?typeof L=="string"?L:L.source:null}function e(L){return t("(?=",L,")")}function t(...L){return L.map(Y=>r(Y)).join("")}function n(L){const F=L[L.length-1];return typeof F=="object"&&F.constructor===Object?(L.splice(L.length-1,1),F):{}}function a(...L){return"("+(n(L).capture?"":"?:")+L.map(q=>r(q)).join("|")+")"}const i=L=>t(/\b/,L,/\w$/.test(L)?/\b/:/\B/),o=["Protocol","Type"].map(i),s=["init","self"].map(i),l=["Any","Self"],c=["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"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],_=["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"],b=a(/[/=\-+!*%<>&|^~?]/,/[\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]/),A=a(b,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),I=t(b,A,"*"),M=a(/[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]/),U=a(M,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),V=t(M,U,"*"),m=t(/[A-Z]/,U,"*"),O=["autoclosure",t(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",t(/objc\(/,V,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],S=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function k(L){const F={match:/\s+/,relevance:0},Y=L.COMMENT("/\\*","\\*/",{contains:["self"]}),q=[L.C_LINE_COMMENT_MODE,Y],te={match:[/\./,a(...o,...s)],className:{2:"keyword"}},se={match:t(/\./,a(...c)),relevance:0},ie=c.filter(ut=>typeof ut=="string").concat(["_|0"]),ae=c.filter(ut=>typeof ut!="string").concat(l).map(i),D={variants:[{className:"keyword",match:a(...ae,...s)}]},P={$pattern:a(/\b\w+/,/#\w+/),keyword:ie.concat(p),literal:u},H=[te,se,D],z={match:t(/\./,a(..._)),relevance:0},ne={className:"built_in",match:t(/\b/,a(..._),/(?=\()/)},oe=[z,ne],_e={match:/->/,relevance:0},ye={className:"operator",relevance:0,variants:[{match:I},{match:`\\.(\\.|${A})+`}]},we=[_e,ye],Ee="([0-9]_*)+",Ce="([0-9a-fA-F]_*)+",he={className:"number",relevance:0,variants:[{match:`\\b(${Ee})(\\.(${Ee}))?([eE][+-]?(${Ee}))?\\b`},{match:`\\b0x(${Ce})(\\.(${Ce}))?([pP][+-]?(${Ee}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},xe=(ut="")=>({className:"subst",variants:[{match:t(/\\/,ut,/[0\\tnr"']/)},{match:t(/\\/,ut,/u\{[0-9a-fA-F]{1,8}\}/)}]}),je=(ut="")=>({className:"subst",match:t(/\\/,ut,/[\t ]*(?:[\r\n]|\r\n)/)}),Ve=(ut="")=>({className:"subst",label:"interpol",begin:t(/\\/,ut,/\(/),end:/\)/}),nt=(ut="")=>({begin:t(ut,/"""/),end:t(/"""/,ut),contains:[xe(ut),je(ut),Ve(ut)]}),et=(ut="")=>({begin:t(ut,/"/),end:t(/"/,ut),contains:[xe(ut),Ve(ut)]}),yt={className:"string",variants:[nt(),nt("#"),nt("##"),nt("###"),et(),et("#"),et("##"),et("###")]},Lt={match:t(/`/,V,/`/)},St={className:"variable",match:/\$\d+/},Dt={className:"variable",match:`\\$${U}+`},Pt=[Lt,St,Dt],Rn={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:S,contains:[...we,he,yt]}]}},ze={className:"keyword",match:t(/@/,a(...O))},En={className:"meta",match:t(/@/,V)},ht=[Rn,ze,En],Ke={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,U,"+")},{className:"type",match:m,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:t(/\s+&\s+/,e(m)),relevance:0}]},wn={begin://,keywords:P,contains:[...q,...H,...ht,_e,Ke]};Ke.contains.push(wn);const tn={match:t(V,/\s*:/),keywords:"_|0",relevance:0},Ut={begin:/\(/,end:/\)/,relevance:0,keywords:P,contains:["self",tn,...q,...H,...oe,...we,he,yt,...Pt,...ht,Ke]},j={begin://,contains:[...q,Ke]},be={begin:a(e(t(V,/\s*:/)),e(t(V,/\s+/,V,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:V}]},De={begin:/\(/,end:/\)/,keywords:P,contains:[be,...q,...H,...we,he,yt,...ht,Ke,Ut],endsParent:!0,illegal:/["']/},Ne={match:[/func/,/\s+/,a(Lt.match,V,I)],className:{1:"keyword",3:"title.function"},contains:[j,De,F],illegal:[/\[/,/%/]},Me={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[j,De,F],illegal:/\[|%/},Re={match:[/operator/,/\s+/,I],className:{1:"keyword",3:"title"}},$t={begin:[/precedencegroup/,/\s+/,m],className:{1:"keyword",3:"title"},contains:[Ke],keywords:[...h,...u],end:/}/};for(const ut of yt.variants){const Tt=ut.contains.find(it=>it.label==="interpol");Tt.keywords=P;const rt=[...H,...oe,...we,he,yt,...Pt];Tt.contains=[...rt,{begin:/\(/,end:/\)/,contains:["self",...rt]}]}return{name:"Swift",keywords:P,contains:[...q,Ne,Me,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:P,contains:[L.inherit(L.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...H]},Re,$t,{beginKeywords:"import",end:/$/,contains:[...q],relevance:0},...H,...oe,...we,he,yt,...Pt,...ht,Ke,Ut]}}return pp=k,pp}var gp,zv;function kG(){if(zv)return gp;zv=1;function r(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return gp=r,gp}var _p,Wv;function NG(){if(Wv)return _p;Wv=1;function r(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ 	]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ 	]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ 	]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",p={className:"number",begin:"\\b"+l+c+u+h+"\\b"},_={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},b={begin:/\{/,end:/\}/,contains:[_],illegal:"\\n",relevance:0},A={begin:"\\[",end:"\\]",contains:[_],illegal:"\\n",relevance:0},I=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},p,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,A,o],M=[...I];return M.pop(),M.push(s),_.contains=M,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}return _p=r,_p}var bp,Xv;function DG(){if(Xv)return bp;Xv=1;function r(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return bp=r,bp}var Sp,Kv;function xG(){if(Kv)return Sp;Kv=1;function r(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,a={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[a]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},a]}}return Sp=r,Sp}var Op,Zv;function MG(){if(Zv)return Op;Zv=1;function r(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}return Op=r,Op}var vp,jv;function LG(){if(jv)return vp;jv=1;function r(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},a={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[a,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return vp=r,vp}var Ep,Jv;function PG(){if(Jv)return Ep;Jv=1;function r(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],a=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let i=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];i=i.concat(i.map(A=>`end${A}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},s={scope:"number",match:/\d+/},l={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,s]},c={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[l]},u={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:a}]},h=(A,{relevance:I})=>({beginScope:{1:"template-tag",3:"name"},relevance:I||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...A)],end:/%\}/,keywords:"in",contains:[u,c,o,s]}),p=/[a-z_]+/,_=h(i,{relevance:2}),b=h([p],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),_,b,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",u,c,o,s]}]}}return Ep=r,Ep}var yp,eE;function BG(){if(eE)return yp;eE=1;const r="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,a);function l(u){const h=u.regex,p=(xe,{after:je})=>{const Ve="",end:""},A=/<[A-Za-z0-9\\._:-]+\s*\/>/,I={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(xe,je)=>{const Ve=xe[0].length+xe.index,nt=xe.input[Ve];if(nt==="<"||nt===","){je.ignoreMatch();return}nt===">"&&(p(xe,{after:Ve})||je.ignoreMatch());let et;const yt=xe.input.substring(Ve);if(et=yt.match(/^\s*=/)){je.ignoreMatch();return}if((et=yt.match(/^\s+extends\s+/))&&et.index===0){je.ignoreMatch();return}}},M={$pattern:r,keyword:e,literal:t,built_in:s,"variable.language":o},U="[0-9](_?[0-9])*",V=`\\.(${U})`,m="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",O={className:"number",variants:[{begin:`(\\b(${m})((${V})|\\.)?|(${V}))[eE][+-]?(${U})\\b`},{begin:`\\b(${m})\\b((${V})\\b|\\.)?|(${V})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},S={className:"subst",begin:"\\$\\{",end:"\\}",keywords:M,contains:[]},k={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,S],subLanguage:"xml"}},L={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,S],subLanguage:"css"}},F={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,S],subLanguage:"graphql"}},Y={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,S]},te={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:_+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},se=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,k,L,F,Y,{match:/\$\d+/},O];S.contains=se.concat({begin:/\{/,end:/\}/,keywords:M,contains:["self"].concat(se)});const ie=[].concat(te,S.contains),ae=ie.concat([{begin:/\(/,end:/\)/,keywords:M,contains:["self"].concat(ie)}]),D={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:M,contains:ae},P={variants:[{match:[/class/,/\s+/,_,/\s+/,/extends/,/\s+/,h.concat(_,"(",h.concat(/\./,_),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,_],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...a]}},z={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,_,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},oe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(xe){return h.concat("(?!",xe.join("|"),")")}const ye={match:h.concat(/\b/,_e([...i,"super","import"]),_,h.lookahead(/\(/)),className:"title.function",relevance:0},we={begin:h.concat(/\./,h.lookahead(h.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ee={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},Ce="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",he={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(Ce)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:M,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),z,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,k,L,F,Y,te,{match:/\$\d+/},O,H,{className:"attr",begin:_+h.lookahead(":"),relevance:0},he,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[te,u.REGEXP_MODE,{className:"function",begin:Ce,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:M,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:A},{begin:I.begin,"on:begin":I.isTrulyOpeningTag,end:I.end}],subLanguage:"xml",contains:[{begin:I.begin,end:I.end,skip:!0,contains:["self"]}]}]},ne,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,u.inherit(u.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},we,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},ye,oe,P,Ee,{match:/\$[(.]/}]}}function c(u){const h=l(u),p=r,_=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],b={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},A={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:_},contains:[h.exports.CLASS_REFERENCE]},I={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},M=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],U={$pattern:r,keyword:e.concat(M),literal:t,built_in:s.concat(_),"variable.language":o},V={className:"meta",begin:"@"+p},m=(S,k,L)=>{const F=S.contains.findIndex(Y=>Y.label===k);if(F===-1)throw new Error("can not find mode to replace");S.contains.splice(F,1,L)};Object.assign(h.keywords,U),h.exports.PARAMS_CONTAINS.push(V),h.contains=h.contains.concat([V,b,A]),m(h,"shebang",u.SHEBANG()),m(h,"use_strict",I);const O=h.contains.find(S=>S.label==="func.def");return O.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return yp=c,yp}var Tp,tE;function YG(){if(tE)return Tp;tE=1;function r(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return Tp=r,Tp}var Cp,nE;function FG(){if(nE)return Cp;nE=1;function r(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},a={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,l,/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(s,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},p=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,a,c,u,h,p,_,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[_]}]}}return Cp=r,Cp}var Rp,rE;function UG(){if(rE)return Rp;rE=1;function r(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],a=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],i={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:a,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[i,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return Rp=r,Rp}var wp,aE;function $G(){if(aE)return wp;aE=1;function r(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return wp=r,wp}var Ap,iE;function GG(){if(iE)return Ap;iE=1;function r(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},a=["__FILE__","__LINE__"],i=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...a))},{scope:"meta",begin:t.concat(/`/,t.either(...i)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:i}]}}return Ap=r,Ap}var Ip,oE;function qG(){if(oE)return Ip;oE=1;function r(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,a=t+"(\\."+t+")?("+n+")?",i="\\w+",s="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+a+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:s,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return Ip=r,Ip}var kp,sE;function QG(){if(sE)return kp;sE=1;function r(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return kp=r,kp}var Np,lE;function HG(){if(lE)return Np;lE=1;function r(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),a=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:a},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,s,i,e.QUOTE_STRING_MODE,c,u,l]}}return Np=r,Np}var Dp,cE;function VG(){if(cE)return Dp;cE=1;function r(e){const t=e.regex,n=/[a-zA-Z]\w*/,a=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],o=["this","super"],s=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],l=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},u={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...l)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},h={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},p={relevance:0,match:t.either(...l),className:"operator"},_={className:"string",begin:/"""/,end:/"""/},b={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},A={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},I={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:s}},M=e.C_NUMBER_MODE,U={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},V=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),m={scope:"subst",begin:/%\(/,end:/\)/,contains:[M,I,c,A,p]},O={scope:"string",begin:/"/,end:/"/,contains:[m,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};m.contains.push(O);const S=[...a,...o,...i],k={relevance:0,match:t.concat("\\b(?!",S.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:a,"variable.language":o,literal:i},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},M,O,_,V,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,I,h,U,u,c,p,A,b,k]}}return Dp=r,Dp}var xp,uE;function zG(){if(uE)return xp;uE=1;function r(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return xp=r,xp}var Mp,dE;function WG(){if(dE)return Mp;dE=1;function r(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],a=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],o={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(a)},s={className:"string",begin:'"',end:'"',illegal:"\\n"},l={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},u={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},h={beginKeywords:"import",end:"$",keywords:o,contains:[s]},p={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:o}})]};return{name:"XL",aliases:["tao"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,l,c,p,h,u,e.NUMBER_MODE]}}return Mp=r,Mp}var Lp,hE;function XG(){if(hE)return Lp;hE=1;function r(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Lp=r,Lp}var Pp,fE;function KG(){if(fE)return Pp;fE=1;function r(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,a={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,a]}}return Pp=r,Pp}var re=OF;re.registerLanguage("1c",vF());re.registerLanguage("abnf",EF());re.registerLanguage("accesslog",yF());re.registerLanguage("actionscript",TF());re.registerLanguage("ada",CF());re.registerLanguage("angelscript",RF());re.registerLanguage("apache",wF());re.registerLanguage("applescript",AF());re.registerLanguage("arcade",IF());re.registerLanguage("arduino",kF());re.registerLanguage("armasm",NF());re.registerLanguage("xml",DF());re.registerLanguage("asciidoc",xF());re.registerLanguage("aspectj",MF());re.registerLanguage("autohotkey",LF());re.registerLanguage("autoit",PF());re.registerLanguage("avrasm",BF());re.registerLanguage("awk",YF());re.registerLanguage("axapta",FF());re.registerLanguage("bash",UF());re.registerLanguage("basic",$F());re.registerLanguage("bnf",GF());re.registerLanguage("brainfuck",qF());re.registerLanguage("c",QF());re.registerLanguage("cal",HF());re.registerLanguage("capnproto",VF());re.registerLanguage("ceylon",zF());re.registerLanguage("clean",WF());re.registerLanguage("clojure",XF());re.registerLanguage("clojure-repl",KF());re.registerLanguage("cmake",ZF());re.registerLanguage("coffeescript",jF());re.registerLanguage("coq",JF());re.registerLanguage("cos",eU());re.registerLanguage("cpp",tU());re.registerLanguage("crmsh",nU());re.registerLanguage("crystal",rU());re.registerLanguage("csharp",aU());re.registerLanguage("csp",iU());re.registerLanguage("css",oU());re.registerLanguage("d",sU());re.registerLanguage("markdown",lU());re.registerLanguage("dart",cU());re.registerLanguage("delphi",uU());re.registerLanguage("diff",dU());re.registerLanguage("django",hU());re.registerLanguage("dns",fU());re.registerLanguage("dockerfile",mU());re.registerLanguage("dos",pU());re.registerLanguage("dsconfig",gU());re.registerLanguage("dts",_U());re.registerLanguage("dust",bU());re.registerLanguage("ebnf",SU());re.registerLanguage("elixir",OU());re.registerLanguage("elm",vU());re.registerLanguage("ruby",EU());re.registerLanguage("erb",yU());re.registerLanguage("erlang-repl",TU());re.registerLanguage("erlang",CU());re.registerLanguage("excel",RU());re.registerLanguage("fix",wU());re.registerLanguage("flix",AU());re.registerLanguage("fortran",IU());re.registerLanguage("fsharp",kU());re.registerLanguage("gams",NU());re.registerLanguage("gauss",DU());re.registerLanguage("gcode",xU());re.registerLanguage("gherkin",MU());re.registerLanguage("glsl",LU());re.registerLanguage("gml",PU());re.registerLanguage("go",BU());re.registerLanguage("golo",YU());re.registerLanguage("gradle",FU());re.registerLanguage("graphql",UU());re.registerLanguage("groovy",$U());re.registerLanguage("haml",GU());re.registerLanguage("handlebars",qU());re.registerLanguage("haskell",QU());re.registerLanguage("haxe",HU());re.registerLanguage("hsp",VU());re.registerLanguage("http",zU());re.registerLanguage("hy",WU());re.registerLanguage("inform7",XU());re.registerLanguage("ini",KU());re.registerLanguage("irpf90",ZU());re.registerLanguage("isbl",jU());re.registerLanguage("java",JU());re.registerLanguage("javascript",e$());re.registerLanguage("jboss-cli",t$());re.registerLanguage("json",n$());re.registerLanguage("julia",r$());re.registerLanguage("julia-repl",a$());re.registerLanguage("kotlin",i$());re.registerLanguage("lasso",o$());re.registerLanguage("latex",s$());re.registerLanguage("ldif",l$());re.registerLanguage("leaf",c$());re.registerLanguage("less",u$());re.registerLanguage("lisp",d$());re.registerLanguage("livecodeserver",h$());re.registerLanguage("livescript",f$());re.registerLanguage("llvm",m$());re.registerLanguage("lsl",p$());re.registerLanguage("lua",g$());re.registerLanguage("makefile",_$());re.registerLanguage("mathematica",b$());re.registerLanguage("matlab",S$());re.registerLanguage("maxima",O$());re.registerLanguage("mel",v$());re.registerLanguage("mercury",E$());re.registerLanguage("mipsasm",y$());re.registerLanguage("mizar",T$());re.registerLanguage("perl",C$());re.registerLanguage("mojolicious",R$());re.registerLanguage("monkey",w$());re.registerLanguage("moonscript",A$());re.registerLanguage("n1ql",I$());re.registerLanguage("nestedtext",k$());re.registerLanguage("nginx",N$());re.registerLanguage("nim",D$());re.registerLanguage("nix",x$());re.registerLanguage("node-repl",M$());re.registerLanguage("nsis",L$());re.registerLanguage("objectivec",P$());re.registerLanguage("ocaml",B$());re.registerLanguage("openscad",Y$());re.registerLanguage("oxygene",F$());re.registerLanguage("parser3",U$());re.registerLanguage("pf",$$());re.registerLanguage("pgsql",G$());re.registerLanguage("php",q$());re.registerLanguage("php-template",Q$());re.registerLanguage("plaintext",H$());re.registerLanguage("pony",V$());re.registerLanguage("powershell",z$());re.registerLanguage("processing",W$());re.registerLanguage("profile",X$());re.registerLanguage("prolog",K$());re.registerLanguage("properties",Z$());re.registerLanguage("protobuf",j$());re.registerLanguage("puppet",J$());re.registerLanguage("purebasic",eG());re.registerLanguage("python",tG());re.registerLanguage("python-repl",nG());re.registerLanguage("q",rG());re.registerLanguage("qml",aG());re.registerLanguage("r",iG());re.registerLanguage("reasonml",oG());re.registerLanguage("rib",sG());re.registerLanguage("roboconf",lG());re.registerLanguage("routeros",cG());re.registerLanguage("rsl",uG());re.registerLanguage("ruleslanguage",dG());re.registerLanguage("rust",hG());re.registerLanguage("sas",fG());re.registerLanguage("scala",mG());re.registerLanguage("scheme",pG());re.registerLanguage("scilab",gG());re.registerLanguage("scss",_G());re.registerLanguage("shell",bG());re.registerLanguage("smali",SG());re.registerLanguage("smalltalk",OG());re.registerLanguage("sml",vG());re.registerLanguage("sqf",EG());re.registerLanguage("sql",yG());re.registerLanguage("stan",TG());re.registerLanguage("stata",CG());re.registerLanguage("step21",RG());re.registerLanguage("stylus",wG());re.registerLanguage("subunit",AG());re.registerLanguage("swift",IG());re.registerLanguage("taggerscript",kG());re.registerLanguage("yaml",NG());re.registerLanguage("tap",DG());re.registerLanguage("tcl",xG());re.registerLanguage("thrift",MG());re.registerLanguage("tp",LG());re.registerLanguage("twig",PG());re.registerLanguage("typescript",BG());re.registerLanguage("vala",YG());re.registerLanguage("vbnet",FG());re.registerLanguage("vbscript",UG());re.registerLanguage("vbscript-html",$G());re.registerLanguage("verilog",GG());re.registerLanguage("vhdl",qG());re.registerLanguage("vim",QG());re.registerLanguage("wasm",HG());re.registerLanguage("wren",VG());re.registerLanguage("x86asm",zG());re.registerLanguage("xl",WG());re.registerLanguage("xquery",XG());re.registerLanguage("zephir",KG());re.HighlightJS=re;re.default=re;var ZG=re,jG=wY.decode,JG=ew,Bp=ZG,Yp='class="',eq=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.pre,n=t===void 0?!1:t,a=e.auto_detection,i=a===void 0?!0:a,o=function(l,c,u){var h={left:"
]*>",right:"
",flags:"g"},p=function(b,A,I,M){A=jG(A);var U=(I.match(/class=\"([^ \"]+)/)||[])[1];if(!U&&!i)return b;if(I.includes(Yp)){var V=I.indexOf(Yp)+Yp.length;I=I.slice(0,V)+"hljs "+I.slice(V)}else I=I.slice(0,-1)+' class="hljs">';return n&&U&&(I=I.replace("
",'
')),U&&Bp.getLanguage(U)?I+Bp.highlight(A,{language:U}).value+M:I+Bp.highlightAuto(A).value+M};return JG.helper.replaceRecursiveRegExp(l,p,h.left,h.right,h.flags)};return[{type:"output",filter:o}]};const tq=jR(eq);const nq=r=>{const e=vt(r);return`
 # Filters
 
 Filters can be applied to both synthesizers and samples. They are used to shape the sound by removing or emphasizing certain frequencies. They are also used to create movement in the sound by modulating the cutoff frequency of the filter over time. 
@@ -4390,7 +4390,7 @@ ${e("And the bandpass filter, just for fun",`beat(.5) :: sound('sawtooth').note(
   `,!0)}
 
 
-`};ew.setFlavor("github");const pt=r=>`${r}`,vt=r=>(t,n,a=!1)=>{const i=`codeExample${r.exampleCounter++}`;return r.api.codeExamples[i]=n,`
+`};tw.setFlavor("github");const pt=r=>`${r}`,vt=r=>(t,n,a=!1)=>{const i=`codeExample${r.exampleCounter++}`;return r.api.codeExamples[i]=n,`
 
${t} @@ -4399,18 +4399,18 @@ ${e("And the bandpass filter, just for fun",`beat(.5) :: sound('sawtooth').note(
${n.trim()}
-`},fw=["introduction","sampler","amplitude","audio_basics","filters","effects","interface","interaction","code","time","linear","cyclic","longform","synths","chaining","patterns","ziffers_basics","ziffers_scales","ziffers_rhythm","ziffers_algorithmic","ziffers_tonnetz","ziffers_syncing","midi","osc","functions","generators","lfos","probabilities","variables","synchronisation","mouse","shortcuts","about","bonus","oscilloscope","sample_list","loading_samples","visualization"],__=r=>(r.api.codeExamples={},{introduction:BB(r),interface:zB(r),interaction:rY(r),code:XB(r),time:iY(),linear:sY(r),cyclic:lY(r),longform:cY(r),synths:TY(r),filters:tq(r),chaining:nY(r),patterns:hY(r),ziffers_basics:bY(r),ziffers_scales:SY(r),ziffers_algorithmic:vY(r),ziffers_rhythm:OY(r),ziffers_tonnetz:EY(r),ziffers_syncing:yY(r),midi:uY(r),osc:dY(r),lfos:_Y(r),variables:pY(r),probabilities:gY(r),functions:fY(r),generators:mY(r),shortcuts:WB(r),amplitude:FB(r),effects:UB(r),sampler:$B(r),mouse:KB(r),oscilloscope:ZB(r),audio_basics:qB(r),synchronisation:jB(),bonus:eY(r),visualization:tY(r),sample_list:QB(r),sample_banks:GB(),loading_samples:YB(r),about:JB()}),b_=r=>{var e,t,n,a,i;if((e=document.getElementById("app"))!=null&&e.classList.contains("hidden"))(t=document.getElementById("app"))==null||t.classList.remove("hidden"),(n=document.getElementById("documentation"))==null||n.classList.add("hidden"),r.exampleIsPlaying=!1;else{let o=function(l){let c=Object.keys(s).map(u=>({type:"output",regex:new RegExp(`<${u}([^>]*)>`,"g"),replace:(h,p)=>`<${u} class="${s[u]}" ${p}>`}));l(c)};(a=document.getElementById("app"))==null||a.classList.add("hidden"),(i=document.getElementById("documentation"))==null||i.classList.remove("hidden");let s=KR();o(l=>Nl(r,l))}},xa=()=>{var r,e,t;(r=document.getElementById("app"))!=null&&r.classList.contains("hidden")&&((e=document.getElementById("app"))==null||e.classList.remove("hidden"),(t=document.getElementById("documentation"))==null||t.classList.add("hidden"))},Nl=(r,e)=>{let t="

Loading! Clic to refresh!

";const n=new ew.Converter({emoji:!0,moreStyling:!0,backslashEscapesHTMLTags:!0,extensions:[eq({pre:!0,auto_detection:!1}),...e]});Object.keys(r.docs).length===0&&(r.docs=__(r));function a(i){const o=n.makeHtml(r.docs[r.currentDocumentationPane]);i(o)}a(i=>{let o=i===void 0?t:i;document.getElementById("documentation-content").innerHTML=o}),document.getElementById("documentation-content").innerHTML.replace(/"/g,"'")==t.replace(/"/g,"'")&&setTimeout(()=>{Nl(r,e)},100)},nq=r=>{document.addEventListener("keydown",e=>{e.altKey&&(r.fill=!0,r.interface.fill_viewer.classList.remove("invisible"))}),document.addEventListener("keyup",e=>{e.key==="Alt"&&(r.fill=!1,r.interface.fill_viewer.classList.add("invisible"))})},rq=r=>{window.addEventListener("keydown",e=>{if(e.key==="Tab"&&e.preventDefault(),e.ctrlKey&&e.key==="m"){e.preventDefault();let t=document.getElementById("topbar"),n=document.getElementById("sidebar");console.log("oui ok"),r.hidden_interface?(n==null||n.classList.remove("flex"),n==null||n.classList.remove("flex-col"),n==null||n.classList.add("hidden"),t==null||t.classList.add("hidden"),t==null||t.classList.remove("flex")):(n==null||n.classList.remove("hidden"),n==null||n.classList.add("flex"),n==null||n.classList.add("flex-col"),t==null||t.classList.remove("hidden"),t==null||t.classList.add("flex")),r.hidden_interface=!r.hidden_interface}e.ctrlKey&&e.key==="s"&&(e.preventDefault(),r.setButtonHighlighting("stop",!0),r.clock.stop()),e.ctrlKey&&e.key==="p"&&(e.preventDefault(),r.isPlaying?(r.isPlaying=!1,r.setButtonHighlighting("pause",!0),r.clock.pause()):(r.isPlaying=!0,r.setButtonHighlighting("play",!0),r.clock.start())),(e.key==="v"||e.key==="V")&&e.ctrlKey&&e.shiftKey&&(r.settings.vimMode=!r.settings.vimMode,e.preventDefault(),r.userPlugins=r.settings.vimMode?[]:[i_()],r.view.dispatch({effects:r.dynamicPlugins.reconfigure(r.userPlugins)})),(e.key==="Enter"||e.key==="Return")&&e.ctrlKey&&(e.preventDefault(),r.currentFile().candidate=r.view.state.doc.toString(),r.flashBackground("#404040",200)),(e.key==="Enter"&&e.shiftKey||e.key==="e"&&e.ctrlKey)&&(e.preventDefault(),r.currentFile().candidate=r.view.state.doc.toString(),r.flashBackground("#404040",200)),e.key==="Enter"&&e.shiftKey&&e.ctrlKey&&(e.preventDefault(),r.currentFile().candidate=r.view.state.doc.toString(),r.api.onceEvaluator=!0,r.api.forceEvaluator=!0,Ci(r,r.currentFile()),r.flashBackground("#404040",200)),e.ctrlKey&&e.shiftKey&&(e.key==="Backspace"||e.key==="Delete")&&(e.preventDefault(),r.api.clearPatternCache(),r.currentFile().candidate=r.view.state.doc.toString(),r.api.forceEvaluator=!0,Ci(r,r.currentFile()),r.flashBackground("#404040",200)),e.ctrlKey&&e.key==="b"&&(e.preventDefault(),xa(),r.updateKnownUniversesView(),vu()),e.shiftKey&&e.key==="Escape"&&xB(),e.ctrlKey&&e.key==="l"&&(e.preventDefault(),r.changeModeFromInterface("local"),xa(),r.view.focus()),e.ctrlKey&&e.key==="n"&&(e.preventDefault(),r.changeModeFromInterface("notes"),xa(),r.view.focus()),e.ctrlKey&&e.key==="g"&&(e.preventDefault(),r.changeModeFromInterface("global"),xa(),r.view.focus()),e.ctrlKey&&e.key==="i"&&(e.preventDefault(),r.changeModeFromInterface("init"),xa(),r.changeToLocalBuffer(0),r.view.focus()),e.ctrlKey&&e.key==="d"&&(e.preventDefault(),b_(r)),[112,113,114,115,116,117,118,119,120].forEach((t,n)=>{e.keyCode===t&&(e.preventDefault(),e.ctrlKey?r.api.script(t-111):(r.changeModeFromInterface("local"),r.changeToLocalBuffer(n),xa()))}),e.keyCode==121&&(e.preventDefault(),r.changeModeFromInterface("global"),xa()),e.keyCode==122&&(e.preventDefault(),r.changeModeFromInterface("init"),xa())})},mE=(r,e)=>String(r).padStart(e,"0");class aq extends AudioWorkletNode{constructor(t,n,a){super(t,"transport",n);T(this,"handleMessage",t=>{if(t.data&&t.data.type==="bang"&&this.app.clock.running){this.app.settings.send_clock&&this.app.api.MidiConnection.sendMidiClock();const n=this.app.clock.convertTicksToTimeposition(this.app.clock.tick);this.app.clock.time_position=n,this.timeviewer.innerHTML=`${mE(n.bar,2)}:${n.beat+1}:${mE(n.pulse,2)} / ${this.app.clock.bpm}`,this.app.exampleIsPlaying?Ci(this.app,this.app.example_buffer):Ci(this.app,this.app.global_buffer),this.app.clock.incrementTick(t.data.bpm)}});this.app=a,this.port.addEventListener("message",this.handleMessage),this.port.start(),this.timeviewer=document.getElementById("timeviewer")}start(){this.port.postMessage({type:"start"})}pause(){this.port.postMessage({type:"pause"})}resume(){this.port.postMessage({type:"resume"})}setBPM(t){this.port.postMessage({type:"bpm",value:t})}setPPQN(t){this.port.postMessage({type:"ppqn",value:t})}setNudge(t){this.port.postMessage({type:"nudge",value:t})}stop(){this.port.postMessage({type:"stop"})}}const iq="/assets/TransportProcessor-d5d50b30.js";class oq{constructor(e,t){T(this,"ctx");T(this,"logicalTime");T(this,"transportNode");T(this,"_bpm");T(this,"time_signature");T(this,"time_position");T(this,"_ppqn");T(this,"tick");T(this,"running");T(this,"lastPauseTime");T(this,"lastPlayPressTime");T(this,"totalPauseTime");this.app=e,this.time_position={bar:0,beat:0,pulse:0},this.time_signature=[4,4],this.logicalTime=0,this.tick=0,this._bpm=120,this._ppqn=48,this.transportNode=null,this.ctx=t,this.running=!0,this.lastPauseTime=0,this.lastPlayPressTime=0,this.totalPauseTime=0,t.audioWorklet.addModule(iq).then(n=>(this.transportNode=new aq(t,{},this.app),this.transportNode.connect(t.destination),n)).catch(n=>{console.log("Error loading TransportProcessor.js:",n)})}convertTicksToTimeposition(e){const t=this.app.clock.time_signature[0],n=e%this.app.clock.ppqn,a=Math.floor(e/this.app.clock.ppqn),i=Math.floor(a/t),o=Math.floor(a%t);return{bar:i,beat:o,pulse:n}}get ticks_before_new_bar(){const e=this.ppqn-this.time_position.pulse;return(this.beats_per_bar-this.time_position.beat)*this.ppqn+e}get next_beat_in_ticks(){return this.app.clock.pulses_since_origin+this.time_position.pulse}get beats_per_bar(){return this.time_signature[0]}get beats_since_origin(){return Math.floor(this.tick/this.ppqn)}get pulses_since_origin(){return this.tick}get pulse_duration(){return 60/this.bpm/this.ppqn}pulse_duration_at_bpm(e=this.bpm){return 60/e/this.ppqn}get bpm(){return this._bpm}set nudge(e){var t;(t=this.transportNode)==null||t.setNudge(e)}set bpm(e){var t;e>0&&this._bpm!==e&&((t=this.transportNode)==null||t.setBPM(e),this._bpm=e,this.logicalTime=this.realTime)}get ppqn(){return this._ppqn}get realTime(){return this.app.audioContext.currentTime-this.totalPauseTime}get deviation(){return Math.abs(this.logicalTime-this.realTime)}set ppqn(e){var t;e>0&&this._ppqn!==e&&(this._ppqn=e,(t=this.transportNode)==null||t.setPPQN(e),this.logicalTime=this.realTime)}incrementTick(e){this.tick++,this.logicalTime+=this.pulse_duration_at_bpm(e)}nextTickFrom(e,t){const n=this.pulse_duration,a=e+t;return Math.ceil(a/n)*n-a}convertPulseToSecond(e){return e*this.pulse_duration}start(){var e;this.app.audioContext.resume(),this.running=!0,this.app.api.MidiConnection.sendStartMessage(),this.lastPlayPressTime=this.app.audioContext.currentTime,this.totalPauseTime+=this.lastPlayPressTime-this.lastPauseTime,(e=this.transportNode)==null||e.start()}pause(){var e;this.running=!1,(e=this.transportNode)==null||e.pause(),this.app.api.MidiConnection.sendStopMessage(),this.lastPauseTime=this.app.audioContext.currentTime,this.logicalTime=this.realTime}stop(){var e;this.running=!1,this.tick=0,this.lastPauseTime=this.app.audioContext.currentTime,this.logicalTime=this.realTime,this.time_position={bar:0,beat:0,pulse:0},this.app.api.MidiConnection.sendStopMessage(),(e=this.transportNode)==null||e.stop()}}const Wg=(r="")=>{let e=0,t=0,n=0,a=0;function i(){const o=(e^e<<11)>>>0;return e=t,t=n,n=a,a^=(a>>>19^o^o>>>8)>>>0,(a>>>0)/4294967296}for(let o=0;oArray.isArray(r)?r.map(e=>ta(e)):r&&typeof r=="object"?Object.getOwnPropertyNames(r).reduce((e,t)=>(Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t)),e[t]=ta(r[t]),e),Object.create(Object.getPrototypeOf(r))):r,mw=r=>{try{return new Function(`"use strict";return (${r})`)()}catch(e){throw new Error(`Error in eval: ${e}`)}},ro=(r,e)=>r===0||e===0?0:(r%e+e)%e;function sq(r,e,t={}){return r===void 0?{}:Object.fromEntries(Object.entries(r).filter(([n])=>e.includes(n)).map(([n,a])=>[t[n]||n,a]))}const lq={"+":(r,e)=>r+e,"-":(r,e)=>r-e,"*":(r,e)=>r*e,"/":(r,e)=>r/e,"%":(r,e)=>ro(r,e),"^":(r,e)=>r**e,"<<":(r,e)=>r<>":(r,e)=>r>>e,"&":(r,e)=>r&e,"|":(r,e)=>r|e},S_=.25,pE={octave:0,key:"C4",scale:"MAJOR",measure:0,degrees:!1},cq={"m..":14,"m.":12,m:8,"l..":7,"l.":6,l:4,"d..":7/2,"d.":3,n:8/3,d:2,"w..":7/4,"w.":3/2,k:4/3,w:1,"h..":7/8,"h.":3/4,c:2/3,h:1/2,p:1/3,"q..":7/16,"q.":3/8,q:.25,"e..":7/32,"e.":3/16,g:1/6,e:1/8,"s..":7/64,a:1/12,"s.":3/32,s:1/16,"t..":7/128,"t.":3/64,f:1/24,t:1/32,"u..":7/256,"u.":3/128,x:1/48,u:1/64,"o..":7/512,y:1/96,"o.":3/256,o:1/128,j:1/192,z:0},uq={C:0,Cs:1,D:2,Eb:3,E:4,F:5,Fs:6,G:7,Ab:8,A:9,Bb:10,B:11},dq={0:"C",1:"Cs",2:"D",3:"Eb",4:"E",5:"F",6:"Fs",7:"G",8:"Ab",9:"A",10:"Bb",11:"B"},gE=["Gb","Cs","Ab","Eb","Bb","F","C","G","D","A","E","B","Fs"],hq={"#":1,b:-1,s:1},fq={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},mq=()=>{const r=[2,1,2,2,1,2,2],e=[2,2,1,2,2,2,1],t=[2,1,2,2,1,3,1],n=[2,2,1,2,1,3,1],a=[3,2,2,3,2],i=[2,3,2,3,2],o=[2,2,2,2,2,2],s=[2,1,1,3,2,3],l=[3,2,1,1,3,2],c=[2,1,2,2,2,2,1],u=[2,2,1,2,1,2,2],h=[1,2,2,2,1,3,1],p=[1,2,2,2,2,2,1],_=[1,2,1,2,1,2,1,2],b=[2,2,1,2,1,1,2,1],A=[2,1,2,2,1,1,2,1],I=[2,2,1,2,2,1,1,1];return{MAJOR:e,MINOR:r,"HARMONIC MINOR":t,"HARMONIC MAJOR":n,"MINOR PENTATONIC":a,"SUSPENDED PENTATONIC":i,"BLUES MAJOR":s,"BLUES MINOR":l,WHOLE:o,"MELODIC MINOR":c,"MELODIC MAJOR":u,MINORIC:[4,4,4],THAPTIC:[4,3,4,1],LOTHIC:[3,4,1,4],PHRATIC:[4,1,4,3],AERATHIC:[1,4,3,4],EPATHIC:[4,3,2,3],MYNIC:[3,2,3,4],ROTHIC:[2,3,4,3],EPORIC:[3,4,3,2],ZYPHIC:[4,4,3,1],EPOGIC:[4,3,1,4],LANIC:[3,1,4,4],PYRRIC:[1,4,4,3],AEOLORIC:[4,4,1,3],GONIC:[4,1,3,4],DALIC:[1,3,4,4],DYGIC:[3,4,4,1],DARIC:[4,3,3,2],LONIC:[3,3,2,4],PHRADIC:[3,2,4,3],BOLIC:[2,4,3,3],SARIC:[4,2,3,3],ZOPTIC:[2,3,3,4],AERAPHIC:[3,3,4,2],BYPTIC:[3,4,2,3],AEOLIC:[4,4,2,2],KOPTIC:[4,2,2,4],MIXOLYRIC:[2,2,4,4],LYDIC:[2,4,4,2],STATHIC:[4,2,4,2],DADIC:[2,4,2,4],PHRYNIC:[3,3,3,3],EPATHITONIC:[3,2,3,2,2],MYNITONIC:[2,3,2,2,3],ROCRITONIC:a,PENTATONIC:[2,2,3,2,3],THAPTITONIC:i,MAGITONIC:[4,3,2,2,1],DADITONIC:[3,2,2,1,4],AEOLYPHRITONIC:[2,2,1,4,3],GYCRITONIC:[2,1,4,3,2],PYRITONIC:[1,4,3,2,2],GATHITONIC:[4,2,3,2,1],IONITONIC:[2,3,2,1,4],PHRYNITONIC:[3,2,1,4,2],STATHITONIC:[2,1,4,2,3],THALITONIC:[1,4,2,3,2],ZOLITONIC:[4,2,1,4,1],EPOGITONIC:[2,1,4,1,4],LANITONIC:[1,4,1,4,2],PAPTITONIC:[4,1,4,2,1],IONACRITONIC:[1,4,2,1,4],PHRADITONIC:[4,1,4,1,2],AEOLORITONIC:[1,4,1,2,4],GONITONIC:[4,1,2,4,1],DALITONIC:[1,2,4,1,4],DYGITONIC:[2,4,1,4,1],AERACRITONIC:[4,1,2,3,2],BYPTITONIC:[1,2,3,2,4],DARITONIC:[2,3,2,4,1],LONITONIC:[3,2,4,1,2],IONYCRITONIC:[2,4,1,2,3],LOTHITONIC:[4,1,2,2,3],PHRATONIC:[1,2,2,3,4],AERATHITONIC:[2,2,3,4,1],SARITONIC:[2,3,4,1,2],ZOPTITONIC:[3,4,1,2,2],DOLITONIC:[4,4,1,2,1],PORITONIC:[4,1,2,1,4],AERYLITONIC:[1,2,1,4,4],ZAGITONIC:[2,1,4,4,1],LAGITONIC:[1,4,4,1,2],MOLITONIC:[4,3,3,1,1],STAPTITONIC:[3,3,1,1,4],MOTHITONIC:[3,1,1,4,3],AERITONIC:[1,1,4,3,3],RAGITONIC:[1,4,3,3,1],IONADITONIC:[4,3,2,1,2],BOCRITONIC:[3,2,1,2,4],GYTHITONIC:[2,1,2,4,3],PAGITONIC:[1,2,4,3,2],AEOLYTHITONIC:[2,4,3,2,1],ZACRITONIC:[4,3,1,3,1],LARITONIC:[3,1,3,1,4],THACRITONIC:[1,3,1,4,3],STYDITONIC:[3,1,4,3,1],LORITONIC:[1,4,3,1,3],AEOLYRITONIC:[4,3,1,1,3],GORITONIC:[3,1,1,3,4],AEOLODITONIC:[1,1,3,4,3],DOPTITONIC:[1,3,4,3,1],AERAPHITONIC:[3,4,3,1,1],ZATHITONIC:[4,2,4,1,1],RADITONIC:[2,4,1,1,4],STONITONIC:[4,1,1,4,2],SYPTITONIC:[1,1,4,2,4],IONYTHITONIC:[1,4,2,4,1],AEOLANITONIC:[4,2,2,3,1],DANITONIC:[2,2,3,1,4],IONARITONIC:[2,3,1,4,2],DYNITONIC:[3,1,4,2,2],ZYDITONIC:[1,4,2,2,3],AEOLACRITONIC:[4,2,1,2,3],ZYTHITONIC:[2,1,2,3,4],DYRITONIC:[1,2,3,4,2],KOPTITONIC:[2,3,4,2,1],THOCRITONIC:[3,4,2,1,2],LYCRITONIC:[4,1,3,3,1],DAPTITONIC:[1,3,3,1,4],KYGITONIC:[3,3,1,4,1],MOCRITONIC:[3,1,4,1,3],ZYNITONIC:[1,4,1,3,3],EPYGITONIC:[4,1,3,2,2],ZAPTITONIC:[1,3,2,2,4],KAGITONIC:[3,2,2,4,1],ZOGITONIC:[2,2,4,1,3],EPYRITONIC:[2,4,1,3,2],ZOTHITONIC:[4,1,3,1,3],PHROLITONIC:[1,3,1,3,4],IONAGITONIC:[3,1,3,4,1],AEOLAPRITONIC:[1,3,4,1,3],KYRITONIC:[3,4,1,3,1],IONYPTITONIC:[4,1,1,3,3],GYRITONIC:[1,1,3,3,4],ZALITONIC:[1,3,3,4,1],STOLITONIC:[3,3,4,1,1],BYLITONIC:[3,4,1,1,3],THODITONIC:[3,3,2,3,1],DOGITONIC:[3,2,3,1,3],PHRALITONIC:[2,3,1,3,3],GARITONIC:[3,1,3,3,2],SOPTITONIC:[1,3,3,2,3],KATARITONIC:[3,3,2,2,2],SYLITONIC:[3,2,2,2,3],THONITONIC:[2,2,2,3,3],PHROPITONIC:[2,2,3,3,2],STADITONIC:[2,3,3,2,2],LYDITONIC:[3,3,1,3,2],MYTHITONIC:[3,1,3,2,3],SOGITONIC:[1,3,2,3,3],GOTHITONIC:[3,2,3,3,1],ROTHITONIC:[2,3,3,1,3],ZYLITONIC:[4,4,2,1,1],ZODITONIC:[4,2,1,1,4],ZARITONIC:[2,1,1,4,4],PHRYTHITONIC:[1,1,4,4,2],ROLITONIC:[1,4,4,2,1],RANITONIC:[4,4,1,1,2],LADITONIC:[4,1,1,2,4],PODITONIC:[1,1,2,4,4],IONOTHITONIC:[1,2,4,4,1],KANITONIC:[2,4,4,1,1],RYPHITONIC:[4,3,1,2,2],GYLITONIC:[3,1,2,2,4],AEOLYCRITONIC:[1,2,2,4,3],PYNITONIC:[2,2,4,3,1],ZANITONIC:[2,4,3,1,2],PHRONITONIC:[4,2,3,1,2],BANITONIC:[2,3,1,2,4],AERONITONIC:[3,1,2,4,2],GOLITONIC:[1,2,4,2,3],DYPTITONIC:[2,4,2,3,1],AERYNITONIC:[4,2,2,1,3],PALITONIC:[2,2,1,3,4],STOTHITONIC:[2,1,3,4,2],AEROPHITONIC:[1,3,4,2,2],KATAGITONIC:[3,4,2,2,1],IONODITONIC:[4,2,1,3,2],BOGITONIC:[2,1,3,2,4],MOGITONIC:[1,3,2,4,2],DOCRITONIC:[3,2,4,2,1],EPADITONIC:[2,4,2,1,3],MIXITONIC:[3,3,3,2,1],PHROTHITONIC:[3,3,2,1,3],KATYCRITONIC:[3,2,1,3,3],IONALITONIC:[2,1,3,3,3],LOPTITONIC:[1,3,3,3,2],THYRITONIC:[3,3,3,1,2],THOPTITONIC:[3,3,1,2,3],BYCRITONIC:[3,1,2,3,3],PATHITONIC:[1,2,3,3,3],MYDITONIC:[2,3,3,3,1],BOLITONIC:[4,2,2,2,2],BOTHITONIC:[2,2,2,2,4],KATADITONIC:[2,2,2,4,2],KODITONIC:[2,2,4,2,2],THOLITONIC:[2,4,2,2,2],EPATHIMIC:[3,2,2,1,2,2],MYNIMIC:[2,2,1,2,2,3],ROCRIMIC:[2,1,2,2,3,2],EPORIMIC:[1,2,2,3,2,2],THAPTIMIC:[2,2,3,2,2,1],LOTHIMIC:[2,3,2,2,1,2],DYRIMIC:[4,2,1,2,2,1],KOPTIMIC:[2,1,2,2,1,4],THOCRIMIC:[1,2,2,1,4,2],AEOLANIMIC:[2,2,1,4,2,1],DANIMIC:[2,1,4,2,1,2],IONARIMIC:[1,4,2,1,2,2],DAPTIMIC:[4,1,4,1,1,1],KYGIMIC:[1,4,1,1,1,4],MOCRIMIC:[4,1,1,1,4,1],ZYNIMIC:[1,1,1,4,1,4],AEOLIMIC:[1,1,4,1,4,1],ZYTHIMIC:[1,4,1,4,1,1],EPYGIMIC:[4,1,2,3,1,1],ZAPTIMIC:[1,2,3,1,1,4],KAGIMIC:[2,3,1,1,4,1],ZOGIMIC:[3,1,1,4,1,2],EPYRIMIC:[1,1,4,1,2,3],LYCRIMIC:[1,4,1,2,3,1],BYLIMIC:[4,1,2,2,2,1],ZOTHIMIC:[1,2,2,2,1,4],PHROLIMIC:[2,2,2,1,4,1],IONAGIMIC:[2,2,1,4,1,2],AEOLAPHIMIC:[2,1,4,1,2,2],KYCRIMIC:[1,4,1,2,2,2],GARIMIC:[4,1,2,2,1,2],SOPTIMIC:[1,2,2,1,2,4],IONYPTIMIC:[2,2,1,2,4,1],GYRIMIC:[2,1,2,4,1,2],ZALIMIC:[1,2,4,1,2,2],STOLIMIC:[2,4,1,2,2,1],THONIMIC:[4,1,1,4,1,1],STADIMIC:[1,1,4,1,1,4],THODIMIC:[1,4,1,1,4,1],MYTHIMIC:[4,1,1,3,2,1],SOGIMIC:[1,1,3,2,1,4],GOGIMIC:[1,3,2,1,4,1],ROTHIMIC:[3,2,1,4,1,1],KATARIMIC:[2,1,4,1,1,3],SYLIMIC:[1,4,1,1,3,2],MIXOLIMIC:[3,2,3,2,1,1],DADIMIC:[2,3,2,1,1,3],AEOLYPHIMIC:[3,2,1,1,3,2],GYCRIMIC:s,PYRIMIC:[1,1,3,2,3,2],LYDIMIC:[1,3,2,3,2,1],IONACRIMIC:[3,2,3,1,1,2],GATHIMIC:[2,3,1,1,2,3],IONYNIMIC:[3,1,1,2,3,2],PHRYNIMIC:[1,1,2,3,2,3],STATHIMIC:[1,2,3,2,3,1],THATIMIC:[2,3,2,3,1,1],DALIMIC:[3,2,2,3,1,1],DYGIMIC:[2,2,3,1,1,3],ZOLIMIC:[2,3,1,1,3,2],EPOGIMIC:[3,1,1,3,2,2],LANIMIC:[1,1,3,2,2,3],PAPTIMIC:[1,3,2,2,3,1],DARMIC:[3,2,2,2,1,2],LONIMIC:[2,2,2,1,2,3],IONYCRIMIC:[2,2,1,2,3,2],PHRADIMIC:[2,1,2,3,2,2],AEOLORIMIC:[1,2,3,2,2,2],GONIMIC:[2,3,2,2,2,1],PHRACRIMIC:[3,2,1,2,2,2],AERATHIMIC:[2,1,2,2,2,3],SARIMIC:[1,2,2,2,3,2],ZOPTIMIC:[2,2,2,3,2,1],ZERACRIMIC:[2,2,3,2,1,2],BYPTIMIC:[2,3,2,1,2,2],STARIMIC:[4,3,2,1,1,1],PHRATHIMIC:[3,2,1,1,1,4],SAPTIMIC:[2,1,1,1,4,3],AERODIMIC:[1,1,1,4,3,2],MACRIMIC:[1,1,4,3,2,1],ROGIMIC:[1,4,3,2,1,1],BYGIMIC:[4,3,1,1,2,1],THYCRIMIC:[3,1,1,2,1,4],AEOLADIMIC:[1,1,2,1,4,3],DYLIMIC:[1,2,1,4,3,1],EPONIMIC:[2,1,4,3,1,1],KATYGIMIC:[1,4,3,1,1,2],STALIMIC:[4,2,3,1,1,1],STOPTIMIC:[2,3,1,1,1,4],ZYGIMIC:[3,1,1,1,4,2],KATAPTIMIC:[1,1,1,4,2,3],AEOLAPTIMIC:[1,1,4,2,3,1],POTHIMIC:[1,4,2,3,1,1],RYCRIMIC:[4,2,2,1,2,1],RONIMIC:[2,2,1,2,1,4],STYCRIMIC:[2,1,2,1,4,2],KATORIMIC:[1,2,1,4,2,2],EPYTHIMIC:[2,1,4,2,2,1],KAPTIMIC:[1,4,2,2,1,2],KATYTHIMIC:[4,2,1,3,1,1],MADIMIC:[2,1,3,1,1,4],AERYGIMIC:[1,3,1,1,4,2],PYLIMIC:[3,1,1,4,2,1],IONATHIMIC:[1,1,4,2,1,3],MORIMIC:[1,4,2,1,3,1],AERYCRIMIC:[4,2,1,1,3,1],GANIMIC:[2,1,1,3,1,4],EPARIMIC:[1,1,3,1,4,2],LYRIMIC:[1,3,1,4,2,1],PHRAPTIMIC:[3,1,4,2,1,1],BACRIMIC:[1,4,2,1,1,3],PHRALIMIC:[4,1,3,2,1,1],PHROGIMIC:[1,3,2,1,1,4],RATHIMIC:[3,2,1,1,4,1],KATOCRIMIC:[2,1,1,4,1,3],PHRYPTIMIC:[1,1,4,1,3,2],KATYNIMIC:[1,4,1,3,2,1],SOLIMIC:[4,1,3,1,2,1],IONOLIMIC:[1,3,1,2,1,4],IONOPHIMIC:[3,1,2,1,4,1],AEOLOGIMIC:[1,2,1,4,1,3],ZADIMIC:[2,1,4,1,3,1],SYGIMIC:[1,4,1,3,1,2],THOGIMIC:[4,1,3,1,1,2],RYTHIMIC:[1,3,1,1,2,4],DONIMIC:[3,1,1,2,4,1],AEOLOPTIMIC:[1,1,2,4,1,3],PANIMIC:[1,2,4,1,3,1],LODIMIC:[2,4,1,3,1,1],LAPTIMIC:[4,1,2,1,3,1],LYGIMIC:[1,2,1,3,1,4],LOGIMIC:[2,1,3,1,4,1],LALIMIC:[1,3,1,4,1,2],SOTHIMIC:[3,1,4,1,2,1],PHROCRIMIC:[1,4,1,2,1,3],MODIMIC:[4,1,2,1,2,2],BARIMIC:[1,2,1,2,2,4],POPTIMIC:[2,1,2,2,4,1],SAGIMIC:[1,2,2,4,1,2],AELOTHIMIC:l,SOCRIMIC:[2,4,1,2,1,2],SYRIMIC:[4,1,2,1,1,3],STODIMIC:[1,2,1,1,3,4],IONOCRIMIC:[2,1,1,3,4,1],ZYCRIMIC:[1,1,3,4,1,2],IONYGIMIC:[1,3,4,1,2,1],KATATHIMIC:[3,4,1,2,1,1],BOLIMIC:[4,1,1,3,1,2],BOTHIMIC:[1,1,3,1,2,4],KATADIMIC:[1,3,1,2,4,1],KODIMIC:[3,1,2,4,1,1],THOLIMIC:[1,2,4,1,1,3],RALIMIC:[2,4,1,1,3,1],KANIMIC:[4,1,1,2,3,1],ZYLIMIC:[1,1,2,3,1,4],ZODIMIC:[1,2,3,1,4,1],ZARIMIC:[2,3,1,4,1,1],PHRYTHIMIC:[3,1,4,1,1,2],RORIMIC:[1,4,1,1,2,3],PYNIMIC:[4,1,1,1,3,2],ZANIMIC:[1,1,1,3,2,4],RANIMIC:[1,1,3,2,4,1],LADIMIC:[1,3,2,4,1,1],PODIMIC:[3,2,4,1,1,1],IONOTHIMIC:[2,4,1,1,1,3],KYTRIMIC:[4,1,1,1,2,3],GOLIMIC:[1,1,1,2,3,4],DYPTIMIC:[1,1,2,3,4,1],RYRIMIC:[1,2,3,4,1,1],GYLIMIC:[2,3,4,1,1,1],AEOLYCRIMIC:[3,4,1,1,1,2],PALIMIC:[3,3,2,2,1,1],STOTHIMIC:[3,2,2,1,1,3],AERONIMIC:[2,2,1,1,3,3],KATAGIMIC:[2,1,1,3,3,2],PHRONIMIC:[1,1,3,3,2,2],BANIMIC:[1,3,3,2,2,1],IONODIMIC:[3,3,1,3,1,1],BOGIMIC:[3,1,3,1,1,3],MOGIMIC:[1,3,1,1,3,3],DOCRIMIC:[3,1,1,3,3,1],EPADIMIC:[1,1,3,3,1,3],AERYNIMIC:[1,3,3,1,3,1],MYDIMIC:[3,3,1,1,3,1],THYPTIMIC:[3,1,1,3,1,3],PHROTHIMIC:[1,1,3,1,3,3],KATYCRIMIC:[1,3,1,3,3,1],IONALIMIC:[3,1,3,3,1,1],LOPTIMIC:[1,3,3,1,1,3],ZAGIMIC:[3,3,1,1,2,2],LAGIMIC:[3,1,1,2,2,3],THYRIMIC:[1,1,2,2,3,3],THOTHIMIC:[1,2,2,3,3,1],BYCRIMIC:[2,2,3,3,1,1],PATHIMIC:[2,3,3,1,1,2],MOTHIMIC:[3,2,2,1,3,1],AERANIMIC:[2,2,1,3,1,3],RAGIMIC:[2,1,3,1,3,2],DOLIMIC:[1,3,1,3,2,2],PORIMIC:[3,1,3,2,2,1],AERYLIMIC:[1,3,2,2,1,3],BOCRIMIC:[3,2,1,3,1,2],GYTHIMIC:[2,1,3,1,2,3],PAGIMIC:[1,3,1,2,3,2],AEOLYTHIMIC:[3,1,2,3,2,1],MOLIMIC:[1,2,3,2,1,3],STAPTIMIC:[2,3,2,1,3,1],ZACRIMIC:[3,2,1,2,3,1],LARIMIC:[2,1,2,3,1,3],THACRIMIC:[1,2,3,1,3,2],STYDIMIC:[2,3,1,3,2,1],LORIMIC:[3,1,3,2,1,2],IONADIMIC:[1,3,2,1,2,3],IONYTHIMIC:[3,1,3,1,3,1],AERYTHIMIC:[1,3,1,3,1,3],DYNIMIC:[3,1,3,1,2,2],ZYDIMIC:[1,3,1,2,2,3],ZATHIMIC:[3,1,2,2,3,1],RADIMIC:[1,2,2,3,1,3],STONIMIC:[2,2,3,1,3,1],SYPTIMIC:[2,3,1,3,1,2],PONIMIC:[4,4,1,1,1,1],KADIMIC:[4,1,1,1,1,4],GYNIMIC:[1,1,1,1,4,4],THYDIMIC:[1,1,1,4,4,1],POLIMIC:[1,1,4,4,1,1],THANIMIC:[1,4,4,1,1,1],LATHIMIC:[4,3,1,2,1,1],AERALIMIC:[3,1,2,1,1,4],KYNIMIC:[1,2,1,1,4,3],STYNIMIC:[2,1,1,4,3,1],EPYTIMIC:[1,1,4,3,1,2],KATOPTIMIC:[1,4,3,1,2,1],GALIMIC:[4,3,1,1,1,2],KATHIMIC:[3,1,1,1,2,4],LYLIMIC:[1,1,1,2,4,3],EPALIMIC:[1,1,2,4,3,1],EPACRIMIC:[1,2,4,3,1,1],SATHIMIC:[2,4,3,1,1,1],KATANIMIC:[4,2,2,2,1,1],KATYRIMIC:[2,2,2,1,1,4],RYNIMIC:[2,2,1,1,4,2],POGIMIC:[2,1,1,4,2,2],AERAPTIMIC:[1,1,4,2,2,2],EPYLIMIC:[1,4,2,2,2,1],MANIMIC:[4,2,1,2,1,2],MARIMIC:[2,1,2,1,2,4],LOCRIMIC:[1,2,1,2,4,2],RYLIMIC:[2,1,2,4,2,1],EPATIMIC:[1,2,4,2,1,2],BYRIMIC:[2,4,2,1,2,1],KOCRIMIC:[4,2,1,1,1,3],KORIMIC:[2,1,1,1,3,4],LYNIMIC:[1,1,1,3,4,2],MALIMIC:[1,1,3,4,2,1],SYNIMIC:[1,3,4,2,1,1],PHRAGIMIC:[3,4,2,1,1,1],MYCRIMIC:[4,1,1,2,2,2],IONORIMIC:[1,1,2,2,2,4],PHRYDIMIC:[1,2,2,2,4,1],ZYPTIMIC:[2,2,2,4,1,1],KATOTHIMIC:[2,2,4,1,1,2],PHRYLIMIC:[2,4,1,1,2,2],AEROTHIMIC:[4,1,1,2,1,3],STAGIMIC:[1,1,2,1,3,4],DORIMIC:[1,2,1,3,4,1],PHRYCRIMIC:[2,1,3,4,1,1],KYPTIMIC:[1,3,4,1,1,2],IONYLIMIC:[3,4,1,1,2,1],EPYNIMIC:[3,3,3,1,1,1],IONOGIMIC:[3,3,1,1,1,3],KYDIMIC:[3,1,1,1,3,3],GAPTIMIC:[1,1,1,3,3,3],THARIMIC:[1,1,3,3,3,1],IONAPHIMIC:[1,3,3,3,1,1],THOPTIMIC:[3,3,2,1,2,1],BAGIMIC:[3,2,1,2,1,3],KYRIMIC:[2,1,2,1,3,3],SONIMIC:[1,2,1,3,3,2],AEOLONIMIC:[2,1,3,3,2,1],RYGIMIC:[1,3,3,2,1,2],THAGIMIC:[3,3,2,1,1,2],KOLIMIC:[3,2,1,1,2,3],DYCRIMIC:[2,1,1,2,3,3],EPYCRIMIC:[1,1,2,3,3,2],GOCRIMIC:[1,2,3,3,2,1],KATOLIMIC:[2,3,3,2,1,1],DAGIMIC:[3,3,1,2,2,1],AEOLYDIMIC:[3,1,2,2,1,3],PARIMIC:[1,2,2,1,3,3],IONAPTIMIC:[2,2,1,3,3,1],THYLIMIC:[2,1,3,3,1,2],LOLIMIC:[1,3,3,1,2,2],THALIMIC:[3,3,1,2,1,2],STYGIMIC:[3,1,2,1,2,3],AEOLYGIMIC:[1,2,1,2,3,3],AEROGIMIC:[2,1,2,3,3,1],DACRIMIC:[1,2,3,3,1,2],BAPTIMIC:[2,3,3,1,2,1],STYTHIMIC:[3,2,3,1,2,1],KOTHIMIC:[2,3,1,2,1,3],PYGIMIC:[3,1,2,1,3,2],RODIMIC:[1,2,1,3,2,3],SORIMIC:[2,1,3,2,3,1],MONIMIC:[1,3,2,3,1,2],AERAGIMIC:[3,2,2,2,2,1],EPOTHIMIC:[2,2,2,2,1,3],SALIMIC:[2,2,2,1,3,2],LYPTIMIC:[2,2,1,3,2,2],KATONIMIC:[2,1,3,2,2,2],GYGIMIC:[1,3,2,2,2,2],AERADIMIC:[3,2,1,3,2,1],ZYRIMIC:[2,1,3,2,1,3],STYLIMIC:[1,3,2,1,3,2],LYTHIMIC:[3,1,2,3,1,2],DODIMIC:[1,2,3,1,2,3],KATALIMIC:[2,3,1,2,3,1],BOPTIMIC:[3,1,2,2,2,2],STOGIMIC:[1,2,2,2,2,3],THYNIMIC:[2,2,2,2,3,1],AEOLATHIMIC:[2,2,2,3,1,2],BYTHIMIC:[2,2,3,1,2,2],PADIMIC:[2,3,1,2,2,2],DATHIMIC:[4,2,2,1,1,2],EPAGIMIC:[2,2,1,1,2,4],RAPTIMIC:[2,1,1,2,4,2],EPOLIMIC:[1,1,2,4,2,2],SYTHIMIC:[1,2,4,2,2,1],SYDIMIC:[2,4,2,2,1,1],GACRIMIC:[4,2,1,1,2,2],BORIMIC:[2,1,1,2,2,4],SYCRIMIC:[1,1,2,2,4,2],GADIMIC:[1,2,2,4,2,1],AEOLOCRIMIC:[2,2,4,2,1,1],PHRYGIMIC:[2,4,2,1,1,2],WHOLETONE:o,LYDIAN:[2,2,2,1,2,2,1],MIXOLYDIAN:[2,2,1,2,2,1,2],AEOLIAN:r,LOCRIAN:[1,2,2,1,2,2,2],IONIAN:e,DORIAN:[2,1,2,2,2,1,2],PHRYGIAN:[1,2,2,2,1,2,2],IONYTHIAN:[4,1,2,2,1,1,1],AEOLYRIAN:[1,2,2,1,1,1,4],GORIAN:[2,2,1,1,1,4,1],AEOLODIAN:[2,1,1,1,4,1,2],DOPTIAN:[1,1,1,4,1,2,2],AERAPHIAN:[1,1,4,1,2,2,1],ZACRIAN:[1,4,1,2,2,1,1],IONARIAN:[4,1,1,3,1,1,1],DYNIAN:[1,1,3,1,1,1,4],ZYDIAN:[1,3,1,1,1,4,1],ZATHIAN:[3,1,1,1,4,1,1],RADIAN:[1,1,1,4,1,1,3],STONIAN:[1,1,4,1,1,3,1],SYPTIAN:[1,4,1,1,3,1,1],AEOLACRIAN:[4,1,1,1,3,1,1],ZYTHIAN:[1,1,1,3,1,1,4],DYRIAN:[1,1,3,1,1,4,1],KOPTIAN:[1,3,1,1,4,1,1],THOCRIAN:[3,1,1,4,1,1,1],AEOLANIAN:[1,1,4,1,1,1,3],DANIAN:[1,4,1,1,1,3,1],ZOGIAN:[4,1,1,1,2,2,1],EPYRIAN:[1,1,1,2,2,1,4],LYCRIAN:[1,1,2,2,1,4,1],DAPTIAN:[1,2,2,1,4,1,1],KYGIAN:[2,2,1,4,1,1,1],MOCRIAN:[2,1,4,1,1,1,2],ZYNIAN:[1,4,1,1,1,2,2],PHROLIAN:[3,2,2,1,2,1,1],IONAGIAN:[2,2,1,2,1,1,3],AEODIAN:[2,1,2,1,1,3,2],KYCRIAN:[1,2,1,1,3,2,2],EPYGIAN:[2,1,1,3,2,2,1],ZAPTIAN:[1,1,3,2,2,1,2],KAGIAN:[1,3,2,2,1,2,1],SOPTIAN:[3,2,2,1,1,1,2],IONYPTIAN:[2,2,1,1,1,2,3],GYRIAN:[2,1,1,1,2,3,2],ZALIAN:[1,1,1,2,3,2,2],STOLIAN:[1,1,2,3,2,2,1],BYLIAN:[1,2,3,2,2,1,1],ZOTHIAN:[2,3,2,2,1,1,1],THONIAN:[3,2,1,2,2,1,1],PHRORIAN:[2,1,2,2,1,1,3],STADIAN:[1,2,2,1,1,3,2],THODIAN:[2,2,1,1,3,2,1],DOGIAN:[2,1,1,3,2,1,2],MIXOPYRIAN:[1,1,3,2,1,2,2],GARIAN:[1,3,2,1,2,2,1],EPATHIAN:[3,2,1,1,3,1,1],MYTHIAN:[2,1,1,3,1,1,3],SOGIAN:[1,1,3,1,1,3,2],GOGIAN:[1,3,1,1,3,2,1],ROTHIAN:[3,1,1,3,2,1,1],KATARIAN:[1,1,3,2,1,1,3],STYLIAN:[1,3,2,1,1,3,1],STATHIAN:[3,2,1,1,1,2,2],MIXONYPHIAN:[2,1,1,1,2,2,3],MAGIAN:[1,1,1,2,2,3,2],DADIAN:[1,1,2,2,3,2,1],AEOLYLIAN:[1,2,2,3,2,1,1],GYCRIAN:[2,2,3,2,1,1,1],PYRIAN:[2,3,2,1,1,1,2],EPOGIAN:[3,1,1,3,1,1,2],LANIAN:[1,1,3,1,1,2,3],PAPTIAN:[1,3,1,1,2,3,1],IONACRIAN:[3,1,1,2,3,1,1],GATHIAN:[1,1,2,3,1,1,3],IONYPHIAN:[1,2,3,1,1,3,1],PHRYNIAN:[2,3,1,1,3,1,1],IONYCRIAN:[3,1,1,2,2,1,2],PHRADIAN:[1,1,2,2,1,2,3],AEOLORIAN:[1,2,2,1,2,3,1],GONIAN:[2,2,1,2,3,1,1],DALIAN:[2,1,2,3,1,1,2],DYGIAN:[1,2,3,1,1,2,2],ZOLIAN:[2,3,1,1,2,2,1],AERATHIAN:[3,1,1,2,1,2,2],SARIAN:[1,1,2,1,2,2,3],ZOPTIAN:[1,2,1,2,2,3,1],AERACRIAN:[2,1,2,2,3,1,1],BYPTIAN:[1,2,2,3,1,1,2],DARIAN:[2,2,3,1,1,2,1],LONIAN:[2,3,1,1,2,1,2],AEOPIAN:[4,2,1,2,1,1,1],RYGIAN:[2,1,2,1,1,1,4],EPYNIAN:[1,2,1,1,1,4,2],IONOGIAN:[2,1,1,1,4,2,1],KYDIAN:[1,1,1,4,2,1,2],GAPTIAN:[1,1,4,2,1,2,1],THARIAN:[1,4,2,1,2,1,1],EPYCRIAN:[4,2,1,1,1,2,1],GOCRIAN:[2,1,1,1,2,1,4],KATOLIAN:[1,1,1,2,1,4,2],THOPTIAN:[1,1,2,1,4,2,1],BAGIAN:[1,2,1,4,2,1,1],KYRIAN:[2,1,4,2,1,1,1],SONIAN:[1,4,2,1,1,1,2],PARIAN:[4,1,3,1,1,1,1],IONAPTIAN:[1,3,1,1,1,1,4],THYLIAN:[3,1,1,1,1,4,1],LOLIAN:[1,1,1,1,4,1,3],THAGIAN:[1,1,1,4,1,3,1],KOLIAN:[1,1,4,1,3,1,1],DYCRIAN:[1,4,1,3,1,1,1],STYGIAN:[4,1,2,1,2,1,1],AEOLYGIAN:[1,2,1,2,1,1,4],AEROGIAN:[2,1,2,1,1,4,1],DACRIAN:[1,2,1,1,4,1,2],BAPTIAN:[2,1,1,4,1,2,1],DAGIAN:[1,1,4,1,2,1,2],AEOLYDIAN:[1,4,1,2,1,2,1],STYTHIAN:[4,1,2,1,1,2,1],KOTHIAN:[1,2,1,1,2,1,4],PYGIAN:[2,1,1,2,1,4,1],RODIAN:[1,1,2,1,4,1,2],SORIAN:[1,2,1,4,1,2,1],MONIAN:[2,1,4,1,2,1,1],THALIAN:[1,4,1,2,1,1,2],ZORIAN:[4,1,2,1,1,1,2],AERAGIAN:[1,2,1,1,1,2,4],EPOTHIAN:[2,1,1,1,2,4,1],SALIAN:[1,1,1,2,4,1,2],LYPTIAN:[1,1,2,4,1,2,1],KATONIAN:[1,2,4,1,2,1,1],GYPHIAN:[2,4,1,2,1,1,1],THACRIAN:[4,1,1,2,2,1,1],DODIAN:[1,1,2,2,1,1,4],AEOLYPTIAN:[1,2,2,1,1,4,1],AEOLONIAN:[2,2,1,1,4,1,1],AERADIAN:[2,1,1,4,1,1,2],AEOLAGIAN:[1,1,4,1,1,2,2],ZYRIAN:[1,4,1,1,2,2,1],AEOLATHIAN:[4,1,1,2,1,2,1],BYTHIAN:[1,1,2,1,2,1,4],PADIAN:[1,2,1,2,1,4,1],ROLIAN:[2,1,2,1,4,1,1],PYDIAN:[1,2,1,4,1,1,2],THYGIAN:[2,1,4,1,1,2,1],KATALIAN:[1,4,1,1,2,1,2],SAPTIAN:[4,1,1,1,2,1,2],AERODIAN:[1,1,1,2,1,2,4],MACRIAN:[1,1,2,1,2,4,1],ROGIAN:[1,2,1,2,4,1,1],BOPTIAN:[2,1,2,4,1,1,1],STOGIAN:[1,2,4,1,1,1,2],THYNIAN:[2,4,1,1,1,2,1],THYCRIAN:[4,1,1,1,1,3,1],AEOLADIAN:[1,1,1,1,3,1,4],DYLIAN:[1,1,1,3,1,4,1],EPONIAN:[1,1,3,1,4,1,1],KATYGIAN:[1,3,1,4,1,1,1],STARIAN:[3,1,4,1,1,1,1],PHRATHIAN:[1,4,1,1,1,1,3],STALIAN:[3,3,1,1,2,1,1],STOPTIAN:[3,1,1,2,1,1,3],ZYGIAN:[1,1,2,1,1,3,3],KATAPTIAN:[1,2,1,1,3,3,1],AEOLAPTIAN:[2,1,1,3,3,1,1],POTHIAN:[1,1,3,3,1,1,2],BYGIAN:[1,3,3,1,1,2,1],MORIAN:[3,2,3,1,1,1,1],RYCRIAN:[2,3,1,1,1,1,3],RONIAN:[3,1,1,1,1,3,2],STYCRIAN:[1,1,1,1,3,2,3],KATORIAN:[1,1,1,3,2,3,1],EPYTHIAN:[1,1,3,2,3,1,1],KAPTIAN:[1,3,2,3,1,1,1],PHRAPTIAN:[3,2,2,2,1,1,1],BACRIAN:[2,2,2,1,1,1,3],KATYTHIAN:[2,2,1,1,1,3,2],MADIAN:[2,1,1,1,3,2,2],AERYGIAN:[1,1,1,3,2,2,2],PYLIAN:[1,1,3,2,2,2,1],IONATHIAN:[1,3,2,2,2,1,1],KATOCRIAN:[3,2,1,3,1,1,1],PHRYPTIAN:[2,1,3,1,1,1,3],KATYNIAN:[1,3,1,1,1,3,2],AERYCRIAN:[3,1,1,1,3,2,1],GANIAN:[1,1,1,3,2,1,3],EPARIAN:[1,1,3,2,1,3,1],LYRIAN:[1,3,2,1,3,1,1],IONOPIAN:[3,2,1,2,1,1,2],AEOLOGIAN:[2,1,2,1,1,2,3],ZADIAN:[1,2,1,1,2,3,2],SYGIAN:[2,1,1,2,3,2,1],PHRALIAN:[1,1,2,3,2,1,2],PHROGIAN:[1,2,3,2,1,2,1],RATHIAN:[2,3,2,1,2,1,1],RYTHIAN:[3,2,1,1,2,1,2],DONIAN:[2,1,1,2,1,2,3],AEOLOPTIAN:[1,1,2,1,2,3,2],PANIAN:[1,2,1,2,3,2,1],LODIAN:[2,1,2,3,2,1,1],SOLIAN:[1,2,3,2,1,1,2],IONOLIAN:[2,3,2,1,1,2,1],LAPTIAN:[3,2,1,1,1,3,1],LYGIAN:[2,1,1,1,3,1,3],LOGIAN:[1,1,1,3,1,3,2],LALIAN:[1,1,3,1,3,2,1],SOTHIAN:[1,3,1,3,2,1,1],PHROCRIAN:[3,1,3,2,1,1,1],THOGIAN:[1,3,2,1,1,1,3],KATATHIAN:[3,1,3,1,2,1,1],MODIAN:[1,3,1,2,1,1,3],BARIAN:[3,1,2,1,1,3,1],MIXOLOCRIAN:[1,2,1,1,3,1,3],SAGIAN:[2,1,1,3,1,3,1],AEOLOTHIAN:[1,1,3,1,3,1,2],SOCRIAN:[1,3,1,3,1,2,1],THOLIAN:[3,1,3,1,1,2,1],RALIAN:[1,3,1,1,2,1,3],SYRIAN:[3,1,1,2,1,3,1],STODIAN:[1,1,2,1,3,1,3],IONOCRIAN:[1,2,1,3,1,3,1],ZYCRIAN:[2,1,3,1,3,1,1],IONYGIAN:[1,3,1,3,1,1,2],ZARIAN:[3,1,3,1,1,1,2],PHRYTHIAN:[1,3,1,1,1,2,3],RORIAN:[3,1,1,1,2,3,1],BOLIAN:[1,1,1,2,3,1,3],BOTHIAN:[1,1,2,3,1,3,1],KATADIAN:[1,2,3,1,3,1,1],KODIAN:[2,3,1,3,1,1,1],RANIAN:[3,1,2,3,1,1,1],LADIAN:[1,2,3,1,1,1,3],PODIAN:[2,3,1,1,1,3,1],IONOTHIAN:[3,1,1,1,3,1,2],KANIAN:[1,1,1,3,1,2,3],ZYLIAN:[1,1,3,1,2,3,1],ZODIAN:[1,3,1,2,3,1,1],GOLIAN:[3,1,2,2,2,1,1],DYPTIAN:[1,2,2,2,1,1,3],RYPHIAN:[2,2,2,1,1,3,1],GYLIAN:[2,2,1,1,3,1,2],AEOLYCRIAN:[2,1,1,3,1,2,2],PYNIAN:[1,1,3,1,2,2,2],ZANIAN:[1,3,1,2,2,2,1],PALIAN:[3,1,2,2,1,2,1],STOTHIAN:[1,2,2,1,2,1,3],AERORIAN:n,KATAGIAN:[2,1,2,1,3,1,2],PHRONIAN:[1,2,1,3,1,2,2],BANIAN:[2,1,3,1,2,2,1],AERONIAN:[1,3,1,2,2,1,2],LOPTIAN:[3,1,2,1,3,1,1],IONODIAN:[1,2,1,3,1,1,3],BOGIAN:[2,1,3,1,1,3,1],MOGIAN:[1,3,1,1,3,1,2],DOCRIAN:[3,1,1,3,1,2,1],EPADIAN:[1,1,3,1,2,1,3],AERYNIAN:[1,3,1,2,1,3,1],BYCRIAN:[3,1,2,1,2,2,1],PATHIAN:[1,2,1,2,2,1,3],MYDIAN:t,THYPTIAN:[1,2,2,1,3,1,2],PHROTHIAN:[2,2,1,3,1,2,1],KATYCRIAN:[2,1,3,1,2,1,2],IONALIAN:[1,3,1,2,1,2,2],DOLIAN:[3,1,1,2,2,2,1],PORIAN:[1,1,2,2,2,1,3],AERYLIAN:h,"NEOPOLITAN MINOR":h,ZAGIAN:[2,2,2,1,3,1,1],LAGIAN:[2,2,1,3,1,1,2],TYRIAN:[2,1,3,1,1,2,2],MIXONORIAN:[1,3,1,1,2,2,2],PAGIAN:[3,1,1,1,2,2,2],AEOLYTHIAN:[1,1,1,2,2,2,3],MOLIAN:[1,1,2,2,2,3,1],STAPTIAN:[1,2,2,2,3,1,1],MOTHIAN:[2,2,2,3,1,1,1],AERANIAN:[2,2,3,1,1,1,2],RAGIAN:[2,3,1,1,1,2,2],LARIAN:[2,2,2,2,1,2,1],LYTHIAN:[2,2,2,1,2,1,2],STYDIAN:u,LORIAN:[2,1,2,1,2,2,2],IONADIAN:[1,2,1,2,2,2,2],BOCRIAN:c,MIXOLYTHIAN:[1,2,2,2,2,1,2],THADIAN:[4,3,1,1,1,1,1],SANIAN:[3,1,1,1,1,1,4],IONYDIAN:[1,1,1,1,1,4,3],EPYDIAN:[1,1,1,1,4,3,1],KATYDIAN:[1,1,1,4,3,1,1],MATHIAN:[1,1,4,3,1,1,1],AERYPTIAN:[1,4,3,1,1,1,1],PYTHIAN:[4,2,2,1,1,1,1],KATYLIAN:[2,2,1,1,1,1,4],BYDIAN:[2,1,1,1,1,4,2],BYNIAN:[1,1,1,1,4,2,2],GALIAN:[1,1,1,4,2,2,1],ZONIAN:[1,1,4,2,2,1,1],MYRIAN:[1,4,2,2,1,1,1],KATOGIAN:[4,2,1,1,2,1,1],STACRIAN:[2,1,1,2,1,1,4],STYRIAN:[1,1,2,1,1,4,2],IONYRIAN:[1,2,1,1,4,2,1],PHRODIAN:[2,1,1,4,2,1,1],PYCRIAN:[1,1,4,2,1,1,2],GYPTIAN:[1,4,2,1,1,2,1],KATACRIAN:[4,1,1,2,1,1,2],SODIAN:[1,1,2,1,1,2,4],BATHIAN:[1,2,1,1,2,4,1],MYLIAN:[2,1,1,2,4,1,1],GODIAN:[1,1,2,4,1,1,2],THORIAN:[1,2,4,1,1,2,1],ZOCRIAN:[2,4,1,1,2,1,1],STANIAN:[4,1,1,1,1,2,2],EPANIAN:[1,1,1,1,2,2,4],KONIAN:[1,1,1,2,2,4,1],STOCRIAN:[1,1,2,2,4,1,1],KALIAN:[1,2,2,4,1,1,1],PHROPTIAN:[2,2,4,1,1,1,1],DYDIAN:[2,4,1,1,1,1,2],KATYPTIAN:[4,1,1,1,1,1,3],EPODIAN:[1,1,1,1,1,3,4],MYGIAN:[1,1,1,1,3,4,1],PACRIAN:[1,1,1,3,4,1,1],AEROCRIAN:[1,1,3,4,1,1,1],AEOLARIAN:[1,3,4,1,1,1,1],KYTHIAN:[3,4,1,1,1,1,1],BONIAN:[3,3,2,1,1,1,1],BADIAN:[3,2,1,1,1,1,3],KATODIAN:[2,1,1,1,1,3,3],SADIAN:[1,1,1,1,3,3,2],DOTHIAN:[1,1,1,3,3,2,1],MOPTIAN:[1,1,3,3,2,1,1],AERYRIAN:[1,3,3,2,1,1,1],EPAGIAN:[3,3,1,2,1,1,1],RAPTIAN:[3,1,2,1,1,1,3],EPOLIAN:[1,2,1,1,1,3,3],SYTHIAN:[2,1,1,1,3,3,1],SYDIAN:[1,1,1,3,3,1,2],EPOCRIAN:[1,1,3,3,1,2,1],KYLIAN:[1,3,3,1,2,1,1],GACRIAN:[3,3,1,1,1,2,1],BORIAN:[3,1,1,1,2,1,3],SYCRIAN:[1,1,1,2,1,3,3],GADIAN:[1,1,2,1,3,3,1],AEOLOCRIAN:[1,2,1,3,3,1,1],MIXODORIAN:[2,1,3,3,1,1,1],DATHIAN:[1,3,3,1,1,1,2],KATOPTIAN:[3,3,1,1,1,1,2],PONIAN:[3,1,1,1,1,2,3],KADIAN:[1,1,1,1,2,3,3],GYNIAN:[1,1,1,2,3,3,1],THYPHIAN:[1,1,2,3,3,1,1],POLIAN:[1,2,3,3,1,1,1],THANIAN:[2,3,3,1,1,1,1],EPACRIAN:[3,2,2,1,1,2,1],SATHIAN:[2,2,1,1,2,1,3],LATHIAN:[2,1,1,2,1,3,2],AERALIAN:[1,1,2,1,3,2,2],KYNIAN:[1,2,1,3,2,2,1],STYNIAN:[2,1,3,2,2,1,1],EPYPHIAN:[1,3,2,2,1,1,2],POGIAN:[3,2,1,2,1,2,1],AERAPTIAN:[2,1,2,1,2,1,3],EPYLIAN:[1,2,1,2,1,3,2],GAMIAN:[2,1,2,1,3,2,1],KATHIAN:[1,2,1,3,2,1,2],LYLIAN:[2,1,3,2,1,2,1],EPALIAN:[1,3,2,1,2,1,2],EPORIAN:[3,2,1,1,2,2,1],RYLIAN:[2,1,1,2,2,1,3],EPAPTIAN:[1,1,2,2,1,3,2],BYRIAN:[1,2,2,1,3,2,1],KATANIAN:[2,2,1,3,2,1,1],KATYRIAN:[2,1,3,2,1,1,2],RYNIAN:[1,3,2,1,1,2,2],KORIAN:[3,1,2,2,1,1,2],LYNIAN:[1,2,2,1,1,2,3],MALIAN:[2,2,1,1,2,3,1],SYNIAN:[2,1,1,2,3,1,2],PHRAGIAN:[1,1,2,3,1,2,2],MANIAN:[1,2,3,1,2,2,1],MARIAN:[2,3,1,2,2,1,1],MYCRIAN:[3,1,2,1,2,1,2],IONORIAN:[1,2,1,2,1,2,3],PHRYDIAN:[2,1,2,1,2,3,1],ZYPTIAN:[1,2,1,2,3,1,2],KATOTHIAN:[2,1,2,3,1,2,1],PHRYLIAN:[1,2,3,1,2,1,2],KOCRIAN:[2,3,1,2,1,2,1],IONANIAN:[3,1,2,1,1,2,2],AEROTHIAN:[1,2,1,1,2,2,3],STAGIAN:[2,1,1,2,2,3,1],LOTHIAN:[1,1,2,2,3,1,2],PHRYCRIAN:[1,2,2,3,1,2,1],KYPTIAN:[2,2,3,1,2,1,1],IONYLIAN:[2,3,1,2,1,1,2],GYDIAN:[4,2,1,1,1,1,2],KOGIAN:[2,1,1,1,1,2,4],RARIAN:[1,1,1,1,2,4,2],AEROLIAN:[1,1,1,2,4,2,1],KARIAN:[1,1,2,4,2,1,1],MYPTIAN:[1,2,4,2,1,1,1],RYDIAN:[2,4,2,1,1,1,1],AEOLYNIAN:[2,2,2,2,2,1,1],AEROPTIAN:[2,2,2,2,1,1,2],PHRYRIAN:[2,2,2,1,1,2,2],GOTHIAN:[2,2,1,1,2,2,2],STORIAN:[2,1,1,2,2,2,2],PYPTIAN:[1,1,2,2,2,2,2],THYDIAN:p,"NEOPOLITAN MAJOR":p,AERYCRYLLIC:I,"DOMINANT BEBOP":I,"BEBOP DOMINANT":I,GADYLLIC:[2,1,2,2,1,1,1,2],SOLYLLIC:[1,2,2,1,1,1,2,2],ZYLYLLIC:[2,2,1,1,1,2,2,1],MIXODYLLIC:[2,1,1,1,2,2,1,2],SORYLLIC:[1,1,1,2,2,1,2,2],GODYLLIC:[1,1,2,2,1,2,2,1],EPIPHYLLIC:[1,2,2,1,2,2,1,1],PYNYLLIC:[4,1,1,1,2,1,1,1],BOCRYLLIC:[1,1,1,2,1,1,1,4],KOGYLLIC:[1,1,2,1,1,1,4,1],RARYLLIC:[1,2,1,1,1,4,1,1],ZYCRYLLIC:[2,1,1,1,4,1,1,1],MYCRYLLIC:[1,1,1,4,1,1,1,2],LAPTYLLIC:[1,1,4,1,1,1,2,1],PYLYLLIC:[1,4,1,1,1,2,1,1],POTHYLLIC:[3,2,1,1,1,2,1,1],PHRONYLLIC:[2,1,1,1,2,1,1,3],STYNYLLIC:[1,1,1,2,1,1,3,2],RATHYLLIC:[1,1,2,1,1,3,2,1],AERYPTYLLIC:[1,2,1,1,3,2,1,1],ZYDYLLIC:[2,1,1,3,2,1,1,1],KATOLYLLIC:[1,1,3,2,1,1,1,2],RYTHYLLIC:[1,3,2,1,1,1,2,1],LOCRYLLIC:[3,1,1,3,1,1,1,1],BYLYLLIC:[1,1,3,1,1,1,1,3],SOGYLLIC:[1,3,1,1,1,1,3,1],IONYCRYLLIC:[3,1,1,1,1,3,1,1],KOPTYLLIC:[1,1,1,1,3,1,1,3],EPYRYLLIC:[1,1,1,3,1,1,3,1],SOPTYLLIC:[1,1,3,1,1,3,1,1],AEOLYLYLLIC:[1,3,1,1,3,1,1,1],AERACRYLLIC:[3,1,1,2,2,1,1,1],EPYGYLLIC:[1,1,2,2,1,1,1,3],THONYLLIC:[1,2,2,1,1,1,3,1],LANYLLIC:[2,2,1,1,1,3,1,1],PHRYNYLLIC:[2,1,1,1,3,1,1,2],LYCRYLLIC:[1,1,1,3,1,1,2,2],IONYPTYLLIC:[1,1,3,1,1,2,2,1],EPATHYLLIC:[1,3,1,1,2,2,1,1],DYDYLLIC:[3,1,1,2,1,2,1,1],THOGYLLIC:[1,1,2,1,2,1,1,3],RYGYLLIC:[1,2,1,2,1,1,3,1],BYCRYLLIC:[2,1,2,1,1,3,1,1],ZACRYLLIC:[1,2,1,1,3,1,1,2],PANYLLIC:[2,1,1,3,1,1,2,1],DYRYLLIC:[1,1,3,1,1,2,1,2],ZATHYLLIC:[1,3,1,1,2,1,2,1],DAGYLLIC:[3,1,1,2,1,1,1,2],KATALYLLIC:[1,1,2,1,1,1,2,3],KATORYLLIC:[1,2,1,1,1,2,3,1],DODYLLIC:[2,1,1,1,2,3,1,1],ZOGYLLIC:[1,1,1,2,3,1,1,2],MADYLLIC:[1,1,2,3,1,1,2,1],DYCRYLLIC:[1,2,3,1,1,2,1,1],AEOLOGYLLIC:[2,3,1,1,2,1,1,1],SYDYLLIC:[3,1,1,1,3,1,1,1],KATOGYLLIC:[1,1,1,3,1,1,1,3],ZYGYLLIC:[1,1,3,1,1,1,3,1],AERALYLLIC:[1,3,1,1,1,3,1,1],BACRYLLIC:[3,1,1,1,2,2,1,1],AERYGYLLIC:[1,1,1,2,2,1,1,3],DATHYLLIC:[1,1,2,2,1,1,3,1],BOPTYLLIC:[1,2,2,1,1,3,1,1],BAGYLLIC:[2,2,1,1,3,1,1,1],MATHYLLIC:[2,1,1,3,1,1,1,2],STYPTYLLIC:[1,1,3,1,1,1,2,2],ZOLYLLIC:[1,3,1,1,1,2,2,1],ROCRYLLIC:[2,2,2,1,2,1,1,1],ZYRYLLIC:[2,2,1,2,1,1,1,2],SAGYLLIC:[2,1,2,1,1,1,2,2],EPINYLLIC:[1,2,1,1,1,2,2,2],KATAGYLLIC:[2,1,1,1,2,2,2,1],RAGYLLIC:[1,1,1,2,2,2,1,2],GOTHYLLIC:[1,1,2,2,2,1,2,1],LYTHYLLIC:[1,2,2,2,1,2,1,1],IONOCRYLLIC:[2,2,2,1,1,1,2,1],GOCRYLLIC:[2,2,1,1,1,2,1,2],EPIRYLLIC:[2,1,1,1,2,1,2,2],AERADYLLIC:[1,1,1,2,1,2,2,2],STAPTYLLIC:[1,1,2,1,2,2,2,1],DANYLLIC:[1,2,1,2,2,2,1,1],GOPTYLLIC:[2,1,2,2,2,1,1,1],EPOCRYLLIC:[1,2,2,2,1,1,1,2],IONOPTYLLIC:b,"MARJOR BEBOP":b,"BEBOP MAJOR":b,AEOLORYLLIC:[2,1,2,1,1,2,1,2],THYDYLLIC:[1,2,1,1,2,1,2,2],GYCRYLLIC:[2,1,1,2,1,2,2,1],LYRYLLIC:[1,1,2,1,2,2,1,2],MOGYLLIC:[1,2,1,2,2,1,2,1],KATODYLLIC:[2,1,2,2,1,2,1,1],MOPTYLLIC:[1,2,2,1,2,1,1,2],DOLYLLIC:[4,1,2,1,1,1,1,1],MORYLLIC:[1,2,1,1,1,1,1,4],BYDYLLIC:[2,1,1,1,1,1,4,1],POCRYLLIC:[1,1,1,1,1,4,1,2],PHRACRYLLIC:[1,1,1,1,4,1,2,1],GYRYLLIC:[1,1,1,4,1,2,1,1],PHRYGYLLIC:[1,1,4,1,2,1,1,1],DOGYLLIC:[1,4,1,2,1,1,1,1],THAGYLLIC:[4,1,1,2,1,1,1,1],THOPTYLLIC:[1,1,2,1,1,1,1,4],PHRAPTYLLIC:[1,2,1,1,1,1,4,1],GYLYLLIC:[2,1,1,1,1,4,1,1],PHRALYLLIC:[1,1,1,1,4,1,1,2],DYGYLLIC:[1,1,1,4,1,1,2,1],RONYLLIC:[1,1,4,1,1,2,1,1],EPOGYLLIC:[1,4,1,1,2,1,1,1],AEOLADYLLIC:[4,1,1,1,1,2,1,1],KOCRYLLIC:[1,1,1,1,2,1,1,4],LODYLLIC:[1,1,1,2,1,1,4,1],BYNYLLIC:[1,1,2,1,1,4,1,1],KYDYLLIC:[1,2,1,1,4,1,1,1],BYGYLLIC:[2,1,1,4,1,1,1,1],PHRYPTYLLIC:[1,1,4,1,1,1,1,2],IONAYLLIC:[1,4,1,1,1,1,2,1],PHRORYLLIC:[4,1,1,1,1,1,2,1],THYPHYLLIC:[1,1,1,1,1,2,1,4],POPTYLLIC:[1,1,1,1,2,1,4,1],MIXONYLLIC:[1,1,1,2,1,4,1,1],PAPTYLLIC:[1,1,2,1,4,1,1,1],STORYLLIC:[1,2,1,4,1,1,1,1],PHRYCRYLLIC:[2,1,4,1,1,1,1,1],PALYLLIC:[1,4,1,1,1,1,1,2],PHRANYLLIC:[3,2,2,1,1,1,1,1],STYDYLLIC:[2,2,1,1,1,1,1,3],ZADYLLIC:[2,1,1,1,1,1,3,2],ZALYLLIC:[1,1,1,1,1,3,2,2],ZOCRYLLIC:[1,1,1,1,3,2,2,1],KATOCRYLLIC:[1,1,1,3,2,2,1,1],AERATHYLLIC:[1,1,3,2,2,1,1,1],STOPTYLLIC:[1,3,2,2,1,1,1,1],LYDYLLIC:[3,2,1,2,1,1,1,1],RADYLLIC:[2,1,2,1,1,1,1,3],STAGYLLIC:[1,2,1,1,1,1,3,2],IONORYLLIC:[2,1,1,1,1,3,2,1],PHRODYLLIC:[1,1,1,1,3,2,1,2],AERAGYLLIC:[1,1,1,3,2,1,2,1],BANYLLIC:[1,1,3,2,1,2,1,1],EPOTHYLLIC:[1,3,2,1,2,1,1,1],ZORYLLIC:[3,2,1,1,2,1,1,1],PHROLYLLIC:[2,1,1,2,1,1,1,3],KOLYLLIC:[1,1,2,1,1,1,3,2],THODYLLIC:[1,2,1,1,1,3,2,1],SOCRYLLIC:[2,1,1,1,3,2,1,1],AEOLYLLIC:[1,1,1,3,2,1,1,2],ZYTHYLLIC:[1,1,3,2,1,1,2,1],AEORYLLIC:[1,3,2,1,1,2,1,1],MIXOLYDYLLIC:[3,2,1,1,1,1,1,2],MIXONYPHYLLIC:[2,1,1,1,1,1,2,3],AEOLANYLLIC:[1,1,1,1,1,2,3,2],THOCRYLLIC:[1,1,1,1,2,3,2,1],KYGYLLIC:[1,1,1,2,3,2,1,1],IONAGYLLIC:[1,1,2,3,2,1,1,1],GOGYLLIC:[1,2,3,2,1,1,1,1],PHRADYLLIC:[2,3,2,1,1,1,1,1],IONIPTYLLIC:[3,1,3,1,1,1,1,1],KYCRYLLIC:[1,3,1,1,1,1,1,3],AEOLAPTYLLIC:[3,1,1,1,1,1,3,1],RODYLLIC:[1,1,1,1,1,3,1,3],IONATHYLLIC:[1,1,1,1,3,1,3,1],PYTHYLLIC:[1,1,1,3,1,3,1,1],ZONYLLIC:[1,1,3,1,3,1,1,1],RYRYLLIC:[1,3,1,3,1,1,1,1],AEOLOTHYLLIC:[3,1,2,2,1,1,1,1],IONYRYLLIC:[1,2,2,1,1,1,1,3],RYDYLLIC:[2,2,1,1,1,1,3,1],GONYLLIC:[2,1,1,1,1,3,1,2],ROLYLLIC:[1,1,1,1,3,1,2,2],KATYDYLLIC:[1,1,1,3,1,2,2,1],ZYPTYLLIC:[1,1,3,1,2,2,1,1],MODYLLIC:[1,3,1,2,2,1,1,1],MAPTYLLIC:[3,1,2,1,2,1,1,1],AERAPTYLLIC:[1,2,1,2,1,1,1,3],KATADYLLIC:[2,1,2,1,1,1,3,1],MAGYLLIC:[1,2,1,1,1,3,1,2],PHRYLYLLIC:[2,1,1,1,3,1,2,1],EPIGYLLIC:[1,1,1,3,1,2,1,2],MOLYLLIC:[1,1,3,1,2,1,2,1],PONYLLIC:[1,3,1,2,1,2,1,1],THYPTYLLIC:[3,1,2,1,1,2,1,1],IONOGYLLIC:[1,2,1,1,2,1,1,3],AEOLARYLLIC:[2,1,1,2,1,1,3,1],KATYGYLLIC:[1,1,2,1,1,3,1,2],GANYLLIC:[1,2,1,1,3,1,2,1],KYPTYLLIC:[2,1,1,3,1,2,1,1],SALYLLIC:[1,1,3,1,2,1,1,2],SANYLLIC:[1,3,1,2,1,1,2,1],DOPTYLLIC:[3,1,2,1,1,1,2,1],IONILYLLIC:[1,2,1,1,1,2,1,3],MANYLLIC:[2,1,1,1,2,1,3,1],POLYLLIC:[1,1,1,2,1,3,1,2],STANYLLIC:[1,1,2,1,3,1,2,1],MIXOTHARYLLIC:[1,2,1,3,1,2,1,1],EPORYLLIC:[2,1,3,1,2,1,1,1],AERYNYLLIC:[1,3,1,2,1,1,1,2],LONYLLIC:[3,1,1,2,1,1,2,1],SATHYLLIC:[1,1,2,1,1,2,1,3],LAYLLIC:[1,2,1,1,2,1,3,1],SARYLLIC:[2,1,1,2,1,3,1,1],THACRYLLIC:[1,1,2,1,3,1,1,2],AEOLYNYLLIC:[1,2,1,3,1,1,2,1],THADYLLIC:[2,1,3,1,1,2,1,1],LYNYLLIC:[1,3,1,1,2,1,1,2],AEOLATHYLLIC:[3,1,1,1,2,1,2,1],AEOLOCRYLLIC:[1,1,1,2,1,2,1,3],PHROPTYLLIC:[1,1,2,1,2,1,3,1],KODYLLIC:[1,2,1,2,1,3,1,1],EPAPTYLLIC:[2,1,2,1,3,1,1,1],IONOYLLIC:[1,2,1,3,1,1,1,2],GYPTYLLIC:[2,1,3,1,1,1,2,1],AERYTHYLLIC:[1,3,1,1,1,2,1,2],ZAGYLLIC:[3,1,1,1,2,1,1,2],EPACRYLLIC:[1,1,1,2,1,1,2,3],THORCRYLLIC:[1,1,2,1,1,2,3,1],LOPTYLLIC:[1,2,1,1,2,3,1,1],KATYLYLLIC:[2,1,1,2,3,1,1,1],MALYLLIC:[1,1,2,3,1,1,1,2],MYDYLLIC:[1,2,3,1,1,1,2,1],THYCRYLLIC:[2,3,1,1,1,2,1,1],GYTHYLLIC:[3,1,1,1,1,2,2,1],PYRYLLIC:[1,1,1,1,2,2,1,3],RYCRYLLIC:[1,1,1,2,2,1,3,1],PHRATHYLLIC:[1,1,2,2,1,3,1,1],BADYLLIC:[1,2,2,1,3,1,1,1],PHROCRYLLIC:[2,2,1,3,1,1,1,1],STARYLLIC:[2,1,3,1,1,1,1,2],ZOTHYLLIC:[1,3,1,1,1,1,2,2],THARYLLIC:[3,1,1,1,1,2,1,2],SYLYLLIC:[1,1,1,1,2,1,2,3],LOTHYLLIC:[1,1,1,2,1,2,3,1],DARYLLIC:[1,1,2,1,2,3,1,1],MONYLLIC:[1,2,1,2,3,1,1,1],STYRYLLIC:[2,1,2,3,1,1,1,1],AEOLACRYLLIC:[1,2,3,1,1,1,1,2],RAPTYLLIC:[2,3,1,1,1,1,2,1],KATARYLLIC:[3,1,1,1,1,1,2,2],AEROCRYLLIC:[1,1,1,1,1,2,2,3],ZANYLLIC:[1,1,1,1,2,2,3,1],AEOLONYLLIC:[1,1,1,2,2,3,1,1],AEONYLLIC:[1,1,2,2,3,1,1,1],KYRYLLIC:[1,2,2,3,1,1,1,1],SYTHYLLIC:[2,2,3,1,1,1,1,1],KATYCRYLLIC:[2,3,1,1,1,1,1,2],STOGYLLIC:[2,2,1,2,1,2,1,1],IONIDYLLIC:[2,1,2,1,2,1,1,2],STONYLLIC:[1,2,1,2,1,1,2,2],STALYLLIC:[2,1,2,1,1,2,2,1],PORYLLIC:[1,2,1,1,2,2,1,2],MOCRYLLIC:[2,1,1,2,2,1,2,1],AEOLYRYLLIC:[1,1,2,2,1,2,1,2],BARYLLIC:[1,2,2,1,2,1,2,1],DALYLLIC:[2,2,1,1,2,1,2,1],IONYPHYLLIC:[2,1,1,2,1,2,1,2],ZAPTYLLIC:[1,1,2,1,2,1,2,2],GARYLLIC:[1,2,1,2,1,2,2,1],GATHYLLIC:[2,1,2,1,2,2,1,1],MIXOPYRYLLIC:[1,2,1,2,2,1,1,2],IONACRYLLIC:A,"BEBOP MINOR":A,"MINOR BEBOP":A,"DORIAN BEBOP":A,"BEBOP DORIAN":A,STYLYLLIC:[1,2,2,1,1,2,1,2],STYCRYLLIC:[4,2,1,1,1,1,1,1],IONOTHYLLIC:[2,1,1,1,1,1,1,4],MYTHYLLIC:[1,1,1,1,1,1,4,2],AERYLYLLIC:[1,1,1,1,1,4,2,1],BONYLLIC:[1,1,1,1,4,2,1,1],THOLYLLIC:[1,1,1,4,2,1,1,1],KATYRYLLIC:[1,1,4,2,1,1,1,1],SADYLLIC:[1,4,2,1,1,1,1,1],STOLYLLIC:[4,1,1,1,1,1,1,2],LOGYLLIC:[1,1,1,1,1,1,2,4],DACRYLLIC:[1,1,1,1,1,2,4,1],THYNYLLIC:[1,1,1,1,2,4,1,1],GYDYLLIC:[1,1,1,2,4,1,1,1],EPARYLLIC:[1,1,2,4,1,1,1,1],DYNYLLIC:[1,2,4,1,1,1,1,1],IONYLLIC:[2,4,1,1,1,1,1,1],ZARYLLIC:[3,3,1,1,1,1,1,1],DYTHYLLIC:[3,1,1,1,1,1,1,3],IONARYLLIC:[1,1,1,1,1,1,3,3],LARYLLIC:[1,1,1,1,1,3,3,1],KATAPTYLLIC:[1,1,1,1,3,3,1,1],SONYLLIC:[1,1,1,3,3,1,1,1],PATHYLLIC:[1,1,3,3,1,1,1,1],LORYLLIC:[1,3,3,1,1,1,1,1],AERONYLLIC:[3,2,1,1,1,1,2,1],PYCRYLLIC:[2,1,1,1,1,2,1,3],MYGYLLIC:[1,1,1,1,2,1,3,2],LYLYLLIC:[1,1,1,2,1,3,2,1],DAPTYLLIC:[1,1,2,1,3,2,1,1],IONINYLLIC:[1,2,1,3,2,1,1,1],EPAPHYLLIC:[2,1,3,2,1,1,1,1],LOLYLLIC:[1,3,2,1,1,1,1,2],STACRYLLIC:[3,1,2,1,1,1,1,2],DORYLLIC:[1,2,1,1,1,1,2,3],KADYLLIC:[2,1,1,1,1,2,3,1],RYNYLLIC:[1,1,1,1,2,3,1,2],AEROGYLLIC:[1,1,1,2,3,1,2,1],ROTHYLLIC:[1,1,2,3,1,2,1,1],KAGYLLIC:[1,2,3,1,2,1,1,1],STATHYLLIC:[2,3,1,2,1,1,1,1],THYRYLLIC:[2,2,2,2,1,1,1,1],GYGYLLIC:[2,2,2,1,1,1,1,2],SODYLLIC:[2,2,1,1,1,1,2,2],GORYLLIC:[2,1,1,1,1,2,2,2],BOTHYLLIC:[1,1,1,1,2,2,2,2],GYNYLLIC:[1,1,1,2,2,2,2,1],IONAPTYLLIC:[1,1,2,2,2,2,1,1],PHRYRYLLIC:[1,2,2,2,2,1,1,1],RACRYLLIC:[2,2,2,1,1,2,1,1],EPICRYLLIC:[2,2,1,1,2,1,1,2],STYGYLLIC:[2,1,1,2,1,1,2,2],SYRYLLIC:[1,1,2,1,1,2,2,2],STYTHYLLIC:[1,2,1,1,2,2,2,1],AEROTHYLLIC:[2,1,1,2,2,2,1,1],MIXORYLLIC:[1,1,2,2,2,1,1,2],THANYLLIC:[1,2,2,2,1,1,2,1],RORYLLIC:[2,2,1,1,2,2,1,1],EPOTYLLIC:[2,1,1,2,2,1,1,2],EPIDYLLIC:[1,1,2,2,1,1,2,2],KAPTYLLIC:[1,2,2,1,1,2,2,1],MAJORDIMIN:[2,1,2,1,2,1,2,1],MINORDIMIN:_,OCTATONIC:_,AERYCRYGIC:[2,2,1,1,1,2,1,1,1],GADYGIC:[2,1,1,1,2,1,1,1,2],SOLYGIC:[1,1,1,2,1,1,1,2,2],ZYLYGIC:[1,1,2,1,1,1,2,2,1],GARYGIC:[1,2,1,1,1,2,2,1,1],SORYGIC:[2,1,1,1,2,2,1,1,1],GODYGIC:[1,1,1,2,2,1,1,1,2],EPITHYGIC:[1,1,2,2,1,1,1,2,1],IONOPTYGIC:[1,2,2,1,1,1,2,1,1],KALYGIC:[3,1,1,2,1,1,1,1,1],IONODYGIC:[1,1,2,1,1,1,1,1,3],BYTHYGIC:[1,2,1,1,1,1,1,3,1],EPYGIC:[2,1,1,1,1,1,3,1,1],MARYGIC:[1,1,1,1,1,3,1,1,2],GAPTYGIC:[1,1,1,1,3,1,1,2,1],AEROPTYGIC:[1,1,1,3,1,1,2,1,1],MYLYGIC:[1,1,3,1,1,2,1,1,1],GALYGIC:[1,3,1,1,2,1,1,1,1],MIXOLYDYGIC:[3,1,1,1,2,1,1,1,1],IONYCRYGIC:[1,1,1,2,1,1,1,1,3],ZOPTYGIC:[1,1,2,1,1,1,1,3,1],PHRYGYGIC:[1,2,1,1,1,1,3,1,1],LOCRYGIC:[2,1,1,1,1,3,1,1,1],GONYGIC:[1,1,1,1,3,1,1,1,2],AERACRYGIC:[1,1,1,3,1,1,1,2,1],AERATHYGIC:[1,1,3,1,1,1,2,1,1],DORYGIC:[1,3,1,1,1,2,1,1,1],DYCRYGIC:[3,1,1,1,1,2,1,1,1],AEOLYGIC:[1,1,1,1,2,1,1,1,3],DYDYGIC:[1,1,1,2,1,1,1,3,1],THOLYGIC:[1,1,2,1,1,1,3,1,1],RYNYGIC:[1,2,1,1,1,3,1,1,1],BYCRYGIC:[2,1,1,1,3,1,1,1,1],ZACRYGIC:[1,1,1,3,1,1,1,1,2],PANYGIC:[1,1,3,1,1,1,1,2,1],DYRYGIC:[1,3,1,1,1,1,2,1,1],LOPTYGIC:[3,1,1,1,1,1,2,1,1],KATYLYGIC:[1,1,1,1,1,2,1,1,3],PHRADYGIC:[1,1,1,1,2,1,1,3,1],MIXODYGIC:[1,1,1,2,1,1,3,1,1],KATALYGIC:[1,1,2,1,1,3,1,1,1],KATORYGIC:[1,2,1,1,3,1,1,1,1],DOGYGIC:[2,1,1,3,1,1,1,1,1],ZODYGIC:[1,1,3,1,1,1,1,1,2],MADYGIC:[1,3,1,1,1,1,1,2,1],BAGYGIC:[2,2,1,2,1,1,1,1,1],MATHYGIC:[2,1,2,1,1,1,1,1,2],STYPTYGIC:[1,2,1,1,1,1,1,2,2],ZOLYGIC:[2,1,1,1,1,1,2,2,1],SYDYGIC:[1,1,1,1,1,2,2,1,2],KATYGIC:[1,1,1,1,2,2,1,2,1],ZYPHYGIC:[1,1,1,2,2,1,2,1,1],AERALYGIC:[1,1,2,2,1,2,1,1,1],RYPTYGIC:[1,2,2,1,2,1,1,1,1],APINYGIC:[2,2,1,1,1,1,1,2,1],KATAGYGIC:[2,1,1,1,1,1,2,1,2],RADYGIC:[1,1,1,1,1,2,1,2,2],GOTHYGIC:[1,1,1,1,2,1,2,2,1],LYTHYGIC:[1,1,1,2,1,2,2,1,1],BACRYGIC:[1,1,2,1,2,2,1,1,1],AERYGIC:[1,2,1,2,2,1,1,1,1],DATHYGIC:[2,1,2,2,1,1,1,1,1],BOPTYGIC:[1,2,2,1,1,1,1,1,2],EPYRYGIC:[2,1,2,1,1,2,1,1,1],AERADYGIC:[1,2,1,1,2,1,1,1,2],STAPTYGIC:[2,1,1,2,1,1,1,2,1],DANYGIC:[1,1,2,1,1,1,2,1,2],GOPTYGIC:[1,2,1,1,1,2,1,2,1],EPOCRYGIC:[2,1,1,1,2,1,2,1,1],ROCRYGIC:[1,1,1,2,1,2,1,1,2],ZYRYGIC:[1,1,2,1,2,1,1,2,1],SADYGIC:[1,2,1,2,1,1,2,1,1],AEOLORYGIC:[2,1,2,1,1,1,2,1,1],THYDYGIC:[1,2,1,1,1,2,1,1,2],GYCRYGIC:[2,1,1,1,2,1,1,2,1],LYRYGIC:[1,1,1,2,1,1,2,1,2],MODYGIC:[1,1,2,1,1,2,1,2,1],KATODYGIC:[1,2,1,1,2,1,2,1,1],MOPTYGIC:[2,1,1,2,1,2,1,1,1],IONOCRYGIC:[1,1,2,1,2,1,1,1,2],GOCRYGIC:[1,2,1,2,1,1,1,2,1],MANYGIC:[4,1,1,1,1,1,1,1,1],POLYGIC:[1,1,1,1,1,1,1,1,4],STANYGIC:[1,1,1,1,1,1,1,4,1],THAPTYGIC:[1,1,1,1,1,1,4,1,1],EPORYGIC:[1,1,1,1,1,4,1,1,1],AERYNYGIC:[1,1,1,1,4,1,1,1,1],THYPTYGIC:[1,1,1,4,1,1,1,1,1],IONOGYGIC:[1,1,4,1,1,1,1,1,1],AEOLARYGIC:[1,4,1,1,1,1,1,1,1],SATHYGIC:[3,2,1,1,1,1,1,1,1],LADYGIC:[2,1,1,1,1,1,1,1,3],SARYGIC:[1,1,1,1,1,1,1,3,2],THACRYGIC:[1,1,1,1,1,1,3,2,1],AEOLYNYGIC:[1,1,1,1,1,3,2,1,1],THADYGIC:[1,1,1,1,3,2,1,1,1],LYNYGIC:[1,1,1,3,2,1,1,1,1],DOPTYGIC:[1,1,3,2,1,1,1,1,1],IONILYGIC:[1,3,2,1,1,1,1,1,1],PHRYGIC:[3,1,2,1,1,1,1,1,1],AERANYGIC:[1,2,1,1,1,1,1,1,3],DOTHYGIC:[2,1,1,1,1,1,1,3,1],LYDYGIC:[1,1,1,1,1,1,3,1,2],STADYGIC:[1,1,1,1,1,3,1,2,1],BYPTYGIC:[1,1,1,1,3,1,2,1,1],STODYGIC:[1,1,1,3,1,2,1,1,1],ZYNYGIC:[1,1,3,1,2,1,1,1,1],LONYGIC:[1,3,1,2,1,1,1,1,1],ZOTHYGIC:[3,1,1,1,1,1,1,2,1],AEOLATHYGIC:[1,1,1,1,1,1,2,1,3],AEOLOCRYGIC:[1,1,1,1,1,2,1,3,1],PHROPTYGIC:[1,1,1,1,2,1,3,1,1],KODYGIC:[1,1,1,2,1,3,1,1,1],EPARYGIC:[1,1,2,1,3,1,1,1,1],IONYGIC:[1,2,1,3,1,1,1,1,1],GYPTYGIC:[2,1,3,1,1,1,1,1,1],AERYTHYGIC:[1,3,1,1,1,1,1,1,2],AEOLACRYGIC:[3,1,1,1,1,1,1,1,2],RAPTYGIC:[1,1,1,1,1,1,1,2,3],GYTHYGIC:[1,1,1,1,1,1,2,3,1],PYRYGIC:[1,1,1,1,1,2,3,1,1],RYCRYGIC:[1,1,1,1,2,3,1,1,1],PHRATHYGIC:[1,1,1,2,3,1,1,1,1],BADYGIC:[1,1,2,3,1,1,1,1,1],PHROCRYGIC:[1,2,3,1,1,1,1,1,1],STARYGIC:[2,3,1,1,1,1,1,1,1],KYRYGIC:[2,2,2,1,1,1,1,1,1],SYTHYGIC:[2,2,1,1,1,1,1,1,2],KATYCRYGIC:[2,1,1,1,1,1,1,2,2],THARYGIC:[1,1,1,1,1,1,2,2,2],SYLYGIC:[1,1,1,1,1,2,2,2,1],LOTHYGIC:[1,1,1,1,2,2,2,1,1],DARYGIC:[1,1,1,2,2,2,1,1,1],MONYGIC:[1,1,2,2,2,1,1,1,1],STYRYGIC:[1,2,2,2,1,1,1,1,1],PORYGIC:[2,2,1,1,2,1,1,1,1],MOCRYGIC:[2,1,1,2,1,1,1,1,2],AEOLYRYGIC:[1,1,2,1,1,1,1,2,2],BARYGIC:[1,2,1,1,1,1,2,2,1],KATARYGIC:[2,1,1,1,1,2,2,1,1],AEROCRYGIC:[1,1,1,1,2,2,1,1,2],ZANYGIC:[1,1,1,2,2,1,1,2,1],AEOLONYGIC:[1,1,2,2,1,1,2,1,1],AEOLANYGIC:[1,2,2,1,1,2,1,1,1],KAPTYGIC:[2,2,1,1,1,1,2,1,1],SACRYGIC:[2,1,1,1,1,2,1,1,2],PADYGIC:[1,1,1,1,2,1,1,2,2],EPILYGIC:[1,1,1,2,1,1,2,2,1],KYNYGIC:[1,1,2,1,1,2,2,1,1],STOPHYGIC:[1,2,1,1,2,2,1,1,1],IONIDYGIC:[2,1,1,2,2,1,1,1,1],STONYGIC:[1,1,2,2,1,1,1,1,2],STALYGIC:[1,2,2,1,1,1,1,2,1],KOPTYGIC:[2,1,2,1,2,1,1,1,1],RAPHYGIC:[1,2,1,2,1,1,1,1,2],ZYCRYGIC:[2,1,2,1,1,1,1,2,1],MYCRYGIC:[1,2,1,1,1,1,2,1,2],LAPTYGIC:[2,1,1,1,1,2,1,2,1],PYLYGIC:[1,1,1,1,2,1,2,1,2],RODYGIC:[1,1,1,2,1,2,1,2,1],EPOLYGIC:[1,1,2,1,2,1,2,1,1],EPIDYGIC:[1,2,1,2,1,2,1,1,1],PHRONYGIC:[2,1,1,2,1,1,2,1,1],STYNYGIC:[1,1,2,1,1,2,1,1,2],ZYDYGIC:[1,2,1,1,2,1,1,2,1],AERYCRYLLIAN:[2,1,1,1,2,1,1,1,1,1],GADYLLIAN:[1,1,1,2,1,1,1,1,1,2],SOLYLLIAN:[1,1,2,1,1,1,1,1,2,1],ZYPHYLLIAN:[1,2,1,1,1,1,1,2,1,1],GARYLLIAN:[2,1,1,1,1,1,2,1,1,1],SORYLLIAN:[1,1,1,1,1,2,1,1,1,2],GODYLLIAN:[1,1,1,1,2,1,1,1,2,1],EPITYLLIAN:[1,1,1,2,1,1,1,2,1,1],IONYLLIAN:[1,1,2,1,1,1,2,1,1,1],AEORYLLIAN:[1,2,1,1,1,2,1,1,1,1],KATORYLLIAN:[3,1,1,1,1,1,1,1,1,1],DODYLLIAN:[1,1,1,1,1,1,1,1,1,3],ZOGYLLIAN:[1,1,1,1,1,1,1,1,3,1],MADYLLIAN:[1,1,1,1,1,1,1,3,1,1],DYCRYLLIAN:[1,1,1,1,1,1,3,1,1,1],AEOGYLLIAN:[1,1,1,1,1,3,1,1,1,1],DYDYLLIAN:[1,1,1,1,3,1,1,1,1,1],THOGYLLIAN:[1,1,1,3,1,1,1,1,1,1],RYGYLLIAN:[1,1,3,1,1,1,1,1,1,1],BATHYLLIAN:[1,3,1,1,1,1,1,1,1,1],SYDYLLIAN:[2,2,1,1,1,1,1,1,1,1],KATOGYLLIAN:[2,1,1,1,1,1,1,1,1,2],MIXODYLLIAN:[1,1,1,1,1,1,1,1,2,2],AERADYLLIAN:[1,1,1,1,1,1,1,2,2,1],RYPTYLLIAN:[1,1,1,1,1,1,2,2,1,1],LOPTYLLIAN:[1,1,1,1,1,2,2,1,1,1],KATAPHYLLIAN:[1,1,1,1,2,2,1,1,1,1],PHRADYLLIAN:[1,1,1,2,2,1,1,1,1,1],DAGYLLIAN:[1,1,2,2,1,1,1,1,1,1],KATYLLIAN:[1,2,2,1,1,1,1,1,1,1],GOTHYLLIAN:[2,1,2,1,1,1,1,1,1,1],LYTHYLLIAN:[1,2,1,1,1,1,1,1,1,2],BACRYLLIAN:[2,1,1,1,1,1,1,1,2,1],AERYGYLLIAN:[1,1,1,1,1,1,1,2,1,2],DATHYLLIAN:[1,1,1,1,1,1,2,1,2,1],BOPTYLLIAN:[1,1,1,1,1,2,1,2,1,1],BAGYLLIAN:[1,1,1,1,2,1,2,1,1,1],MATHYLLIAN:[1,1,1,2,1,2,1,1,1,1],STYPTYLLIAN:[1,1,2,1,2,1,1,1,1,1],ZOLYLLIAN:[1,2,1,2,1,1,1,1,1,1],STAPTYLLIAN:[2,1,1,2,1,1,1,1,1,1],DANYLLIAN:[1,1,2,1,1,1,1,1,1,2],GOPTYLLIAN:[1,2,1,1,1,1,1,1,2,1],EPOCRYLLIAN:[2,1,1,1,1,1,1,2,1,1],ROCRYLLIAN:[1,1,1,1,1,1,2,1,1,2],ZYRYLLIAN:[1,1,1,1,1,2,1,1,2,1],SAGYLLIAN:[1,1,1,1,2,1,1,2,1,1],EPINYLLIAN:[1,1,1,2,1,1,2,1,1,1],KATAGYLLIAN:[1,1,2,1,1,2,1,1,1,1],RAGYLLIAN:[1,2,1,1,2,1,1,1,1,1],THYDYLLIAN:[2,1,1,1,1,2,1,1,1,1],EPIRYLLIAN:[1,1,1,1,2,1,1,1,1,2],LYRYLLIAN:[1,1,1,2,1,1,1,1,2,1],MOGYLLIAN:[1,1,2,1,1,1,1,2,1,1],KATODYLLIAN:[1,2,1,1,1,1,2,1,1,1],AERYCRATIC:[2,1,1,1,1,1,1,1,1,1,1],MONATIC:[1,1,1,1,1,1,1,1,1,1,2],SOLATIC:[1,1,1,1,1,1,1,1,1,2,1],ZYLATIC:[1,1,1,1,1,1,1,1,2,1,1],MIXOLATIC:[1,1,1,1,1,1,1,2,1,1,1],SORATIC:[1,1,1,1,1,1,2,1,1,1,1],GODATIC:[1,1,1,1,1,2,1,1,1,1,1],EPTATIC:[1,1,1,1,2,1,1,1,1,1,1],IONATIC:[1,1,1,2,1,1,1,1,1,1,1],AEOLATIC:[1,1,2,1,1,1,1,1,1,1,1],THYDATIC:[1,2,1,1,1,1,1,1,1,1,1],CHROMATIC:[1,1,1,1,1,1,1,1,1,1,1,1]}},Tu=mq(),pq=()=>{const r=Object.keys(Tu),e=r[Math.floor(Math.random()*r.length)];return Tu[e]},ao=r=>Tu[r.toUpperCase()],pw=r=>r.toUpperCase()in Tu,gq=r=>ao(r).length,_q=()=>{const r=[0,4,7],e=[0,3,7],t=[0,4,7,11],n=[0,4,7,10],a=[0,3,7,10],i=[0,4,8],o=[0,3,6],s=[0,3,6,9],l=[0,3,6,10],p={1:[0],5:[0,7],"+5":[0,4,8],"m+5":[0,3,8],sus2:[0,2,7],sus4:[0,5,7],6:[0,4,7,9],m6:[0,3,7,9],"7sus2":[0,2,7,10],"7sus4":[0,5,7,10],"7-5":[0,4,6,10],"7+5":[0,4,8,10],"m7+5":[0,3,8,10],9:[0,4,7,10,14],m9:[0,3,7,10,14],"m7+9":[0,3,7,10,14],maj9:[0,4,7,11,14],"9sus4":[0,5,7,10,14],"6*9":[0,4,7,9,14],"m6*9":[0,3,7,9,14],"7-9":[0,4,7,10,13],"m7-9":[0,3,7,10,13],"7-10":[0,4,7,10,15],"7-11":[0,4,7,10,16],"7-13":[0,4,7,10,20],"9+5":[0,10,13],"m9+5":[0,10,14],"7+5-9":[0,4,8,10,13],"m7+5-9":[0,3,8,10,13],11:[0,4,7,10,14,17],m11:[0,3,7,10,14,17],maj11:[0,4,7,11,14,17],"11+":[0,4,7,10,14,18],"m11+":[0,3,7,10,14,18],13:[0,4,7,10,14,17,21],m13:[0,3,7,10,14,17,21],add2:[0,2,4,7],add4:[0,4,5,7],add9:[0,4,7,14],add11:[0,4,7,17],add13:[0,4,7,21],madd2:[0,2,3,7],madd4:[0,3,5,7],madd9:[0,3,7,14],madd11:[0,3,7,17],madd13:[0,3,7,21],dim9:[0,3,6,9,14],dim:o,hdim7:l,hdim9:[0,3,6,10,14],hdimb9:[0,3,6,10,13],augMaj7:[0,4,8,11],minmaj7:[0,3,7,11],five:[0,7,12],seven:n,nine:[0,4,10,14],b9:[0,4,10,13],mM9:[0,3,11,14],min7:a,min9:[0,3,10,14],b5:[0,4,6,12],mb5:[0,3,6,12],major:r,maj:r,M:r,minor:e,min:e,m:e,major7:t,dom7:n,7:n,M7:t,m7:a,augmented:i,a:i,aug:i,diminished:o,diminished7:s,dim7:s,halfdim:l,m7b5:l,"m7-5":l},_=Object.keys(p);return[p,_]},[_E,cpe]=_q(),gw=function(){function r(a,i){function o(){this.constructor=a}o.prototype=i.prototype,a.prototype=new o}function e(a,i,o,s){var l=Error.call(this,a);return Object.setPrototypeOf&&Object.setPrototypeOf(l,e.prototype),l.expected=i,l.found=o,l.location=s,l.name="SyntaxError",l}r(e,Error);function t(a,i,o){return o=o||" ",a.length>i?a:(i-=a.length,o+=o.repeat(i),a+o.slice(0,i))}e.prototype.format=function(a){var i="Error: "+this.message;if(this.location){var o=null,s;for(s=0;s(r.api.codeExamples={},{introduction:YB(r),interface:WB(r),interaction:aY(r),code:KB(r),time:oY(),linear:lY(r),cyclic:cY(r),longform:uY(r),synths:CY(r),filters:nq(r),chaining:rY(r),patterns:fY(r),ziffers_basics:SY(r),ziffers_scales:OY(r),ziffers_algorithmic:EY(r),ziffers_rhythm:vY(r),ziffers_tonnetz:yY(r),ziffers_syncing:TY(r),midi:dY(r),osc:hY(r),lfos:bY(r),variables:gY(r),probabilities:_Y(r),functions:mY(r),generators:pY(r),shortcuts:XB(r),amplitude:UB(r),effects:$B(r),sampler:GB(r),mouse:ZB(r),oscilloscope:jB(r),audio_basics:QB(r),synchronisation:JB(),bonus:tY(r),visualization:nY(r),sample_list:HB(r),sample_banks:qB(),loading_samples:FB(r),about:eY()}),b_=r=>{var e,t,n,a,i;if((e=document.getElementById("app"))!=null&&e.classList.contains("hidden"))(t=document.getElementById("app"))==null||t.classList.remove("hidden"),(n=document.getElementById("documentation"))==null||n.classList.add("hidden"),r.exampleIsPlaying=!1;else{let o=function(l){let c=Object.keys(s).map(u=>({type:"output",regex:new RegExp(`<${u}([^>]*)>`,"g"),replace:(h,p)=>`<${u} class="${s[u]}" ${p}>`}));l(c)};(a=document.getElementById("app"))==null||a.classList.add("hidden"),(i=document.getElementById("documentation"))==null||i.classList.remove("hidden");let s=ZR();o(l=>kl(r,l))}},xa=()=>{var r,e,t;(r=document.getElementById("app"))!=null&&r.classList.contains("hidden")&&((e=document.getElementById("app"))==null||e.classList.remove("hidden"),(t=document.getElementById("documentation"))==null||t.classList.add("hidden"))},kl=(r,e)=>{let t="

Loading! Clic to refresh!

";const n=new tw.Converter({emoji:!0,moreStyling:!0,backslashEscapesHTMLTags:!0,extensions:[tq({pre:!0,auto_detection:!1}),...e]});Object.keys(r.docs).length===0&&(r.docs=__(r));function a(i){const o=n.makeHtml(r.docs[r.currentDocumentationPane]);i(o)}a(i=>{let o=i===void 0?t:i;document.getElementById("documentation-content").innerHTML=o}),document.getElementById("documentation-content").innerHTML.replace(/"/g,"'")==t.replace(/"/g,"'")&&setTimeout(()=>{kl(r,e)},100)},rq=r=>{document.addEventListener("keydown",e=>{e.altKey&&(r.fill=!0,r.interface.fill_viewer.classList.remove("invisible"))}),document.addEventListener("keyup",e=>{e.key==="Alt"&&(r.fill=!1,r.interface.fill_viewer.classList.add("invisible"))})},aq=r=>{window.addEventListener("keydown",e=>{if(e.key==="Tab"&&e.preventDefault(),e.ctrlKey&&e.key==="m"){e.preventDefault();let t=document.getElementById("topbar"),n=document.getElementById("sidebar");console.log("oui ok"),r.hidden_interface?(n==null||n.classList.remove("flex"),n==null||n.classList.remove("flex-col"),n==null||n.classList.add("hidden"),t==null||t.classList.add("hidden"),t==null||t.classList.remove("flex")):(n==null||n.classList.remove("hidden"),n==null||n.classList.add("flex"),n==null||n.classList.add("flex-col"),t==null||t.classList.remove("hidden"),t==null||t.classList.add("flex")),r.hidden_interface=!r.hidden_interface}e.ctrlKey&&e.key==="s"&&(e.preventDefault(),r.setButtonHighlighting("stop",!0),r.clock.stop()),e.ctrlKey&&e.key==="p"&&(e.preventDefault(),r.isPlaying?(r.isPlaying=!1,r.setButtonHighlighting("pause",!0),r.clock.pause()):(r.isPlaying=!0,r.setButtonHighlighting("play",!0),r.clock.start())),(e.key==="v"||e.key==="V")&&e.ctrlKey&&e.shiftKey&&(r.settings.vimMode=!r.settings.vimMode,e.preventDefault(),r.userPlugins=r.settings.vimMode?[]:[i_()],r.view.dispatch({effects:r.dynamicPlugins.reconfigure(r.userPlugins)})),(e.key==="Enter"||e.key==="Return")&&e.ctrlKey&&(e.preventDefault(),r.currentFile().candidate=r.view.state.doc.toString(),r.flashBackground("#404040",200)),(e.key==="Enter"&&e.shiftKey||e.key==="e"&&e.ctrlKey)&&(e.preventDefault(),r.currentFile().candidate=r.view.state.doc.toString(),r.flashBackground("#404040",200)),e.key==="Enter"&&e.shiftKey&&e.ctrlKey&&(e.preventDefault(),r.currentFile().candidate=r.view.state.doc.toString(),r.api.onceEvaluator=!0,r.api.forceEvaluator=!0,Ci(r,r.currentFile()),r.flashBackground("#404040",200)),e.ctrlKey&&e.shiftKey&&(e.key==="Backspace"||e.key==="Delete")&&(e.preventDefault(),r.api.clearPatternCache(),r.currentFile().candidate=r.view.state.doc.toString(),r.api.forceEvaluator=!0,Ci(r,r.currentFile()),r.flashBackground("#404040",200)),e.ctrlKey&&e.key==="b"&&(e.preventDefault(),xa(),r.updateKnownUniversesView(),vu()),e.shiftKey&&e.key==="Escape"&&MB(),e.ctrlKey&&e.key==="l"&&(e.preventDefault(),r.changeModeFromInterface("local"),xa(),r.view.focus()),e.ctrlKey&&e.key==="n"&&(e.preventDefault(),r.changeModeFromInterface("notes"),xa(),r.view.focus()),e.ctrlKey&&e.key==="g"&&(e.preventDefault(),r.changeModeFromInterface("global"),xa(),r.view.focus()),e.ctrlKey&&e.key==="i"&&(e.preventDefault(),r.changeModeFromInterface("init"),xa(),r.changeToLocalBuffer(0),r.view.focus()),e.ctrlKey&&e.key==="d"&&(e.preventDefault(),b_(r)),[112,113,114,115,116,117,118,119,120].forEach((t,n)=>{e.keyCode===t&&(e.preventDefault(),e.ctrlKey?r.api.script(t-111):(r.changeModeFromInterface("local"),r.changeToLocalBuffer(n),xa()))}),e.keyCode==121&&(e.preventDefault(),r.changeModeFromInterface("global"),xa()),e.keyCode==122&&(e.preventDefault(),r.changeModeFromInterface("init"),xa())})},mE=(r,e)=>String(r).padStart(e,"0");class iq extends AudioWorkletNode{constructor(t,n,a){super(t,"transport",n);T(this,"handleMessage",t=>{if(t.data&&t.data.type==="bang"&&this.app.clock.running){this.app.settings.send_clock&&this.app.api.MidiConnection.sendMidiClock();const n=this.app.clock.convertTicksToTimeposition(this.app.clock.tick);this.app.clock.time_position=n,this.timeviewer.innerHTML=`${mE(n.bar,2)}:${n.beat+1}:${mE(n.pulse,2)} / ${this.app.clock.bpm}`,this.app.exampleIsPlaying?Ci(this.app,this.app.example_buffer):Ci(this.app,this.app.global_buffer),this.app.clock.incrementTick(t.data.bpm)}});this.app=a,this.port.addEventListener("message",this.handleMessage),this.port.start(),this.timeviewer=document.getElementById("timeviewer")}start(){this.port.postMessage({type:"start"})}pause(){this.port.postMessage({type:"pause"})}resume(){this.port.postMessage({type:"resume"})}setBPM(t){this.port.postMessage({type:"bpm",value:t})}setPPQN(t){this.port.postMessage({type:"ppqn",value:t})}setNudge(t){this.port.postMessage({type:"nudge",value:t})}stop(){this.port.postMessage({type:"stop"})}}const oq="/assets/TransportProcessor-d5d50b30.js";class sq{constructor(e,t){T(this,"ctx");T(this,"logicalTime");T(this,"transportNode");T(this,"_bpm");T(this,"time_signature");T(this,"time_position");T(this,"_ppqn");T(this,"tick");T(this,"running");T(this,"lastPauseTime");T(this,"lastPlayPressTime");T(this,"totalPauseTime");this.app=e,this.time_position={bar:0,beat:0,pulse:0},this.time_signature=[4,4],this.logicalTime=0,this.tick=0,this._bpm=120,this._ppqn=48,this.transportNode=null,this.ctx=t,this.running=!0,this.lastPauseTime=0,this.lastPlayPressTime=0,this.totalPauseTime=0,t.audioWorklet.addModule(oq).then(n=>(this.transportNode=new iq(t,{},this.app),this.transportNode.connect(t.destination),n)).catch(n=>{console.log("Error loading TransportProcessor.js:",n)})}convertTicksToTimeposition(e){const t=this.app.clock.time_signature[0],n=e%this.app.clock.ppqn,a=Math.floor(e/this.app.clock.ppqn),i=Math.floor(a/t),o=Math.floor(a%t);return{bar:i,beat:o,pulse:n}}get ticks_before_new_bar(){const e=this.ppqn-this.time_position.pulse;return(this.beats_per_bar-this.time_position.beat)*this.ppqn+e}get next_beat_in_ticks(){return this.app.clock.pulses_since_origin+this.time_position.pulse}get beats_per_bar(){return this.time_signature[0]}get beats_since_origin(){return Math.floor(this.tick/this.ppqn)}get pulses_since_origin(){return this.tick}get pulse_duration(){return 60/this.bpm/this.ppqn}pulse_duration_at_bpm(e=this.bpm){return 60/e/this.ppqn}get bpm(){return this._bpm}set nudge(e){var t;(t=this.transportNode)==null||t.setNudge(e)}set bpm(e){var t;e>0&&this._bpm!==e&&((t=this.transportNode)==null||t.setBPM(e),this._bpm=e,this.logicalTime=this.realTime)}get ppqn(){return this._ppqn}get realTime(){return this.app.audioContext.currentTime-this.totalPauseTime}get deviation(){return Math.abs(this.logicalTime-this.realTime)}set ppqn(e){var t;e>0&&this._ppqn!==e&&(this._ppqn=e,(t=this.transportNode)==null||t.setPPQN(e),this.logicalTime=this.realTime)}incrementTick(e){this.tick++,this.logicalTime+=this.pulse_duration_at_bpm(e)}nextTickFrom(e,t){const n=this.pulse_duration,a=e+t;return Math.ceil(a/n)*n-a}convertPulseToSecond(e){return e*this.pulse_duration}start(){var e;this.app.audioContext.resume(),this.running=!0,this.app.api.MidiConnection.sendStartMessage(),this.lastPlayPressTime=this.app.audioContext.currentTime,this.totalPauseTime+=this.lastPlayPressTime-this.lastPauseTime,(e=this.transportNode)==null||e.start()}pause(){var e;this.running=!1,(e=this.transportNode)==null||e.pause(),this.app.api.MidiConnection.sendStopMessage(),this.lastPauseTime=this.app.audioContext.currentTime,this.logicalTime=this.realTime}stop(){var e;this.running=!1,this.tick=0,this.lastPauseTime=this.app.audioContext.currentTime,this.logicalTime=this.realTime,this.time_position={bar:0,beat:0,pulse:0},this.app.api.MidiConnection.sendStopMessage(),(e=this.transportNode)==null||e.stop()}}const Wg=(r="")=>{let e=0,t=0,n=0,a=0;function i(){const o=(e^e<<11)>>>0;return e=t,t=n,n=a,a^=(a>>>19^o^o>>>8)>>>0,(a>>>0)/4294967296}for(let o=0;oArray.isArray(r)?r.map(e=>ta(e)):r&&typeof r=="object"?Object.getOwnPropertyNames(r).reduce((e,t)=>(Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t)),e[t]=ta(r[t]),e),Object.create(Object.getPrototypeOf(r))):r,pw=r=>{try{return new Function(`"use strict";return (${r})`)()}catch(e){throw new Error(`Error in eval: ${e}`)}},Vl=(r,e)=>r===0||e===0?0:(r%e+e)%e;function lq(r,e,t={}){return r===void 0?{}:Object.fromEntries(Object.entries(r).filter(([n])=>e.includes(n)).map(([n,a])=>[t[n]||n,a]))}const cq={"+":(r,e)=>r+e,"-":(r,e)=>r-e,"*":(r,e)=>r*e,"/":(r,e)=>r/e,"%":(r,e)=>Vl(r,e),"^":(r,e)=>r**e,"<<":(r,e)=>r<>":(r,e)=>r>>e,"&":(r,e)=>r&e,"|":(r,e)=>r|e},S_=.25,pE={octave:0,key:"C4",scale:"MAJOR",measure:0,degrees:!1},uq={"m..":14,"m.":12,m:8,"l..":7,"l.":6,l:4,"d..":7/2,"d.":3,n:8/3,d:2,"w..":7/4,"w.":3/2,k:4/3,w:1,"h..":7/8,"h.":3/4,c:2/3,h:1/2,p:1/3,"q..":7/16,"q.":3/8,q:.25,"e..":7/32,"e.":3/16,g:1/6,e:1/8,"s..":7/64,a:1/12,"s.":3/32,s:1/16,"t..":7/128,"t.":3/64,f:1/24,t:1/32,"u..":7/256,"u.":3/128,x:1/48,u:1/64,"o..":7/512,y:1/96,"o.":3/256,o:1/128,j:1/192,z:0},dq={C:0,Cs:1,D:2,Eb:3,E:4,F:5,Fs:6,G:7,Ab:8,A:9,Bb:10,B:11},hq={0:"C",1:"Cs",2:"D",3:"Eb",4:"E",5:"F",6:"Fs",7:"G",8:"Ab",9:"A",10:"Bb",11:"B"},gE=["Gb","Cs","Ab","Eb","Bb","F","C","G","D","A","E","B","Fs"],fq={"#":1,b:-1,s:1},mq={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},pq=()=>{const r=[2,1,2,2,1,2,2],e=[2,2,1,2,2,2,1],t=[2,1,2,2,1,3,1],n=[2,2,1,2,1,3,1],a=[3,2,2,3,2],i=[2,3,2,3,2],o=[2,2,2,2,2,2],s=[2,1,1,3,2,3],l=[3,2,1,1,3,2],c=[2,1,2,2,2,2,1],u=[2,2,1,2,1,2,2],h=[1,2,2,2,1,3,1],p=[1,2,2,2,2,2,1],_=[1,2,1,2,1,2,1,2],b=[2,2,1,2,1,1,2,1],A=[2,1,2,2,1,1,2,1],I=[2,2,1,2,2,1,1,1];return{MAJOR:e,MINOR:r,"HARMONIC MINOR":t,"HARMONIC MAJOR":n,"MINOR PENTATONIC":a,"SUSPENDED PENTATONIC":i,"BLUES MAJOR":s,"BLUES MINOR":l,WHOLE:o,"MELODIC MINOR":c,"MELODIC MAJOR":u,MINORIC:[4,4,4],THAPTIC:[4,3,4,1],LOTHIC:[3,4,1,4],PHRATIC:[4,1,4,3],AERATHIC:[1,4,3,4],EPATHIC:[4,3,2,3],MYNIC:[3,2,3,4],ROTHIC:[2,3,4,3],EPORIC:[3,4,3,2],ZYPHIC:[4,4,3,1],EPOGIC:[4,3,1,4],LANIC:[3,1,4,4],PYRRIC:[1,4,4,3],AEOLORIC:[4,4,1,3],GONIC:[4,1,3,4],DALIC:[1,3,4,4],DYGIC:[3,4,4,1],DARIC:[4,3,3,2],LONIC:[3,3,2,4],PHRADIC:[3,2,4,3],BOLIC:[2,4,3,3],SARIC:[4,2,3,3],ZOPTIC:[2,3,3,4],AERAPHIC:[3,3,4,2],BYPTIC:[3,4,2,3],AEOLIC:[4,4,2,2],KOPTIC:[4,2,2,4],MIXOLYRIC:[2,2,4,4],LYDIC:[2,4,4,2],STATHIC:[4,2,4,2],DADIC:[2,4,2,4],PHRYNIC:[3,3,3,3],EPATHITONIC:[3,2,3,2,2],MYNITONIC:[2,3,2,2,3],ROCRITONIC:a,PENTATONIC:[2,2,3,2,3],THAPTITONIC:i,MAGITONIC:[4,3,2,2,1],DADITONIC:[3,2,2,1,4],AEOLYPHRITONIC:[2,2,1,4,3],GYCRITONIC:[2,1,4,3,2],PYRITONIC:[1,4,3,2,2],GATHITONIC:[4,2,3,2,1],IONITONIC:[2,3,2,1,4],PHRYNITONIC:[3,2,1,4,2],STATHITONIC:[2,1,4,2,3],THALITONIC:[1,4,2,3,2],ZOLITONIC:[4,2,1,4,1],EPOGITONIC:[2,1,4,1,4],LANITONIC:[1,4,1,4,2],PAPTITONIC:[4,1,4,2,1],IONACRITONIC:[1,4,2,1,4],PHRADITONIC:[4,1,4,1,2],AEOLORITONIC:[1,4,1,2,4],GONITONIC:[4,1,2,4,1],DALITONIC:[1,2,4,1,4],DYGITONIC:[2,4,1,4,1],AERACRITONIC:[4,1,2,3,2],BYPTITONIC:[1,2,3,2,4],DARITONIC:[2,3,2,4,1],LONITONIC:[3,2,4,1,2],IONYCRITONIC:[2,4,1,2,3],LOTHITONIC:[4,1,2,2,3],PHRATONIC:[1,2,2,3,4],AERATHITONIC:[2,2,3,4,1],SARITONIC:[2,3,4,1,2],ZOPTITONIC:[3,4,1,2,2],DOLITONIC:[4,4,1,2,1],PORITONIC:[4,1,2,1,4],AERYLITONIC:[1,2,1,4,4],ZAGITONIC:[2,1,4,4,1],LAGITONIC:[1,4,4,1,2],MOLITONIC:[4,3,3,1,1],STAPTITONIC:[3,3,1,1,4],MOTHITONIC:[3,1,1,4,3],AERITONIC:[1,1,4,3,3],RAGITONIC:[1,4,3,3,1],IONADITONIC:[4,3,2,1,2],BOCRITONIC:[3,2,1,2,4],GYTHITONIC:[2,1,2,4,3],PAGITONIC:[1,2,4,3,2],AEOLYTHITONIC:[2,4,3,2,1],ZACRITONIC:[4,3,1,3,1],LARITONIC:[3,1,3,1,4],THACRITONIC:[1,3,1,4,3],STYDITONIC:[3,1,4,3,1],LORITONIC:[1,4,3,1,3],AEOLYRITONIC:[4,3,1,1,3],GORITONIC:[3,1,1,3,4],AEOLODITONIC:[1,1,3,4,3],DOPTITONIC:[1,3,4,3,1],AERAPHITONIC:[3,4,3,1,1],ZATHITONIC:[4,2,4,1,1],RADITONIC:[2,4,1,1,4],STONITONIC:[4,1,1,4,2],SYPTITONIC:[1,1,4,2,4],IONYTHITONIC:[1,4,2,4,1],AEOLANITONIC:[4,2,2,3,1],DANITONIC:[2,2,3,1,4],IONARITONIC:[2,3,1,4,2],DYNITONIC:[3,1,4,2,2],ZYDITONIC:[1,4,2,2,3],AEOLACRITONIC:[4,2,1,2,3],ZYTHITONIC:[2,1,2,3,4],DYRITONIC:[1,2,3,4,2],KOPTITONIC:[2,3,4,2,1],THOCRITONIC:[3,4,2,1,2],LYCRITONIC:[4,1,3,3,1],DAPTITONIC:[1,3,3,1,4],KYGITONIC:[3,3,1,4,1],MOCRITONIC:[3,1,4,1,3],ZYNITONIC:[1,4,1,3,3],EPYGITONIC:[4,1,3,2,2],ZAPTITONIC:[1,3,2,2,4],KAGITONIC:[3,2,2,4,1],ZOGITONIC:[2,2,4,1,3],EPYRITONIC:[2,4,1,3,2],ZOTHITONIC:[4,1,3,1,3],PHROLITONIC:[1,3,1,3,4],IONAGITONIC:[3,1,3,4,1],AEOLAPRITONIC:[1,3,4,1,3],KYRITONIC:[3,4,1,3,1],IONYPTITONIC:[4,1,1,3,3],GYRITONIC:[1,1,3,3,4],ZALITONIC:[1,3,3,4,1],STOLITONIC:[3,3,4,1,1],BYLITONIC:[3,4,1,1,3],THODITONIC:[3,3,2,3,1],DOGITONIC:[3,2,3,1,3],PHRALITONIC:[2,3,1,3,3],GARITONIC:[3,1,3,3,2],SOPTITONIC:[1,3,3,2,3],KATARITONIC:[3,3,2,2,2],SYLITONIC:[3,2,2,2,3],THONITONIC:[2,2,2,3,3],PHROPITONIC:[2,2,3,3,2],STADITONIC:[2,3,3,2,2],LYDITONIC:[3,3,1,3,2],MYTHITONIC:[3,1,3,2,3],SOGITONIC:[1,3,2,3,3],GOTHITONIC:[3,2,3,3,1],ROTHITONIC:[2,3,3,1,3],ZYLITONIC:[4,4,2,1,1],ZODITONIC:[4,2,1,1,4],ZARITONIC:[2,1,1,4,4],PHRYTHITONIC:[1,1,4,4,2],ROLITONIC:[1,4,4,2,1],RANITONIC:[4,4,1,1,2],LADITONIC:[4,1,1,2,4],PODITONIC:[1,1,2,4,4],IONOTHITONIC:[1,2,4,4,1],KANITONIC:[2,4,4,1,1],RYPHITONIC:[4,3,1,2,2],GYLITONIC:[3,1,2,2,4],AEOLYCRITONIC:[1,2,2,4,3],PYNITONIC:[2,2,4,3,1],ZANITONIC:[2,4,3,1,2],PHRONITONIC:[4,2,3,1,2],BANITONIC:[2,3,1,2,4],AERONITONIC:[3,1,2,4,2],GOLITONIC:[1,2,4,2,3],DYPTITONIC:[2,4,2,3,1],AERYNITONIC:[4,2,2,1,3],PALITONIC:[2,2,1,3,4],STOTHITONIC:[2,1,3,4,2],AEROPHITONIC:[1,3,4,2,2],KATAGITONIC:[3,4,2,2,1],IONODITONIC:[4,2,1,3,2],BOGITONIC:[2,1,3,2,4],MOGITONIC:[1,3,2,4,2],DOCRITONIC:[3,2,4,2,1],EPADITONIC:[2,4,2,1,3],MIXITONIC:[3,3,3,2,1],PHROTHITONIC:[3,3,2,1,3],KATYCRITONIC:[3,2,1,3,3],IONALITONIC:[2,1,3,3,3],LOPTITONIC:[1,3,3,3,2],THYRITONIC:[3,3,3,1,2],THOPTITONIC:[3,3,1,2,3],BYCRITONIC:[3,1,2,3,3],PATHITONIC:[1,2,3,3,3],MYDITONIC:[2,3,3,3,1],BOLITONIC:[4,2,2,2,2],BOTHITONIC:[2,2,2,2,4],KATADITONIC:[2,2,2,4,2],KODITONIC:[2,2,4,2,2],THOLITONIC:[2,4,2,2,2],EPATHIMIC:[3,2,2,1,2,2],MYNIMIC:[2,2,1,2,2,3],ROCRIMIC:[2,1,2,2,3,2],EPORIMIC:[1,2,2,3,2,2],THAPTIMIC:[2,2,3,2,2,1],LOTHIMIC:[2,3,2,2,1,2],DYRIMIC:[4,2,1,2,2,1],KOPTIMIC:[2,1,2,2,1,4],THOCRIMIC:[1,2,2,1,4,2],AEOLANIMIC:[2,2,1,4,2,1],DANIMIC:[2,1,4,2,1,2],IONARIMIC:[1,4,2,1,2,2],DAPTIMIC:[4,1,4,1,1,1],KYGIMIC:[1,4,1,1,1,4],MOCRIMIC:[4,1,1,1,4,1],ZYNIMIC:[1,1,1,4,1,4],AEOLIMIC:[1,1,4,1,4,1],ZYTHIMIC:[1,4,1,4,1,1],EPYGIMIC:[4,1,2,3,1,1],ZAPTIMIC:[1,2,3,1,1,4],KAGIMIC:[2,3,1,1,4,1],ZOGIMIC:[3,1,1,4,1,2],EPYRIMIC:[1,1,4,1,2,3],LYCRIMIC:[1,4,1,2,3,1],BYLIMIC:[4,1,2,2,2,1],ZOTHIMIC:[1,2,2,2,1,4],PHROLIMIC:[2,2,2,1,4,1],IONAGIMIC:[2,2,1,4,1,2],AEOLAPHIMIC:[2,1,4,1,2,2],KYCRIMIC:[1,4,1,2,2,2],GARIMIC:[4,1,2,2,1,2],SOPTIMIC:[1,2,2,1,2,4],IONYPTIMIC:[2,2,1,2,4,1],GYRIMIC:[2,1,2,4,1,2],ZALIMIC:[1,2,4,1,2,2],STOLIMIC:[2,4,1,2,2,1],THONIMIC:[4,1,1,4,1,1],STADIMIC:[1,1,4,1,1,4],THODIMIC:[1,4,1,1,4,1],MYTHIMIC:[4,1,1,3,2,1],SOGIMIC:[1,1,3,2,1,4],GOGIMIC:[1,3,2,1,4,1],ROTHIMIC:[3,2,1,4,1,1],KATARIMIC:[2,1,4,1,1,3],SYLIMIC:[1,4,1,1,3,2],MIXOLIMIC:[3,2,3,2,1,1],DADIMIC:[2,3,2,1,1,3],AEOLYPHIMIC:[3,2,1,1,3,2],GYCRIMIC:s,PYRIMIC:[1,1,3,2,3,2],LYDIMIC:[1,3,2,3,2,1],IONACRIMIC:[3,2,3,1,1,2],GATHIMIC:[2,3,1,1,2,3],IONYNIMIC:[3,1,1,2,3,2],PHRYNIMIC:[1,1,2,3,2,3],STATHIMIC:[1,2,3,2,3,1],THATIMIC:[2,3,2,3,1,1],DALIMIC:[3,2,2,3,1,1],DYGIMIC:[2,2,3,1,1,3],ZOLIMIC:[2,3,1,1,3,2],EPOGIMIC:[3,1,1,3,2,2],LANIMIC:[1,1,3,2,2,3],PAPTIMIC:[1,3,2,2,3,1],DARMIC:[3,2,2,2,1,2],LONIMIC:[2,2,2,1,2,3],IONYCRIMIC:[2,2,1,2,3,2],PHRADIMIC:[2,1,2,3,2,2],AEOLORIMIC:[1,2,3,2,2,2],GONIMIC:[2,3,2,2,2,1],PHRACRIMIC:[3,2,1,2,2,2],AERATHIMIC:[2,1,2,2,2,3],SARIMIC:[1,2,2,2,3,2],ZOPTIMIC:[2,2,2,3,2,1],ZERACRIMIC:[2,2,3,2,1,2],BYPTIMIC:[2,3,2,1,2,2],STARIMIC:[4,3,2,1,1,1],PHRATHIMIC:[3,2,1,1,1,4],SAPTIMIC:[2,1,1,1,4,3],AERODIMIC:[1,1,1,4,3,2],MACRIMIC:[1,1,4,3,2,1],ROGIMIC:[1,4,3,2,1,1],BYGIMIC:[4,3,1,1,2,1],THYCRIMIC:[3,1,1,2,1,4],AEOLADIMIC:[1,1,2,1,4,3],DYLIMIC:[1,2,1,4,3,1],EPONIMIC:[2,1,4,3,1,1],KATYGIMIC:[1,4,3,1,1,2],STALIMIC:[4,2,3,1,1,1],STOPTIMIC:[2,3,1,1,1,4],ZYGIMIC:[3,1,1,1,4,2],KATAPTIMIC:[1,1,1,4,2,3],AEOLAPTIMIC:[1,1,4,2,3,1],POTHIMIC:[1,4,2,3,1,1],RYCRIMIC:[4,2,2,1,2,1],RONIMIC:[2,2,1,2,1,4],STYCRIMIC:[2,1,2,1,4,2],KATORIMIC:[1,2,1,4,2,2],EPYTHIMIC:[2,1,4,2,2,1],KAPTIMIC:[1,4,2,2,1,2],KATYTHIMIC:[4,2,1,3,1,1],MADIMIC:[2,1,3,1,1,4],AERYGIMIC:[1,3,1,1,4,2],PYLIMIC:[3,1,1,4,2,1],IONATHIMIC:[1,1,4,2,1,3],MORIMIC:[1,4,2,1,3,1],AERYCRIMIC:[4,2,1,1,3,1],GANIMIC:[2,1,1,3,1,4],EPARIMIC:[1,1,3,1,4,2],LYRIMIC:[1,3,1,4,2,1],PHRAPTIMIC:[3,1,4,2,1,1],BACRIMIC:[1,4,2,1,1,3],PHRALIMIC:[4,1,3,2,1,1],PHROGIMIC:[1,3,2,1,1,4],RATHIMIC:[3,2,1,1,4,1],KATOCRIMIC:[2,1,1,4,1,3],PHRYPTIMIC:[1,1,4,1,3,2],KATYNIMIC:[1,4,1,3,2,1],SOLIMIC:[4,1,3,1,2,1],IONOLIMIC:[1,3,1,2,1,4],IONOPHIMIC:[3,1,2,1,4,1],AEOLOGIMIC:[1,2,1,4,1,3],ZADIMIC:[2,1,4,1,3,1],SYGIMIC:[1,4,1,3,1,2],THOGIMIC:[4,1,3,1,1,2],RYTHIMIC:[1,3,1,1,2,4],DONIMIC:[3,1,1,2,4,1],AEOLOPTIMIC:[1,1,2,4,1,3],PANIMIC:[1,2,4,1,3,1],LODIMIC:[2,4,1,3,1,1],LAPTIMIC:[4,1,2,1,3,1],LYGIMIC:[1,2,1,3,1,4],LOGIMIC:[2,1,3,1,4,1],LALIMIC:[1,3,1,4,1,2],SOTHIMIC:[3,1,4,1,2,1],PHROCRIMIC:[1,4,1,2,1,3],MODIMIC:[4,1,2,1,2,2],BARIMIC:[1,2,1,2,2,4],POPTIMIC:[2,1,2,2,4,1],SAGIMIC:[1,2,2,4,1,2],AELOTHIMIC:l,SOCRIMIC:[2,4,1,2,1,2],SYRIMIC:[4,1,2,1,1,3],STODIMIC:[1,2,1,1,3,4],IONOCRIMIC:[2,1,1,3,4,1],ZYCRIMIC:[1,1,3,4,1,2],IONYGIMIC:[1,3,4,1,2,1],KATATHIMIC:[3,4,1,2,1,1],BOLIMIC:[4,1,1,3,1,2],BOTHIMIC:[1,1,3,1,2,4],KATADIMIC:[1,3,1,2,4,1],KODIMIC:[3,1,2,4,1,1],THOLIMIC:[1,2,4,1,1,3],RALIMIC:[2,4,1,1,3,1],KANIMIC:[4,1,1,2,3,1],ZYLIMIC:[1,1,2,3,1,4],ZODIMIC:[1,2,3,1,4,1],ZARIMIC:[2,3,1,4,1,1],PHRYTHIMIC:[3,1,4,1,1,2],RORIMIC:[1,4,1,1,2,3],PYNIMIC:[4,1,1,1,3,2],ZANIMIC:[1,1,1,3,2,4],RANIMIC:[1,1,3,2,4,1],LADIMIC:[1,3,2,4,1,1],PODIMIC:[3,2,4,1,1,1],IONOTHIMIC:[2,4,1,1,1,3],KYTRIMIC:[4,1,1,1,2,3],GOLIMIC:[1,1,1,2,3,4],DYPTIMIC:[1,1,2,3,4,1],RYRIMIC:[1,2,3,4,1,1],GYLIMIC:[2,3,4,1,1,1],AEOLYCRIMIC:[3,4,1,1,1,2],PALIMIC:[3,3,2,2,1,1],STOTHIMIC:[3,2,2,1,1,3],AERONIMIC:[2,2,1,1,3,3],KATAGIMIC:[2,1,1,3,3,2],PHRONIMIC:[1,1,3,3,2,2],BANIMIC:[1,3,3,2,2,1],IONODIMIC:[3,3,1,3,1,1],BOGIMIC:[3,1,3,1,1,3],MOGIMIC:[1,3,1,1,3,3],DOCRIMIC:[3,1,1,3,3,1],EPADIMIC:[1,1,3,3,1,3],AERYNIMIC:[1,3,3,1,3,1],MYDIMIC:[3,3,1,1,3,1],THYPTIMIC:[3,1,1,3,1,3],PHROTHIMIC:[1,1,3,1,3,3],KATYCRIMIC:[1,3,1,3,3,1],IONALIMIC:[3,1,3,3,1,1],LOPTIMIC:[1,3,3,1,1,3],ZAGIMIC:[3,3,1,1,2,2],LAGIMIC:[3,1,1,2,2,3],THYRIMIC:[1,1,2,2,3,3],THOTHIMIC:[1,2,2,3,3,1],BYCRIMIC:[2,2,3,3,1,1],PATHIMIC:[2,3,3,1,1,2],MOTHIMIC:[3,2,2,1,3,1],AERANIMIC:[2,2,1,3,1,3],RAGIMIC:[2,1,3,1,3,2],DOLIMIC:[1,3,1,3,2,2],PORIMIC:[3,1,3,2,2,1],AERYLIMIC:[1,3,2,2,1,3],BOCRIMIC:[3,2,1,3,1,2],GYTHIMIC:[2,1,3,1,2,3],PAGIMIC:[1,3,1,2,3,2],AEOLYTHIMIC:[3,1,2,3,2,1],MOLIMIC:[1,2,3,2,1,3],STAPTIMIC:[2,3,2,1,3,1],ZACRIMIC:[3,2,1,2,3,1],LARIMIC:[2,1,2,3,1,3],THACRIMIC:[1,2,3,1,3,2],STYDIMIC:[2,3,1,3,2,1],LORIMIC:[3,1,3,2,1,2],IONADIMIC:[1,3,2,1,2,3],IONYTHIMIC:[3,1,3,1,3,1],AERYTHIMIC:[1,3,1,3,1,3],DYNIMIC:[3,1,3,1,2,2],ZYDIMIC:[1,3,1,2,2,3],ZATHIMIC:[3,1,2,2,3,1],RADIMIC:[1,2,2,3,1,3],STONIMIC:[2,2,3,1,3,1],SYPTIMIC:[2,3,1,3,1,2],PONIMIC:[4,4,1,1,1,1],KADIMIC:[4,1,1,1,1,4],GYNIMIC:[1,1,1,1,4,4],THYDIMIC:[1,1,1,4,4,1],POLIMIC:[1,1,4,4,1,1],THANIMIC:[1,4,4,1,1,1],LATHIMIC:[4,3,1,2,1,1],AERALIMIC:[3,1,2,1,1,4],KYNIMIC:[1,2,1,1,4,3],STYNIMIC:[2,1,1,4,3,1],EPYTIMIC:[1,1,4,3,1,2],KATOPTIMIC:[1,4,3,1,2,1],GALIMIC:[4,3,1,1,1,2],KATHIMIC:[3,1,1,1,2,4],LYLIMIC:[1,1,1,2,4,3],EPALIMIC:[1,1,2,4,3,1],EPACRIMIC:[1,2,4,3,1,1],SATHIMIC:[2,4,3,1,1,1],KATANIMIC:[4,2,2,2,1,1],KATYRIMIC:[2,2,2,1,1,4],RYNIMIC:[2,2,1,1,4,2],POGIMIC:[2,1,1,4,2,2],AERAPTIMIC:[1,1,4,2,2,2],EPYLIMIC:[1,4,2,2,2,1],MANIMIC:[4,2,1,2,1,2],MARIMIC:[2,1,2,1,2,4],LOCRIMIC:[1,2,1,2,4,2],RYLIMIC:[2,1,2,4,2,1],EPATIMIC:[1,2,4,2,1,2],BYRIMIC:[2,4,2,1,2,1],KOCRIMIC:[4,2,1,1,1,3],KORIMIC:[2,1,1,1,3,4],LYNIMIC:[1,1,1,3,4,2],MALIMIC:[1,1,3,4,2,1],SYNIMIC:[1,3,4,2,1,1],PHRAGIMIC:[3,4,2,1,1,1],MYCRIMIC:[4,1,1,2,2,2],IONORIMIC:[1,1,2,2,2,4],PHRYDIMIC:[1,2,2,2,4,1],ZYPTIMIC:[2,2,2,4,1,1],KATOTHIMIC:[2,2,4,1,1,2],PHRYLIMIC:[2,4,1,1,2,2],AEROTHIMIC:[4,1,1,2,1,3],STAGIMIC:[1,1,2,1,3,4],DORIMIC:[1,2,1,3,4,1],PHRYCRIMIC:[2,1,3,4,1,1],KYPTIMIC:[1,3,4,1,1,2],IONYLIMIC:[3,4,1,1,2,1],EPYNIMIC:[3,3,3,1,1,1],IONOGIMIC:[3,3,1,1,1,3],KYDIMIC:[3,1,1,1,3,3],GAPTIMIC:[1,1,1,3,3,3],THARIMIC:[1,1,3,3,3,1],IONAPHIMIC:[1,3,3,3,1,1],THOPTIMIC:[3,3,2,1,2,1],BAGIMIC:[3,2,1,2,1,3],KYRIMIC:[2,1,2,1,3,3],SONIMIC:[1,2,1,3,3,2],AEOLONIMIC:[2,1,3,3,2,1],RYGIMIC:[1,3,3,2,1,2],THAGIMIC:[3,3,2,1,1,2],KOLIMIC:[3,2,1,1,2,3],DYCRIMIC:[2,1,1,2,3,3],EPYCRIMIC:[1,1,2,3,3,2],GOCRIMIC:[1,2,3,3,2,1],KATOLIMIC:[2,3,3,2,1,1],DAGIMIC:[3,3,1,2,2,1],AEOLYDIMIC:[3,1,2,2,1,3],PARIMIC:[1,2,2,1,3,3],IONAPTIMIC:[2,2,1,3,3,1],THYLIMIC:[2,1,3,3,1,2],LOLIMIC:[1,3,3,1,2,2],THALIMIC:[3,3,1,2,1,2],STYGIMIC:[3,1,2,1,2,3],AEOLYGIMIC:[1,2,1,2,3,3],AEROGIMIC:[2,1,2,3,3,1],DACRIMIC:[1,2,3,3,1,2],BAPTIMIC:[2,3,3,1,2,1],STYTHIMIC:[3,2,3,1,2,1],KOTHIMIC:[2,3,1,2,1,3],PYGIMIC:[3,1,2,1,3,2],RODIMIC:[1,2,1,3,2,3],SORIMIC:[2,1,3,2,3,1],MONIMIC:[1,3,2,3,1,2],AERAGIMIC:[3,2,2,2,2,1],EPOTHIMIC:[2,2,2,2,1,3],SALIMIC:[2,2,2,1,3,2],LYPTIMIC:[2,2,1,3,2,2],KATONIMIC:[2,1,3,2,2,2],GYGIMIC:[1,3,2,2,2,2],AERADIMIC:[3,2,1,3,2,1],ZYRIMIC:[2,1,3,2,1,3],STYLIMIC:[1,3,2,1,3,2],LYTHIMIC:[3,1,2,3,1,2],DODIMIC:[1,2,3,1,2,3],KATALIMIC:[2,3,1,2,3,1],BOPTIMIC:[3,1,2,2,2,2],STOGIMIC:[1,2,2,2,2,3],THYNIMIC:[2,2,2,2,3,1],AEOLATHIMIC:[2,2,2,3,1,2],BYTHIMIC:[2,2,3,1,2,2],PADIMIC:[2,3,1,2,2,2],DATHIMIC:[4,2,2,1,1,2],EPAGIMIC:[2,2,1,1,2,4],RAPTIMIC:[2,1,1,2,4,2],EPOLIMIC:[1,1,2,4,2,2],SYTHIMIC:[1,2,4,2,2,1],SYDIMIC:[2,4,2,2,1,1],GACRIMIC:[4,2,1,1,2,2],BORIMIC:[2,1,1,2,2,4],SYCRIMIC:[1,1,2,2,4,2],GADIMIC:[1,2,2,4,2,1],AEOLOCRIMIC:[2,2,4,2,1,1],PHRYGIMIC:[2,4,2,1,1,2],WHOLETONE:o,LYDIAN:[2,2,2,1,2,2,1],MIXOLYDIAN:[2,2,1,2,2,1,2],AEOLIAN:r,LOCRIAN:[1,2,2,1,2,2,2],IONIAN:e,DORIAN:[2,1,2,2,2,1,2],PHRYGIAN:[1,2,2,2,1,2,2],IONYTHIAN:[4,1,2,2,1,1,1],AEOLYRIAN:[1,2,2,1,1,1,4],GORIAN:[2,2,1,1,1,4,1],AEOLODIAN:[2,1,1,1,4,1,2],DOPTIAN:[1,1,1,4,1,2,2],AERAPHIAN:[1,1,4,1,2,2,1],ZACRIAN:[1,4,1,2,2,1,1],IONARIAN:[4,1,1,3,1,1,1],DYNIAN:[1,1,3,1,1,1,4],ZYDIAN:[1,3,1,1,1,4,1],ZATHIAN:[3,1,1,1,4,1,1],RADIAN:[1,1,1,4,1,1,3],STONIAN:[1,1,4,1,1,3,1],SYPTIAN:[1,4,1,1,3,1,1],AEOLACRIAN:[4,1,1,1,3,1,1],ZYTHIAN:[1,1,1,3,1,1,4],DYRIAN:[1,1,3,1,1,4,1],KOPTIAN:[1,3,1,1,4,1,1],THOCRIAN:[3,1,1,4,1,1,1],AEOLANIAN:[1,1,4,1,1,1,3],DANIAN:[1,4,1,1,1,3,1],ZOGIAN:[4,1,1,1,2,2,1],EPYRIAN:[1,1,1,2,2,1,4],LYCRIAN:[1,1,2,2,1,4,1],DAPTIAN:[1,2,2,1,4,1,1],KYGIAN:[2,2,1,4,1,1,1],MOCRIAN:[2,1,4,1,1,1,2],ZYNIAN:[1,4,1,1,1,2,2],PHROLIAN:[3,2,2,1,2,1,1],IONAGIAN:[2,2,1,2,1,1,3],AEODIAN:[2,1,2,1,1,3,2],KYCRIAN:[1,2,1,1,3,2,2],EPYGIAN:[2,1,1,3,2,2,1],ZAPTIAN:[1,1,3,2,2,1,2],KAGIAN:[1,3,2,2,1,2,1],SOPTIAN:[3,2,2,1,1,1,2],IONYPTIAN:[2,2,1,1,1,2,3],GYRIAN:[2,1,1,1,2,3,2],ZALIAN:[1,1,1,2,3,2,2],STOLIAN:[1,1,2,3,2,2,1],BYLIAN:[1,2,3,2,2,1,1],ZOTHIAN:[2,3,2,2,1,1,1],THONIAN:[3,2,1,2,2,1,1],PHRORIAN:[2,1,2,2,1,1,3],STADIAN:[1,2,2,1,1,3,2],THODIAN:[2,2,1,1,3,2,1],DOGIAN:[2,1,1,3,2,1,2],MIXOPYRIAN:[1,1,3,2,1,2,2],GARIAN:[1,3,2,1,2,2,1],EPATHIAN:[3,2,1,1,3,1,1],MYTHIAN:[2,1,1,3,1,1,3],SOGIAN:[1,1,3,1,1,3,2],GOGIAN:[1,3,1,1,3,2,1],ROTHIAN:[3,1,1,3,2,1,1],KATARIAN:[1,1,3,2,1,1,3],STYLIAN:[1,3,2,1,1,3,1],STATHIAN:[3,2,1,1,1,2,2],MIXONYPHIAN:[2,1,1,1,2,2,3],MAGIAN:[1,1,1,2,2,3,2],DADIAN:[1,1,2,2,3,2,1],AEOLYLIAN:[1,2,2,3,2,1,1],GYCRIAN:[2,2,3,2,1,1,1],PYRIAN:[2,3,2,1,1,1,2],EPOGIAN:[3,1,1,3,1,1,2],LANIAN:[1,1,3,1,1,2,3],PAPTIAN:[1,3,1,1,2,3,1],IONACRIAN:[3,1,1,2,3,1,1],GATHIAN:[1,1,2,3,1,1,3],IONYPHIAN:[1,2,3,1,1,3,1],PHRYNIAN:[2,3,1,1,3,1,1],IONYCRIAN:[3,1,1,2,2,1,2],PHRADIAN:[1,1,2,2,1,2,3],AEOLORIAN:[1,2,2,1,2,3,1],GONIAN:[2,2,1,2,3,1,1],DALIAN:[2,1,2,3,1,1,2],DYGIAN:[1,2,3,1,1,2,2],ZOLIAN:[2,3,1,1,2,2,1],AERATHIAN:[3,1,1,2,1,2,2],SARIAN:[1,1,2,1,2,2,3],ZOPTIAN:[1,2,1,2,2,3,1],AERACRIAN:[2,1,2,2,3,1,1],BYPTIAN:[1,2,2,3,1,1,2],DARIAN:[2,2,3,1,1,2,1],LONIAN:[2,3,1,1,2,1,2],AEOPIAN:[4,2,1,2,1,1,1],RYGIAN:[2,1,2,1,1,1,4],EPYNIAN:[1,2,1,1,1,4,2],IONOGIAN:[2,1,1,1,4,2,1],KYDIAN:[1,1,1,4,2,1,2],GAPTIAN:[1,1,4,2,1,2,1],THARIAN:[1,4,2,1,2,1,1],EPYCRIAN:[4,2,1,1,1,2,1],GOCRIAN:[2,1,1,1,2,1,4],KATOLIAN:[1,1,1,2,1,4,2],THOPTIAN:[1,1,2,1,4,2,1],BAGIAN:[1,2,1,4,2,1,1],KYRIAN:[2,1,4,2,1,1,1],SONIAN:[1,4,2,1,1,1,2],PARIAN:[4,1,3,1,1,1,1],IONAPTIAN:[1,3,1,1,1,1,4],THYLIAN:[3,1,1,1,1,4,1],LOLIAN:[1,1,1,1,4,1,3],THAGIAN:[1,1,1,4,1,3,1],KOLIAN:[1,1,4,1,3,1,1],DYCRIAN:[1,4,1,3,1,1,1],STYGIAN:[4,1,2,1,2,1,1],AEOLYGIAN:[1,2,1,2,1,1,4],AEROGIAN:[2,1,2,1,1,4,1],DACRIAN:[1,2,1,1,4,1,2],BAPTIAN:[2,1,1,4,1,2,1],DAGIAN:[1,1,4,1,2,1,2],AEOLYDIAN:[1,4,1,2,1,2,1],STYTHIAN:[4,1,2,1,1,2,1],KOTHIAN:[1,2,1,1,2,1,4],PYGIAN:[2,1,1,2,1,4,1],RODIAN:[1,1,2,1,4,1,2],SORIAN:[1,2,1,4,1,2,1],MONIAN:[2,1,4,1,2,1,1],THALIAN:[1,4,1,2,1,1,2],ZORIAN:[4,1,2,1,1,1,2],AERAGIAN:[1,2,1,1,1,2,4],EPOTHIAN:[2,1,1,1,2,4,1],SALIAN:[1,1,1,2,4,1,2],LYPTIAN:[1,1,2,4,1,2,1],KATONIAN:[1,2,4,1,2,1,1],GYPHIAN:[2,4,1,2,1,1,1],THACRIAN:[4,1,1,2,2,1,1],DODIAN:[1,1,2,2,1,1,4],AEOLYPTIAN:[1,2,2,1,1,4,1],AEOLONIAN:[2,2,1,1,4,1,1],AERADIAN:[2,1,1,4,1,1,2],AEOLAGIAN:[1,1,4,1,1,2,2],ZYRIAN:[1,4,1,1,2,2,1],AEOLATHIAN:[4,1,1,2,1,2,1],BYTHIAN:[1,1,2,1,2,1,4],PADIAN:[1,2,1,2,1,4,1],ROLIAN:[2,1,2,1,4,1,1],PYDIAN:[1,2,1,4,1,1,2],THYGIAN:[2,1,4,1,1,2,1],KATALIAN:[1,4,1,1,2,1,2],SAPTIAN:[4,1,1,1,2,1,2],AERODIAN:[1,1,1,2,1,2,4],MACRIAN:[1,1,2,1,2,4,1],ROGIAN:[1,2,1,2,4,1,1],BOPTIAN:[2,1,2,4,1,1,1],STOGIAN:[1,2,4,1,1,1,2],THYNIAN:[2,4,1,1,1,2,1],THYCRIAN:[4,1,1,1,1,3,1],AEOLADIAN:[1,1,1,1,3,1,4],DYLIAN:[1,1,1,3,1,4,1],EPONIAN:[1,1,3,1,4,1,1],KATYGIAN:[1,3,1,4,1,1,1],STARIAN:[3,1,4,1,1,1,1],PHRATHIAN:[1,4,1,1,1,1,3],STALIAN:[3,3,1,1,2,1,1],STOPTIAN:[3,1,1,2,1,1,3],ZYGIAN:[1,1,2,1,1,3,3],KATAPTIAN:[1,2,1,1,3,3,1],AEOLAPTIAN:[2,1,1,3,3,1,1],POTHIAN:[1,1,3,3,1,1,2],BYGIAN:[1,3,3,1,1,2,1],MORIAN:[3,2,3,1,1,1,1],RYCRIAN:[2,3,1,1,1,1,3],RONIAN:[3,1,1,1,1,3,2],STYCRIAN:[1,1,1,1,3,2,3],KATORIAN:[1,1,1,3,2,3,1],EPYTHIAN:[1,1,3,2,3,1,1],KAPTIAN:[1,3,2,3,1,1,1],PHRAPTIAN:[3,2,2,2,1,1,1],BACRIAN:[2,2,2,1,1,1,3],KATYTHIAN:[2,2,1,1,1,3,2],MADIAN:[2,1,1,1,3,2,2],AERYGIAN:[1,1,1,3,2,2,2],PYLIAN:[1,1,3,2,2,2,1],IONATHIAN:[1,3,2,2,2,1,1],KATOCRIAN:[3,2,1,3,1,1,1],PHRYPTIAN:[2,1,3,1,1,1,3],KATYNIAN:[1,3,1,1,1,3,2],AERYCRIAN:[3,1,1,1,3,2,1],GANIAN:[1,1,1,3,2,1,3],EPARIAN:[1,1,3,2,1,3,1],LYRIAN:[1,3,2,1,3,1,1],IONOPIAN:[3,2,1,2,1,1,2],AEOLOGIAN:[2,1,2,1,1,2,3],ZADIAN:[1,2,1,1,2,3,2],SYGIAN:[2,1,1,2,3,2,1],PHRALIAN:[1,1,2,3,2,1,2],PHROGIAN:[1,2,3,2,1,2,1],RATHIAN:[2,3,2,1,2,1,1],RYTHIAN:[3,2,1,1,2,1,2],DONIAN:[2,1,1,2,1,2,3],AEOLOPTIAN:[1,1,2,1,2,3,2],PANIAN:[1,2,1,2,3,2,1],LODIAN:[2,1,2,3,2,1,1],SOLIAN:[1,2,3,2,1,1,2],IONOLIAN:[2,3,2,1,1,2,1],LAPTIAN:[3,2,1,1,1,3,1],LYGIAN:[2,1,1,1,3,1,3],LOGIAN:[1,1,1,3,1,3,2],LALIAN:[1,1,3,1,3,2,1],SOTHIAN:[1,3,1,3,2,1,1],PHROCRIAN:[3,1,3,2,1,1,1],THOGIAN:[1,3,2,1,1,1,3],KATATHIAN:[3,1,3,1,2,1,1],MODIAN:[1,3,1,2,1,1,3],BARIAN:[3,1,2,1,1,3,1],MIXOLOCRIAN:[1,2,1,1,3,1,3],SAGIAN:[2,1,1,3,1,3,1],AEOLOTHIAN:[1,1,3,1,3,1,2],SOCRIAN:[1,3,1,3,1,2,1],THOLIAN:[3,1,3,1,1,2,1],RALIAN:[1,3,1,1,2,1,3],SYRIAN:[3,1,1,2,1,3,1],STODIAN:[1,1,2,1,3,1,3],IONOCRIAN:[1,2,1,3,1,3,1],ZYCRIAN:[2,1,3,1,3,1,1],IONYGIAN:[1,3,1,3,1,1,2],ZARIAN:[3,1,3,1,1,1,2],PHRYTHIAN:[1,3,1,1,1,2,3],RORIAN:[3,1,1,1,2,3,1],BOLIAN:[1,1,1,2,3,1,3],BOTHIAN:[1,1,2,3,1,3,1],KATADIAN:[1,2,3,1,3,1,1],KODIAN:[2,3,1,3,1,1,1],RANIAN:[3,1,2,3,1,1,1],LADIAN:[1,2,3,1,1,1,3],PODIAN:[2,3,1,1,1,3,1],IONOTHIAN:[3,1,1,1,3,1,2],KANIAN:[1,1,1,3,1,2,3],ZYLIAN:[1,1,3,1,2,3,1],ZODIAN:[1,3,1,2,3,1,1],GOLIAN:[3,1,2,2,2,1,1],DYPTIAN:[1,2,2,2,1,1,3],RYPHIAN:[2,2,2,1,1,3,1],GYLIAN:[2,2,1,1,3,1,2],AEOLYCRIAN:[2,1,1,3,1,2,2],PYNIAN:[1,1,3,1,2,2,2],ZANIAN:[1,3,1,2,2,2,1],PALIAN:[3,1,2,2,1,2,1],STOTHIAN:[1,2,2,1,2,1,3],AERORIAN:n,KATAGIAN:[2,1,2,1,3,1,2],PHRONIAN:[1,2,1,3,1,2,2],BANIAN:[2,1,3,1,2,2,1],AERONIAN:[1,3,1,2,2,1,2],LOPTIAN:[3,1,2,1,3,1,1],IONODIAN:[1,2,1,3,1,1,3],BOGIAN:[2,1,3,1,1,3,1],MOGIAN:[1,3,1,1,3,1,2],DOCRIAN:[3,1,1,3,1,2,1],EPADIAN:[1,1,3,1,2,1,3],AERYNIAN:[1,3,1,2,1,3,1],BYCRIAN:[3,1,2,1,2,2,1],PATHIAN:[1,2,1,2,2,1,3],MYDIAN:t,THYPTIAN:[1,2,2,1,3,1,2],PHROTHIAN:[2,2,1,3,1,2,1],KATYCRIAN:[2,1,3,1,2,1,2],IONALIAN:[1,3,1,2,1,2,2],DOLIAN:[3,1,1,2,2,2,1],PORIAN:[1,1,2,2,2,1,3],AERYLIAN:h,"NEOPOLITAN MINOR":h,ZAGIAN:[2,2,2,1,3,1,1],LAGIAN:[2,2,1,3,1,1,2],TYRIAN:[2,1,3,1,1,2,2],MIXONORIAN:[1,3,1,1,2,2,2],PAGIAN:[3,1,1,1,2,2,2],AEOLYTHIAN:[1,1,1,2,2,2,3],MOLIAN:[1,1,2,2,2,3,1],STAPTIAN:[1,2,2,2,3,1,1],MOTHIAN:[2,2,2,3,1,1,1],AERANIAN:[2,2,3,1,1,1,2],RAGIAN:[2,3,1,1,1,2,2],LARIAN:[2,2,2,2,1,2,1],LYTHIAN:[2,2,2,1,2,1,2],STYDIAN:u,LORIAN:[2,1,2,1,2,2,2],IONADIAN:[1,2,1,2,2,2,2],BOCRIAN:c,MIXOLYTHIAN:[1,2,2,2,2,1,2],THADIAN:[4,3,1,1,1,1,1],SANIAN:[3,1,1,1,1,1,4],IONYDIAN:[1,1,1,1,1,4,3],EPYDIAN:[1,1,1,1,4,3,1],KATYDIAN:[1,1,1,4,3,1,1],MATHIAN:[1,1,4,3,1,1,1],AERYPTIAN:[1,4,3,1,1,1,1],PYTHIAN:[4,2,2,1,1,1,1],KATYLIAN:[2,2,1,1,1,1,4],BYDIAN:[2,1,1,1,1,4,2],BYNIAN:[1,1,1,1,4,2,2],GALIAN:[1,1,1,4,2,2,1],ZONIAN:[1,1,4,2,2,1,1],MYRIAN:[1,4,2,2,1,1,1],KATOGIAN:[4,2,1,1,2,1,1],STACRIAN:[2,1,1,2,1,1,4],STYRIAN:[1,1,2,1,1,4,2],IONYRIAN:[1,2,1,1,4,2,1],PHRODIAN:[2,1,1,4,2,1,1],PYCRIAN:[1,1,4,2,1,1,2],GYPTIAN:[1,4,2,1,1,2,1],KATACRIAN:[4,1,1,2,1,1,2],SODIAN:[1,1,2,1,1,2,4],BATHIAN:[1,2,1,1,2,4,1],MYLIAN:[2,1,1,2,4,1,1],GODIAN:[1,1,2,4,1,1,2],THORIAN:[1,2,4,1,1,2,1],ZOCRIAN:[2,4,1,1,2,1,1],STANIAN:[4,1,1,1,1,2,2],EPANIAN:[1,1,1,1,2,2,4],KONIAN:[1,1,1,2,2,4,1],STOCRIAN:[1,1,2,2,4,1,1],KALIAN:[1,2,2,4,1,1,1],PHROPTIAN:[2,2,4,1,1,1,1],DYDIAN:[2,4,1,1,1,1,2],KATYPTIAN:[4,1,1,1,1,1,3],EPODIAN:[1,1,1,1,1,3,4],MYGIAN:[1,1,1,1,3,4,1],PACRIAN:[1,1,1,3,4,1,1],AEROCRIAN:[1,1,3,4,1,1,1],AEOLARIAN:[1,3,4,1,1,1,1],KYTHIAN:[3,4,1,1,1,1,1],BONIAN:[3,3,2,1,1,1,1],BADIAN:[3,2,1,1,1,1,3],KATODIAN:[2,1,1,1,1,3,3],SADIAN:[1,1,1,1,3,3,2],DOTHIAN:[1,1,1,3,3,2,1],MOPTIAN:[1,1,3,3,2,1,1],AERYRIAN:[1,3,3,2,1,1,1],EPAGIAN:[3,3,1,2,1,1,1],RAPTIAN:[3,1,2,1,1,1,3],EPOLIAN:[1,2,1,1,1,3,3],SYTHIAN:[2,1,1,1,3,3,1],SYDIAN:[1,1,1,3,3,1,2],EPOCRIAN:[1,1,3,3,1,2,1],KYLIAN:[1,3,3,1,2,1,1],GACRIAN:[3,3,1,1,1,2,1],BORIAN:[3,1,1,1,2,1,3],SYCRIAN:[1,1,1,2,1,3,3],GADIAN:[1,1,2,1,3,3,1],AEOLOCRIAN:[1,2,1,3,3,1,1],MIXODORIAN:[2,1,3,3,1,1,1],DATHIAN:[1,3,3,1,1,1,2],KATOPTIAN:[3,3,1,1,1,1,2],PONIAN:[3,1,1,1,1,2,3],KADIAN:[1,1,1,1,2,3,3],GYNIAN:[1,1,1,2,3,3,1],THYPHIAN:[1,1,2,3,3,1,1],POLIAN:[1,2,3,3,1,1,1],THANIAN:[2,3,3,1,1,1,1],EPACRIAN:[3,2,2,1,1,2,1],SATHIAN:[2,2,1,1,2,1,3],LATHIAN:[2,1,1,2,1,3,2],AERALIAN:[1,1,2,1,3,2,2],KYNIAN:[1,2,1,3,2,2,1],STYNIAN:[2,1,3,2,2,1,1],EPYPHIAN:[1,3,2,2,1,1,2],POGIAN:[3,2,1,2,1,2,1],AERAPTIAN:[2,1,2,1,2,1,3],EPYLIAN:[1,2,1,2,1,3,2],GAMIAN:[2,1,2,1,3,2,1],KATHIAN:[1,2,1,3,2,1,2],LYLIAN:[2,1,3,2,1,2,1],EPALIAN:[1,3,2,1,2,1,2],EPORIAN:[3,2,1,1,2,2,1],RYLIAN:[2,1,1,2,2,1,3],EPAPTIAN:[1,1,2,2,1,3,2],BYRIAN:[1,2,2,1,3,2,1],KATANIAN:[2,2,1,3,2,1,1],KATYRIAN:[2,1,3,2,1,1,2],RYNIAN:[1,3,2,1,1,2,2],KORIAN:[3,1,2,2,1,1,2],LYNIAN:[1,2,2,1,1,2,3],MALIAN:[2,2,1,1,2,3,1],SYNIAN:[2,1,1,2,3,1,2],PHRAGIAN:[1,1,2,3,1,2,2],MANIAN:[1,2,3,1,2,2,1],MARIAN:[2,3,1,2,2,1,1],MYCRIAN:[3,1,2,1,2,1,2],IONORIAN:[1,2,1,2,1,2,3],PHRYDIAN:[2,1,2,1,2,3,1],ZYPTIAN:[1,2,1,2,3,1,2],KATOTHIAN:[2,1,2,3,1,2,1],PHRYLIAN:[1,2,3,1,2,1,2],KOCRIAN:[2,3,1,2,1,2,1],IONANIAN:[3,1,2,1,1,2,2],AEROTHIAN:[1,2,1,1,2,2,3],STAGIAN:[2,1,1,2,2,3,1],LOTHIAN:[1,1,2,2,3,1,2],PHRYCRIAN:[1,2,2,3,1,2,1],KYPTIAN:[2,2,3,1,2,1,1],IONYLIAN:[2,3,1,2,1,1,2],GYDIAN:[4,2,1,1,1,1,2],KOGIAN:[2,1,1,1,1,2,4],RARIAN:[1,1,1,1,2,4,2],AEROLIAN:[1,1,1,2,4,2,1],KARIAN:[1,1,2,4,2,1,1],MYPTIAN:[1,2,4,2,1,1,1],RYDIAN:[2,4,2,1,1,1,1],AEOLYNIAN:[2,2,2,2,2,1,1],AEROPTIAN:[2,2,2,2,1,1,2],PHRYRIAN:[2,2,2,1,1,2,2],GOTHIAN:[2,2,1,1,2,2,2],STORIAN:[2,1,1,2,2,2,2],PYPTIAN:[1,1,2,2,2,2,2],THYDIAN:p,"NEOPOLITAN MAJOR":p,AERYCRYLLIC:I,"DOMINANT BEBOP":I,"BEBOP DOMINANT":I,GADYLLIC:[2,1,2,2,1,1,1,2],SOLYLLIC:[1,2,2,1,1,1,2,2],ZYLYLLIC:[2,2,1,1,1,2,2,1],MIXODYLLIC:[2,1,1,1,2,2,1,2],SORYLLIC:[1,1,1,2,2,1,2,2],GODYLLIC:[1,1,2,2,1,2,2,1],EPIPHYLLIC:[1,2,2,1,2,2,1,1],PYNYLLIC:[4,1,1,1,2,1,1,1],BOCRYLLIC:[1,1,1,2,1,1,1,4],KOGYLLIC:[1,1,2,1,1,1,4,1],RARYLLIC:[1,2,1,1,1,4,1,1],ZYCRYLLIC:[2,1,1,1,4,1,1,1],MYCRYLLIC:[1,1,1,4,1,1,1,2],LAPTYLLIC:[1,1,4,1,1,1,2,1],PYLYLLIC:[1,4,1,1,1,2,1,1],POTHYLLIC:[3,2,1,1,1,2,1,1],PHRONYLLIC:[2,1,1,1,2,1,1,3],STYNYLLIC:[1,1,1,2,1,1,3,2],RATHYLLIC:[1,1,2,1,1,3,2,1],AERYPTYLLIC:[1,2,1,1,3,2,1,1],ZYDYLLIC:[2,1,1,3,2,1,1,1],KATOLYLLIC:[1,1,3,2,1,1,1,2],RYTHYLLIC:[1,3,2,1,1,1,2,1],LOCRYLLIC:[3,1,1,3,1,1,1,1],BYLYLLIC:[1,1,3,1,1,1,1,3],SOGYLLIC:[1,3,1,1,1,1,3,1],IONYCRYLLIC:[3,1,1,1,1,3,1,1],KOPTYLLIC:[1,1,1,1,3,1,1,3],EPYRYLLIC:[1,1,1,3,1,1,3,1],SOPTYLLIC:[1,1,3,1,1,3,1,1],AEOLYLYLLIC:[1,3,1,1,3,1,1,1],AERACRYLLIC:[3,1,1,2,2,1,1,1],EPYGYLLIC:[1,1,2,2,1,1,1,3],THONYLLIC:[1,2,2,1,1,1,3,1],LANYLLIC:[2,2,1,1,1,3,1,1],PHRYNYLLIC:[2,1,1,1,3,1,1,2],LYCRYLLIC:[1,1,1,3,1,1,2,2],IONYPTYLLIC:[1,1,3,1,1,2,2,1],EPATHYLLIC:[1,3,1,1,2,2,1,1],DYDYLLIC:[3,1,1,2,1,2,1,1],THOGYLLIC:[1,1,2,1,2,1,1,3],RYGYLLIC:[1,2,1,2,1,1,3,1],BYCRYLLIC:[2,1,2,1,1,3,1,1],ZACRYLLIC:[1,2,1,1,3,1,1,2],PANYLLIC:[2,1,1,3,1,1,2,1],DYRYLLIC:[1,1,3,1,1,2,1,2],ZATHYLLIC:[1,3,1,1,2,1,2,1],DAGYLLIC:[3,1,1,2,1,1,1,2],KATALYLLIC:[1,1,2,1,1,1,2,3],KATORYLLIC:[1,2,1,1,1,2,3,1],DODYLLIC:[2,1,1,1,2,3,1,1],ZOGYLLIC:[1,1,1,2,3,1,1,2],MADYLLIC:[1,1,2,3,1,1,2,1],DYCRYLLIC:[1,2,3,1,1,2,1,1],AEOLOGYLLIC:[2,3,1,1,2,1,1,1],SYDYLLIC:[3,1,1,1,3,1,1,1],KATOGYLLIC:[1,1,1,3,1,1,1,3],ZYGYLLIC:[1,1,3,1,1,1,3,1],AERALYLLIC:[1,3,1,1,1,3,1,1],BACRYLLIC:[3,1,1,1,2,2,1,1],AERYGYLLIC:[1,1,1,2,2,1,1,3],DATHYLLIC:[1,1,2,2,1,1,3,1],BOPTYLLIC:[1,2,2,1,1,3,1,1],BAGYLLIC:[2,2,1,1,3,1,1,1],MATHYLLIC:[2,1,1,3,1,1,1,2],STYPTYLLIC:[1,1,3,1,1,1,2,2],ZOLYLLIC:[1,3,1,1,1,2,2,1],ROCRYLLIC:[2,2,2,1,2,1,1,1],ZYRYLLIC:[2,2,1,2,1,1,1,2],SAGYLLIC:[2,1,2,1,1,1,2,2],EPINYLLIC:[1,2,1,1,1,2,2,2],KATAGYLLIC:[2,1,1,1,2,2,2,1],RAGYLLIC:[1,1,1,2,2,2,1,2],GOTHYLLIC:[1,1,2,2,2,1,2,1],LYTHYLLIC:[1,2,2,2,1,2,1,1],IONOCRYLLIC:[2,2,2,1,1,1,2,1],GOCRYLLIC:[2,2,1,1,1,2,1,2],EPIRYLLIC:[2,1,1,1,2,1,2,2],AERADYLLIC:[1,1,1,2,1,2,2,2],STAPTYLLIC:[1,1,2,1,2,2,2,1],DANYLLIC:[1,2,1,2,2,2,1,1],GOPTYLLIC:[2,1,2,2,2,1,1,1],EPOCRYLLIC:[1,2,2,2,1,1,1,2],IONOPTYLLIC:b,"MARJOR BEBOP":b,"BEBOP MAJOR":b,AEOLORYLLIC:[2,1,2,1,1,2,1,2],THYDYLLIC:[1,2,1,1,2,1,2,2],GYCRYLLIC:[2,1,1,2,1,2,2,1],LYRYLLIC:[1,1,2,1,2,2,1,2],MOGYLLIC:[1,2,1,2,2,1,2,1],KATODYLLIC:[2,1,2,2,1,2,1,1],MOPTYLLIC:[1,2,2,1,2,1,1,2],DOLYLLIC:[4,1,2,1,1,1,1,1],MORYLLIC:[1,2,1,1,1,1,1,4],BYDYLLIC:[2,1,1,1,1,1,4,1],POCRYLLIC:[1,1,1,1,1,4,1,2],PHRACRYLLIC:[1,1,1,1,4,1,2,1],GYRYLLIC:[1,1,1,4,1,2,1,1],PHRYGYLLIC:[1,1,4,1,2,1,1,1],DOGYLLIC:[1,4,1,2,1,1,1,1],THAGYLLIC:[4,1,1,2,1,1,1,1],THOPTYLLIC:[1,1,2,1,1,1,1,4],PHRAPTYLLIC:[1,2,1,1,1,1,4,1],GYLYLLIC:[2,1,1,1,1,4,1,1],PHRALYLLIC:[1,1,1,1,4,1,1,2],DYGYLLIC:[1,1,1,4,1,1,2,1],RONYLLIC:[1,1,4,1,1,2,1,1],EPOGYLLIC:[1,4,1,1,2,1,1,1],AEOLADYLLIC:[4,1,1,1,1,2,1,1],KOCRYLLIC:[1,1,1,1,2,1,1,4],LODYLLIC:[1,1,1,2,1,1,4,1],BYNYLLIC:[1,1,2,1,1,4,1,1],KYDYLLIC:[1,2,1,1,4,1,1,1],BYGYLLIC:[2,1,1,4,1,1,1,1],PHRYPTYLLIC:[1,1,4,1,1,1,1,2],IONAYLLIC:[1,4,1,1,1,1,2,1],PHRORYLLIC:[4,1,1,1,1,1,2,1],THYPHYLLIC:[1,1,1,1,1,2,1,4],POPTYLLIC:[1,1,1,1,2,1,4,1],MIXONYLLIC:[1,1,1,2,1,4,1,1],PAPTYLLIC:[1,1,2,1,4,1,1,1],STORYLLIC:[1,2,1,4,1,1,1,1],PHRYCRYLLIC:[2,1,4,1,1,1,1,1],PALYLLIC:[1,4,1,1,1,1,1,2],PHRANYLLIC:[3,2,2,1,1,1,1,1],STYDYLLIC:[2,2,1,1,1,1,1,3],ZADYLLIC:[2,1,1,1,1,1,3,2],ZALYLLIC:[1,1,1,1,1,3,2,2],ZOCRYLLIC:[1,1,1,1,3,2,2,1],KATOCRYLLIC:[1,1,1,3,2,2,1,1],AERATHYLLIC:[1,1,3,2,2,1,1,1],STOPTYLLIC:[1,3,2,2,1,1,1,1],LYDYLLIC:[3,2,1,2,1,1,1,1],RADYLLIC:[2,1,2,1,1,1,1,3],STAGYLLIC:[1,2,1,1,1,1,3,2],IONORYLLIC:[2,1,1,1,1,3,2,1],PHRODYLLIC:[1,1,1,1,3,2,1,2],AERAGYLLIC:[1,1,1,3,2,1,2,1],BANYLLIC:[1,1,3,2,1,2,1,1],EPOTHYLLIC:[1,3,2,1,2,1,1,1],ZORYLLIC:[3,2,1,1,2,1,1,1],PHROLYLLIC:[2,1,1,2,1,1,1,3],KOLYLLIC:[1,1,2,1,1,1,3,2],THODYLLIC:[1,2,1,1,1,3,2,1],SOCRYLLIC:[2,1,1,1,3,2,1,1],AEOLYLLIC:[1,1,1,3,2,1,1,2],ZYTHYLLIC:[1,1,3,2,1,1,2,1],AEORYLLIC:[1,3,2,1,1,2,1,1],MIXOLYDYLLIC:[3,2,1,1,1,1,1,2],MIXONYPHYLLIC:[2,1,1,1,1,1,2,3],AEOLANYLLIC:[1,1,1,1,1,2,3,2],THOCRYLLIC:[1,1,1,1,2,3,2,1],KYGYLLIC:[1,1,1,2,3,2,1,1],IONAGYLLIC:[1,1,2,3,2,1,1,1],GOGYLLIC:[1,2,3,2,1,1,1,1],PHRADYLLIC:[2,3,2,1,1,1,1,1],IONIPTYLLIC:[3,1,3,1,1,1,1,1],KYCRYLLIC:[1,3,1,1,1,1,1,3],AEOLAPTYLLIC:[3,1,1,1,1,1,3,1],RODYLLIC:[1,1,1,1,1,3,1,3],IONATHYLLIC:[1,1,1,1,3,1,3,1],PYTHYLLIC:[1,1,1,3,1,3,1,1],ZONYLLIC:[1,1,3,1,3,1,1,1],RYRYLLIC:[1,3,1,3,1,1,1,1],AEOLOTHYLLIC:[3,1,2,2,1,1,1,1],IONYRYLLIC:[1,2,2,1,1,1,1,3],RYDYLLIC:[2,2,1,1,1,1,3,1],GONYLLIC:[2,1,1,1,1,3,1,2],ROLYLLIC:[1,1,1,1,3,1,2,2],KATYDYLLIC:[1,1,1,3,1,2,2,1],ZYPTYLLIC:[1,1,3,1,2,2,1,1],MODYLLIC:[1,3,1,2,2,1,1,1],MAPTYLLIC:[3,1,2,1,2,1,1,1],AERAPTYLLIC:[1,2,1,2,1,1,1,3],KATADYLLIC:[2,1,2,1,1,1,3,1],MAGYLLIC:[1,2,1,1,1,3,1,2],PHRYLYLLIC:[2,1,1,1,3,1,2,1],EPIGYLLIC:[1,1,1,3,1,2,1,2],MOLYLLIC:[1,1,3,1,2,1,2,1],PONYLLIC:[1,3,1,2,1,2,1,1],THYPTYLLIC:[3,1,2,1,1,2,1,1],IONOGYLLIC:[1,2,1,1,2,1,1,3],AEOLARYLLIC:[2,1,1,2,1,1,3,1],KATYGYLLIC:[1,1,2,1,1,3,1,2],GANYLLIC:[1,2,1,1,3,1,2,1],KYPTYLLIC:[2,1,1,3,1,2,1,1],SALYLLIC:[1,1,3,1,2,1,1,2],SANYLLIC:[1,3,1,2,1,1,2,1],DOPTYLLIC:[3,1,2,1,1,1,2,1],IONILYLLIC:[1,2,1,1,1,2,1,3],MANYLLIC:[2,1,1,1,2,1,3,1],POLYLLIC:[1,1,1,2,1,3,1,2],STANYLLIC:[1,1,2,1,3,1,2,1],MIXOTHARYLLIC:[1,2,1,3,1,2,1,1],EPORYLLIC:[2,1,3,1,2,1,1,1],AERYNYLLIC:[1,3,1,2,1,1,1,2],LONYLLIC:[3,1,1,2,1,1,2,1],SATHYLLIC:[1,1,2,1,1,2,1,3],LAYLLIC:[1,2,1,1,2,1,3,1],SARYLLIC:[2,1,1,2,1,3,1,1],THACRYLLIC:[1,1,2,1,3,1,1,2],AEOLYNYLLIC:[1,2,1,3,1,1,2,1],THADYLLIC:[2,1,3,1,1,2,1,1],LYNYLLIC:[1,3,1,1,2,1,1,2],AEOLATHYLLIC:[3,1,1,1,2,1,2,1],AEOLOCRYLLIC:[1,1,1,2,1,2,1,3],PHROPTYLLIC:[1,1,2,1,2,1,3,1],KODYLLIC:[1,2,1,2,1,3,1,1],EPAPTYLLIC:[2,1,2,1,3,1,1,1],IONOYLLIC:[1,2,1,3,1,1,1,2],GYPTYLLIC:[2,1,3,1,1,1,2,1],AERYTHYLLIC:[1,3,1,1,1,2,1,2],ZAGYLLIC:[3,1,1,1,2,1,1,2],EPACRYLLIC:[1,1,1,2,1,1,2,3],THORCRYLLIC:[1,1,2,1,1,2,3,1],LOPTYLLIC:[1,2,1,1,2,3,1,1],KATYLYLLIC:[2,1,1,2,3,1,1,1],MALYLLIC:[1,1,2,3,1,1,1,2],MYDYLLIC:[1,2,3,1,1,1,2,1],THYCRYLLIC:[2,3,1,1,1,2,1,1],GYTHYLLIC:[3,1,1,1,1,2,2,1],PYRYLLIC:[1,1,1,1,2,2,1,3],RYCRYLLIC:[1,1,1,2,2,1,3,1],PHRATHYLLIC:[1,1,2,2,1,3,1,1],BADYLLIC:[1,2,2,1,3,1,1,1],PHROCRYLLIC:[2,2,1,3,1,1,1,1],STARYLLIC:[2,1,3,1,1,1,1,2],ZOTHYLLIC:[1,3,1,1,1,1,2,2],THARYLLIC:[3,1,1,1,1,2,1,2],SYLYLLIC:[1,1,1,1,2,1,2,3],LOTHYLLIC:[1,1,1,2,1,2,3,1],DARYLLIC:[1,1,2,1,2,3,1,1],MONYLLIC:[1,2,1,2,3,1,1,1],STYRYLLIC:[2,1,2,3,1,1,1,1],AEOLACRYLLIC:[1,2,3,1,1,1,1,2],RAPTYLLIC:[2,3,1,1,1,1,2,1],KATARYLLIC:[3,1,1,1,1,1,2,2],AEROCRYLLIC:[1,1,1,1,1,2,2,3],ZANYLLIC:[1,1,1,1,2,2,3,1],AEOLONYLLIC:[1,1,1,2,2,3,1,1],AEONYLLIC:[1,1,2,2,3,1,1,1],KYRYLLIC:[1,2,2,3,1,1,1,1],SYTHYLLIC:[2,2,3,1,1,1,1,1],KATYCRYLLIC:[2,3,1,1,1,1,1,2],STOGYLLIC:[2,2,1,2,1,2,1,1],IONIDYLLIC:[2,1,2,1,2,1,1,2],STONYLLIC:[1,2,1,2,1,1,2,2],STALYLLIC:[2,1,2,1,1,2,2,1],PORYLLIC:[1,2,1,1,2,2,1,2],MOCRYLLIC:[2,1,1,2,2,1,2,1],AEOLYRYLLIC:[1,1,2,2,1,2,1,2],BARYLLIC:[1,2,2,1,2,1,2,1],DALYLLIC:[2,2,1,1,2,1,2,1],IONYPHYLLIC:[2,1,1,2,1,2,1,2],ZAPTYLLIC:[1,1,2,1,2,1,2,2],GARYLLIC:[1,2,1,2,1,2,2,1],GATHYLLIC:[2,1,2,1,2,2,1,1],MIXOPYRYLLIC:[1,2,1,2,2,1,1,2],IONACRYLLIC:A,"BEBOP MINOR":A,"MINOR BEBOP":A,"DORIAN BEBOP":A,"BEBOP DORIAN":A,STYLYLLIC:[1,2,2,1,1,2,1,2],STYCRYLLIC:[4,2,1,1,1,1,1,1],IONOTHYLLIC:[2,1,1,1,1,1,1,4],MYTHYLLIC:[1,1,1,1,1,1,4,2],AERYLYLLIC:[1,1,1,1,1,4,2,1],BONYLLIC:[1,1,1,1,4,2,1,1],THOLYLLIC:[1,1,1,4,2,1,1,1],KATYRYLLIC:[1,1,4,2,1,1,1,1],SADYLLIC:[1,4,2,1,1,1,1,1],STOLYLLIC:[4,1,1,1,1,1,1,2],LOGYLLIC:[1,1,1,1,1,1,2,4],DACRYLLIC:[1,1,1,1,1,2,4,1],THYNYLLIC:[1,1,1,1,2,4,1,1],GYDYLLIC:[1,1,1,2,4,1,1,1],EPARYLLIC:[1,1,2,4,1,1,1,1],DYNYLLIC:[1,2,4,1,1,1,1,1],IONYLLIC:[2,4,1,1,1,1,1,1],ZARYLLIC:[3,3,1,1,1,1,1,1],DYTHYLLIC:[3,1,1,1,1,1,1,3],IONARYLLIC:[1,1,1,1,1,1,3,3],LARYLLIC:[1,1,1,1,1,3,3,1],KATAPTYLLIC:[1,1,1,1,3,3,1,1],SONYLLIC:[1,1,1,3,3,1,1,1],PATHYLLIC:[1,1,3,3,1,1,1,1],LORYLLIC:[1,3,3,1,1,1,1,1],AERONYLLIC:[3,2,1,1,1,1,2,1],PYCRYLLIC:[2,1,1,1,1,2,1,3],MYGYLLIC:[1,1,1,1,2,1,3,2],LYLYLLIC:[1,1,1,2,1,3,2,1],DAPTYLLIC:[1,1,2,1,3,2,1,1],IONINYLLIC:[1,2,1,3,2,1,1,1],EPAPHYLLIC:[2,1,3,2,1,1,1,1],LOLYLLIC:[1,3,2,1,1,1,1,2],STACRYLLIC:[3,1,2,1,1,1,1,2],DORYLLIC:[1,2,1,1,1,1,2,3],KADYLLIC:[2,1,1,1,1,2,3,1],RYNYLLIC:[1,1,1,1,2,3,1,2],AEROGYLLIC:[1,1,1,2,3,1,2,1],ROTHYLLIC:[1,1,2,3,1,2,1,1],KAGYLLIC:[1,2,3,1,2,1,1,1],STATHYLLIC:[2,3,1,2,1,1,1,1],THYRYLLIC:[2,2,2,2,1,1,1,1],GYGYLLIC:[2,2,2,1,1,1,1,2],SODYLLIC:[2,2,1,1,1,1,2,2],GORYLLIC:[2,1,1,1,1,2,2,2],BOTHYLLIC:[1,1,1,1,2,2,2,2],GYNYLLIC:[1,1,1,2,2,2,2,1],IONAPTYLLIC:[1,1,2,2,2,2,1,1],PHRYRYLLIC:[1,2,2,2,2,1,1,1],RACRYLLIC:[2,2,2,1,1,2,1,1],EPICRYLLIC:[2,2,1,1,2,1,1,2],STYGYLLIC:[2,1,1,2,1,1,2,2],SYRYLLIC:[1,1,2,1,1,2,2,2],STYTHYLLIC:[1,2,1,1,2,2,2,1],AEROTHYLLIC:[2,1,1,2,2,2,1,1],MIXORYLLIC:[1,1,2,2,2,1,1,2],THANYLLIC:[1,2,2,2,1,1,2,1],RORYLLIC:[2,2,1,1,2,2,1,1],EPOTYLLIC:[2,1,1,2,2,1,1,2],EPIDYLLIC:[1,1,2,2,1,1,2,2],KAPTYLLIC:[1,2,2,1,1,2,2,1],MAJORDIMIN:[2,1,2,1,2,1,2,1],MINORDIMIN:_,OCTATONIC:_,AERYCRYGIC:[2,2,1,1,1,2,1,1,1],GADYGIC:[2,1,1,1,2,1,1,1,2],SOLYGIC:[1,1,1,2,1,1,1,2,2],ZYLYGIC:[1,1,2,1,1,1,2,2,1],GARYGIC:[1,2,1,1,1,2,2,1,1],SORYGIC:[2,1,1,1,2,2,1,1,1],GODYGIC:[1,1,1,2,2,1,1,1,2],EPITHYGIC:[1,1,2,2,1,1,1,2,1],IONOPTYGIC:[1,2,2,1,1,1,2,1,1],KALYGIC:[3,1,1,2,1,1,1,1,1],IONODYGIC:[1,1,2,1,1,1,1,1,3],BYTHYGIC:[1,2,1,1,1,1,1,3,1],EPYGIC:[2,1,1,1,1,1,3,1,1],MARYGIC:[1,1,1,1,1,3,1,1,2],GAPTYGIC:[1,1,1,1,3,1,1,2,1],AEROPTYGIC:[1,1,1,3,1,1,2,1,1],MYLYGIC:[1,1,3,1,1,2,1,1,1],GALYGIC:[1,3,1,1,2,1,1,1,1],MIXOLYDYGIC:[3,1,1,1,2,1,1,1,1],IONYCRYGIC:[1,1,1,2,1,1,1,1,3],ZOPTYGIC:[1,1,2,1,1,1,1,3,1],PHRYGYGIC:[1,2,1,1,1,1,3,1,1],LOCRYGIC:[2,1,1,1,1,3,1,1,1],GONYGIC:[1,1,1,1,3,1,1,1,2],AERACRYGIC:[1,1,1,3,1,1,1,2,1],AERATHYGIC:[1,1,3,1,1,1,2,1,1],DORYGIC:[1,3,1,1,1,2,1,1,1],DYCRYGIC:[3,1,1,1,1,2,1,1,1],AEOLYGIC:[1,1,1,1,2,1,1,1,3],DYDYGIC:[1,1,1,2,1,1,1,3,1],THOLYGIC:[1,1,2,1,1,1,3,1,1],RYNYGIC:[1,2,1,1,1,3,1,1,1],BYCRYGIC:[2,1,1,1,3,1,1,1,1],ZACRYGIC:[1,1,1,3,1,1,1,1,2],PANYGIC:[1,1,3,1,1,1,1,2,1],DYRYGIC:[1,3,1,1,1,1,2,1,1],LOPTYGIC:[3,1,1,1,1,1,2,1,1],KATYLYGIC:[1,1,1,1,1,2,1,1,3],PHRADYGIC:[1,1,1,1,2,1,1,3,1],MIXODYGIC:[1,1,1,2,1,1,3,1,1],KATALYGIC:[1,1,2,1,1,3,1,1,1],KATORYGIC:[1,2,1,1,3,1,1,1,1],DOGYGIC:[2,1,1,3,1,1,1,1,1],ZODYGIC:[1,1,3,1,1,1,1,1,2],MADYGIC:[1,3,1,1,1,1,1,2,1],BAGYGIC:[2,2,1,2,1,1,1,1,1],MATHYGIC:[2,1,2,1,1,1,1,1,2],STYPTYGIC:[1,2,1,1,1,1,1,2,2],ZOLYGIC:[2,1,1,1,1,1,2,2,1],SYDYGIC:[1,1,1,1,1,2,2,1,2],KATYGIC:[1,1,1,1,2,2,1,2,1],ZYPHYGIC:[1,1,1,2,2,1,2,1,1],AERALYGIC:[1,1,2,2,1,2,1,1,1],RYPTYGIC:[1,2,2,1,2,1,1,1,1],APINYGIC:[2,2,1,1,1,1,1,2,1],KATAGYGIC:[2,1,1,1,1,1,2,1,2],RADYGIC:[1,1,1,1,1,2,1,2,2],GOTHYGIC:[1,1,1,1,2,1,2,2,1],LYTHYGIC:[1,1,1,2,1,2,2,1,1],BACRYGIC:[1,1,2,1,2,2,1,1,1],AERYGIC:[1,2,1,2,2,1,1,1,1],DATHYGIC:[2,1,2,2,1,1,1,1,1],BOPTYGIC:[1,2,2,1,1,1,1,1,2],EPYRYGIC:[2,1,2,1,1,2,1,1,1],AERADYGIC:[1,2,1,1,2,1,1,1,2],STAPTYGIC:[2,1,1,2,1,1,1,2,1],DANYGIC:[1,1,2,1,1,1,2,1,2],GOPTYGIC:[1,2,1,1,1,2,1,2,1],EPOCRYGIC:[2,1,1,1,2,1,2,1,1],ROCRYGIC:[1,1,1,2,1,2,1,1,2],ZYRYGIC:[1,1,2,1,2,1,1,2,1],SADYGIC:[1,2,1,2,1,1,2,1,1],AEOLORYGIC:[2,1,2,1,1,1,2,1,1],THYDYGIC:[1,2,1,1,1,2,1,1,2],GYCRYGIC:[2,1,1,1,2,1,1,2,1],LYRYGIC:[1,1,1,2,1,1,2,1,2],MODYGIC:[1,1,2,1,1,2,1,2,1],KATODYGIC:[1,2,1,1,2,1,2,1,1],MOPTYGIC:[2,1,1,2,1,2,1,1,1],IONOCRYGIC:[1,1,2,1,2,1,1,1,2],GOCRYGIC:[1,2,1,2,1,1,1,2,1],MANYGIC:[4,1,1,1,1,1,1,1,1],POLYGIC:[1,1,1,1,1,1,1,1,4],STANYGIC:[1,1,1,1,1,1,1,4,1],THAPTYGIC:[1,1,1,1,1,1,4,1,1],EPORYGIC:[1,1,1,1,1,4,1,1,1],AERYNYGIC:[1,1,1,1,4,1,1,1,1],THYPTYGIC:[1,1,1,4,1,1,1,1,1],IONOGYGIC:[1,1,4,1,1,1,1,1,1],AEOLARYGIC:[1,4,1,1,1,1,1,1,1],SATHYGIC:[3,2,1,1,1,1,1,1,1],LADYGIC:[2,1,1,1,1,1,1,1,3],SARYGIC:[1,1,1,1,1,1,1,3,2],THACRYGIC:[1,1,1,1,1,1,3,2,1],AEOLYNYGIC:[1,1,1,1,1,3,2,1,1],THADYGIC:[1,1,1,1,3,2,1,1,1],LYNYGIC:[1,1,1,3,2,1,1,1,1],DOPTYGIC:[1,1,3,2,1,1,1,1,1],IONILYGIC:[1,3,2,1,1,1,1,1,1],PHRYGIC:[3,1,2,1,1,1,1,1,1],AERANYGIC:[1,2,1,1,1,1,1,1,3],DOTHYGIC:[2,1,1,1,1,1,1,3,1],LYDYGIC:[1,1,1,1,1,1,3,1,2],STADYGIC:[1,1,1,1,1,3,1,2,1],BYPTYGIC:[1,1,1,1,3,1,2,1,1],STODYGIC:[1,1,1,3,1,2,1,1,1],ZYNYGIC:[1,1,3,1,2,1,1,1,1],LONYGIC:[1,3,1,2,1,1,1,1,1],ZOTHYGIC:[3,1,1,1,1,1,1,2,1],AEOLATHYGIC:[1,1,1,1,1,1,2,1,3],AEOLOCRYGIC:[1,1,1,1,1,2,1,3,1],PHROPTYGIC:[1,1,1,1,2,1,3,1,1],KODYGIC:[1,1,1,2,1,3,1,1,1],EPARYGIC:[1,1,2,1,3,1,1,1,1],IONYGIC:[1,2,1,3,1,1,1,1,1],GYPTYGIC:[2,1,3,1,1,1,1,1,1],AERYTHYGIC:[1,3,1,1,1,1,1,1,2],AEOLACRYGIC:[3,1,1,1,1,1,1,1,2],RAPTYGIC:[1,1,1,1,1,1,1,2,3],GYTHYGIC:[1,1,1,1,1,1,2,3,1],PYRYGIC:[1,1,1,1,1,2,3,1,1],RYCRYGIC:[1,1,1,1,2,3,1,1,1],PHRATHYGIC:[1,1,1,2,3,1,1,1,1],BADYGIC:[1,1,2,3,1,1,1,1,1],PHROCRYGIC:[1,2,3,1,1,1,1,1,1],STARYGIC:[2,3,1,1,1,1,1,1,1],KYRYGIC:[2,2,2,1,1,1,1,1,1],SYTHYGIC:[2,2,1,1,1,1,1,1,2],KATYCRYGIC:[2,1,1,1,1,1,1,2,2],THARYGIC:[1,1,1,1,1,1,2,2,2],SYLYGIC:[1,1,1,1,1,2,2,2,1],LOTHYGIC:[1,1,1,1,2,2,2,1,1],DARYGIC:[1,1,1,2,2,2,1,1,1],MONYGIC:[1,1,2,2,2,1,1,1,1],STYRYGIC:[1,2,2,2,1,1,1,1,1],PORYGIC:[2,2,1,1,2,1,1,1,1],MOCRYGIC:[2,1,1,2,1,1,1,1,2],AEOLYRYGIC:[1,1,2,1,1,1,1,2,2],BARYGIC:[1,2,1,1,1,1,2,2,1],KATARYGIC:[2,1,1,1,1,2,2,1,1],AEROCRYGIC:[1,1,1,1,2,2,1,1,2],ZANYGIC:[1,1,1,2,2,1,1,2,1],AEOLONYGIC:[1,1,2,2,1,1,2,1,1],AEOLANYGIC:[1,2,2,1,1,2,1,1,1],KAPTYGIC:[2,2,1,1,1,1,2,1,1],SACRYGIC:[2,1,1,1,1,2,1,1,2],PADYGIC:[1,1,1,1,2,1,1,2,2],EPILYGIC:[1,1,1,2,1,1,2,2,1],KYNYGIC:[1,1,2,1,1,2,2,1,1],STOPHYGIC:[1,2,1,1,2,2,1,1,1],IONIDYGIC:[2,1,1,2,2,1,1,1,1],STONYGIC:[1,1,2,2,1,1,1,1,2],STALYGIC:[1,2,2,1,1,1,1,2,1],KOPTYGIC:[2,1,2,1,2,1,1,1,1],RAPHYGIC:[1,2,1,2,1,1,1,1,2],ZYCRYGIC:[2,1,2,1,1,1,1,2,1],MYCRYGIC:[1,2,1,1,1,1,2,1,2],LAPTYGIC:[2,1,1,1,1,2,1,2,1],PYLYGIC:[1,1,1,1,2,1,2,1,2],RODYGIC:[1,1,1,2,1,2,1,2,1],EPOLYGIC:[1,1,2,1,2,1,2,1,1],EPIDYGIC:[1,2,1,2,1,2,1,1,1],PHRONYGIC:[2,1,1,2,1,1,2,1,1],STYNYGIC:[1,1,2,1,1,2,1,1,2],ZYDYGIC:[1,2,1,1,2,1,1,2,1],AERYCRYLLIAN:[2,1,1,1,2,1,1,1,1,1],GADYLLIAN:[1,1,1,2,1,1,1,1,1,2],SOLYLLIAN:[1,1,2,1,1,1,1,1,2,1],ZYPHYLLIAN:[1,2,1,1,1,1,1,2,1,1],GARYLLIAN:[2,1,1,1,1,1,2,1,1,1],SORYLLIAN:[1,1,1,1,1,2,1,1,1,2],GODYLLIAN:[1,1,1,1,2,1,1,1,2,1],EPITYLLIAN:[1,1,1,2,1,1,1,2,1,1],IONYLLIAN:[1,1,2,1,1,1,2,1,1,1],AEORYLLIAN:[1,2,1,1,1,2,1,1,1,1],KATORYLLIAN:[3,1,1,1,1,1,1,1,1,1],DODYLLIAN:[1,1,1,1,1,1,1,1,1,3],ZOGYLLIAN:[1,1,1,1,1,1,1,1,3,1],MADYLLIAN:[1,1,1,1,1,1,1,3,1,1],DYCRYLLIAN:[1,1,1,1,1,1,3,1,1,1],AEOGYLLIAN:[1,1,1,1,1,3,1,1,1,1],DYDYLLIAN:[1,1,1,1,3,1,1,1,1,1],THOGYLLIAN:[1,1,1,3,1,1,1,1,1,1],RYGYLLIAN:[1,1,3,1,1,1,1,1,1,1],BATHYLLIAN:[1,3,1,1,1,1,1,1,1,1],SYDYLLIAN:[2,2,1,1,1,1,1,1,1,1],KATOGYLLIAN:[2,1,1,1,1,1,1,1,1,2],MIXODYLLIAN:[1,1,1,1,1,1,1,1,2,2],AERADYLLIAN:[1,1,1,1,1,1,1,2,2,1],RYPTYLLIAN:[1,1,1,1,1,1,2,2,1,1],LOPTYLLIAN:[1,1,1,1,1,2,2,1,1,1],KATAPHYLLIAN:[1,1,1,1,2,2,1,1,1,1],PHRADYLLIAN:[1,1,1,2,2,1,1,1,1,1],DAGYLLIAN:[1,1,2,2,1,1,1,1,1,1],KATYLLIAN:[1,2,2,1,1,1,1,1,1,1],GOTHYLLIAN:[2,1,2,1,1,1,1,1,1,1],LYTHYLLIAN:[1,2,1,1,1,1,1,1,1,2],BACRYLLIAN:[2,1,1,1,1,1,1,1,2,1],AERYGYLLIAN:[1,1,1,1,1,1,1,2,1,2],DATHYLLIAN:[1,1,1,1,1,1,2,1,2,1],BOPTYLLIAN:[1,1,1,1,1,2,1,2,1,1],BAGYLLIAN:[1,1,1,1,2,1,2,1,1,1],MATHYLLIAN:[1,1,1,2,1,2,1,1,1,1],STYPTYLLIAN:[1,1,2,1,2,1,1,1,1,1],ZOLYLLIAN:[1,2,1,2,1,1,1,1,1,1],STAPTYLLIAN:[2,1,1,2,1,1,1,1,1,1],DANYLLIAN:[1,1,2,1,1,1,1,1,1,2],GOPTYLLIAN:[1,2,1,1,1,1,1,1,2,1],EPOCRYLLIAN:[2,1,1,1,1,1,1,2,1,1],ROCRYLLIAN:[1,1,1,1,1,1,2,1,1,2],ZYRYLLIAN:[1,1,1,1,1,2,1,1,2,1],SAGYLLIAN:[1,1,1,1,2,1,1,2,1,1],EPINYLLIAN:[1,1,1,2,1,1,2,1,1,1],KATAGYLLIAN:[1,1,2,1,1,2,1,1,1,1],RAGYLLIAN:[1,2,1,1,2,1,1,1,1,1],THYDYLLIAN:[2,1,1,1,1,2,1,1,1,1],EPIRYLLIAN:[1,1,1,1,2,1,1,1,1,2],LYRYLLIAN:[1,1,1,2,1,1,1,1,2,1],MOGYLLIAN:[1,1,2,1,1,1,1,2,1,1],KATODYLLIAN:[1,2,1,1,1,1,2,1,1,1],AERYCRATIC:[2,1,1,1,1,1,1,1,1,1,1],MONATIC:[1,1,1,1,1,1,1,1,1,1,2],SOLATIC:[1,1,1,1,1,1,1,1,1,2,1],ZYLATIC:[1,1,1,1,1,1,1,1,2,1,1],MIXOLATIC:[1,1,1,1,1,1,1,2,1,1,1],SORATIC:[1,1,1,1,1,1,2,1,1,1,1],GODATIC:[1,1,1,1,1,2,1,1,1,1,1],EPTATIC:[1,1,1,1,2,1,1,1,1,1,1],IONATIC:[1,1,1,2,1,1,1,1,1,1,1],AEOLATIC:[1,1,2,1,1,1,1,1,1,1,1],THYDATIC:[1,2,1,1,1,1,1,1,1,1,1],CHROMATIC:[1,1,1,1,1,1,1,1,1,1,1,1]}},Tu=pq(),gq=()=>{const r=Object.keys(Tu),e=r[Math.floor(Math.random()*r.length)];return Tu[e]},ro=r=>Tu[r.toUpperCase()],gw=r=>r.toUpperCase()in Tu,_q=r=>ro(r).length,bq=()=>{const r=[0,4,7],e=[0,3,7],t=[0,4,7,11],n=[0,4,7,10],a=[0,3,7,10],i=[0,4,8],o=[0,3,6],s=[0,3,6,9],l=[0,3,6,10],p={1:[0],5:[0,7],"+5":[0,4,8],"m+5":[0,3,8],sus2:[0,2,7],sus4:[0,5,7],6:[0,4,7,9],m6:[0,3,7,9],"7sus2":[0,2,7,10],"7sus4":[0,5,7,10],"7-5":[0,4,6,10],"7+5":[0,4,8,10],"m7+5":[0,3,8,10],9:[0,4,7,10,14],m9:[0,3,7,10,14],"m7+9":[0,3,7,10,14],maj9:[0,4,7,11,14],"9sus4":[0,5,7,10,14],"6*9":[0,4,7,9,14],"m6*9":[0,3,7,9,14],"7-9":[0,4,7,10,13],"m7-9":[0,3,7,10,13],"7-10":[0,4,7,10,15],"7-11":[0,4,7,10,16],"7-13":[0,4,7,10,20],"9+5":[0,10,13],"m9+5":[0,10,14],"7+5-9":[0,4,8,10,13],"m7+5-9":[0,3,8,10,13],11:[0,4,7,10,14,17],m11:[0,3,7,10,14,17],maj11:[0,4,7,11,14,17],"11+":[0,4,7,10,14,18],"m11+":[0,3,7,10,14,18],13:[0,4,7,10,14,17,21],m13:[0,3,7,10,14,17,21],add2:[0,2,4,7],add4:[0,4,5,7],add9:[0,4,7,14],add11:[0,4,7,17],add13:[0,4,7,21],madd2:[0,2,3,7],madd4:[0,3,5,7],madd9:[0,3,7,14],madd11:[0,3,7,17],madd13:[0,3,7,21],dim9:[0,3,6,9,14],dim:o,hdim7:l,hdim9:[0,3,6,10,14],hdimb9:[0,3,6,10,13],augMaj7:[0,4,8,11],minmaj7:[0,3,7,11],five:[0,7,12],seven:n,nine:[0,4,10,14],b9:[0,4,10,13],mM9:[0,3,11,14],min7:a,min9:[0,3,10,14],b5:[0,4,6,12],mb5:[0,3,6,12],major:r,maj:r,M:r,minor:e,min:e,m:e,major7:t,dom7:n,7:n,M7:t,m7:a,augmented:i,a:i,aug:i,diminished:o,diminished7:s,dim7:s,halfdim:l,m7b5:l,"m7-5":l},_=Object.keys(p);return[p,_]},[_E,upe]=bq(),_w=function(){function r(a,i){function o(){this.constructor=a}o.prototype=i.prototype,a.prototype=new o}function e(a,i,o,s){var l=Error.call(this,a);return Object.setPrototypeOf&&Object.setPrototypeOf(l,e.prototype),l.expected=i,l.found=o,l.location=s,l.name="SyntaxError",l}r(e,Error);function t(a,i,o){return o=o||" ",a.length>i?a:(i-=a.length,o+=o.repeat(i),a+o.slice(0,i))}e.prototype.format=function(a){var i="Error: "+this.message;if(this.location){var o=null,s;for(s=0;s `+u+` `+p+` | `+c.line+" | "+_+` `+p+" | "+t("",l.column-1," ")+t("",A,"^")}else i+=` at `+u}return i},e.buildMessage=function(a,i){var o={literal:function(_){return'"'+l(_.text)+'"'},class:function(_){var b=_.parts.map(function(A){return Array.isArray(A)?c(A[0])+"-"+c(A[1]):c(A)});return"["+(_.inverted?"^":"")+b.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(_){return _.description}};function s(_){return _.charCodeAt(0).toString(16).toUpperCase()}function l(_){return _.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(b){return"\\x0"+s(b)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(b){return"\\x"+s(b)})}function c(_){return _.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(b){return"\\x0"+s(b)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(b){return"\\x"+s(b)})}function u(_){return o[_.type](_)}function h(_){var b=_.map(u),A,I;if(b.sort(),b.length>0){for(A=1,I=1;A",V="[",m="+",O="*",S="%",k="&",L="|",F="<<",Y=">>",q=/^[' '\t\r\n]/,te=/^[0-9]/,se=rt(["'"," ","'"," ","\r",` -`],!1,!1),ie=Tt("(",!1),ae=Tt(",",!1),D=Tt(")",!1),P=rt([["0","9"]],!1,!1),H=Tt(".",!1),z=Tt("-",!1),ne=Tt("/",!1),oe=Tt("\\",!1),_e=Tt("<",!1),ye=Tt(">",!1),we=Tt("[",!1),Ee=Tt("+",!1),Ce=Tt("*",!1),he=Tt("%",!1),xe=Tt("&",!1),je=Tt("|",!1),Ve=Tt("<<",!1),nt=Tt(">>",!1),et=function(X){return rs(X.filter(le=>le))},yt=function(){},Lt=function(X,le){return Math.floor(Math.random()*(le-X+1)+X)},St=function(X,le){return Math.random()*(le-X)+X},Dt=function(){return parseFloat(ut())},Pt=function(){return parseInt(ut())},Rn=function(X){return v_(X)},ze=function(X,le){return X/le},En=function(X,le){return Math.pow(2,X/le)},ht=function(X,le,me,Se){var Ae=Se?me/Se:me;return Math.pow(Ae,X/le)},Ke=function(X,le){return parseFloat(X.toString()+"."+le.toString())},wn=function(X){return X.filter(le=>le)},tn=function(X){return KQ(X)},Ut=function(){return mw(ut())},j=0,be=0,De=[{line:1,column:1}],Ne=0,Me=[],Re={},$t;if("startRule"in i){if(!(i.startRule in l))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');c=l[i.startRule]}function ut(){return a.substring(be,j)}function Tt(X,le){return{type:"literal",text:X,ignoreCase:le}}function rt(X,le,me){return{type:"class",parts:X,inverted:le,ignoreCase:me}}function it(){return{type:"end"}}function Vt(X){var le=De[X],me;if(le)return le;for(me=X-1;!De[me];)me--;for(le=De[me],le={line:le.line,column:le.column};meNe&&(Ne=j,Me=[]),Me.push(X))}function Gn(X,le,me){return new e(e.buildMessage(X,le),X,le,me)}function Fr(){var X,le,me,Se=j*17+0,Ae=Re[Se];if(Ae)return j=Ae.nextPos,Ae.result;if(X=j,le=[],me=$r(),me===o&&(me=ir(),me===o&&(me=Gr(),me===o&&(me=sn(),me===o&&(me=ft())))),me!==o)for(;me!==o;)le.push(me),me=$r(),me===o&&(me=ir(),me===o&&(me=Gr(),me===o&&(me=sn(),me===o&&(me=ft()))));else le=o;return le!==o&&(be=X,le=et(le)),X=le,Re[Se]={nextPos:j,result:X},X}function ft(){var X,le,me=j*17+1,Se=Re[me];return Se?(j=Se.nextPos,Se.result):(X=j,q.test(a.charAt(j))?(le=a.charAt(j),j++):(le=o,Ye(se)),le!==o&&(be=X,le=yt()),X=le,Re[me]={nextPos:j,result:X},X)}function ir(){var X,le=j*17+2,me=Re[le];return me?(j=me.nextPos,me.result):(X=Ur(),X===o&&(X=nn(),X===o&&(X=Ln(),X===o&&(X=Ai()))),Re[le]={nextPos:j,result:X},X)}function Ln(){var X,le,me,Se,Ae,Qe,Pe=j*17+3,At=Re[Pe];return At?(j=At.nextPos,At.result):(X=j,a.charCodeAt(j)===40?(le=u,j++):(le=o,Ye(ie)),le!==o?(me=nn(),me!==o?(a.charCodeAt(j)===44?(Se=h,j++):(Se=o,Ye(ae)),Se!==o?(Ae=nn(),Ae!==o?(a.charCodeAt(j)===41?(Qe=p,j++):(Qe=o,Ye(D)),Qe!==o?(be=X,X=Lt(me,Ae)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Pe]={nextPos:j,result:X},X)}function Ai(){var X,le,me,Se,Ae,Qe,Pe=j*17+4,At=Re[Pe];return At?(j=At.nextPos,At.result):(X=j,a.charCodeAt(j)===40?(le=u,j++):(le=o,Ye(ie)),le!==o?(me=Ur(),me!==o?(a.charCodeAt(j)===44?(Se=h,j++):(Se=o,Ye(ae)),Se!==o?(Ae=Ur(),Ae!==o?(a.charCodeAt(j)===41?(Qe=p,j++):(Qe=o,Ye(D)),Qe!==o?(be=X,X=St(me,Ae)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Pe]={nextPos:j,result:X},X)}function Ur(){var X,le,me,Se,Ae,Qe,Pe,At=j*17+5,qn=Re[At];if(qn)return j=qn.nextPos,qn.result;if(X=j,le=j,me=[],te.test(a.charAt(j))?(Se=a.charAt(j),j++):(Se=o,Ye(P)),Se!==o)for(;Se!==o;)me.push(Se),te.test(a.charAt(j))?(Se=a.charAt(j),j++):(Se=o,Ye(P));else me=o;if(me!==o?(a.charCodeAt(j)===46?(Se=_,j++):(Se=o,Ye(H)),Se!==o?(me=[me,Se],le=me):(j=le,le=o)):(j=le,le=o),le===o){for(le=j,a.charCodeAt(j)===45?(me=b,j++):(me=o,Ye(z)),me===o&&(me=null),Se=[],te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P));Ae!==o;)Se.push(Ae),te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P));if(a.charCodeAt(j)===46?(Ae=_,j++):(Ae=o,Ye(H)),Ae!==o){if(Qe=[],te.test(a.charAt(j))?(Pe=a.charAt(j),j++):(Pe=o,Ye(P)),Pe!==o)for(;Pe!==o;)Qe.push(Pe),te.test(a.charAt(j))?(Pe=a.charAt(j),j++):(Pe=o,Ye(P));else Qe=o;Qe!==o?(me=[me,Se,Ae,Qe],le=me):(j=le,le=o)}else j=le,le=o;if(le===o)if(le=j,a.charCodeAt(j)===46?(me=_,j++):(me=o,Ye(H)),me!==o){if(Se=[],te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P)),Ae!==o)for(;Ae!==o;)Se.push(Ae),te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P));else Se=o;Se!==o?(me=[me,Se],le=me):(j=le,le=o)}else j=le,le=o}return le!==o&&(be=X,le=Dt()),X=le,Re[At]={nextPos:j,result:X},X}function nn(){var X,le,me,Se=j*17+6,Ae=Re[Se];if(Ae)return j=Ae.nextPos,Ae.result;if(X=j,a.charCodeAt(j)===45?j++:Ye(z),le=[],te.test(a.charAt(j))?(me=a.charAt(j),j++):(me=o,Ye(P)),me!==o)for(;me!==o;)le.push(me),te.test(a.charAt(j))?(me=a.charAt(j),j++):(me=o,Ye(P));else le=o;return le!==o?(be=X,X=Pt()):(j=X,X=o),Re[Se]={nextPos:j,result:X},X}function $r(){var X,le,me=j*17+7,Se=Re[me];return Se?(j=Se.nextPos,Se.result):(X=j,le=vr(),le===o&&(le=Ra(),le===o&&(le=Ii(),le===o&&(le=Er()))),le!==o&&(be=X,le=Rn(le)),X=le,Re[me]={nextPos:j,result:X},X)}function Ii(){var X,le,me,Se,Ae=j*17+8,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,le=nn(),le===o&&(le=Ln()),le!==o?(a.charCodeAt(j)===47?(me=A,j++):(me=o,Ye(ne)),me!==o?(Se=nn(),Se===o&&(Se=Ln()),Se!==o?(be=X,X=ze(le,Se)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function Ra(){var X,le,me,Se,Ae=j*17+9,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,le=nn(),le===o&&(le=Ln()),le!==o?(a.charCodeAt(j)===92?(me=I,j++):(me=o,Ye(oe)),me!==o?(Se=nn(),Se===o&&(Se=Ln()),Se!==o?(be=X,X=En(le,Se)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function vr(){var X,le,me,Se,Ae,Qe,Pe,At,qn=j*17+10,or=Re[qn];return or?(j=or.nextPos,or.result):(X=j,le=nn(),le===o&&(le=Ln()),le!==o?(a.charCodeAt(j)===92?(me=I,j++):(me=o,Ye(oe)),me!==o?(Se=nn(),Se===o&&(Se=Ln()),Se!==o?(a.charCodeAt(j)===60?(Ae=M,j++):(Ae=o,Ye(_e)),Ae!==o?(Qe=nn(),Qe===o&&(Qe=Ln()),Qe!==o?(a.charCodeAt(j)===47?j++:Ye(ne),Pe=nn(),Pe===o&&(Pe=Ln()),Pe===o&&(Pe=null),a.charCodeAt(j)===62?(At=U,j++):(At=o,Ye(ye)),At!==o?(be=X,X=ht(le,Se,Qe,Pe)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[qn]={nextPos:j,result:X},X)}function Er(){var X,le,me,Se,Ae=j*17+11,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,le=nn(),le!==o?(a.charCodeAt(j)===44?(me=h,j++):(me=o,Ye(ae)),me!==o?(Se=nn(),Se!==o?(be=X,X=Ke(le,Se)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function wa(){var X,le,me,Se=j*17+12,Ae=Re[Se];if(Ae)return j=Ae.nextPos,Ae.result;if(X=j,le=[],me=nn(),me===o&&(me=ft()),me!==o)for(;me!==o;)le.push(me),me=nn(),me===o&&(me=ft());else le=o;return le!==o&&(be=X,le=wn(le)),X=le,Re[Se]={nextPos:j,result:X},X}function Gr(){var X,le,me,Se,Ae=j*17+13,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,a.charCodeAt(j)===91?(le=V,j++):(le=o,Ye(we)),le!==o?(me=wa(),me!==o?(a.charCodeAt(j)===62?(Se=U,j++):(Se=o,Ye(ye)),Se!==o?(be=X,X=tn(me)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function sn(){var X,le,me,Se,Ae,Qe,Pe,At,qn=j*17+14,or=Re[qn];if(or)return j=or.nextPos,or.result;if(X=j,le=ir(),le===o&&(le=$r(),le===o&&(le=Gr(),le===o)))for(le=[],me=ft();me!==o;)le.push(me),me=ft();if(le!==o){if(me=[],Se=j,Ae=za(),Ae!==o){for(Qe=[],Pe=ft();Pe!==o;)Qe.push(Pe),Pe=ft();if(Pe=ir(),Pe===o&&(Pe=$r(),Pe===o&&(Pe=Gr(),Pe===o&&(Pe=Wa(),Pe===o&&(Pe=sn(),Pe===o)))))for(Pe=[],At=ft();At!==o;)Pe.push(At),At=ft();Pe!==o?(Ae=[Ae,Qe,Pe],Se=Ae):(j=Se,Se=o)}else j=Se,Se=o;if(Se!==o)for(;Se!==o;)if(me.push(Se),Se=j,Ae=za(),Ae!==o){for(Qe=[],Pe=ft();Pe!==o;)Qe.push(Pe),Pe=ft();if(Pe=ir(),Pe===o&&(Pe=$r(),Pe===o&&(Pe=Gr(),Pe===o&&(Pe=Wa(),Pe===o&&(Pe=sn(),Pe===o)))))for(Pe=[],At=ft();At!==o;)Pe.push(At),At=ft();Pe!==o?(Ae=[Ae,Qe,Pe],Se=Ae):(j=Se,Se=o)}else j=Se,Se=o;else me=o;me!==o?(be=X,X=Ut()):(j=X,X=o)}else j=X,X=o;return Re[qn]={nextPos:j,result:X},X}function za(){var X,le=j*17+15,me=Re[le];return me?(j=me.nextPos,me.result):(a.charCodeAt(j)===43?(X=m,j++):(X=o,Ye(Ee)),X===o&&(a.charCodeAt(j)===45?(X=b,j++):(X=o,Ye(z)),X===o&&(a.charCodeAt(j)===42?(X=O,j++):(X=o,Ye(Ce)),X===o&&(a.charCodeAt(j)===37?(X=S,j++):(X=o,Ye(he)),X===o&&(a.charCodeAt(j)===38?(X=k,j++):(X=o,Ye(xe)),X===o&&(a.charCodeAt(j)===124?(X=L,j++):(X=o,Ye(je)),X===o&&(a.substr(j,2)===F?(X=F,j+=2):(X=o,Ye(Ve)),X===o&&(a.substr(j,2)===Y?(X=Y,j+=2):(X=o,Ye(nt))))))))),Re[le]={nextPos:j,result:X},X)}function Wa(){var X,le,me,Se,Ae=j*17+16,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,a.charCodeAt(j)===40?(le=u,j++):(le=o,Ye(ie)),le!==o?(me=sn(),me!==o?(a.charCodeAt(j)===41?(Se=p,j++):(Se=o,Ye(D)),Se!==o?(le=[le,me,Se],X=le):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}if($t=c(),$t!==o&&j===a.length)return $t;throw $t!==o&&j{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+(t+n)%i+i)%i;return[o,s,l]},lt=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n)%i+i)%i;return[o,s,l]},Nt=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},na=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*n+t)%i+i)%i;return[o,s,l,c]},Cn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},kt=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n-(n-t))%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},Un=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*n%i+i)%i;return[o,s,l]},Ua=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+2*t%i+i)%i;return[o,s,l]},vn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+2*t%i+i)%i,c=(r+3*t%i+i)%i;return[o,s,l,c]},Lr=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*n+t)%i+i)%i;return[o,s,l,c]},Pr=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*n%i+i)%i,c=(r+(2*n+t)%i+i)%i;return[o,s,l,c]},Zn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*n%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},jn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*t%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},fe=(r,e=12)=>{const t=[];for(let n=0;n{const[,,t]=e;r.sort((a,i)=>a-i);const n=[...r];return Math.abs(r[1]-r[0])===t&&(r[0]=n[1],r[1]=n[2],r[2]=n[0]),Math.abs(r[2]-r[1])===t&&(r[0]=n[2],r[1]=n[0],r[2]=n[1]),r},Ge=(r,e)=>r.length!==e.length?!1:r.map((a,i)=>a===e[i]).every(a=>a===!0),qe=(r,e)=>r.length!==e.length?!1:r.map((a,i)=>a===e[i]).every(a=>a===!0),bq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0],e):c&&(s=st(s[0],e)),fe(s,i))},Sq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=n,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Oq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]-o,e):u&&(l=st(l[0]+o,e)),fe(l,i))},vq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t+n,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Eq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=a,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},yq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=n-t,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Tq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=2*n,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Cq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=2*t,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=st(l[0]+o,e):u&&(l=lt(l[0]-o,e)),fe(l,i))},Rq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0]+n,e):c&&(s=st(s[0]+t,e)),fe(s,i))},wq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0]-t,e):c&&(s=st(s[0]-n,e)),fe(s,i))},Aq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0]+(n-t),e):c&&(s=st(s[0],e)),fe(s,i))},Iq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0],e):c&&(s=st(s[0]-(n-t),e)),fe(s,i))},kq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,st(o[0],e)),l=qe(o,Ua(o[0],e));if(s===l)return o;let c=[...o];return s?c=Ua(c[0]+(n-t),e):c=st(c[0]-(n-t),e),fe(c,i)},Nq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0]+(n-t),e):c=Un(c[0]-(n-t),e),fe(c,i)},Dq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,st(o[0],e));if(s===l)return o;let c=[...o];return s?c=st(c[0]+n,e):c=Un(c[0]-n,e),fe(c,i)},xq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0]+a,e):c=Un(c[0]-a,e),fe(c,i)},Mq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,st(o[0],e)),l=qe(o,Un(o[0],e));if(s===l)return o;let c=[...o];return s?c=Un(c[0]+n,e):c=st(c[0]-n,e),fe(c,i)},Lq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Ua(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0],e):c=Ua(c[0],e),fe(c,i)},Pq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0]-t,e):c=Un(c[0]+t,e),fe(c,i)},Bq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,st(o[0],e));if(s===l)return o;let c=[...o];return s?c=st(c[0],e):c=Un(c[0],e),fe(c,i)},Yq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,st(o[0],e)),l=qe(o,Ua(o[0],e));if(s===l)return o;let c=[...o];return s?c=Ua(c[0]+n,e):c=st(c[0]-n,e),fe(c,i)},Fq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,lt(o[0],e)),l=qe(o,Ua(o[0],e));if(s===l)return o;let c=[...o];return s?c=Ua(c[0]-t,e):c=lt(c[0]+t,e),fe(c,i)},Uq={M:st,maj:st,m:lt,min:lt,7:Nt,maj7:na,m7:Cn,hdim7:kt,aug:Un,augmented:Un,diminished:Ua,dim7:vn,minMaj7:Lr,maj7aug5:Pr,dom7aug5:Zn,dom7b5:jn},$q=(r,e,t=[3,4,5])=>Uq[e](r,t),Xg={p:bq,l:Sq,r:Oq,f:vq,n:Eq,s:yq,h:Tq,t6:Cq,p32:Lq,p41:Bq,lt13:Yq,l41:Dq,l14:Mq,rt23:Fq,rt42:Pq,q13:kq,q42:Nq,n42:xq,N:Rq,S:wq,E:Aq,W:Iq},Gq={p:["p","p32","p41"],l:["l","lt13","l41"],r:["r","rt23","rt42"],f:["f"],n:["n","n42"],s:["s"],h:["h"],t:["t6"],q:["q13","q42"],N:["N"],S:["S"],E:["E"],W:["W"]},qq=(r,e,t=[3,4,5])=>{const n=e.match(/(([plrfnshtq]|[rl][t])[0-9]*)/g);if(!n||n&&n.length<1)return r;let a=[...r];for(let i=0;i{const[,n]=e,a=[];for(let i=0;i{const[n,a,i]=e,o=n+a+i,s=[];for(let l=0;l<=3;l++){const c=(r+l*(n+a)%o+o)%o;for(let p=0;p{const[n]=e,a=[];for(let i=0;i{const[,n]=e,a=[];for(let i=0;i{const[t,n,a]=e,i=Un(r,e),o=[],s=fe(lt(r+(n-t),e)),l=fe(lt(r+a,e)),c=fe(lt(r+n+a,e)),u=fe(st(r,e)),h=fe(st(r+-n,e)),p=fe(st(r+n,e));return o.push(i,p,c,u,l,h,s),o},Xq=(r,e=[3,4,5],t=3)=>{const[n]=e,a=[];for(let i=0;i>=-n*Math.abs(t);i+=-n){const o=r+i,s=fe(kt(o,e)),l=fe(Cn(o,e)),c=fe(Nt(o,e));a.push(s,l,c)}return a},Kq=(r,e=[3,4,5])=>{const[t,n,a]=e,i=vn(r,e),o=[],s=fe(Nt(r-(n-t),e)),l=fe(kt(r+t,e)),c=fe(Nt(r+(a-t),e)),u=fe(kt(r+(a+(n-t)),e)),h=fe(Nt(r-(t+n),e)),p=fe(kt(r+-t,e)),_=fe(Nt(r+-n,e)),b=fe(kt(r,e));return o.push(i,s,l,c,u,h,p,_,b),o},Zq=(r,e=[3,4,5],t=3)=>{const[n,a,i]=e,o=n+a+i,s=[];for(let l=0;l<3;l++){const c=(r+l*a%o+o)%o;for(let u=0;u>=-n*Math.abs(t);u+=-n){const h=c+u,p=fe(kt(h,e)),_=fe(Cn(h,e)),b=fe(Nt(h,e));s.push(p,_,b)}s.push(fe(vn(c+(n-i),e)))}return s},jq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,Cn(s[0],e));if(l===c)return s;const u=[...s];return u[1]%i!==(u[0]+n)%i?u[1]-=o:u[1]+=o,fe(u,i)},Jq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,na(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+(2*n+t))%i?u[3]-=o:u[3]+=o,fe(u,i)},eQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Cn(s[0],e)),c=qe(s,kt(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+(t+n))%i?u[2]-=o:u[2]+=o,fe(u,i)},tQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,kt(s[0],e)),c=qe(s,vn(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+(2*t+n))%i?u[3]-=o:u[3]+=o,fe(u,i)},nQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]-t,e):c=Nt(c[0]+t,e),fe(c,i)},rQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Cn(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]-t,e):c=Cn(c[0]+t,e),fe(c,i)},aQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,na(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]-t,e):c=na(c[0]+t,e),fe(c,i)},iQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]-t,e):c=kt(c[0]+t,e),fe(c,i)},oQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,vn(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]-t,e):c=vn(c[0]+t,e),fe(c,i)},sQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]+n,e):c=Nt(c[0]-n,e),fe(c,i)},lQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]+n,e):c=Nt(c[0]-n,e),fe(c,i)},cQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,na(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]+n,e):c=na(c[0]-n,e),fe(c,i)},uQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,na(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]+(n-t),e):c=na(c[0]-(n-t),e),fe(c,i)},dQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]+(n-t),e):c=Nt(c[0]-(n-t),e),fe(c,i)},hQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]+2*t,e):c=kt(c[0]-2*t,e),fe(c,i)},fQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,vn(o[0],e)),l=qe(o,Nt(o[0],e));if(s===l)return o;let c=[...o];return s?c=Nt(c[0]+(a-t),e):c=vn(c[0]-(a-t),e),fe(c,i)},mQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,vn(o[0],e)),l=qe(o,Nt(o[0],e));if(s===l)return o;let c=[...o];return s?c=Nt(c[0]+a,e):c=vn(c[0]-a,e),fe(c,i)},pQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,Zn(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+t+n)%i?u[2]+=o:u[2]-=o,fe(u,i)},gQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,jn(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+t+n)%i?u[2]-=o:u[2]+=o,fe(u,i)},_Q=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Cn(s[0],e)),c=qe(s,Lr(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+2*t+n)%i?u[3]+=o:u[3]-=o,fe(u,i)},bQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,kt(s[0],e)),c=qe(s,jn(s[0],e));if(l===c)return s;const u=[...s];return u[1]%i!==(u[0]+n)%i?u[1]-=o:u[1]+=o,fe(u,i)},SQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,na(s[0],e)),c=qe(s,Pr(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+t+n)%i?u[2]+=o:u[2]-=o,fe(u,i)},OQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Lr(s[0],e)),c=qe(s,na(s[0],e));if(l===c)return s;const u=[...s];return u[1]%i!==(u[0]+n)%i?u[1]-=o:u[1]+=o,fe(u,i)},vQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Zn(s[0],e)),c=qe(s,Pr(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+2*t+n)%i?u[3]+=o:u[3]-=o,fe(u,i)},EQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=a-t,s=fe(r),l=Ge(s,jn(s[0],e)),c=qe(s,Zn(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+2*t)%i?u[2]-=o:u[2]+=o,fe(u,i)},yQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Lr(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]-t,e):c=Lr(c[0]+t,e),fe(c,i)},TQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Lr(o[0],e));if(s===l)return o;let c=[...o];return s?c=Lr(c[0]-t,e):c=Pr(c[0]+t,e),fe(c,i)},CQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Zn(o[0],e)),l=qe(o,Lr(o[0],e));if(s===l)return o;let c=[...o];return s?c=Lr(c[0]-t,e):c=Zn(c[0]+t,e),fe(c,i)},RQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Nt(o[0],e));if(s===l)return o;let c=[...o];return s?c=Nt(c[0]+n,e):c=Pr(c[0]-n,e),fe(c,i)},wQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Zn(o[0],e)),l=qe(o,jn(o[0],e));if(s===l)return o;let c=[...o];return s?c=jn(c[0]+n,e):c=Zn(c[0]-n,e),fe(c,i)},AQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]+(n-t),e):c=Pr(c[0]-(n-t),e),fe(c,i)},IQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Lr(o[0],e));if(s===l)return o;let c=[...o];return s?c=Lr(c[0]+(n-t),e):c=Pr(c[0]-(n-t),e),fe(c,i)},kQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,jn(o[0],e));if(s===l)return o;let c=[...o];return s?c=jn(c[0]+2*t,e):c=Nt(c[0]-2*t,e),fe(c,i)},NQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,jn(o[0],e));if(s===l)return o;let c=[...o];return s?c=jn(c[0]+2*t,e):c=kt(c[0]-2*t,e),fe(c,i)},DQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,jn(o[0],e)),l=qe(o,Zn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Zn(c[0]+2*t,e):c=jn(c[0]-2*t,e),fe(c,i)},xQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,Zn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Zn(c[0]+(a-t),e):c=kt(c[0]-(a-t),e),fe(c,i)},MQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,jn(o[0],e)),l=qe(o,Zn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Zn(c[0]+(a-t),e):c=jn(c[0]-(a-t),e),fe(c,i)},bw={p12:jq,p14:Jq,p23:eQ,p35:tQ,r12:nQ,r23:rQ,r42:aQ,r35:iQ,r53:oQ,l13:sQ,l15:lQ,l42:cQ,q43:uQ,q15:dQ,rr35:hQ,qq51:fQ,n51:mQ,p18:pQ,p19:gQ,p26:_Q,p39:bQ,p47:SQ,p64:OQ,p87:vQ,p98:EQ,r63:yQ,r76:TQ,r86:CQ,l71:RQ,l89:wQ,q62:AQ,q76:IQ,rr19:kQ,rr39:NQ,rr98:DQ,qq38:xQ,qq98:MQ},LQ=(r,e,t=[3,4,5])=>{const n=e.match(/([a-z]{1,2}[0-9]*)/g);if(!n||n&&n.length<1)return r;let a=[...r];for(let i=0;i{const n=new RegExp("([A-Za-z])([0-9]*)","g");let a=n.exec(e);if(!a||a&&a.length<1)return r;let i=[...fe(r)];for(;a!=null;){if(i.length===4){const o=BQ(i);if(o){const s=o[a[1]];if(s){let l=0;a[2].length>0&&(l=parseInt(a[2])-1),l=ro(l,s.length);const c=s[l];i=bw[c](i,t)}}}else if(i.length===3){const o=Gq[a[1]];if(o)if(a[1]==="N"||a[1]==="S"||a[1]==="W"||a[1]==="E"){let s=a[2].length>0?parseInt(a[2]):1;s=s<=0?1:s;for(let l=0;l0?parseInt(a[2])-1:0;s=ro(s,o.length);const l=o[s];i=Xg[l](i,t)}}a=n.exec(e)}return i},SE={maj7:na,7:Nt,m7:Cn,hdim7:kt,dim7:vn,minMaj7:Lr,maj7aug5:Pr,dom7aug5:Zn,dom7b5:jn},PQ={7:{p:["p12","p14","p18","p19"],l:["l13","l15","l71"],r:["r12","rr19"],q:["q15","qq51"],n:["n51"]},m7:{p:["p12","p23","p26"],l:["l42"],r:["r12","r23","r42"],q:["q62"]},hdim7:{p:["p23","p35","p39"],l:["l13"],r:["r23","r35","r53","r63","rr35","rr39"],q:["q43","qq38"]},maj7:{p:["p14","p47","p64"],l:["l42"],r:["r42"],q:["q43"]},dim7:{p:["p35"],l:["l15"],r:["r35","r53"],q:["q15","qq51"],n:["n51"]},minMaj7:{p:["p26","p64"],r:["r63","r76","r86"],q:["q62","q76"]},maj7aug5:{p:["p47","p87"],l:["l71"],r:["r76"],q:["q76"]},dom7aug5:{p:["p18","p87","p98"],l:["l89"],r:["r86","rr98"],q:["qq38","qq98"]},dom7b5:{p:["p19","p39","p98"],l:["l89"],r:["rr19","rr39","rr98"],q:["qq98"]}},BQ=(r,e=[3,4,5])=>{for(const t of Object.keys(SE)){let n=SE[t](r[0],e);if(r.map((o,s)=>o===n[s]).every(o=>o===!0))return PQ[t]}return{}},YQ=["retrograde"];class Ea{constructor(e){T(this,"type");T(this,"text");T(this,"location");this.type=this.constructor.name,Object.assign(this,e)}clone(){return ta(this)}collect(e){return this[e]}refresh(){}evaluate(e={}){return this}prevaluate(e={}){return this}evaluateValue(){return this.text}toString(){return this.text}}class us extends Ea{constructor(t){super(t);T(this,"duration");T(this,"modifiedEvent");T(this,"globalOptions");T(this,"sound");T(this,"soundIndex");Object.assign(this,t)}collect(t){return this[t]}sometimesBy(t,n){return Math.random(){if(Object.prototype.hasOwnProperty.call(this,i)){const o=this[i];(o||o===0)&&(a[i]=this[i])}return a},{})}mapExisting(t,n){return t.reduce((i,o,s)=>{if(Object.prototype.hasOwnProperty.call(this,o)){const l=this[o];(l||l===0)&&(i[n[s]]=this[o])}return i},{})}}class Yt extends us{constructor(t){super(t);T(this,"pitch");T(this,"originalPitch");T(this,"add");T(this,"freq");T(this,"note");T(this,"octave");T(this,"pitchOctave");T(this,"addedOctave");T(this,"bend");T(this,"key");T(this,"parsedScale");T(this,"scaleName");Object.assign(this,t)}refresh(){this.evaluate()}evaluate(t={}){const n=ta(this);if(n.duration||(n.duration=t.duration||t.duration===0?t.duration:S_),t.scale&&(typeof t.scale=="string"&&n.scaleName!==t.scale&&(n.scaleName=t.scale),n.originalPitch&&(n.pitch=n.originalPitch,n.octave=0,n.pitchOctave=0),n.parsedScale=Yn(t.scale)),t.key&&(n.key=t.key),(t.soundIndex||t.soundIndex===0)&&(typeof t.soundIndex!="number"?n.soundIndex=t.soundIndex.evaluateValue():n.soundIndex=t.soundIndex),t.sound&&(typeof t.sound!="string"?n.sound=t.sound.evaluateValue():n.sound=t.sound),n.pitch||n.pitch===0){n.pitch instanceof il?(n.pitch=n.pitch.evaluateValue(),n.originalPitch=n.pitch):n.originalPitch||(n.originalPitch=n.pitch),n.parsedScale&&n.originalPitch>=n.parsedScale.length&&(n.pitchOctave=Math.floor(n.originalPitch/n.parsedScale.length),n.pitch=ro(n.originalPitch,n.parsedScale.length)),(t.octave||n.pitchOctave||n.addedOctave)&&(n.octave=(t.octave||0)+(n.pitchOctave||0)+(n.addedOctave||0));const[a,i]=zQ(n.key,n.pitch,n.parsedScale,n.octave);n.note=n.add?a+n.add:a,n.freq=Dl(n.note),i&&(n.bend=i)}return n.soundIndex instanceof il&&(n.soundIndex=n.soundIndex.evaluateValue()),n}prevaluate(){return this.pitch instanceof il&&(this.pitch=this.pitch.evaluateValue(),this.originalPitch=this.pitch),this}collect(t){return this[t]}scale(t){return this.scaleName!==t?(this.scaleName=t,this.parsedScale=ao(t),this.evaluate()):this}randomScale(){return this.parsedScale=pq(),this.evaluate()}tonnetzChord(t,n=[3,4,5]){const i=$q(this.note,t,n).map(o=>{const s=o+(typeof this.key=="number"?o:aa(this.key))+(this.octave||0)*12,l=Ki(s,this.key,this.scaleName);return new Yt({note:s,duration:this.duration,key:this.key,parsedScale:this.parsedScale,scaleName:this.scaleName,pitch:l.pc,originalPitch:l.pc,octave:(this.octave||0)+l.octave,add:l.add,text:l.text})});return new Bt({pitches:i,duration:this.duration})}}class FQ extends Yt{constructor(e){super(e),Object.assign(this,e)}evaluateValue(){return this.sound}}let UQ=class extends us{constructor(t){super(t);T(this,"item");Object.assign(this,t)}evaluate(t){let n=this.sound;return t?t.sound=n:t={sound:n},this.item.evaluate(t)}};class $Q extends us{constructor(t){super(t);T(this,"item");Object.assign(this,t)}evaluate(t){return t?t.soundIndex=this.soundIndex:t={soundIndex:this.soundIndex},this.item.evaluate(t)}}class Bt extends us{constructor(t){super(t);T(this,"pitches");T(this,"chordName");T(this,"inversion");T(this,"key");T(this,"scaleName");T(this,"parsedScale");Object.assign(this,t),this.pitches&&this.pitches.length>0&&(this.duration=Math.max(...this.pitches.map(n=>n.duration)))}static fromPitchClassArray(t,n,a){const i=t.map(o=>new Yt({originalPitch:o,pitch:o,key:n,scaleName:a,parsedScale:Yn(a)}));return new Bt({pitches:i})}evaluate(t={}){const n=ta(this);return t.scale&&(typeof t.scale=="string"&&(n.scaleName=t.scale),n.parsedScale=Yn(t.scale)),t.inversion||n.inversion?n.pitches=n.invert(t.inversion||n.inversion,t):n.pitches=n.pitches.map(a=>a.evaluate(t)),n.duration=Math.max(...n.pitches.map(a=>a.duration)),n}collect(t){return this.pitches.map(a=>a.collect(t))}notes(){return this.pitches.map(t=>t.note)}freqs(){return this.pitches.map(t=>t.freq)}pcs(){return this.pitches.map(t=>t.pitch)}midiChord(){return this.pitches.map(n=>n.mapExisting(["note","soundIndex"],["note","channel"]))}scale(t){return this.scaleName!==t?this.evaluate({scale:t}):(this.pitches.forEach(n=>n.scale(t)),this)}invert(t,n={}){if(t===0)return this.pitches;const a=t<0?this.pitches.reverse():this.pitches;for(let o=0;oo.evaluate(n))}voiceLeadFromNotes(t,n){this.pitches=this.pitches.map((a,i)=>{if(t[i]){const o=Ki(t[i],n.key,n.scaleName),s=ta(a);return s.pitch=o.pc,s.octave=o.octave,s.add=o.add,s.text=o.text,s.note=t[i],s.freq=Dl(t[i]),s}else return ta(a)})}triadTonnetz(t,n=[3,4,5],a=qq){const i=this.notes();return i.length===3?t.split(" ").map(l=>{var p;const c=(p=a(i,l,n))==null?void 0:p.sort((_,b)=>_-b);if(!c)return this;const u=this.pitches[0].parsedScale;return new Bt({pitches:c.map(_=>{const b=Ki(_,this.key,this.scaleName);return new Yt({originalPitch:b.pc,pitch:b.pc,add:b.add,duration:this.duration,key:this.key,scaleName:this.scaleName,parsedScale:u})})}).evaluate()}):this}tetraTonnetz(t,n=[3,4,5],a=LQ){const i=this.notes();return i.length===4?t.split(" ").map(l=>{var p;const c=(p=a(i,l,n))==null?void 0:p.sort((_,b)=>_-b);if(!c)return this;const u=this.pitches[0].parsedScale;return new Bt({pitches:c.map(_=>{const b=Ki(_,this.key,this.scaleName);return new Yt({originalPitch:b.pc,pitch:b.pc,add:b.add,duration:this.duration,key:this.key,scaleName:this.scaleName,parsedScale:u})})}).evaluate()}):this}}class GQ extends Bt{constructor(t){super(t);T(this,"roman");T(this,"romanNumeral");T(this,"octave");T(this,"chordOctave");Object.assign(this,t)}evaluate(t={}){const n=ta(this);t.scale&&typeof t.scale=="string"&&(n.scaleName=t.scale),n.romanNumeral=sH(n.roman);const a=n.key||t.key||60,i=n.scaleName||"MAJOR",o=Yn(i);let s=(n.chordOctave||0)+(t.octave||0);if(n.chordName){const c=y_(n.romanNumeral,n.chordName,a,i,s).map(u=>Ki(u,a,i));n.pitches=c.map(u=>{const h=s+u.octave;return new Yt({originalPitch:u.pc,pitch:u.pc,octave:h,key:a,parsedScale:o,add:u.add,duration:this.duration}).evaluate(t)})}else{const l=Xu(i,0,7),u=iH(n.romanNumeral,0,i).map(h=>l.indexOf(h));n.pitches=u.map(h=>new Yt({originalPitch:h,pitch:h,octave:s,key:a,parsedScale:o,duration:this.duration}).evaluate(t))}if(t.inversion||n.inversion){const l=t.inversion||n.inversion;n.pitches=n.invert(l,t)}return n.duration=Math.max(...n.pitches.map(l=>l.duration)),n}}class Kg extends us{constructor(e){super(e)}evaluate(e={}){return this.duration||(this.duration=e.duration||e.duration===0?e.duration:S_),this}}class il extends Yt{constructor(t){super(t);T(this,"min");T(this,"max");T(this,"randomSeed");T(this,"seededRandom");T(this,"random");T(this,"randomize",!0);Object.assign(this,t),t.min||(this.min=0),t.max||(this.max=jQ(this.parsedScale)),this.seededRandom?this.random=this.seededRandom:this.random=Math.random}evaluate(t={}){return this.pitch=this.evaluateValue(),this.originalPitch=this.pitch,new Yt({pitch:this.pitch,originalPitch:this.pitch,text:this.pitch.toString()}).evaluate(t)}evaluateValue(){return Math.floor(this.random()*(this.max-this.min+1))+this.min}}class qQ extends Ea{constructor(t){super(t);T(this,"octave");Object.assign(this,t)}evaluate(t={}){t.octave=this.octave+(t.octave||0)}}class QQ extends Ea{constructor(t){super(t);T(this,"duration");Object.assign(this,t)}evaluate(t={}){t.duration=this.duration}}class OE extends Ea{constructor(t){super(t);T(this,"times");T(this,"item");Object.assign(this,t)}evaluate(t={}){return[...Array(this.times)].map(()=>this.item).flat(1/0).map(a=>a.evaluate(t))}}class Fo extends Ea{constructor(t){super(t);T(this,"items");Object.assign(this,t)}evaluate(t={}){return this.items.map(n=>n.evaluate(t)).flat(1/0)}prevaluate(){return this.items.forEach(t=>t.prevaluate()),this}}class Sw extends Fo{constructor(t){super(t);T(this,"chord");T(this,"indexes");Object.assign(this,t)}evaluate(t={}){let n=this.chord.evaluate();return Array.isArray(n)||(n=[n]),n.map(a=>{if(!(a instanceof Bt))return a;const i=a.pitches.length;return this.indexes instanceof Fo?this.indexes.evaluate(ta(t)).filter(s=>s!==void 0).map(s=>{if(s instanceof Bt){const l=s.clone();return l.pitches=l.pitches.map(c=>a.pitches[c.pitch%i]),l.evaluate()}else if(s instanceof Yt){const l=a.pitches[s.pitch%i],c=s.clone();return c.pitch=l.pitch,c.pitchOctave=l.pitchOctave,c.add=(c.add||0)+(l.add||0),c.key=l.key,c.scaleName=l.scaleName,c.parsedScale=l.parsedScale,c.evaluate()}return s}):Array.isArray(this.indexes)?this.indexes.map(s=>{if(Array.isArray(s)){const l=s.map(c=>a.pitches[c%i]);return new Bt({pitches:l,duration:a.duration}).evaluate()}else return a.pitches[s%i].evaluate()}):[]}).flat(1/0)}}class Ow extends Ea{constructor(t){super(t);T(this,"duration");T(this,"items");T(this,"evaluated");Object.assign(this,t)}evaluate(t={}){return t.subdivisions=!0,this.duration=t.duration||S_,this.evaluated=this.items.map(n=>n.evaluate(t)).filter(n=>n).flat(1/0),this}}class HQ extends Ea{constructor(t){super(t);T(this,"times");T(this,"items");Object.assign(this,t)}evaluate(t={}){const n=this.items.map(i=>i.evaluate(t));return[...Array(this.times)].map(()=>n).flat(1/0)}}class VQ extends Ea{constructor(t){super(t);T(this,"left");T(this,"right");T(this,"operation");Object.assign(this,t)}evaluate(t={}){const n=this.left.evaluate(t).flat(1/0),a=this.right.evaluate(t).flat(1/0),i=lq[this.operation];return a.flatMap(l=>n.map(c=>[c.clone(),l.clone()])).map(l=>(l[0].pitch=i(l[0].originalPitch,l[1].originalPitch),l[0].originalPitch=l[0].pitch,l[0].evaluate(t)))}}class ol extends us{constructor(t){super(t);T(this,"items");T(this,"index");Object.assign(this,t),this.items=this.items.filter(n=>n!==void 0),this.index=0}nextItem(t={}){let n=this.items[this.index%this.items.length];for(;n instanceof ol;)n=n.nextItem(t);return this.index=this.index+1,n instanceof Ea?n.evaluate(t):n}evaluate(t={}){return this.nextItem(t)}evaluateValue(t={}){const n=this.nextItem(t);return n instanceof Ea?n.evaluateValue():n}}const O_=(r,e,t,n=0,a=0,i=!1)=>{e=i&&e>0?e-1:e,r=typeof r=="string"?aa(r):r;const o=typeof t=="string"?Yn(t):t,s=o.length;let l=0;(e>=s||e<0)&&(l+=Math.floor(e/s),e=e<0?s-Math.abs(e)%s:e%s,e===s&&(e=0));let c=r+o.slice(0,e).reduce((u,h)=>u+h,0);if(c=c+(n+l)*o.reduce((u,h)=>u+h,0)+a,Number.isInteger(c))return{note:c,pitch:e,octave:n,pitchOctave:l,modifier:a,root:r,parsedScale:o};{const u=Zg(c);return{note:c,pitch:e,octave:n,pitchOctave:l,pitchBend:u[1],modifier:a,root:r,parsedScale:o}}},zQ=(r,e,t,n=0,a=0,i=!1)=>{const o=O_(r,e,t,n,a,i);return[o.note,o.pitchBend]},aa=(r,e=4)=>{const t=r.match(/^([a-gA-G])([#bs])?([1-9])?$/);if(t===null)return 60;const[,n,a,i]=t,o=i?parseInt(i,10):e,s=hq[a]||0,l=uq[n.toUpperCase()];return 12+o*12+l+s},Zg=(r,e=1)=>{let t=8192;if(r%1!==0){const n=r>Math.round(r)?r:Math.round(r),a=r>Math.round(r)?Math.round(r):r,i=Dl(n)/Dl(a),o=1200*Math.log2(i);t=t+Math.floor(8191*(o/(100*e)))}return[r,t]},Dl=r=>440/32*2**((r-9)/12),vE=r=>12/Math.log(2)*Math.log(r/440)+69,v_=r=>1200*Math.log2(r),WQ=function*(){var t;const r={};let e=2;for(;;){if(!(e in r))yield e,r[e*e]=[e];else{for(const n of r[e])(r[t=n+e]||(r[t]=[])).push(n);delete r[e]}e++}},XQ=r=>{const e=WQ();return Array.from({length:r},()=>e.next().value)},KQ=r=>{const e=r.length,t=XQ(e+1);let n=1;for(let a=0;a{r[0]!==0&&(r=[0,...r]);const e=[];for(let t=0;tr.map(v_),vw=r=>rs(ZQ(r)),jQ=r=>typeof r=="string"?ao(r).length:r.length,E_=r=>[0,...r].reduce((e,t,n)=>{const a=n===0?0:t+e[n-1];return[...e,a]},[]),JQ=r=>{const e=(t,n)=>{const a=(n-t)%12;return a<0?a+12:a};return r.map((t,n)=>e(t,r[(n+1)%r.length]))},eH=r=>((r<0||r>4095)&&(console.log("Input number must be odd and between 0 and 4095. Using major (2741) instead."),r=2741),r%2===0&&console.log("Even numbers doesnt create a 'real' scale"),(r>>>0).toString(2).padStart(12,"0").split("").reduce((t,n,a)=>n==="1"?[11-a,...t]:t,[])),tH=r=>{try{return _w(r)}catch{return[]}},Yn=r=>{if(typeof r=="string"){if(pw(r))return ao(r);{const e=tH(r);return e&&e.length>0?e:ao("MAJOR")}}else if(typeof r=="number")return JQ(eH(r));return r},Ew=(r,e=new Array(r).fill(1))=>{e=Yn(e);const t=12/r*100;return E_(e).map(a=>a*t)},nH=(r,e=new Array(r).fill(1))=>{const t=Ew(r,e);return rs(t)},y_=(r,e="major",t=60,n="CHROMATIC",a=1)=>{const i=_E[e]||_E.major;t=typeof t=="string"?aa(t):t;const o=Xu(n,t)[r-1],s=[];for(let l=0;l<=a;l++)for(const c of i)s.push(o+c+l*12);return s},rH=(r="major",e=60,t="MAJOR",n=1,a)=>{const i=y_(1,r,e,"CHROMATIC",n),o=typeof t=="string"?ao(t):t;return i.map(l=>{const c=Ki(l,e,t);return new Yt({text:c.text,note:l,pitch:c.pc,octave:c.octave,add:c.add,duration:a,scaleName:t,parsedScale:o,key:e})})},Xu=(r,e=60,t=1)=>{const n=Yn(r);let a=typeof e=="string"?aa(e):e;const i=[a];for(let o=0;o{const a=Yn(r),i=[];let o=typeof e=="string"?aa(e,0):e;for(let s=0;s<9;s++)for(const l of a)o+=l,i.push(o);return i.filter(s=>s>=t&&s<=n)},iH=(r,e=60,t="Major",n=3,a=2)=>{const i=typeof t=="string"?gq(t):t.length,o=Math.floor((n*a+r-1)/i)+1,s=Xu(t,e,o),l=[];for(let c=r-1;l.length{const e=r.match(/([a-gA-G][#bs]?)([0-9])?([a-zA-Z0-9]+)/);if(e===null)return[60,64,67];let[,t,n,a]=e;const i=aa(t),o=n?parseInt(n,10):0;return y_(1,a,i,"CHROMATIC",o)},sH=r=>r.split("").map(t=>fq[t]).reduce((t,n,a,i)=>a(gE.includes(r)||(r=Tw(aa(r))),gE.indexOf(r)-6),Tw=r=>dq[r%12],lH=r=>{const e=Tw(r);return yw(e)},cH=(r,e)=>{let t;return typeof e=="string"?t=yw(e[0]):t=lH(e),(r*7+26-(11+t))%12+(11+t)},uH=(r,e=60)=>r<=0?0:Math.floor((r-e)/12),Ki=(r,e=60,t="MAJOR")=>{function n(h){return h>0?"^".repeat(h):h<0?"_".repeat(Math.abs(h)):""}const a=typeof e=="number"?e:aa(e),i=ro(r-a,12),o=uH(r,a);if(typeof t=="string"&&t.toUpperCase()==="CHROMATIC")return{text:i.toString(),pc:i,octave:o,add:0};const s=["0","#0","1","#1","2","3","#3","4","#4","5","#5","6"],l=["0","b1","1","b2","2","3","b4","4","b5","5","b6","6"],c=cH(r,e);let u;if(c>=6&&c<=12&&l[i].length===2?u=l[i]:u=s[i],u.length>1){const h=u[0]==="#"?1:-1;return{text:n(o)+u,pc:parseInt(u[1]),octave:o,add:h}}return{text:n(o)+u,pc:parseInt(u),octave:o,add:0}},dH=(r,e,t)=>{const n=aa(r);return Ki(n,e,t)},jg=(r,e)=>r.map(t=>e+t%12).sort((t,n)=>t-n),hH=(r,e)=>{const t=r[0],n=jg(r,t),a=jg(e,t);return n.map((i,o)=>a[o]?a[o]-i:void 0)},fH=(r,e)=>{const t=r[0],n=r.map(o=>[o,jg(r,t).indexOf(t+o%12)]),a=hH(r,e);return n.map(([o,s])=>a[s]?o+a[s]:o)};function mH(r){const e=[];for(let n=1;n<12;n++){let a=r;if(r&1<i?a:(i-=a.length,o+=o.repeat(i),a+o.slice(0,i))}e.prototype.format=function(a){var i="Error: "+this.message;if(this.location){var o=null,s;for(s=0;s",!1),we=Tt("[",!1),Ee=Tt("+",!1),Ce=Tt("*",!1),he=Tt("%",!1),xe=Tt("&",!1),je=Tt("|",!1),Ve=Tt("<<",!1),nt=Tt(">>",!1),et=function(X){return ns(X.filter(le=>le))},yt=function(){},Lt=function(X,le){return Math.floor(Math.random()*(le-X+1)+X)},St=function(X,le){return Math.random()*(le-X)+X},Dt=function(){return parseFloat(ut())},Pt=function(){return parseInt(ut())},Rn=function(X){return v_(X)},ze=function(X,le){return X/le},En=function(X,le){return Math.pow(2,X/le)},ht=function(X,le,me,Se){var Ae=Se?me/Se:me;return Math.pow(Ae,X/le)},Ke=function(X,le){return parseFloat(X.toString()+"."+le.toString())},wn=function(X){return X.filter(le=>le)},tn=function(X){return ZQ(X)},Ut=function(){return pw(ut())},j=0,be=0,De=[{line:1,column:1}],Ne=0,Me=[],Re={},$t;if("startRule"in i){if(!(i.startRule in l))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');c=l[i.startRule]}function ut(){return a.substring(be,j)}function Tt(X,le){return{type:"literal",text:X,ignoreCase:le}}function rt(X,le,me){return{type:"class",parts:X,inverted:le,ignoreCase:me}}function it(){return{type:"end"}}function Vt(X){var le=De[X],me;if(le)return le;for(me=X-1;!De[me];)me--;for(le=De[me],le={line:le.line,column:le.column};meNe&&(Ne=j,Me=[]),Me.push(X))}function Gn(X,le,me){return new e(e.buildMessage(X,le),X,le,me)}function Fr(){var X,le,me,Se=j*17+0,Ae=Re[Se];if(Ae)return j=Ae.nextPos,Ae.result;if(X=j,le=[],me=$r(),me===o&&(me=ir(),me===o&&(me=Gr(),me===o&&(me=sn(),me===o&&(me=ft())))),me!==o)for(;me!==o;)le.push(me),me=$r(),me===o&&(me=ir(),me===o&&(me=Gr(),me===o&&(me=sn(),me===o&&(me=ft()))));else le=o;return le!==o&&(be=X,le=et(le)),X=le,Re[Se]={nextPos:j,result:X},X}function ft(){var X,le,me=j*17+1,Se=Re[me];return Se?(j=Se.nextPos,Se.result):(X=j,q.test(a.charAt(j))?(le=a.charAt(j),j++):(le=o,Ye(se)),le!==o&&(be=X,le=yt()),X=le,Re[me]={nextPos:j,result:X},X)}function ir(){var X,le=j*17+2,me=Re[le];return me?(j=me.nextPos,me.result):(X=Ur(),X===o&&(X=nn(),X===o&&(X=Ln(),X===o&&(X=Ai()))),Re[le]={nextPos:j,result:X},X)}function Ln(){var X,le,me,Se,Ae,Qe,Pe=j*17+3,At=Re[Pe];return At?(j=At.nextPos,At.result):(X=j,a.charCodeAt(j)===40?(le=u,j++):(le=o,Ye(ie)),le!==o?(me=nn(),me!==o?(a.charCodeAt(j)===44?(Se=h,j++):(Se=o,Ye(ae)),Se!==o?(Ae=nn(),Ae!==o?(a.charCodeAt(j)===41?(Qe=p,j++):(Qe=o,Ye(D)),Qe!==o?(be=X,X=Lt(me,Ae)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Pe]={nextPos:j,result:X},X)}function Ai(){var X,le,me,Se,Ae,Qe,Pe=j*17+4,At=Re[Pe];return At?(j=At.nextPos,At.result):(X=j,a.charCodeAt(j)===40?(le=u,j++):(le=o,Ye(ie)),le!==o?(me=Ur(),me!==o?(a.charCodeAt(j)===44?(Se=h,j++):(Se=o,Ye(ae)),Se!==o?(Ae=Ur(),Ae!==o?(a.charCodeAt(j)===41?(Qe=p,j++):(Qe=o,Ye(D)),Qe!==o?(be=X,X=St(me,Ae)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Pe]={nextPos:j,result:X},X)}function Ur(){var X,le,me,Se,Ae,Qe,Pe,At=j*17+5,qn=Re[At];if(qn)return j=qn.nextPos,qn.result;if(X=j,le=j,me=[],te.test(a.charAt(j))?(Se=a.charAt(j),j++):(Se=o,Ye(P)),Se!==o)for(;Se!==o;)me.push(Se),te.test(a.charAt(j))?(Se=a.charAt(j),j++):(Se=o,Ye(P));else me=o;if(me!==o?(a.charCodeAt(j)===46?(Se=_,j++):(Se=o,Ye(H)),Se!==o?(me=[me,Se],le=me):(j=le,le=o)):(j=le,le=o),le===o){for(le=j,a.charCodeAt(j)===45?(me=b,j++):(me=o,Ye(z)),me===o&&(me=null),Se=[],te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P));Ae!==o;)Se.push(Ae),te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P));if(a.charCodeAt(j)===46?(Ae=_,j++):(Ae=o,Ye(H)),Ae!==o){if(Qe=[],te.test(a.charAt(j))?(Pe=a.charAt(j),j++):(Pe=o,Ye(P)),Pe!==o)for(;Pe!==o;)Qe.push(Pe),te.test(a.charAt(j))?(Pe=a.charAt(j),j++):(Pe=o,Ye(P));else Qe=o;Qe!==o?(me=[me,Se,Ae,Qe],le=me):(j=le,le=o)}else j=le,le=o;if(le===o)if(le=j,a.charCodeAt(j)===46?(me=_,j++):(me=o,Ye(H)),me!==o){if(Se=[],te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P)),Ae!==o)for(;Ae!==o;)Se.push(Ae),te.test(a.charAt(j))?(Ae=a.charAt(j),j++):(Ae=o,Ye(P));else Se=o;Se!==o?(me=[me,Se],le=me):(j=le,le=o)}else j=le,le=o}return le!==o&&(be=X,le=Dt()),X=le,Re[At]={nextPos:j,result:X},X}function nn(){var X,le,me,Se=j*17+6,Ae=Re[Se];if(Ae)return j=Ae.nextPos,Ae.result;if(X=j,a.charCodeAt(j)===45?j++:Ye(z),le=[],te.test(a.charAt(j))?(me=a.charAt(j),j++):(me=o,Ye(P)),me!==o)for(;me!==o;)le.push(me),te.test(a.charAt(j))?(me=a.charAt(j),j++):(me=o,Ye(P));else le=o;return le!==o?(be=X,X=Pt()):(j=X,X=o),Re[Se]={nextPos:j,result:X},X}function $r(){var X,le,me=j*17+7,Se=Re[me];return Se?(j=Se.nextPos,Se.result):(X=j,le=vr(),le===o&&(le=Ra(),le===o&&(le=Ii(),le===o&&(le=Er()))),le!==o&&(be=X,le=Rn(le)),X=le,Re[me]={nextPos:j,result:X},X)}function Ii(){var X,le,me,Se,Ae=j*17+8,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,le=nn(),le===o&&(le=Ln()),le!==o?(a.charCodeAt(j)===47?(me=A,j++):(me=o,Ye(ne)),me!==o?(Se=nn(),Se===o&&(Se=Ln()),Se!==o?(be=X,X=ze(le,Se)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function Ra(){var X,le,me,Se,Ae=j*17+9,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,le=nn(),le===o&&(le=Ln()),le!==o?(a.charCodeAt(j)===92?(me=I,j++):(me=o,Ye(oe)),me!==o?(Se=nn(),Se===o&&(Se=Ln()),Se!==o?(be=X,X=En(le,Se)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function vr(){var X,le,me,Se,Ae,Qe,Pe,At,qn=j*17+10,or=Re[qn];return or?(j=or.nextPos,or.result):(X=j,le=nn(),le===o&&(le=Ln()),le!==o?(a.charCodeAt(j)===92?(me=I,j++):(me=o,Ye(oe)),me!==o?(Se=nn(),Se===o&&(Se=Ln()),Se!==o?(a.charCodeAt(j)===60?(Ae=M,j++):(Ae=o,Ye(_e)),Ae!==o?(Qe=nn(),Qe===o&&(Qe=Ln()),Qe!==o?(a.charCodeAt(j)===47?j++:Ye(ne),Pe=nn(),Pe===o&&(Pe=Ln()),Pe===o&&(Pe=null),a.charCodeAt(j)===62?(At=U,j++):(At=o,Ye(ye)),At!==o?(be=X,X=ht(le,Se,Qe,Pe)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[qn]={nextPos:j,result:X},X)}function Er(){var X,le,me,Se,Ae=j*17+11,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,le=nn(),le!==o?(a.charCodeAt(j)===44?(me=h,j++):(me=o,Ye(ae)),me!==o?(Se=nn(),Se!==o?(be=X,X=Ke(le,Se)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function wa(){var X,le,me,Se=j*17+12,Ae=Re[Se];if(Ae)return j=Ae.nextPos,Ae.result;if(X=j,le=[],me=nn(),me===o&&(me=ft()),me!==o)for(;me!==o;)le.push(me),me=nn(),me===o&&(me=ft());else le=o;return le!==o&&(be=X,le=wn(le)),X=le,Re[Se]={nextPos:j,result:X},X}function Gr(){var X,le,me,Se,Ae=j*17+13,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,a.charCodeAt(j)===91?(le=V,j++):(le=o,Ye(we)),le!==o?(me=wa(),me!==o?(a.charCodeAt(j)===62?(Se=U,j++):(Se=o,Ye(ye)),Se!==o?(be=X,X=tn(me)):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}function sn(){var X,le,me,Se,Ae,Qe,Pe,At,qn=j*17+14,or=Re[qn];if(or)return j=or.nextPos,or.result;if(X=j,le=ir(),le===o&&(le=$r(),le===o&&(le=Gr(),le===o)))for(le=[],me=ft();me!==o;)le.push(me),me=ft();if(le!==o){if(me=[],Se=j,Ae=za(),Ae!==o){for(Qe=[],Pe=ft();Pe!==o;)Qe.push(Pe),Pe=ft();if(Pe=ir(),Pe===o&&(Pe=$r(),Pe===o&&(Pe=Gr(),Pe===o&&(Pe=Wa(),Pe===o&&(Pe=sn(),Pe===o)))))for(Pe=[],At=ft();At!==o;)Pe.push(At),At=ft();Pe!==o?(Ae=[Ae,Qe,Pe],Se=Ae):(j=Se,Se=o)}else j=Se,Se=o;if(Se!==o)for(;Se!==o;)if(me.push(Se),Se=j,Ae=za(),Ae!==o){for(Qe=[],Pe=ft();Pe!==o;)Qe.push(Pe),Pe=ft();if(Pe=ir(),Pe===o&&(Pe=$r(),Pe===o&&(Pe=Gr(),Pe===o&&(Pe=Wa(),Pe===o&&(Pe=sn(),Pe===o)))))for(Pe=[],At=ft();At!==o;)Pe.push(At),At=ft();Pe!==o?(Ae=[Ae,Qe,Pe],Se=Ae):(j=Se,Se=o)}else j=Se,Se=o;else me=o;me!==o?(be=X,X=Ut()):(j=X,X=o)}else j=X,X=o;return Re[qn]={nextPos:j,result:X},X}function za(){var X,le=j*17+15,me=Re[le];return me?(j=me.nextPos,me.result):(a.charCodeAt(j)===43?(X=m,j++):(X=o,Ye(Ee)),X===o&&(a.charCodeAt(j)===45?(X=b,j++):(X=o,Ye(z)),X===o&&(a.charCodeAt(j)===42?(X=O,j++):(X=o,Ye(Ce)),X===o&&(a.charCodeAt(j)===37?(X=S,j++):(X=o,Ye(he)),X===o&&(a.charCodeAt(j)===38?(X=k,j++):(X=o,Ye(xe)),X===o&&(a.charCodeAt(j)===124?(X=L,j++):(X=o,Ye(je)),X===o&&(a.substr(j,2)===F?(X=F,j+=2):(X=o,Ye(Ve)),X===o&&(a.substr(j,2)===Y?(X=Y,j+=2):(X=o,Ye(nt))))))))),Re[le]={nextPos:j,result:X},X)}function Wa(){var X,le,me,Se,Ae=j*17+16,Qe=Re[Ae];return Qe?(j=Qe.nextPos,Qe.result):(X=j,a.charCodeAt(j)===40?(le=u,j++):(le=o,Ye(ie)),le!==o?(me=sn(),me!==o?(a.charCodeAt(j)===41?(Se=p,j++):(Se=o,Ye(D)),Se!==o?(le=[le,me,Se],X=le):(j=X,X=o)):(j=X,X=o)):(j=X,X=o),Re[Ae]={nextPos:j,result:X},X)}if($t=c(),$t!==o&&j===a.length)return $t;throw $t!==o&&jr===0||e===0?0:(r%e+e)%e,st=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+(t+n)%i+i)%i;return[o,s,l]},lt=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n)%i+i)%i;return[o,s,l]},Un=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*n%i+i)%i;return[o,s,l]},Ua=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+2*t%i+i)%i;return[o,s,l]},Nt=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},na=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*n+t)%i+i)%i;return[o,s,l,c]},Cn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},kt=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n-(n-t))%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},vn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+2*t%i+i)%i,c=(r+3*t%i+i)%i;return[o,s,l,c]},Lr=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+t%i+i)%i,l=(r+(t+n)%i+i)%i,c=(r+(2*n+t)%i+i)%i;return[o,s,l,c]},Pr=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*n%i+i)%i,c=(r+(2*n+t)%i+i)%i;return[o,s,l,c]},Zn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*n%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},jn=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=(r%i+i)%i,s=(r+n%i+i)%i,l=(r+2*t%i+i)%i,c=(r+(2*t+n)%i+i)%i;return[o,s,l,c]},fe=(r,e=12)=>{const t=[];for(let n=0;n{const[,,t]=e;r.sort((a,i)=>a-i);const n=[...r];return Math.abs(r[1]-r[0])===t&&(r[0]=n[1],r[1]=n[2],r[2]=n[0]),Math.abs(r[2]-r[1])===t&&(r[0]=n[2],r[1]=n[0],r[2]=n[1]),r},Ge=(r,e)=>r.length!==e.length?!1:r.map((a,i)=>a===e[i]).every(a=>a===!0),qe=(r,e)=>r.length!==e.length?!1:r.map((a,i)=>a===e[i]).every(a=>a===!0),Sq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0],e):c&&(s=st(s[0],e)),fe(s,i))},Oq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=n,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},vq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]-o,e):u&&(l=st(l[0]+o,e)),fe(l,i))},Eq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t+n,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},yq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=a,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Tq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=n-t,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Cq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=2*n,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=lt(l[0]+o,e):u&&(l=st(l[0]-o,e)),fe(l,i))},Rq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=2*t,s=fe(r);let l=Or(s,e);const c=Ge(l,st(l[0],e)),u=qe(l,lt(l[0],e));return c===u?l:(c?l=st(l[0]+o,e):u&&(l=lt(l[0]-o,e)),fe(l,i))},wq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0]+n,e):c&&(s=st(s[0]+t,e)),fe(s,i))},Aq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0]-t,e):c&&(s=st(s[0]-n,e)),fe(s,i))},Iq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0]+(n-t),e):c&&(s=st(s[0],e)),fe(s,i))},kq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r);let s=Or(o,e);const l=Ge(s,st(s[0],e)),c=qe(s,lt(s[0],e));return l===c?s:(l?s=lt(s[0],e):c&&(s=st(s[0]-(n-t),e)),fe(s,i))},Nq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,Cn(s[0],e));if(l===c)return s;const u=[...s];return u[1]%i!==(u[0]+n)%i?u[1]-=o:u[1]+=o,fe(u,i)},Dq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,na(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+(2*n+t))%i?u[3]-=o:u[3]+=o,fe(u,i)},xq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Cn(s[0],e)),c=qe(s,kt(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+(t+n))%i?u[2]-=o:u[2]+=o,fe(u,i)},Mq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,kt(s[0],e)),c=qe(s,vn(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+(2*t+n))%i?u[3]-=o:u[3]+=o,fe(u,i)},Lq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]-t,e):c=Nt(c[0]+t,e),fe(c,i)},Pq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Cn(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]-t,e):c=Cn(c[0]+t,e),fe(c,i)},Bq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,na(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]-t,e):c=na(c[0]+t,e),fe(c,i)},Yq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]-t,e):c=kt(c[0]+t,e),fe(c,i)},Fq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,vn(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]-t,e):c=vn(c[0]+t,e),fe(c,i)},Uq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]+n,e):c=Nt(c[0]-n,e),fe(c,i)},$q=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]+n,e):c=Nt(c[0]-n,e),fe(c,i)},Gq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,na(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]+n,e):c=na(c[0]-n,e),fe(c,i)},qq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,na(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]+(n-t),e):c=na(c[0]-(n-t),e),fe(c,i)},Qq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]+(n-t),e):c=Nt(c[0]-(n-t),e),fe(c,i)},Hq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,vn(o[0],e));if(s===l)return o;let c=[...o];return s?c=vn(c[0]+2*t,e):c=kt(c[0]-2*t,e),fe(c,i)},Vq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,vn(o[0],e)),l=qe(o,Nt(o[0],e));if(s===l)return o;let c=[...o];return s?c=Nt(c[0]+(a-t),e):c=vn(c[0]-(a-t),e),fe(c,i)},zq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,vn(o[0],e)),l=qe(o,Nt(o[0],e));if(s===l)return o;let c=[...o];return s?c=Nt(c[0]+a,e):c=vn(c[0]-a,e),fe(c,i)},Wq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,Zn(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+t+n)%i?u[2]+=o:u[2]-=o,fe(u,i)},Xq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Nt(s[0],e)),c=qe(s,jn(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+t+n)%i?u[2]-=o:u[2]+=o,fe(u,i)},Kq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Cn(s[0],e)),c=qe(s,Lr(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+2*t+n)%i?u[3]+=o:u[3]-=o,fe(u,i)},Zq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,kt(s[0],e)),c=qe(s,jn(s[0],e));if(l===c)return s;const u=[...s];return u[1]%i!==(u[0]+n)%i?u[1]-=o:u[1]+=o,fe(u,i)},jq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,na(s[0],e)),c=qe(s,Pr(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+t+n)%i?u[2]+=o:u[2]-=o,fe(u,i)},Jq=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Lr(s[0],e)),c=qe(s,na(s[0],e));if(l===c)return s;const u=[...s];return u[1]%i!==(u[0]+n)%i?u[1]-=o:u[1]+=o,fe(u,i)},eQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=t-n,s=fe(r),l=Ge(s,Zn(s[0],e)),c=qe(s,Pr(s[0],e));if(l===c)return s;const u=[...s];return u[3]%i!==(u[0]+2*t+n)%i?u[3]+=o:u[3]-=o,fe(u,i)},tQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=a-t,s=fe(r),l=Ge(s,jn(s[0],e)),c=qe(s,Zn(s[0],e));if(l===c)return s;const u=[...s];return u[2]%i!==(u[0]+2*t)%i?u[2]-=o:u[2]+=o,fe(u,i)},nQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Lr(o[0],e)),l=qe(o,kt(o[0],e));if(s===l)return o;let c=[...o];return s?c=kt(c[0]-t,e):c=Lr(c[0]+t,e),fe(c,i)},rQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Lr(o[0],e));if(s===l)return o;let c=[...o];return s?c=Lr(c[0]-t,e):c=Pr(c[0]+t,e),fe(c,i)},aQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Zn(o[0],e)),l=qe(o,Lr(o[0],e));if(s===l)return o;let c=[...o];return s?c=Lr(c[0]-t,e):c=Zn(c[0]+t,e),fe(c,i)},iQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Nt(o[0],e));if(s===l)return o;let c=[...o];return s?c=Nt(c[0]+n,e):c=Pr(c[0]-n,e),fe(c,i)},oQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Zn(o[0],e)),l=qe(o,jn(o[0],e));if(s===l)return o;let c=[...o];return s?c=jn(c[0]+n,e):c=Zn(c[0]-n,e),fe(c,i)},sQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Cn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Cn(c[0]+(n-t),e):c=Pr(c[0]-(n-t),e),fe(c,i)},lQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Pr(o[0],e)),l=qe(o,Lr(o[0],e));if(s===l)return o;let c=[...o];return s?c=Lr(c[0]+(n-t),e):c=Pr(c[0]-(n-t),e),fe(c,i)},cQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Nt(o[0],e)),l=qe(o,jn(o[0],e));if(s===l)return o;let c=[...o];return s?c=jn(c[0]+2*t,e):c=Nt(c[0]-2*t,e),fe(c,i)},uQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,jn(o[0],e));if(s===l)return o;let c=[...o];return s?c=jn(c[0]+2*t,e):c=kt(c[0]-2*t,e),fe(c,i)},dQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,jn(o[0],e)),l=qe(o,Zn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Zn(c[0]+2*t,e):c=jn(c[0]-2*t,e),fe(c,i)},hQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,kt(o[0],e)),l=qe(o,Zn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Zn(c[0]+(a-t),e):c=kt(c[0]-(a-t),e),fe(c,i)},fQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,jn(o[0],e)),l=qe(o,Zn(o[0],e));if(s===l)return o;let c=[...o];return s?c=Zn(c[0]+(a-t),e):c=jn(c[0]-(a-t),e),fe(c,i)},mQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,st(o[0],e)),l=qe(o,Ua(o[0],e));if(s===l)return o;let c=[...o];return s?c=Ua(c[0]+(n-t),e):c=st(c[0]-(n-t),e),fe(c,i)},pQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0]+(n-t),e):c=Un(c[0]-(n-t),e),fe(c,i)},gQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,st(o[0],e));if(s===l)return o;let c=[...o];return s?c=st(c[0]+n,e):c=Un(c[0]-n,e),fe(c,i)},_Q=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0]+a,e):c=Un(c[0]-a,e),fe(c,i)},bQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,st(o[0],e)),l=qe(o,Un(o[0],e));if(s===l)return o;let c=[...o];return s?c=Un(c[0]+n,e):c=st(c[0]-n,e),fe(c,i)},SQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Ua(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0],e):c=Ua(c[0],e),fe(c,i)},OQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,lt(o[0],e));if(s===l)return o;let c=[...o];return s?c=lt(c[0]-t,e):c=Un(c[0]+t,e),fe(c,i)},vQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,Un(o[0],e)),l=qe(o,st(o[0],e));if(s===l)return o;let c=[...o];return s?c=st(c[0],e):c=Un(c[0],e),fe(c,i)},EQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,st(o[0],e)),l=qe(o,Ua(o[0],e));if(s===l)return o;let c=[...o];return s?c=Ua(c[0]+n,e):c=st(c[0]-n,e),fe(c,i)},yQ=(r,e)=>{const[t,n,a]=e,i=t+n+a,o=fe(r),s=Ge(o,lt(o[0],e)),l=qe(o,Ua(o[0],e));if(s===l)return o;let c=[...o];return s?c=Ua(c[0]-t,e):c=lt(c[0]+t,e),fe(c,i)},TQ={M:st,maj:st,m:lt,min:lt,maj7:na,7:Nt,m7:Cn,hdim7:kt,aug:Un,augmented:Un,diminished:Ua,dim7:vn,minMaj7:Lr,maj7aug5:Pr,dom7aug5:Zn,dom7b5:jn},SE={maj7:na,7:Nt,m7:Cn,hdim7:kt,dim7:vn,minMaj7:Lr,maj7aug5:Pr,dom7aug5:Zn,dom7b5:jn},CQ=(r,e,t=[3,4,5])=>TQ[e](r,t),RQ={p:["p","1","2"],l:["l","3","4","5"],r:["r","6","7"],f:["f"],n:["n","0"],s:["s"],h:["h"],t:["t6"],q:["8","9"],N:["N"],S:["S"],E:["E"],W:["W"]},Xg={p:Sq,l:Oq,r:vq,f:Eq,n:yq,s:Tq,h:Cq,t:Rq,1:SQ,2:vQ,3:EQ,4:gQ,5:yQ,6:OQ,7:mQ,8:pQ,9:bQ,0:_Q,N:wq,S:Aq,E:Iq,W:kq},Sw={p12:Nq,p14:Dq,p23:xq,p35:Mq,r12:Lq,r23:Pq,r42:Bq,r35:Yq,r53:Fq,l13:Uq,l15:$q,l42:Gq,q43:qq,q15:Qq,rr35:Hq,qq51:Vq,n51:zq,p18:Wq,p19:Xq,p26:Kq,p39:Zq,p47:jq,p64:Jq,p87:eQ,p98:tQ,r63:nQ,r76:rQ,r86:aQ,l71:iQ,l89:oQ,q62:sQ,q76:lQ,rr19:cQ,rr39:uQ,rr98:dQ,qq38:hQ,qq98:fQ},wQ={7:{p:["p12","p14","p18","p19"],l:["l13","l15","l71"],r:["r12","rr19"],q:["q15","qq51"],n:["n51"]},m7:{p:["p12","p23","p26"],l:["l42"],r:["r12","r23","r42"],q:["q62"]},hdim7:{p:["p23","p35","p39"],l:["l13"],r:["r23","r35","r53","r63","rr35","rr39"],q:["q43","qq38"]},maj7:{p:["p14","p47","p64"],l:["l42"],r:["r42"],q:["q43"]},dim7:{p:["p35"],l:["l15"],r:["r35","r53"],q:["q15","qq51"],n:["n51"]},minMaj7:{p:["p26","p64"],r:["r63","r76","r86"],q:["q62","q76"]},maj7aug5:{p:["p47","p87"],l:["l71"],r:["r76"],q:["q76"]},dom7aug5:{p:["p18","p87","p98"],l:["l89"],r:["r86","rr98"],q:["qq38","qq98"]},dom7b5:{p:["p19","p39","p98"],l:["l89"],r:["rr19","rr39","rr98"],q:["qq98"]}},AQ=(r,e=[3,4,5])=>{for(const t of Object.keys(SE)){let n=SE[t](r[0],e);if(r.map((o,s)=>o===n[s]).every(o=>o===!0))return wQ[t]}return{}},IQ=(r,e,t=[3,4,5])=>{const n=e.split("");let a=[...r];for(let i=0;i{const n=e.match(/([a-z]{1,2}[0-9]*)/g);if(!n||n&&n.length<1)return r;let a=[...r];for(let i=0;i{const n=new RegExp("([A-Za-z])([0-9]*)","g");let a=n.exec(e);if(!a||a&&a.length<1)return r;let i=[...fe(r)];for(;a!=null;){if(i.length===4){const o=AQ(i);if(o){const s=o[a[1]];if(s){let l=0;a[2].length>0&&(l=parseInt(a[2])-1),l=bE(l,s.length);const c=s[l];i=Sw[c](i,t)}}}else if(i.length===3){const o=RQ[a[1]];if(o)if(a[1]==="N"||a[1]==="S"||a[1]==="W"||a[1]==="E"){let s=a[2].length>0?parseInt(a[2]):1;s=s<=0?1:s;for(let l=0;l0?parseInt(a[2])-1:0;s=bE(s,o.length);const l=o[s];i=Xg[l](i,t)}}a=n.exec(e)}return i},NQ=(r,e=[3,4,5],t=3,n=4)=>{const[a,i]=e,o=[];for(let s=0;s{const[n,a,i]=e,o=n+a+i,s=[];for(let l=0;l<=3;l++){const c=(r+l*(n+a)%o+o)%o;for(let p=0;p{const[a,i]=e,o=[];for(let s=0;s{const[a,i]=e,o=[];for(let s=0;s{const[t,n,a]=e,i=Un(r,e),o=[],s=fe(lt(r+(n-t),e)),l=fe(lt(r+a,e)),c=fe(lt(r+n+a,e)),u=fe(st(r,e)),h=fe(st(r+-n,e)),p=fe(st(r+n,e));return o.push(i,p,c,u,l,h,s),o},PQ=(r,e=[3,4,5],t=3,n=3)=>{const[a,i]=e,o=[];for(let s=0;s=-a*Math.abs(t);l+=-a){const c=r+l+s,u=fe(kt(c,e)),h=fe(Cn(c,e)),p=fe(Nt(c,e));o.push(u,h,p)}return o},BQ=(r,e=[3,4,5],t=3)=>{const[n,a,i]=e,o=n+a+i,s=[];for(let l=0;l<3;l++){const c=(r+l*a%o+o)%o;for(let u=0;u>=-n*Math.abs(t);u+=-n){const h=c+u,p=fe(kt(h,e)),_=fe(Cn(h,e)),b=fe(Nt(h,e));s.push(p,_,b)}s.push(fe(vn(c+(n-i),e)))}return s},YQ=(r,e=[3,4,5])=>{const[t,n,a]=e,i=vn(r,e),o=[],s=fe(Nt(r-(n-t),e)),l=fe(kt(r+t,e)),c=fe(Nt(r+(a-t),e)),u=fe(kt(r+(a+(n-t)),e)),h=fe(Nt(r-(t+n),e)),p=fe(kt(r+-t,e)),_=fe(Nt(r+-n,e)),b=fe(kt(r,e));return o.push(i,s,l,c,u,h,p,_,b),o},FQ=["retrograde"];class Ea{constructor(e){T(this,"type");T(this,"text");T(this,"location");this.type=this.constructor.name,Object.assign(this,e)}clone(){return ta(this)}collect(e){return this[e]}refresh(){}evaluate(e={}){return this}prevaluate(e={}){return this}evaluateValue(){return this.text}toString(){return this.text}}class cs extends Ea{constructor(t){super(t);T(this,"duration");T(this,"modifiedEvent");T(this,"globalOptions");T(this,"sound");T(this,"soundIndex");Object.assign(this,t)}collect(t){return this[t]}sometimesBy(t,n){return Math.random(){if(Object.prototype.hasOwnProperty.call(this,i)){const o=this[i];(o||o===0)&&(a[i]=this[i])}return a},{})}mapExisting(t,n){return t.reduce((i,o,s)=>{if(Object.prototype.hasOwnProperty.call(this,o)){const l=this[o];(l||l===0)&&(i[n[s]]=this[o])}return i},{})}}class Yt extends cs{constructor(t){super(t);T(this,"pitch");T(this,"originalPitch");T(this,"add");T(this,"freq");T(this,"note");T(this,"octave");T(this,"pitchOctave");T(this,"addedOctave");T(this,"bend");T(this,"key");T(this,"parsedScale");T(this,"scaleName");Object.assign(this,t)}refresh(){this.evaluate()}evaluate(t={}){const n=ta(this);if(n.duration||(n.duration=t.duration||t.duration===0?t.duration:S_),t.scale&&(typeof t.scale=="string"&&n.scaleName!==t.scale&&(n.scaleName=t.scale),n.originalPitch&&(n.pitch=n.originalPitch,n.octave=0,n.pitchOctave=0),n.parsedScale=Yn(t.scale)),t.key&&(n.key=t.key),(t.soundIndex||t.soundIndex===0)&&(typeof t.soundIndex!="number"?n.soundIndex=t.soundIndex.evaluateValue():n.soundIndex=t.soundIndex),t.sound&&(typeof t.sound!="string"?n.sound=t.sound.evaluateValue():n.sound=t.sound),n.pitch||n.pitch===0){n.pitch instanceof al?(n.pitch=n.pitch.evaluateValue(),n.originalPitch=n.pitch):n.originalPitch||(n.originalPitch=n.pitch),n.parsedScale&&n.originalPitch>=n.parsedScale.length&&(n.pitchOctave=Math.floor(n.originalPitch/n.parsedScale.length),n.pitch=Vl(n.originalPitch,n.parsedScale.length)),(t.octave||n.pitchOctave||n.addedOctave)&&(n.octave=(t.octave||0)+(n.pitchOctave||0)+(n.addedOctave||0));const[a,i]=WQ(n.key,n.pitch,n.parsedScale,n.octave);n.note=n.add?a+n.add:a,n.freq=Nl(n.note),i&&(n.bend=i)}return n.soundIndex instanceof al&&(n.soundIndex=n.soundIndex.evaluateValue()),n}prevaluate(){return this.pitch instanceof al&&(this.pitch=this.pitch.evaluateValue(),this.originalPitch=this.pitch),this}collect(t){return this[t]}scale(t){return this.scaleName!==t?(this.scaleName=t,this.parsedScale=ro(t),this.evaluate()):this}randomScale(){return this.parsedScale=gq(),this.evaluate()}tonnetzChord(t,n=[3,4,5]){const i=CQ(this.note,t,n).map(o=>{const s=o+(typeof this.key=="number"?o:aa(this.key))+(this.octave||0)*12,l=Ki(s,this.key,this.scaleName);return new Yt({note:s,duration:this.duration,key:this.key,parsedScale:this.parsedScale,scaleName:this.scaleName,pitch:l.pc,originalPitch:l.pc,octave:(this.octave||0)+l.octave,add:l.add,text:l.text})});return new Bt({pitches:i,duration:this.duration})}}class UQ extends Yt{constructor(e){super(e),Object.assign(this,e)}evaluateValue(){return this.sound}}let $Q=class extends cs{constructor(t){super(t);T(this,"item");Object.assign(this,t)}evaluate(t){let n=this.sound;return t?t.sound=n:t={sound:n},this.item.evaluate(t)}};class GQ extends cs{constructor(t){super(t);T(this,"item");Object.assign(this,t)}evaluate(t){return t?t.soundIndex=this.soundIndex:t={soundIndex:this.soundIndex},this.item.evaluate(t)}}class Bt extends cs{constructor(t){super(t);T(this,"pitches");T(this,"chordName");T(this,"inversion");T(this,"key");T(this,"scaleName");T(this,"parsedScale");Object.assign(this,t),this.pitches&&this.pitches.length>0&&(this.duration=Math.max(...this.pitches.map(n=>n.duration)))}static fromPitchClassArray(t,n,a){const i=t.map(o=>new Yt({originalPitch:o,pitch:o,key:n,scaleName:a,parsedScale:Yn(a)}));return new Bt({pitches:i})}evaluate(t={}){const n=ta(this);return t.scale&&(typeof t.scale=="string"&&(n.scaleName=t.scale),n.parsedScale=Yn(t.scale)),t.inversion||n.inversion?n.pitches=n.invert(t.inversion||n.inversion,t):n.pitches=n.pitches.map(a=>a.evaluate(t)),n.duration=Math.max(...n.pitches.map(a=>a.duration)),n}collect(t){return this.pitches.map(a=>a.collect(t))}notes(){return this.pitches.map(t=>t.note)}freqs(){return this.pitches.map(t=>t.freq)}pcs(){return this.pitches.map(t=>t.pitch)}midiChord(){return this.pitches.map(n=>n.mapExisting(["note","soundIndex"],["note","channel"]))}scale(t){return this.scaleName!==t?this.evaluate({scale:t}):(this.pitches.forEach(n=>n.scale(t)),this)}invert(t,n={}){if(t===0)return this.pitches;const a=t<0?this.pitches.reverse():this.pitches;for(let o=0;oo.evaluate(n))}voiceLeadFromNotes(t,n){this.pitches=this.pitches.map((a,i)=>{if(t[i]){const o=Ki(t[i],n.key,n.scaleName),s=ta(a);return s.pitch=o.pc,s.octave=o.octave,s.add=o.add,s.text=o.text,s.note=t[i],s.freq=Nl(t[i]),s}else return ta(a)})}triadTonnetz(t,n=[3,4,5],a=IQ){const i=this.notes();return i.length===3?t.split(" ").map(l=>{var p;const c=(p=a(i,l,n))==null?void 0:p.sort((_,b)=>_-b);if(!c)return this;const u=this.pitches[0].parsedScale;return new Bt({pitches:c.map(_=>{const b=Ki(_,this.key,this.scaleName);return new Yt({originalPitch:b.pc,pitch:b.pc,add:b.add,duration:this.duration,key:this.key,scaleName:this.scaleName,parsedScale:u})})}).evaluate()}):this}tetraTonnetz(t,n=[3,4,5],a=kQ){const i=this.notes();return i.length===4?t.split(" ").map(l=>{var p;const c=(p=a(i,l,n))==null?void 0:p.sort((_,b)=>_-b);if(!c)return this;const u=this.pitches[0].parsedScale;return new Bt({pitches:c.map(_=>{const b=Ki(_,this.key,this.scaleName);return new Yt({originalPitch:b.pc,pitch:b.pc,add:b.add,duration:this.duration,key:this.key,scaleName:this.scaleName,parsedScale:u})})}).evaluate()}):this}}class qQ extends Bt{constructor(t){super(t);T(this,"roman");T(this,"romanNumeral");T(this,"octave");T(this,"chordOctave");Object.assign(this,t)}evaluate(t={}){const n=ta(this);t.scale&&typeof t.scale=="string"&&(n.scaleName=t.scale),n.romanNumeral=lH(n.roman);const a=n.key||t.key||60,i=n.scaleName||"MAJOR",o=Yn(i);let s=(n.chordOctave||0)+(t.octave||0);if(n.chordName){const c=y_(n.romanNumeral,n.chordName,a,i,s).map(u=>Ki(u,a,i));n.pitches=c.map(u=>{const h=s+u.octave;return new Yt({originalPitch:u.pc,pitch:u.pc,octave:h,key:a,parsedScale:o,add:u.add,duration:this.duration}).evaluate(t)})}else{const l=Xu(i,0,7),u=oH(n.romanNumeral,0,i).map(h=>l.indexOf(h));n.pitches=u.map(h=>new Yt({originalPitch:h,pitch:h,octave:s,key:a,parsedScale:o,duration:this.duration}).evaluate(t))}if(t.inversion||n.inversion){const l=t.inversion||n.inversion;n.pitches=n.invert(l,t)}return n.duration=Math.max(...n.pitches.map(l=>l.duration)),n}}class Kg extends cs{constructor(e){super(e)}evaluate(e={}){return this.duration||(this.duration=e.duration||e.duration===0?e.duration:S_),this}}class al extends Yt{constructor(t){super(t);T(this,"min");T(this,"max");T(this,"randomSeed");T(this,"seededRandom");T(this,"random");T(this,"randomize",!0);Object.assign(this,t),t.min||(this.min=0),t.max||(this.max=JQ(this.parsedScale)),this.seededRandom?this.random=this.seededRandom:this.random=Math.random}evaluate(t={}){return this.pitch=this.evaluateValue(),this.originalPitch=this.pitch,new Yt({pitch:this.pitch,originalPitch:this.pitch,text:this.pitch.toString()}).evaluate(t)}evaluateValue(){return Math.floor(this.random()*(this.max-this.min+1))+this.min}}class QQ extends Ea{constructor(t){super(t);T(this,"octave");Object.assign(this,t)}evaluate(t={}){t.octave=this.octave+(t.octave||0)}}class HQ extends Ea{constructor(t){super(t);T(this,"duration");Object.assign(this,t)}evaluate(t={}){t.duration=this.duration}}class vE extends Ea{constructor(t){super(t);T(this,"times");T(this,"item");Object.assign(this,t)}evaluate(t={}){return[...Array(this.times)].map(()=>this.item).flat(1/0).map(a=>a.evaluate(t))}}class Yo extends Ea{constructor(t){super(t);T(this,"items");Object.assign(this,t)}evaluate(t={}){return this.items.map(n=>n.evaluate(t)).flat(1/0)}prevaluate(){return this.items.forEach(t=>t.prevaluate()),this}}class Ow extends Yo{constructor(t){super(t);T(this,"chord");T(this,"indexes");Object.assign(this,t)}evaluate(t={}){let n=this.chord.evaluate();return Array.isArray(n)||(n=[n]),n.map(a=>{if(!(a instanceof Bt))return a;const i=a.pitches.length;return this.indexes instanceof Yo?this.indexes.evaluate(ta(t)).filter(s=>s!==void 0).map(s=>{if(s instanceof Bt){const l=s.clone();return l.pitches=l.pitches.map(c=>a.pitches[c.pitch%i]),l.evaluate()}else if(s instanceof Yt){const l=a.pitches[s.pitch%i],c=s.clone();return c.pitch=l.pitch,c.pitchOctave=l.pitchOctave,c.add=(c.add||0)+(l.add||0),c.key=l.key,c.scaleName=l.scaleName,c.parsedScale=l.parsedScale,c.evaluate()}return s}):Array.isArray(this.indexes)?this.indexes.map(s=>{if(Array.isArray(s)){const l=s.map(c=>a.pitches[c%i]);return new Bt({pitches:l,duration:a.duration}).evaluate()}else return a.pitches[s%i].evaluate()}):[]}).flat(1/0)}}class vw extends Ea{constructor(t){super(t);T(this,"duration");T(this,"items");T(this,"evaluated");Object.assign(this,t)}evaluate(t={}){return t.subdivisions=!0,this.duration=t.duration||S_,this.evaluated=this.items.map(n=>n.evaluate(t)).filter(n=>n).flat(1/0),this}}class VQ extends Ea{constructor(t){super(t);T(this,"times");T(this,"items");Object.assign(this,t)}evaluate(t={}){const n=this.items.map(i=>i.evaluate(t));return[...Array(this.times)].map(()=>n).flat(1/0)}}class zQ extends Ea{constructor(t){super(t);T(this,"left");T(this,"right");T(this,"operation");Object.assign(this,t)}evaluate(t={}){const n=this.left.evaluate(t).flat(1/0),a=this.right.evaluate(t).flat(1/0),i=cq[this.operation];return a.flatMap(l=>n.map(c=>[c.clone(),l.clone()])).map(l=>(l[0].pitch=i(l[0].originalPitch,l[1].originalPitch),l[0].originalPitch=l[0].pitch,l[0].evaluate(t)))}}class il extends cs{constructor(t){super(t);T(this,"items");T(this,"index");Object.assign(this,t),this.items=this.items.filter(n=>n!==void 0),this.index=0}nextItem(t={}){let n=this.items[this.index%this.items.length];for(;n instanceof il;)n=n.nextItem(t);return this.index=this.index+1,n instanceof Ea?n.evaluate(t):n}evaluate(t={}){return this.nextItem(t)}evaluateValue(t={}){const n=this.nextItem(t);return n instanceof Ea?n.evaluateValue():n}}const O_=(r,e,t,n=0,a=0,i=!1)=>{e=i&&e>0?e-1:e,r=typeof r=="string"?aa(r):r;const o=typeof t=="string"?Yn(t):t,s=o.length;let l=0;(e>=s||e<0)&&(l+=Math.floor(e/s),e=e<0?s-Math.abs(e)%s:e%s,e===s&&(e=0));let c=r+o.slice(0,e).reduce((u,h)=>u+h,0);if(c=c+(n+l)*o.reduce((u,h)=>u+h,0)+a,Number.isInteger(c))return{note:c,pitch:e,octave:n,pitchOctave:l,modifier:a,root:r,parsedScale:o};{const u=Zg(c);return{note:c,pitch:e,octave:n,pitchOctave:l,pitchBend:u[1],modifier:a,root:r,parsedScale:o}}},WQ=(r,e,t,n=0,a=0,i=!1)=>{const o=O_(r,e,t,n,a,i);return[o.note,o.pitchBend]},aa=(r,e=4)=>{const t=r.match(/^([a-gA-G])([#bs])?([1-9])?$/);if(t===null)return 60;const[,n,a,i]=t,o=i?parseInt(i,10):e,s=fq[a]||0,l=dq[n.toUpperCase()];return 12+o*12+l+s},Zg=(r,e=1)=>{let t=8192;if(r%1!==0){const n=r>Math.round(r)?r:Math.round(r),a=r>Math.round(r)?Math.round(r):r,i=Nl(n)/Nl(a),o=1200*Math.log2(i);t=t+Math.floor(8191*(o/(100*e)))}return[r,t]},Nl=r=>440/32*2**((r-9)/12),EE=r=>12/Math.log(2)*Math.log(r/440)+69,v_=r=>1200*Math.log2(r),XQ=function*(){var t;const r={};let e=2;for(;;){if(!(e in r))yield e,r[e*e]=[e];else{for(const n of r[e])(r[t=n+e]||(r[t]=[])).push(n);delete r[e]}e++}},KQ=r=>{const e=XQ();return Array.from({length:r},()=>e.next().value)},ZQ=r=>{const e=r.length,t=KQ(e+1);let n=1;for(let a=0;a{r[0]!==0&&(r=[0,...r]);const e=[];for(let t=0;tr.map(v_),Ew=r=>ns(jQ(r)),JQ=r=>typeof r=="string"?ro(r).length:r.length,E_=r=>[0,...r].reduce((e,t,n)=>{const a=n===0?0:t+e[n-1];return[...e,a]},[]),eH=r=>{const e=(t,n)=>{const a=(n-t)%12;return a<0?a+12:a};return r.map((t,n)=>e(t,r[(n+1)%r.length]))},tH=r=>((r<0||r>4095)&&(console.log("Input number must be odd and between 0 and 4095. Using major (2741) instead."),r=2741),r%2===0&&console.log("Even numbers doesnt create a 'real' scale"),(r>>>0).toString(2).padStart(12,"0").split("").reduce((t,n,a)=>n==="1"?[11-a,...t]:t,[])),nH=r=>{try{return bw(r)}catch{return[]}},Yn=r=>{if(typeof r=="string"){if(gw(r))return ro(r);{const e=nH(r);return e&&e.length>0?e:ro("MAJOR")}}else if(typeof r=="number")return eH(tH(r));return r},yw=(r,e=new Array(r).fill(1))=>{e=Yn(e);const t=12/r*100;return E_(e).map(a=>a*t)},rH=(r,e=new Array(r).fill(1))=>{const t=yw(r,e);return ns(t)},y_=(r,e="major",t=60,n="CHROMATIC",a=1)=>{const i=_E[e]||_E.major;t=typeof t=="string"?aa(t):t;const o=Xu(n,t)[r-1],s=[];for(let l=0;l<=a;l++)for(const c of i)s.push(o+c+l*12);return s},aH=(r="major",e=60,t="MAJOR",n=1,a)=>{const i=y_(1,r,e,"CHROMATIC",n),o=typeof t=="string"?ro(t):t;return i.map(l=>{const c=Ki(l,e,t);return new Yt({text:c.text,note:l,pitch:c.pc,octave:c.octave,add:c.add,duration:a,scaleName:t,parsedScale:o,key:e})})},Xu=(r,e=60,t=1)=>{const n=Yn(r);let a=typeof e=="string"?aa(e):e;const i=[a];for(let o=0;o{const a=Yn(r),i=[];let o=typeof e=="string"?aa(e,0):e;for(let s=0;s<9;s++)for(const l of a)o+=l,i.push(o);return i.filter(s=>s>=t&&s<=n)},oH=(r,e=60,t="Major",n=3,a=2)=>{const i=typeof t=="string"?_q(t):t.length,o=Math.floor((n*a+r-1)/i)+1,s=Xu(t,e,o),l=[];for(let c=r-1;l.length{const e=r.match(/([a-gA-G][#bs]?)([0-9])?([a-zA-Z0-9]+)/);if(e===null)return[60,64,67];let[,t,n,a]=e;const i=aa(t),o=n?parseInt(n,10):0;return y_(1,a,i,"CHROMATIC",o)},lH=r=>r.split("").map(t=>mq[t]).reduce((t,n,a,i)=>a(gE.includes(r)||(r=Cw(aa(r))),gE.indexOf(r)-6),Cw=r=>hq[r%12],cH=r=>{const e=Cw(r);return Tw(e)},uH=(r,e)=>{let t;return typeof e=="string"?t=Tw(e[0]):t=cH(e),(r*7+26-(11+t))%12+(11+t)},dH=(r,e=60)=>r<=0?0:Math.floor((r-e)/12),Ki=(r,e=60,t="MAJOR")=>{function n(h){return h>0?"^".repeat(h):h<0?"_".repeat(Math.abs(h)):""}const a=typeof e=="number"?e:aa(e),i=Vl(r-a,12),o=dH(r,a);if(typeof t=="string"&&t.toUpperCase()==="CHROMATIC")return{text:i.toString(),pc:i,octave:o,add:0};const s=["0","#0","1","#1","2","3","#3","4","#4","5","#5","6"],l=["0","b1","1","b2","2","3","b4","4","b5","5","b6","6"],c=uH(r,e);let u;if(c>=6&&c<=12&&l[i].length===2?u=l[i]:u=s[i],u.length>1){const h=u[0]==="#"?1:-1;return{text:n(o)+u,pc:parseInt(u[1]),octave:o,add:h}}return{text:n(o)+u,pc:parseInt(u),octave:o,add:0}},hH=(r,e,t)=>{const n=aa(r);return Ki(n,e,t)},jg=(r,e)=>r.map(t=>e+t%12).sort((t,n)=>t-n),fH=(r,e)=>{const t=r[0],n=jg(r,t),a=jg(e,t);return n.map((i,o)=>a[o]?a[o]-i:void 0)},mH=(r,e)=>{const t=r[0],n=r.map(o=>[o,jg(r,t).indexOf(t+o%12)]),a=fH(r,e);return n.map(([o,s])=>a[s]?o+a[s]:o)};function pH(r){const e=[];for(let n=1;n<12;n++){let a=r;if(r&1<i?a:(i-=a.length,o+=o.repeat(i),a+o.slice(0,i))}e.prototype.format=function(a){var i="Error: "+this.message;if(this.location){var o=null,s;for(s=0;s `+u+` `+p+` | `+c.line+" | "+_+` `+p+" | "+t("",l.column-1," ")+t("",A,"^")}else i+=` at `+u}return i},e.buildMessage=function(a,i){var o={literal:function(_){return'"'+l(_.text)+'"'},class:function(_){var b=_.parts.map(function(A){return Array.isArray(A)?c(A[0])+"-"+c(A[1]):c(A)});return"["+(_.inverted?"^":"")+b.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(_){return _.description}};function s(_){return _.charCodeAt(0).toString(16).toUpperCase()}function l(_){return _.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(b){return"\\x0"+s(b)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(b){return"\\x"+s(b)})}function c(_){return _.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(b){return"\\x0"+s(b)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(b){return"\\x"+s(b)})}function u(_){return o[_.type](_)}function h(_){var b=_.map(u),A,I;if(b.sort(),b.length>0){for(A=1,I=1;A",I="@",M=":",U="/",V="(",m=")",O="[:",S="]",k="[",L="{",F="}",Y="+",q="*",te="%",se="^",ie="&",ae=">>",D="<<",P="_",H="?",z="!",ne="r",oe="#",_e="b",ye="=",we="~",Ee="iii",Ce="ii",he="iv",xe="i",je="vii",Ve="vi",nt="v",et=/^[0-9]/,yt=/^[ \n\r\t]/,Lt=/^[a-z]/,St=/^[a-z_]/,Dt=/^[a-z_0-9]/,Pt=/^[mklpdcwyhnqaefsxtgujzo]/,Rn=/^[.]/,ze=/^[a-zA-Z0-9]/,En=/^[a-zA-Z0-9\-*+]/,ht=/^[A-G]/,Ke=/^[bs]/,wn=/^[A-Z]/,tn=x("-",!1),Ut=$([["0","9"]],!1,!1),j=x(".",!1),be=J("whitespace"),De=$([" ",` -`,"\r"," "],!1,!1),Ne=x(",",!1),Me=x("|",!1),Re=$([["a","z"]],!1,!1),$t=$([["a","z"],"_"],!1,!1),ut=$([["a","z"],"_",["0","9"]],!1,!1),Tt=x("<",!1),rt=x(">",!1),it=x("@",!1),Vt=x(":",!1),_t=$(["m","k","l","p","d","c","w","y","h","n","q","a","e","f","s","x","t","g","u","j","z","o"],!1,!1),Ye=$(["."],!1,!1),Gn=x("/",!1),Fr=x("(",!1),ft=x(")",!1),ir=x("[:",!1),Ln=x("]",!1),Ai=x("[",!1),Ur=x("{",!1),nn=x("}",!1),$r=x("+",!1),Ii=x("*",!1),Ra=x("%",!1),vr=x("^",!1),Er=x("&",!1),wa=x(">>",!1),Gr=x("<<",!1),sn=x("_",!1),za=x("?",!1),Wa=x("!",!1),X=x("r",!1),le=$([["a","z"],["A","Z"],["0","9"]],!1,!1),me=x("#",!1),Se=x("b",!1),Ae=$([["a","z"],["A","Z"],["0","9"],"-","*","+"],!1,!1),Qe=$([["A","G"]],!1,!1),Pe=$(["b","s"],!1,!1),At=$([["A","Z"]],!1,!1),qn=x("=",!1),or=x("~",!1),lo=x("iii",!1),ki=x("ii",!1),ds=x("iv",!1),sr=x("i",!1),hs=x("vii",!1),co=x("vi",!1),uo=x("v",!1),fs=function(E){return E.filter(N=>N)},ho=function(){return parseFloat(C())},ms=function(){return parseInt(C())},fo=function(){return parseInt(C())},Jn=function(){},ps=function(E){return Gt(FQ,{sound:E})},gs=function(){return C()},mo=function(E){return Gt(ol,{items:E})},po=function(E){return E},_s=function(E,N){return Gt(UQ,{item:E,sound:N})},go=function(E,N){return Gt($Q,{item:E,soundIndex:N})},bs=function(E){return E},_o=function(E,N){var B=N?N.length:0,W=cq[E];return B>0?W*(2-1/(2*B)):W},Ss=function(E,N){return E/N},Os=function(E){return E.filter(N=>N)},yr=function(E){return Gt(ol,{items:E})},Rt=function(E,N){return N?Gt(OE,{item:E,times:N}):Gt(Fo,{items:E})},vs=function(E){return E},Xa=function(E,N,B){return B instanceof Yt&&(B=Gt(Fo,{items:[B]})),Gt(VQ,{left:E,operation:N,right:B})},Es=function(E,N){return Gt(HQ,{items:E,times:N})},Aa=function(E){return Gt(Ow,{items:E})},ys=function(E){return E.map(N=>typeof N=="number"?N:void 0)},Ka=function(){return Math.ceil(mw(C()))},bo=function(E){var N=E.filter(B=>B).map(B=>Gt(Yt,{originalPitch:B[0],pitch:B[0]},B.toString()));return Gt(Fo,{items:N})},So=function(E){return E},Ts=function(E){return E},Za=function(){},Oo=function(E){return Gt(ol,{items:E})},ja=function(E){return Gt(qQ,{octave:E})},Ja=function(){return C().split("").reduce((E,N)=>E+(N==="^"?1:-1),0)},vo=function(){return Gt(il,{seededRandom:i.seededRandom})},Ni=function(E,N){return Gt(il,{min:E,max:N,seededRandom:i.seededRandom})},Ia=function(E,N){return Gt(OE,{item:E,times:N})},An=function(E){return Gt(QQ,{duration:E})},Eo=function(E){return E},lr=function(E){return Gt(Kg,{duration:E})},Di=function(E,N,B,W){const ue=E?i.nodeOptions.octave+E:i.nodeOptions.octave;return Gt(Yt,{duration:N,pitch:W,originalPitch:W,addedOctave:ue,add:B})},zl=function(E){return E.reduce((N,B)=>N+(B==="#"?1:-1),0)},Wl=function(E,N){return Gt(Sw,{chord:E,indexes:N})},Ku=function(E,N,B){return Gt(Bt,{pitches:[E].concat(N),inversion:B})},Zu=function(){return C()},ju=function(E){return E},Xl=function(){return C()},Kl=function(E,N,B){i.variables||(i.variables={}),i.variables[E]=N==="="?B.prevaluate():B},Zl=function(E){if(E&&i.variables&&i.variables[E])return i.variables[E]},Cs=function(E,N,B,W,ue){const Oe="CHROMATIC",Ot=B,Cr=rH(W,B,Oe,E,N),ws=N||i.nodeOptions.duration,CN=E?i.nodeOptions.octave+E:i.nodeOptions.octave;return Gt(Bt,{duration:ws,chordOctave:CN,pitches:Cr,chordName:W,inversion:ue,scaleName:Oe,key:Ot})},jl=function(E,N,B){const W=i.nodeOptions.scaleName?i.nodeOptions.scaleName:"MAJOR",ue=i.nodeOptions.key?i.nodeOptions.key:"C";return Gt(GQ,{roman:E,chordName:N,inversion:B,scaleName:W,key:ue})},Jl=function(E){if(E&&i.variables&&i.variables[E])return i.variables[E];const N=i.nodeOptions.scaleName?i.nodeOptions.scaleName:"MAJOR",B=i.nodeOptions.key?i.nodeOptions.key:"C",W=dH(E,B,N);return Gt(Yt,{pitch:W.pc,originalPitch:W.pc,add:W.add,scaleName:N,key:B})},R=0,Xe=0,ei=[{line:1,column:1}],Tr=0,d=[],f=0,g={},v;if("startRule"in i){if(!(i.startRule in l))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');c=l[i.startRule]}function C(){return a.substring(Xe,R)}function w(){return pe(Xe,R)}function x(E,N){return{type:"literal",text:E,ignoreCase:N}}function $(E,N,B){return{type:"class",parts:E,inverted:N,ignoreCase:B}}function G(){return{type:"end"}}function J(E){return{type:"other",description:E}}function Z(E){var N=ei[E],B;if(N)return N;for(B=E-1;!ei[B];)B--;for(N=ei[B],N={line:N.line,column:N.column};BTr&&(Tr=R,d=[]),d.push(E))}function de(E,N,B){return new e(e.buildMessage(E,N),E,N,B)}function ce(){var E,N,B=R*59+0,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=ka(),N!==o&&(Xe=E,N=fs(N)),E=N,g[B]={nextPos:R,result:E},E)}function Ie(){var E,N,B,W,ue,Oe,Ot,Cr=R*59+1,ws=g[Cr];if(ws)return R=ws.nextPos,ws.result;for(E=R,N=R,a.charCodeAt(R)===45?(B=u,R++):(B=o,f===0&&ee(tn)),B===o&&(B=null),W=[],et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut));ue!==o;)W.push(ue),et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut));if(a.charCodeAt(R)===46?(ue=h,R++):(ue=o,f===0&&ee(j)),ue!==o){if(Oe=[],et.test(a.charAt(R))?(Ot=a.charAt(R),R++):(Ot=o,f===0&&ee(Ut)),Ot!==o)for(;Ot!==o;)Oe.push(Ot),et.test(a.charAt(R))?(Ot=a.charAt(R),R++):(Ot=o,f===0&&ee(Ut));else Oe=o;Oe!==o?(B=[B,W,ue,Oe],N=B):(R=N,N=o)}else R=N,N=o;if(N===o)if(N=R,a.charCodeAt(R)===46?(B=h,R++):(B=o,f===0&&ee(j)),B!==o){if(W=[],et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut)),ue!==o)for(;ue!==o;)W.push(ue),et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut));else W=o;W!==o?(B=[B,W],N=B):(R=N,N=o)}else R=N,N=o;return N!==o&&(Xe=E,N=ho()),E=N,g[Cr]={nextPos:R,result:E},E}function ve(){var E,N,B=R*59+2,W=g[B];return W?(R=W.nextPos,W.result):(E=R,a.charCodeAt(R)===45?R++:f===0&&ee(tn),et.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(Ut)),N!==o?(Xe=E,E=ms()):(R=E,E=o),g[B]={nextPos:R,result:E},E)}function Be(){var E,N,B,W=R*59+3,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,a.charCodeAt(R)===45?R++:f===0&&ee(tn),N=[],et.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ut)),B!==o)for(;B!==o;)N.push(B),et.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ut));else N=o;return N!==o?(Xe=E,E=fo()):(R=E,E=o),g[W]={nextPos:R,result:E},E}function Ze(){var E,N,B=R*59+4,W=g[B];return W?(R=W.nextPos,W.result):(f++,E=R,yt.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(De)),N!==o&&(Xe=E,N=Jn()),E=N,f--,E===o&&(N=o,f===0&&ee(be)),g[B]={nextPos:R,result:E},E)}function He(){var E,N,B=R*59+8,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=xt(),N!==o&&(Xe=E,N=ps(N)),E=N,g[B]={nextPos:R,result:E},E)}function xt(){var E,N,B,W,ue,Oe=R*59+10,Ot=g[Oe];if(Ot)return R=Ot.nextPos,Ot.result;if(E=R,Lt.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(Re)),N!==o){if(B=[],St.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee($t)),W!==o)for(;W!==o;)B.push(W),St.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee($t));else B=o;if(B!==o){for(W=[],Dt.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(ut));ue!==o;)W.push(ue),Dt.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(ut));Xe=E,E=gs()}else R=E,E=o}else R=E,E=o;return g[Oe]={nextPos:R,result:E},E}function un(){var E,N=R*59+11,B=g[N];return B?(R=B.nextPos,B.result):(E=zt(),E===o&&(E=dn()),g[N]={nextPos:R,result:E},E)}function zt(){var E,N,B,W,ue=R*59+12,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,a.charCodeAt(R)===60?(N=b,R++):(N=o,f===0&&ee(Tt)),N!==o){if(B=[],W=un(),W!==o)for(;W!==o;)B.push(W),W=un();else B=o;B!==o?(a.charCodeAt(R)===62?(W=A,R++):(W=o,f===0&&ee(rt)),W!==o?(Xe=E,E=mo(B)):(R=E,E=o)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function dn(){var E,N=R*59+13,B=g[N];return B?(R=B.nextPos,B.result):(E=xt(),E===o&&(E=zt(),E===o&&(E=Ze())),g[N]={nextPos:R,result:E},E)}function bt(){var E,N,B,W=R*59+14,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===64?(N=I,R++):(N=o,f===0&&ee(it)),N!==o?(B=un(),B!==o?(Xe=E,E=po(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function mt(){var E,N=R*59+15,B=g[N];return B?(R=B.nextPos,B.result):(E=td(),E===o&&(E=ti(),E===o&&(E=rd(),E===o&&(E=od(),E===o&&(E=nd())))),g[N]={nextPos:R,result:E},E)}function hn(){var E,N,B,W=R*59+16,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,N=mt(),N===o&&(N=To()),N!==o?(B=bt(),B!==o?(Xe=E,E=_s(N,B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function rn(){var E,N,B,W=R*59+17,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,N=hn(),N===o&&(N=mt(),N===o&&(N=To())),N!==o?(B=ln(),B!==o?(Xe=E,E=go(N,B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function ln(){var E,N,B,W=R*59+18,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===58?(N=M,R++):(N=o,f===0&&ee(Vt)),N!==o?(B=ed(),B!==o?(Xe=E,E=bs(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function oa(){var E,N,B,W,ue=R*59+19,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,Pt.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(_t)),N!==o){for(B=[],Rn.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee(Ye));W!==o;)B.push(W),Rn.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee(Ye));Xe=E,E=_o(N,B)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function yo(){var E,N=R*59+20,B=g[N];return B?(R=B.nextPos,B.result):(E=Ju(),E===o&&(E=Ie(),E===o&&(E=oa())),g[N]={nextPos:R,result:E},E)}function Ju(){var E,N,B,W,ue=R*59+21,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=Be(),N!==o?(a.charCodeAt(R)===47?(B=U,R++):(B=o,f===0&&ee(Gn)),B!==o?(W=Be(),W!==o?(Xe=E,E=Ss(N,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ka(){var E,N,B,W=R*59+22,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],B=B_(),B===o&&(B=Y_(),B===o&&(B=rn(),B===o&&(B=hn(),B===o&&(B=td(),B===o&&(B=rd(),B===o&&(B=ti(),B===o&&(B=nd(),B===o&&(B=To(),B===o&&(B=od()))))))))),B!==o)for(;B!==o;)N.push(B),B=B_(),B===o&&(B=Y_(),B===o&&(B=rn(),B===o&&(B=hn(),B===o&&(B=td(),B===o&&(B=rd(),B===o&&(B=ti(),B===o&&(B=nd(),B===o&&(B=To(),B===o&&(B=od())))))))));else N=o;return N!==o&&(Xe=E,N=Os(N)),E=N,g[W]={nextPos:R,result:E},E}function ed(){var E,N=R*59+23,B=g[N];return B?(R=B.nextPos,B.result):(E=Ze(),E===o&&(E=Be(),E===o&&(E=P_(),E===o&&(E=ld(),E===o&&(E=pN(),E===o&&(E=M_()))))),g[N]={nextPos:R,result:E},E)}function pN(){var E,N,B,W,ue=R*59+24,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,a.charCodeAt(R)===60?(N=b,R++):(N=o,f===0&&ee(Tt)),N!==o){if(B=[],W=ed(),W!==o)for(;W!==o;)B.push(W),W=ed();else B=o;B!==o?(a.charCodeAt(R)===62?(W=A,R++):(W=o,f===0&&ee(rt)),W!==o?(Xe=E,E=yr(B)):(R=E,E=o)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function ti(){var E,N,B,W,ue,Oe=R*59+25,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,a.charCodeAt(R)===40?(N=V,R++):(N=o,f===0&&ee(Fr)),N!==o?(a.charCodeAt(R)===58?R++:f===0&&ee(Vt),B=ka(),B!==o?(W=D_(),W===o&&(W=null),a.charCodeAt(R)===41?(ue=m,R++):(ue=o,f===0&&ee(ft)),ue!==o?(Xe=E,E=Rt(B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function D_(){var E,N,B,W=R*59+26,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===58?(N=M,R++):(N=o,f===0&&ee(Vt)),N!==o?(B=Be(),B!==o?(Xe=E,E=vs(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function td(){var E,N,B,W,ue=R*59+27,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=ti(),N===o&&(N=ud()),N!==o?(B=L_(),B!==o?(W=ti(),W===o&&(W=ud(),W===o&&(W=Rs())),W!==o?(Xe=E,E=Xa(N,B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function nd(){var E,N,B,W,ue,Oe=R*59+28,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,a.substr(R,2)===O?(N=O,R+=2):(N=o,f===0&&ee(ir)),N!==o?(B=ka(),B!==o?(W=D_(),W===o&&(W=null),a.charCodeAt(R)===93?(ue=S,R++):(ue=o,f===0&&ee(Ln)),ue!==o?(Xe=E,E=Es(B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function rd(){var E,N,B,W,ue=R*59+29,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===91?(N=k,R++):(N=o,f===0&&ee(Ai)),N!==o?(B=ka(),B!==o?(a.charCodeAt(R)===93?(W=S,R++):(W=o,f===0&&ee(Ln)),W!==o?(Xe=E,E=Aa(B)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ad(){var E,N=R*59+30,B=g[N];return B?(R=B.nextPos,B.result):(E=Be(),E===o&&(E=ve()),g[N]={nextPos:R,result:E},E)}function id(){var E,N,B,W=R*59+31,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],B=x_(),B===o&&(B=ad()),B!==o)for(;B!==o;)N.push(B),B=x_(),B===o&&(B=ad());else N=o;return N!==o&&(Xe=E,N=ys(N)),E=N,g[W]={nextPos:R,result:E},E}function x_(){var E,N,B,W,ue=R*59+32,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===40?R++:f===0&&ee(Fr),N=ad(),N!==o?(B=L_(),B!==o?(W=id(),W!==o?(a.charCodeAt(R)===41?R++:f===0&&ee(ft),Xe=E,E=Ka()):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function gN(){var E,N,B,W,ue=R*59+33,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,a.charCodeAt(R)===123?(N=L,R++):(N=o,f===0&&ee(Ur)),N!==o){if(B=[],W=id(),W===o&&(W=Ze()),W!==o)for(;W!==o;)B.push(W),W=id(),W===o&&(W=Ze());else B=o;B!==o?(a.charCodeAt(R)===125?(W=F,R++):(W=o,f===0&&ee(nn)),W!==o?(Xe=E,E=bo(B)):(R=E,E=o)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function M_(){var E,N,B,W,ue=R*59+34,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===123?(N=L,R++):(N=o,f===0&&ee(Ur)),N!==o?(B=Be(),B===o&&(B=ld()),B!==o?(a.charCodeAt(R)===125?(W=F,R++):(W=o,f===0&&ee(nn)),W!==o?(Xe=E,E=So(B)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function L_(){var E,N=R*59+35,B=g[N];return B?(R=B.nextPos,B.result):(a.charCodeAt(R)===43?(E=Y,R++):(E=o,f===0&&ee($r)),E===o&&(a.charCodeAt(R)===45?(E=u,R++):(E=o,f===0&&ee(tn)),E===o&&(a.charCodeAt(R)===42?(E=q,R++):(E=o,f===0&&ee(Ii)),E===o&&(a.charCodeAt(R)===47?(E=U,R++):(E=o,f===0&&ee(Gn)),E===o&&(a.charCodeAt(R)===37?(E=te,R++):(E=o,f===0&&ee(Ra)),E===o&&(a.charCodeAt(R)===94?(E=se,R++):(E=o,f===0&&ee(vr)),E===o&&(a.charCodeAt(R)===124?(E=_,R++):(E=o,f===0&&ee(Me)),E===o&&(a.charCodeAt(R)===38?(E=ie,R++):(E=o,f===0&&ee(Er)),E===o&&(a.substr(R,2)===ae?(E=ae,R+=2):(E=o,f===0&&ee(wa)),E===o&&(a.substr(R,2)===D?(E=D,R+=2):(E=o,f===0&&ee(Gr))))))))))),g[N]={nextPos:R,result:E},E)}function To(){var E,N,B=R*59+36,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=vN(),N===o&&(N=yN(),N===o&&(N=q_(),N===o&&(N=G_(),N===o&&(N=TN(),N===o&&(N=ud(),N===o&&(N=He(),N===o&&(N=F_(),N===o&&(N=Rs(),N===o&&(N=bN(),N===o&&(N=Ze(),N===o&&(N=SN(),N===o&&(N=ti(),N===o&&(N=gN(),N===o&&(N=_N())))))))))))))),N!==o&&(Xe=E,N=Ts(N)),E=N,g[B]={nextPos:R,result:E},E)}function _N(){var E,N,B=R*59+37,W=g[B];return W?(R=W.nextPos,W.result):(E=R,a.charCodeAt(R)===124?(N=_,R++):(N=o,f===0&&ee(Me)),N!==o&&(Xe=E,N=Za()),E=N,g[B]={nextPos:R,result:E},E)}function od(){var E,N,B,W,ue=R*59+38,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===60?(N=b,R++):(N=o,f===0&&ee(Tt)),N!==o?(B=ka(),B!==o?(a.charCodeAt(R)===62?(W=A,R++):(W=o,f===0&&ee(rt)),W!==o?(Xe=E,E=Oo(B)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function bN(){var E,N,B=R*59+39,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=sd(),N!==o&&(Xe=E,N=ja(N)),E=N,g[B]={nextPos:R,result:E},E)}function sd(){var E,N,B,W=R*59+40,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],a.charCodeAt(R)===94?(B=se,R++):(B=o,f===0&&ee(vr)),B===o&&(a.charCodeAt(R)===95?(B=P,R++):(B=o,f===0&&ee(sn))),B!==o)for(;B!==o;)N.push(B),a.charCodeAt(R)===94?(B=se,R++):(B=o,f===0&&ee(vr)),B===o&&(a.charCodeAt(R)===95?(B=P,R++):(B=o,f===0&&ee(sn)));else N=o;return N!==o&&(Xe=E,N=Ja()),E=N,g[W]={nextPos:R,result:E},E}function P_(){var E,N,B=R*59+41,W=g[B];return W?(R=W.nextPos,W.result):(E=R,a.charCodeAt(R)===63?(N=H,R++):(N=o,f===0&&ee(za)),N!==o&&(Xe=E,N=vo()),E=N,g[B]={nextPos:R,result:E},E)}function ld(){var E,N,B,W,ue,Oe,Ot=R*59+42,Cr=g[Ot];return Cr?(R=Cr.nextPos,Cr.result):(E=R,a.charCodeAt(R)===40?(N=V,R++):(N=o,f===0&&ee(Fr)),N!==o?(B=Be(),B!==o?(a.charCodeAt(R)===44?(W=p,R++):(W=o,f===0&&ee(Ne)),W!==o?(ue=Be(),ue!==o?(a.charCodeAt(R)===41?(Oe=m,R++):(Oe=o,f===0&&ee(ft)),Oe!==o?(Xe=E,E=Ni(B,ue)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[Ot]={nextPos:R,result:E},E)}function B_(){var E,N,B,W,ue=R*59+43,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=rn(),N===o&&(N=hn(),N===o&&(N=mt(),N===o&&(N=To()))),N!==o?(a.charCodeAt(R)===33?(B=z,R++):(B=o,f===0&&ee(Wa)),B!==o?(W=Be(),W!==o?(Xe=E,E=Ia(N,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function SN(){var E,N,B=R*59+44,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=yo(),N!==o&&(Xe=E,N=An(N)),E=N,g[B]={nextPos:R,result:E},E)}function ON(){var E,N,B,W=R*59+45,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,N=yo(),N!==o?(a.charCodeAt(R)===94?(B=se,R++):(B=o,f===0&&ee(vr)),B!==o?(Xe=E,E=Eo(N)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function vN(){var E,N,B,W,ue,Oe=R*59+46,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,N=ON(),N===o&&(N=null),a.charCodeAt(R)===114?(B=ne,R++):(B=o,f===0&&ee(X)),B!==o?(W=R,f++,ze.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(le)),f--,ue===o?W=void 0:(R=W,W=o),W!==o?(Xe=E,E=lr(N)):(R=E,E=o)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function Rs(){var E,N,B,W,ue,Oe=R*59+47,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,N=sd(),N===o&&(N=null),B=yo(),B===o&&(B=null),W=EN(),W===o&&(W=null),ue=ve(),ue===o&&(ue=P_(),ue===o&&(ue=ld(),ue===o&&(ue=M_()))),ue!==o?(Xe=E,E=Di(N,B,W,ue)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function EN(){var E,N,B,W=R*59+48,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],a.charCodeAt(R)===35?(B=oe,R++):(B=o,f===0&&ee(me)),B===o&&(a.charCodeAt(R)===98?(B=_e,R++):(B=o,f===0&&ee(Se))),B!==o)for(;B!==o;)N.push(B),a.charCodeAt(R)===35?(B=oe,R++):(B=o,f===0&&ee(me)),B===o&&(a.charCodeAt(R)===98?(B=_e,R++):(B=o,f===0&&ee(Se)));else N=o;return N!==o&&(Xe=E,N=zl(N)),E=N,g[W]={nextPos:R,result:E},E}function Y_(){var E,N,B,W,ue=R*59+49,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=F_(),N===o&&(N=G_(),N===o&&(N=q_(),N===o&&(N=ti()))),N!==o?(a.charCodeAt(R)===64?(B=I,R++):(B=o,f===0&&ee(it)),B!==o?(W=ti(),W!==o?(Xe=E,E=Wl(N,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function F_(){var E,N,B,W,ue=R*59+50,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,N=Rs(),N!==o){if(B=[],W=Rs(),W!==o)for(;W!==o;)B.push(W),W=Rs();else B=o;B!==o?(W=cd(),W===o&&(W=null),Xe=E,E=Ku(N,B,W)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function U_(){var E,N,B,W=R*59+51,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],En.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ae)),B!==o)for(;B!==o;)N.push(B),En.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ae));else N=o;return N!==o&&(Xe=E,N=Zu()),E=N,g[W]={nextPos:R,result:E},E}function cd(){var E,N,B,W=R*59+52,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===37?(N=te,R++):(N=o,f===0&&ee(Ra)),N!==o?(B=Be(),B!==o?(Xe=E,E=ju(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function $_(){var E,N,B=R*59+53,W=g[B];return W?(R=W.nextPos,W.result):(E=R,ht.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(Qe)),N!==o?(Ke.test(a.charAt(R))?(a.charAt(R),R++):f===0&&ee(Pe),Xe=E,E=Xl()):(R=E,E=o),g[B]={nextPos:R,result:E},E)}function yN(){var E,N,B,W,ue=R*59+54,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,wn.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(At)),N!==o?(a.charCodeAt(R)===61?(B=ye,R++):(B=o,f===0&&ee(qn)),B===o&&(a.charCodeAt(R)===126?(B=we,R++):(B=o,f===0&&ee(or))),B!==o?(W=To(),W!==o?(Xe=E,E=Kl(N,B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ud(){var E,N,B=R*59+55,W=g[B];return W?(R=W.nextPos,W.result):(E=R,wn.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(At)),N!==o&&(Xe=E,N=Zl(N)),E=N,g[B]={nextPos:R,result:E},E)}function G_(){var E,N,B,W,ue,Oe,Ot=R*59+56,Cr=g[Ot];return Cr?(R=Cr.nextPos,Cr.result):(E=R,N=sd(),N===o&&(N=null),B=yo(),B===o&&(B=null),W=$_(),W!==o?(a.charCodeAt(R)===94?R++:f===0&&ee(vr),ue=U_(),ue!==o?(Oe=cd(),Oe===o&&(Oe=null),Xe=E,E=Cs(N,B,W,ue,Oe)):(R=E,E=o)):(R=E,E=o),g[Ot]={nextPos:R,result:E},E)}function q_(){var E,N,B,W,ue=R*59+57,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.substr(R,3)===Ee?(N=Ee,R+=3):(N=o,f===0&&ee(lo)),N===o&&(a.substr(R,2)===Ce?(N=Ce,R+=2):(N=o,f===0&&ee(ki)),N===o&&(a.substr(R,2)===he?(N=he,R+=2):(N=o,f===0&&ee(ds)),N===o&&(a.charCodeAt(R)===105?(N=xe,R++):(N=o,f===0&&ee(sr)),N===o&&(a.substr(R,3)===je?(N=je,R+=3):(N=o,f===0&&ee(hs)),N===o&&(a.substr(R,2)===Ve?(N=Ve,R+=2):(N=o,f===0&&ee(co)),N===o&&(a.charCodeAt(R)===118?(N=nt,R++):(N=o,f===0&&ee(uo)))))))),N!==o?(a.charCodeAt(R)===94?R++:f===0&&ee(vr),B=U_(),B===o&&(B=null),W=cd(),W===o&&(W=null),Xe=E,E=jl(N,B,W)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function TN(){var E,N,B=R*59+58,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=$_(),N!==o&&(Xe=E,N=Jl(N)),E=N,g[B]={nextPos:R,result:E},E)}var Q_=i.nodeOptions||{};function Gt(E,N,B=void 0){N.text=B||C(),N.location=w();for(var W in Q_)(N[W]===void 0||N[W]===null)&&(N[W]=Q_[W]);return new E(N)}if(v=c(),v!==o&&R===a.length)return v;throw v!==o&&R1&&(c=c.slice(1));const u=c.map(h=>isNaN(parseInt(h))?h:parseInt(h));return s(...u).toString()}return s.toString()}}return i[0]}const a=new RegExp(t.join("|"),"g");return r.replace(a,i=>n(i))}function gH(r,e,t){let n=r;for(let a=0;a1&&(t=t.split("").join(" ")),t}revaluate(){this.values=Fp(this.input,this.options),this.evaluated=this.evaluate(this.values),this.applyTransformations(),this.duration=this.totalDuration()}pitches(){return this.evaluated.map(e=>e.collect("pitch"))}originalPitches(){return this.evaluated.map(e=>e.collect("originalPitch"))}notes(){return this.evaluated.map(e=>e.collect("note"))}collect(e){return this.evaluated.map(t=>t.collect(e))}sounds(){return this.evaluated.map(e=>e.collect("sound"))}indices(){return this.evaluated.map(e=>e.collect("soundIndex"))}freqs(){return this.evaluated.map(e=>e.collect("freq"))}durations(){return this.evaluated.map(e=>e.collect("duration"))}octaves(){return this.evaluated.map(e=>e.collect("octave"))}retrograde(){return this.evaluated=this.evaluated.reverse(),this}rotate(e=1){return this.evaluated=[...this.evaluated.slice(e),...this.evaluated.slice(0,e)],this}every(e=1){return this.evaluated=this.evaluated.filter((t,n)=>n%e===0),this}scale(e){return this.applyOptions({scale:e}),this.scaleApplied=!0,this}cents(e){const t=rs(e);return this.applyOptions({scale:t}),this.scaleApplied=!0,this}ratios(e){const t=vw(e);return this.applyOptions({scale:t}),this.scaleApplied=!0,this}edo(e,t=[1,1,1,1,1,1,1,1,1,1,1]){const n=Ew(e,t),a=rs(n);return this.applyOptions({scale:a}),this.scaleApplied=!0,this}key(e){return this.applyOptions({key:e}),this}octave(e){return this.applyOptions({octave:e}),this}invert(e){return this.applyOptions({inversion:e}),this}isInOptions(e,t){return this.options.nodeOptions&&this.options.nodeOptions[e]===t}atLast(){return this.index+1>=this.evaluated.length*(this.redo||1)}clone(){return ta(this)}notStarted(){return this.index<0}peek(){return this.evaluated[this.index-1||0]}hasStarted(){return this.index>=0}reset(){this.index=-1,this.counter=0}setRedo(e){this.redo=e}next(){this.index<0&&(this.index=0);const e=this.evaluated[this.index%this.evaluated.length];if(this.index++,this.counter++,this.redo>0&&this.index>=this.evaluated.length*this.redo){if(this.index=0,this.cycleIndex++,this.generator){const t=this.generator.next();t.done?this.generatorDone=!0:(this.input=_i.inputFromNumber(t.value),this.revaluate())}this.evaluated=this.evaluate(this.values)}return e}applyOptions(e={}){this.evaluated=this.evaluate(this.evaluated,e),this.applyTransformations()}applyTransformations(){var e;(e=this.globalOptions)!=null&&e.retrograde&&(this.evaluated=this.evaluated.reverse())}update(){return this.evaluated=this.evaluate(this.values),this.applyTransformations(),this}evaluate(e,t={}){let n=e.map(a=>a.evaluate(t)).flat(1/0).filter(a=>a!==void 0);return t.subdivisions&&(n=Rw(n)),n}totalDuration(){return this.evaluated.reduce((t,n)=>t+n.collect("duration"),0)}lead(){let e=this.evaluated.findIndex(t=>t instanceof Bt);if(e>=0){for(let t=e+1;t<=this.evaluated.length;t++)if(this.evaluated[t]instanceof Bt){const n=this.evaluated[e],a=this.evaluated[t],i=fH(n.notes(),a.notes()),o=ta(a);o.voiceLeadFromNotes(i,this.options.nodeOptions),this.evaluated[t]=o,e=t}}return this}arpeggio(e){typeof e=="number"&&(e=[e]);const t=sq(this.options.nodeOptions,["octave","scaleName","key"],{scaleName:"scale"}),n={...pE,...t},a=this.evaluated.map(i=>i instanceof Bt?(typeof e=="string"&&(e=new Fo({items:Fp(e,this.options)})),new Sw({chord:i,indexes:e}).evaluate(n)):i);return this.evaluated=a.flat(1/0),this}toString(){return this.evaluated.map(e=>e.toString()).join(" ")}rules(e,t=1){const n=gH(this.input,e,t);return new _i(n,this.options.nodeOptions,this.globalOptions)}tonnetzChords(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Yt?n.tonnetzChord(e,t):n)),this}tonnetz(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Bt){if(n.notes().length===3)return n.triadTonnetz(e,t,bE);if(n.notes().length===4)return n.tetraTonnetz(e,t,bE)}else return n}).flat(1/0)),this}triadTonnetz(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Bt?n.triadTonnetz(e,t):n).flat(1/0)),this}tetraTonnetz(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Bt?n.tetraTonnetz(e,t):n).flat(1/0)),this}hexaCycle(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Yt?Qq(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave})):n).flat(1/0)),this}octaCycle(e=[3,4,5],t=4){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Yt?Vq(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave})):n).flat(1/0)),this}enneaCycle(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Yt?zq(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave})):n).flat(1/0)),this}cubeDance(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Yt)return Hq(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave}))}).flat(1/0)),this}powerTowers(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Yt)return Zq(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave}))}).flat(1/0)),this}octaTower(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Yt)return Xq(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave}))}).flat(1/0)),this}boretzRegions(e=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(t=>{if(t instanceof Yt)return Kq(t.pitch,e).map(i=>Bt.fromPitchClassArray(i,t.key||"C4",this.scaleApplied&&t.scaleName||"CHROMATIC").evaluate({duration:t.duration,octave:t.octave}))}).flat(1/0)),this}weitzmannRegions(e=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(t=>{if(t instanceof Yt)return Wq(t.pitch,e).map(i=>Bt.fromPitchClassArray(i,t.key||"C4",this.scaleApplied&&t.scaleName||"CHROMATIC").evaluate({duration:t.duration,octave:t.octave}))}).flat(1/0)),this}shuffle(){if(this.evaluated)for(let e=0;en.includes(i%this.evaluated.length))}return this}}const Rw=(r,e=void 0)=>r.map(n=>{if(n instanceof Ow){const a=n.evaluated.length,i=(e||n.duration)/a;return Rw(n.evaluated,i)}else return n.duration=e||n.duration,n}).flat(1/0),_H=r=>{let e={};return YQ.forEach(t=>{if(r[t]!==void 0){const n=r[t];e[t]=n,delete r[t]}}),e},Ca=(r,e)=>{let t=0;if(r<1)return t;for(;r%e**t===0;)t++;return t-1},Ha=(r,e)=>{if(r===0)return 0;const t=Ca(r,e);return 1/e**t},bH=(r,e,t=11)=>{const n=[];for(let i=1;i{const n=[];for(let o=1;oo!==0))};function*SH(){let[r,e]=[0,1];for(;;)yield r,[r,e]=[e,r+e]}function*OH(){let[r,e,t]=[0,0,1];for(;;)yield e,[r,e,t]=[t,r,r+e+t]}function*vH(){let[r,e,t,n]=[0,0,0,1];for(;;)yield t,[r,e,t,n]=[n,r,e,r+e+t+n]}function*EH(){let[r,e,t,n,a]=[0,0,0,0,1];for(;;)yield n,[r,e,t,n,a]=[a,r,e,t,r+e+t+n+a]}function*yH(){let[r,e,t,n,a,i]=[0,0,0,0,0,1];for(;;)yield a,[r,e,t,n,a,i]=[i,r,e,t,n,r+e+t+n+a+i]}function*TH(){let[r,e,t,n,a,i,o]=[0,0,0,0,0,0,1];for(;;)yield i,[r,e,t,n,a,i,o]=[o,r,e,t,n,a,r+e+t+n+a+i+o]}function*CH(){let[r,e,t,n,a,i,o,s]=[0,0,0,0,0,0,0,1];for(;;)yield o,[r,e,t,n,a,i,o,s]=[s,r,e,t,n,a,i,r+e+t+n+a+i+o+s]}function*RH(){let[r,e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,0,1];for(;;)yield s,[r,e,t,n,a,i,o,s,l]=[l,r,e,t,n,a,i,o,r+e+t+n+a+i+o+s+l]}function*wH(r){let[e,t]=[0,1];for(;;)yield e,[e,t]=[t,(e+t)%r]}function*AH(r){let[e,t,n]=[0,0,1];for(;;)yield t,[e,t,n]=[n,e,(e+t+n)%r]}function*IH(r){let[e,t,n,a]=[0,0,0,1];for(;;)yield n,[e,t,n,a]=[a,e,t,(e+t+n+a)%r]}function*kH(r){let[e,t,n,a,i]=[0,0,0,0,1];for(;;)yield a,[e,t,n,a,i]=[i,e,t,n,(e+t+n+a+i)%r]}function*NH(r){let[e,t,n,a,i,o]=[0,0,0,0,0,1];for(;;)yield i,[e,t,n,a,i,o]=[o,e,t,n,a,(e+t+n+a+i+o)%r]}function*DH(r){let[e,t,n,a,i,o,s]=[0,0,0,0,0,0,1];for(;;)yield o,[e,t,n,a,i,o,s]=[s,e,t,n,a,i,(e+t+n+a+i+o+s)%r]}function*xH(r){let[e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,1];for(;;)yield s,[e,t,n,a,i,o,s,l]=[l,e,t,n,a,i,o,(e+t+n+a+i+o+s+l)%r]}function*MH(r){let[e,t,n,a,i,o,s,l,c]=[0,0,0,0,0,0,0,0,1];for(;;)yield l,[e,t,n,a,i,o,s,l,c]=[c,e,t,n,a,i,o,s,(e+t+n+a+i+o+s+l+c)%r]}function*LH(r){let[e,t]=[0,1];for(;;)yield Ca(e,r),[e,t]=[t,e+t]}function*PH(r){let[e,t,n]=[0,0,1];for(;;)yield Ca(t,r),[e,t,n]=[n,e,e+t+n]}function*BH(r){let[e,t,n,a]=[0,0,0,1];for(;;)yield Ca(n,r),[e,t,n,a]=[a,e,t,e+t+n+a]}function*YH(r){let[e,t,n,a,i]=[0,0,0,0,1];for(;;)yield Ca(a,r),[e,t,n,a,i]=[i,e,t,n,e+t+n+a+i]}function*FH(r){let[e,t,n,a,i,o]=[0,0,0,0,0,1];for(;;)yield Ca(i,r),[e,t,n,a,i,o]=[o,e,t,n,a,e+t+n+a+i+o]}function*UH(r){let[e,t,n,a,i,o,s]=[0,0,0,0,0,0,1];for(;;)yield Ca(o,r),[e,t,n,a,i,o,s]=[s,e,t,n,a,i,e+t+n+a+i+o+s]}function*$H(r){let[e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,1];for(;;)yield Ca(s,r),[e,t,n,a,i,o,s,l]=[l,e,t,n,a,i,o,e+t+n+a+i+o+s+l]}function*GH(r){const e=Array(9).fill(0);e[9-1]=1;let[t,n,a,i,o,s,l,c,u]=e;for(;;)yield Ca(c,r),[t,n,a,i,o,s,l,c,u]=[u,t,n,a,i,o,s,l,t+n+a+i+o+s+l+c+u]}function*qH(r){let[e,t]=[0,1];for(;;)yield Ha(e,r),[e,t]=[t,e+t]}function*QH(r){let[e,t,n]=[0,0,1];for(;;)yield Ha(t,r),[e,t,n]=[n,e,e+t+n]}function*HH(r){let[e,t,n,a]=[0,0,0,1];for(;;)yield Ha(n,r),[e,t,n,a]=[a,e,t,e+t+n+a]}function*VH(r){let[e,t,n,a,i]=[0,0,0,0,1];for(;;)yield Ha(a,r),[e,t,n,a,i]=[i,e,t,n,e+t+n+a+i]}function*zH(r){let[e,t,n,a,i,o]=[0,0,0,0,0,1];for(;;)yield Ha(i,r),[e,t,n,a,i,o]=[o,e,t,n,a,e+t+n+a+i+o]}function*WH(r){let[e,t,n,a,i,o,s]=[0,0,0,0,0,0,1];for(;;)yield Ha(o,r),[e,t,n,a,i,o,s]=[s,e,t,n,a,i,e+t+n+a+i+o+s]}function*XH(r){let[e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,1];for(;;)yield Ha(s,r),[e,t,n,a,i,o,s,l]=[l,e,t,n,a,i,o,e+t+n+a+i+o+s+l]}function*KH(r){const e=Array(9).fill(0);e[9-1]=1;let[t,n,a,i,o,s,l,c,u]=e;for(;;)yield Ha(c,r),[t,n,a,i,o,s,l,c,u]=[u,t,n,a,i,o,s,l,t+n+a+i+o+s+l+c+u]}function*ZH(r,e=11){let[t,n]=[0,1];for(;;)yield Va(t,r,e),[t,n]=[n,t+n]}function*jH(r,e=11){let[t,n,a]=[0,0,1];for(;;)yield Va(n,r,e),[t,n,a]=[a,t,t+n+a]}function*JH(r,e=11){let[t,n,a,i]=[0,0,0,1];for(;;)yield Va(a,r,e),[t,n,a,i]=[i,t,n,t+n+a+i]}function*eV(r,e=11){let[t,n,a,i,o]=[0,0,0,0,1];for(;;)yield Va(i,r,e),[t,n,a,i,o]=[o,t,n,a,t+n+a+i+o]}function*tV(r,e=11){let[t,n,a,i,o,s]=[0,0,0,0,0,1];for(;;)yield Va(o,r,e),[t,n,a,i,o,s]=[s,t,n,a,i,t+n+a+i+o+s]}function*nV(r,e=11){let[t,n,a,i,o,s,l]=[0,0,0,0,0,0,1];for(;;)yield Va(s,r,e),[t,n,a,i,o,s,l]=[l,t,n,a,i,o,t+n+a+i+o+s+l]}function*rV(r,e=11){let[t,n,a,i,o,s,l,c]=[0,0,0,0,0,0,0,1];for(;;)yield Va(l,r,e),[t,n,a,i,o,s,l,c]=[c,t,n,a,i,o,s,t+n+a+i+o+s+l+c]}function*aV(r,e=11){const t=Array(9).fill(0);t[9-1]=1;let[n,a,i,o,s,l,c,u,h]=t;for(;;)yield Va(u,r,e),[n,a,i,o,s,l,c,u,h]=[h,n,a,i,o,s,l,c,n+a+i+o+s+l+c+u+h]}function*iV(r,e,t=1){for(;;){let n=Math.sqrt(Math.pow(r,3)+e);isNaN(n)||(yield[r,n]),r+=t}}function*oV(r,e,t=12,n=1){for(;;){let a=Math.sqrt(Math.pow(r,3))+Math.abs(e);isNaN(a)||(yield Math.round(a)%t),r+=n}}const sV=Object.freeze(Object.defineProperty({__proto__:null,enneanacci:RH,fibonacci:SH,heptanacci:TH,hexanacci:yH,modularEnneanacci:MH,modularFibonacci:wH,modularHeptanacci:DH,modularHexanacci:NH,modularOctanacci:xH,modularPentanacci:kH,modularTetranacci:IH,modularTribonacci:AH,mordellCurve:iV,mordellMusicPoints:oV,normPadicEnneanacci:KH,normPadicFibonacci:qH,normPadicHeptanacci:WH,normPadicHexanacci:zH,normPadicOctanacci:XH,normPadicPentanacci:VH,normPadicTetranacci:HH,normPadicTribonacci:QH,octanacci:CH,pAdicExpansion:bH,pAdicExpansionArithmetic:Va,pAdicExpansionEnneanacci:aV,pAdicExpansionFibonacci:ZH,pAdicExpansionHeptanacci:nV,pAdicExpansionHexanacci:tV,pAdicExpansionOctanacci:rV,pAdicExpansionPentanacci:eV,pAdicExpansionTetranacci:JH,pAdicExpansionTribonacci:jH,pAdicNorm:Ha,pAdicValuation:Ca,padicEnneanacci:GH,padicFibonacci:LH,padicHeptanacci:UH,padicHexanacci:FH,padicOctanacci:$H,padicPentanacci:YH,padicTetranacci:BH,padicTribonacci:PH,pentanacci:EH,tetranacci:vH,tribonacci:OH},Symbol.toStringTag,{value:"Module"})),lV={black:"#08002e",color1:"#64002c",green:"#5d731a",yellow:"#cd751c",blue:"#1d6da1",magenta:"#b7077e",cyan:"#42a38c",white:"#f3e0b8",brightblack:"#331e4d",brightred:"#d02063",brightgreen:"#b4ce59",brightyellow:"#fac357",brightblue:"#40a4cf",brightmagenta:"#f12aae",brightcyan:"#62caa8",brightwhite:"#fff5db",background:"#0e0d15",selection_foreground:"#0e0d15",cursor:"#bbbbbb",foreground:"#dbd1b9",selection_background:"#dbd1b9"},cV={black:"#546e7a",color1:"#ff5370",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#ffffff",brightblack:"#546e7a",brightred:"#ff5370",brightgreen:"#c3e88d",brightyellow:"#ffcb6b",brightblue:"#82aaff",brightmagenta:"#c792ea",brightcyan:"#89ddff",brightwhite:"#ffffff",background:"#0f111a",selection_foreground:"#0f111a",cursor:"#ffcc00",foreground:"#8f93a2",selection_background:"#8f93a2"},uV={black:"#25234f",color1:"#705050",green:"#60b48a",yellow:"#dfaf8f",blue:"#5555ff",magenta:"#f08cc3",cyan:"#8cd0d3",white:"#709080",brightblack:"#709080",brightred:"#dca3a3",brightgreen:"#60b48a",brightyellow:"#f0dfaf",brightblue:"#5555ff",brightmagenta:"#ec93d3",brightcyan:"#93e0e3",brightwhite:"#ffffff",background:"#25234f",selection_foreground:"#25234f",cursor:"#ff5555",foreground:"#dcdccc",selection_background:"#dcdccc"},dV={black:"#3b4252",color1:"#bf616a",green:"#a3be8c",yellow:"#ebcb8b",blue:"#81a1c1",magenta:"#b48ead",cyan:"#88c0d0",white:"#e5e9f0",brightblack:"#4c566a",brightred:"#bf616a",brightgreen:"#a3be8c",brightyellow:"#ebcb8b",brightblue:"#81a1c1",brightmagenta:"#b48ead",brightcyan:"#8fbcbb",brightwhite:"#eceff4",background:"#2e3440",selection_foreground:"#2e3440",cursor:"#eceff4",foreground:"#d8dee9",selection_background:"#d8dee9"},hV={black:"#7f7f7f",color1:"#e15a60",green:"#a9cfa4",yellow:"#ffe2a9",blue:"#6699cc",magenta:"#f1a5ab",cyan:"#5fb3b3",white:"#d4d4d4",brightblack:"#7f7f7f",brightred:"#e15a60",brightgreen:"#a9cfa4",brightyellow:"#ffe2a9",brightblue:"#6699cc",brightmagenta:"#f1a5ab",brightcyan:"#5fb3b3",brightwhite:"#d4d4d4",background:"#282c35",selection_foreground:"#282c35",cursor:"#c7c7c7",foreground:"#d4d4d4",selection_background:"#d4d4d4"},fV={black:"#adadad",color1:"#fc5256",green:"#98b61c",yellow:"#ccb444",blue:"#437ee7",magenta:"#9d74b0",cyan:"#248887",white:"#181818",brightblack:"#ffffff",brightred:"#fc7072",brightgreen:"#98b61c",brightyellow:"#ffff0b",brightblue:"#6c9ced",brightmagenta:"#fc7eff",brightcyan:"#248887",brightwhite:"#181818",background:"#202020",selection_foreground:"#202020",cursor:"#bbbbbb",foreground:"#adadad",selection_background:"#adadad"},mV={black:"#000000",color1:"#f07178",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#cccccc",brightblack:"#333333",brightred:"#f6a9ae",brightgreen:"#dbf1ba",brightyellow:"#ffdfa6",brightblue:"#b4ccff",brightmagenta:"#ddbdf2",brightcyan:"#b8eaff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#fefefe",foreground:"#ffffff",selection_background:"#ffffff"},pV={black:"#292d3e",color1:"#ff8288",green:"#b4e88d",yellow:"#f4d69f",blue:"#82aaff",magenta:"#e9c1ff",cyan:"#89ebff",white:"#d0d0d0",brightblack:"#434758",brightred:"#ff8b92",brightgreen:"#ddffa7",brightyellow:"#ffe585",brightblue:"#9cc4ff",brightmagenta:"#ddb0f6",brightcyan:"#a3f7ff",brightwhite:"#ffffff",background:"#006984",selection_foreground:"#006984",cursor:"#ffcc00",foreground:"#c5f2ff",selection_background:"#c5f2ff"},gV={black:"#000000",color1:"#a60001",green:"#00bb00",yellow:"#fecd22",blue:"#3a9bdb",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff0003",brightgreen:"#93c863",brightyellow:"#fef874",brightblue:"#a1d7ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#283033",selection_foreground:"#283033",cursor:"#c0cad0",foreground:"#cdcdcd",selection_background:"#cdcdcd"},_V={black:"#3c3c30",color1:"#98290f",green:"#479a43",yellow:"#7f7111",blue:"#497f7d",magenta:"#7f4e2f",cyan:"#387f58",white:"#807974",brightblack:"#555445",brightred:"#e0502a",brightgreen:"#61e070",brightyellow:"#d69927",brightblue:"#79d9d9",brightmagenta:"#cd7c54",brightcyan:"#59d599",brightwhite:"#fff1e9",background:"#22211d",selection_foreground:"#22211d",cursor:"#facb80",foreground:"#807a74",selection_background:"#807a74"},bV={black:"#181818",color1:"#810009",green:"#48513b",yellow:"#cc8b3f",blue:"#576d8c",magenta:"#724d7c",cyan:"#5c4f4b",white:"#aea47f",brightblack:"#555555",brightred:"#ac3835",brightgreen:"#a6a75d",brightyellow:"#dcdf7c",brightblue:"#3097c6",brightmagenta:"#d33061",brightcyan:"#f3dbb2",brightwhite:"#f4f4f4",background:"#191c27",selection_foreground:"#191c27",cursor:"#92805b",foreground:"#aea47a",selection_background:"#aea47a"},SV={black:"#292f33",color1:"#cb1e2d",green:"#edb8ac",yellow:"#b7ab9b",blue:"#2e78c2",magenta:"#c0236f",cyan:"#309186",white:"#eae3ce",brightblack:"#092028",brightred:"#d4605a",brightgreen:"#d4605a",brightyellow:"#a86671",brightblue:"#7c85c4",brightmagenta:"#5c5db2",brightcyan:"#819090",brightwhite:"#fcf4df",background:"#292f33",selection_foreground:"#292f33",cursor:"#d4605a",foreground:"#dbdae0",selection_background:"#dbdae0"},OV={black:"#321300",color1:"#b2270e",green:"#44a900",yellow:"#aa820c",blue:"#58859a",magenta:"#97363d",cyan:"#b25a1e",white:"#786b53",brightblack:"#433626",brightred:"#ed5d20",brightgreen:"#55f238",brightyellow:"#f2b732",brightblue:"#85cfed",brightmagenta:"#e14c5a",brightcyan:"#f07d14",brightwhite:"#ffc800",background:"#191919",selection_foreground:"#191919",cursor:"#fac814",foreground:"#786b53",selection_background:"#786b53"},vV={black:"#000000",color1:"#aa0000",green:"#00aa00",yellow:"#aa5500",blue:"#0000aa",magenta:"#aa00aa",cyan:"#00aaaa",white:"#aaaaaa",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#b8b8b8",foreground:"#aaaaaa",selection_background:"#aaaaaa"},EV={black:"#12131e",color1:"#dd7755",green:"#04dbb5",yellow:"#f2e7b7",blue:"#7aa5ff",magenta:"#bf9cf9",cyan:"#56d3c2",white:"#e4e3e9",brightblack:"#666699",brightred:"#ff92cd",brightgreen:"#01eac0",brightyellow:"#fffca8",brightblue:"#69c0fa",brightmagenta:"#c17ff8",brightcyan:"#8bfde1",brightwhite:"#f4f2f9",background:"#292a44",selection_foreground:"#292a44",cursor:"#b89bf9",foreground:"#e8e6ed",selection_background:"#e8e6ed",underline_color:"#596181",url_color:"#596181"},yV={black:"#000000",color1:"#f6188f",green:"#1ebb2b",yellow:"#fdf834",blue:"#2186ec",magenta:"#f85a21",cyan:"#12c3e2",white:"#ffffff",brightblack:"#000000",brightred:"#f841a0",brightgreen:"#25c141",brightyellow:"#fdf454",brightblue:"#2f9ded",brightmagenta:"#f97137",brightcyan:"#19cde6",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#19cde6",foreground:"#dad9c7",selection_background:"#dad9c7"},TV={black:"#000000",color1:"#ff5360",green:"#59d499",yellow:"#ffc531",blue:"#56c2ff",magenta:"#cf2f98",cyan:"#52eee5",white:"#ffffff",brightblack:"#000000",brightred:"#ff6363",brightgreen:"#59d499",brightyellow:"#ffc531",brightblue:"#56c2ff",brightmagenta:"#cf2f98",brightcyan:"#52eee5",brightwhite:"#ffffff",background:"#1a1a1a",selection_foreground:"#1a1a1a",cursor:"#cccccc",foreground:"#ffffff",selection_background:"#ffffff"},CV={black:"#212121",color1:"#c30771",green:"#10a778",yellow:"#a89c14",blue:"#008ec4",magenta:"#523c79",cyan:"#20a5ba",white:"#d9d9d9",brightblack:"#424242",brightred:"#fb007a",brightgreen:"#5fd7af",brightyellow:"#f3e430",brightblue:"#20bbfc",brightmagenta:"#6855de",brightcyan:"#4fb8cc",brightwhite:"#f1f1f1",background:"#212121",selection_foreground:"#212121",cursor:"#20bbfc",foreground:"#f1f1f1",selection_background:"#f1f1f1"},RV={black:"#014401",color1:"#ff2736",green:"#41a638",yellow:"#76a831",blue:"#2ec3b9",magenta:"#50a096",cyan:"#3ca078",white:"#e6fef2",brightblack:"#035c03",brightred:"#b4fa5c",brightgreen:"#aefb86",brightyellow:"#dafa87",brightblue:"#2efaeb",brightmagenta:"#50fafa",brightcyan:"#3cfac8",brightwhite:"#e0f1dc",background:"#2c2c2c",selection_foreground:"#2c2c2c",cursor:"#47fa6b",foreground:"#e0f1dc",selection_background:"#e0f1dc"},wV={black:"#010101",color1:"#f8b63f",green:"#7fb5e1",yellow:"#d6da25",blue:"#489e48",magenta:"#b296c6",cyan:"#f5bfd7",white:"#a8a49d",brightblack:"#726e6a",brightred:"#f8b63f",brightgreen:"#7fb5e1",brightyellow:"#d6da25",brightblue:"#489e48",brightmagenta:"#b296c6",brightcyan:"#f5bfd7",brightwhite:"#fefbea",background:"#010101",selection_foreground:"#010101",cursor:"#a8a49d",foreground:"#a8a49d",selection_background:"#a8a49d"},AV={black:"#090300",color1:"#883932",green:"#55a049",yellow:"#bfce72",blue:"#40318d",magenta:"#8b3f96",cyan:"#67b6bd",white:"#ffffff",brightblack:"#000000",brightred:"#883932",brightgreen:"#55a049",brightyellow:"#bfce72",brightblue:"#40318d",brightmagenta:"#8b3f96",brightcyan:"#67b6bd",brightwhite:"#f7f7f7",background:"#40318d",selection_foreground:"#40318d",cursor:"#7869c4",foreground:"#7869c4",selection_background:"#7869c4"},IV={black:"#2f2833",color1:"#fc644d",green:"#a5f69c",yellow:"#e9d7a5",blue:"#3b79c7",magenta:"#f92672",cyan:"#74d3de",white:"#d5ced9",brightblack:"#7e6c88",brightred:"#fc644d",brightgreen:"#a5f69c",brightyellow:"#e9d7a5",brightblue:"#3b79c7",brightmagenta:"#f92672",brightcyan:"#74d3de",brightwhite:"#ffffff",background:"#2f2833",selection_foreground:"#2f2833",cursor:"#d5ced9",foreground:"#d5ced9",selection_background:"#d5ced9"},kV={black:"#282c34",color1:"#e06c75",green:"#98c379",yellow:"#e5c07b",blue:"#61afef",magenta:"#c678dd",cyan:"#56b6c2",white:"#dcdfe4",brightblack:"#282c34",brightred:"#e06c75",brightgreen:"#98c379",brightyellow:"#e5c07b",brightblue:"#61afef",brightmagenta:"#c678dd",brightcyan:"#56b6c2",brightwhite:"#dcdfe4",background:"#282c34",selection_foreground:"#282c34",cursor:"#a3b3cc",foreground:"#dcdfe4",selection_background:"#dcdfe4"},NV={black:"#000000",color1:"#ff5555",green:"#50fa7b",yellow:"#f1fa8c",blue:"#bd93f9",magenta:"#ff79c6",cyan:"#8be9fd",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#50fa7b",brightyellow:"#f1fa8c",brightblue:"#bd93f9",brightmagenta:"#ff79c6",brightcyan:"#8be9fd",brightwhite:"#ffffff",background:"#1e1f29",selection_foreground:"#1e1f29",cursor:"#bbbbbb",foreground:"#f8f8f2",selection_background:"#f8f8f2"},DV={black:"#000000",color1:"#c13900",green:"#a4a900",yellow:"#caaf00",blue:"#bd6d00",magenta:"#fc5e00",cyan:"#f79500",white:"#ffc88a",brightblack:"#6a4f2a",brightred:"#ff8c68",brightgreen:"#f6ff40",brightyellow:"#ffe36e",brightblue:"#ffbe55",brightmagenta:"#fc874f",brightcyan:"#c69752",brightwhite:"#fafaff",background:"#262626",selection_foreground:"#262626",cursor:"#fc531d",foreground:"#ffcb83",selection_background:"#ffcb83"},xV={black:"#000000",color1:"#ff4d83",green:"#1f8c3b",yellow:"#1fc95b",blue:"#1dd3ee",magenta:"#8959a8",cyan:"#3e999f",white:"#ffffff",brightblack:"#000000",brightred:"#ff0021",brightgreen:"#1fc231",brightyellow:"#d5b807",brightblue:"#15a9fd",brightmagenta:"#8959a8",brightcyan:"#3e999f",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#4d4d4c",foreground:"#4d4d4c",selection_background:"#4d4d4c"},MV={black:"#230046",color1:"#7d1625",green:"#337e6f",yellow:"#7f6f49",blue:"#4f4a7f",magenta:"#5a3f7f",cyan:"#58777f",white:"#736e7d",brightblack:"#372d46",brightred:"#e05167",brightgreen:"#52e0c4",brightyellow:"#e0c386",brightblue:"#8e87e0",brightmagenta:"#a776e0",brightcyan:"#9ad4e0",brightwhite:"#8c91fa",background:"#050014",selection_foreground:"#050014",cursor:"#8c91fa",foreground:"#736e7d",selection_background:"#736e7d"},LV={black:"#626262",color1:"#ff8373",green:"#b4fb73",yellow:"#09b4bd",blue:"#fed300",magenta:"#ff90fe",cyan:"#d1d1fe",white:"#f1f1f1",brightblack:"#8f8f8f",brightred:"#ffc4be",brightgreen:"#d6fcba",brightyellow:"#fffed5",brightblue:"#f92883",brightmagenta:"#ffb2fe",brightcyan:"#e6e7fe",brightwhite:"#ffffff",background:"#030d18",selection_foreground:"#030d18",cursor:"#00ff9c",foreground:"#f106e3",selection_background:"#f106e3"},PV={black:"#000000",color1:"#ff0000",green:"#38de21",yellow:"#ffe50a",blue:"#1460d2",magenta:"#ff005d",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#f40e17",brightgreen:"#3bd01d",brightyellow:"#edc809",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#6ae3fa",brightwhite:"#ffffff",background:"#132738",selection_foreground:"#132738",cursor:"#f0cc09",foreground:"#ffffff",selection_background:"#ffffff"},BV={black:"#31363b",color1:"#ed1515",green:"#11d116",yellow:"#f67400",blue:"#1d99f3",magenta:"#9b59b6",cyan:"#1abc9c",white:"#eff0f1",brightblack:"#7f8c8d",brightred:"#c0392b",brightgreen:"#1cdc9a",brightyellow:"#fdbc4b",brightblue:"#3daee9",brightmagenta:"#8e44ad",brightcyan:"#16a085",brightwhite:"#fcfcfc",background:"#31363b",selection_foreground:"#31363b",cursor:"#eff0f1",foreground:"#eff0f1",selection_background:"#eff0f1"},YV={black:"#000000",color1:"#fd6209",green:"#41a83e",yellow:"#ffe862",blue:"#989898",magenta:"#f8f8f8",cyan:"#9df39f",white:"#e8e8e7",brightblack:"#323232",brightred:"#ff943b",brightgreen:"#73da70",brightyellow:"#ffff94",brightblue:"#cacaca",brightmagenta:"#ffffff",brightcyan:"#cfffd1",brightwhite:"#ffffff",background:"#245032",selection_foreground:"#245032",cursor:"#336442",foreground:"#f8f8f8",selection_background:"#f8f8f8"},FV={black:"#000000",color1:"#ff6c6b",green:"#98be65",yellow:"#ecbe7b",blue:"#a9a1e1",magenta:"#c678dd",cyan:"#51afef",white:"#bbc2cf",brightblack:"#000000",brightred:"#ff6655",brightgreen:"#99bb66",brightyellow:"#ecbe7b",brightblue:"#a9a1e1",brightmagenta:"#c678dd",brightcyan:"#51afef",brightwhite:"#bfbfbf",background:"#282c34",selection_foreground:"#282c34",cursor:"#51afef",foreground:"#bbc2cf",selection_background:"#bbc2cf"},UV={black:"#7d8b8f",color1:"#b23a52",green:"#789b6a",yellow:"#b9ac4a",blue:"#2a7fac",magenta:"#bd4f5a",cyan:"#44a799",white:"#d2d8d9",brightblack:"#888888",brightred:"#f24840",brightgreen:"#80c470",brightyellow:"#ffeb62",brightblue:"#4196ff",brightmagenta:"#fc5275",brightcyan:"#53cdbd",brightwhite:"#d2d8d9",background:"#2b2d2e",selection_foreground:"#2b2d2e",cursor:"#708284",foreground:"#d2d8d9",selection_background:"#d2d8d9"},$V={black:"#000000",color1:"#cd3131",green:"#05bc79",yellow:"#e5e512",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#0fa8cd",white:"#e5e5e5",brightblack:"#666666",brightred:"#cd3131",brightgreen:"#05bc79",brightyellow:"#e5e512",brightblue:"#2472c8",brightmagenta:"#bc3fbc",brightcyan:"#0fa8cd",brightwhite:"#e5e5e5",background:"#262a33",selection_foreground:"#262a33",cursor:"#f8f8f0",foreground:"#e5e5e5",selection_background:"#e5e5e5"},GV={black:"#e5ede6",color1:"#a8334c",green:"#567a30",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#202e18",brightblack:"#b3c6b6",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#415934",background:"#e5ede6",selection_foreground:"#e5ede6",cursor:"#202e18",foreground:"#202e18",selection_background:"#202e18"},qV={black:"#000000",color1:"#e24346",green:"#39b13a",yellow:"#dae145",blue:"#4261c5",magenta:"#f920fb",cyan:"#2abbd4",white:"#d0b8a3",brightblack:"#fefcfc",brightred:"#e97071",brightgreen:"#9cc090",brightyellow:"#ddda7a",brightblue:"#7b91d6",brightmagenta:"#f674ba",brightcyan:"#5ed1e5",brightwhite:"#d8c8bb",background:"#404040",selection_foreground:"#404040",cursor:"#30ff24",foreground:"#afdab6",selection_background:"#afdab6"},QV={black:"#000000",color1:"#de3e35",green:"#3f953a",yellow:"#d2b67c",blue:"#2f5af3",magenta:"#950095",cyan:"#3f953a",white:"#bbbbbb",brightblack:"#000000",brightred:"#de3e35",brightgreen:"#3f953a",brightyellow:"#d2b67c",brightblue:"#2f5af3",brightmagenta:"#a00095",brightcyan:"#3f953a",brightwhite:"#ffffff",background:"#f9f9f9",selection_foreground:"#f9f9f9",cursor:"#bbbbbb",foreground:"#2a2c33",selection_background:"#2a2c33"},HV={black:"#212121",color1:"#c30771",green:"#10a778",yellow:"#a89c14",blue:"#008ec4",magenta:"#523c79",cyan:"#20a5ba",white:"#d9d9d9",brightblack:"#424242",brightred:"#fb007a",brightgreen:"#5fd7af",brightyellow:"#f3e430",brightblue:"#20bbfc",brightmagenta:"#6855de",brightcyan:"#4fb8cc",brightwhite:"#f1f1f1",background:"#f1f1f1",selection_foreground:"#f1f1f1",cursor:"#20bbfc",foreground:"#424242",selection_background:"#424242"},VV={black:"#322931",color1:"#dd464c",green:"#8fc13e",yellow:"#fdcc59",blue:"#1290bf",magenta:"#c85e7c",cyan:"#149b93",white:"#b9b5b8",brightblack:"#797379",brightred:"#fd8b19",brightgreen:"#433b42",brightyellow:"#5c545b",brightblue:"#989498",brightmagenta:"#d5d3d5",brightcyan:"#b33508",brightwhite:"#ffffff",background:"#322931",selection_foreground:"#322931",cursor:"#b9b5b8",foreground:"#b9b5b8",selection_background:"#b9b5b8"},zV={black:"#000000",color1:"#b0425b",green:"#37a415",yellow:"#ad5c42",blue:"#564d9b",magenta:"#6c3ca1",cyan:"#808080",white:"#87799c",brightblack:"#5d3225",brightred:"#ff6388",brightgreen:"#29e620",brightyellow:"#f08161",brightblue:"#867aed",brightmagenta:"#a05eee",brightcyan:"#eaeaea",brightwhite:"#bfa3ff",background:"#1b1b23",selection_foreground:"#1b1b23",cursor:"#a063eb",foreground:"#877a9b",selection_background:"#877a9b"},WV={black:"#242526",color1:"#f8511b",green:"#565747",yellow:"#fa771d",blue:"#2c70b7",magenta:"#f02e4f",cyan:"#3ca1a6",white:"#adadad",brightblack:"#5fac6d",brightred:"#f74319",brightgreen:"#74ec4c",brightyellow:"#fdc325",brightblue:"#3393ca",brightmagenta:"#e75e4f",brightcyan:"#4fbce6",brightwhite:"#8c735b",background:"#1b1c1d",selection_foreground:"#1b1c1d",cursor:"#cdcdcd",foreground:"#adadad",selection_background:"#adadad"},XV={black:"#2e3436",color1:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#8ae234",brightyellow:"#fce94f",brightblue:"#729fcf",brightmagenta:"#ad7fa8",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#300a24",selection_foreground:"#300a24",cursor:"#bbbbbb",foreground:"#eeeeec",selection_background:"#eeeeec"},KV={black:"#000000",color1:"#db4437",green:"#0f9d58",yellow:"#f4b400",blue:"#4285f4",magenta:"#db4437",cyan:"#4285f4",white:"#ffffff",brightblack:"#000000",brightred:"#db4437",brightgreen:"#0f9d58",brightyellow:"#f4b400",brightblue:"#4285f4",brightmagenta:"#4285f4",brightcyan:"#0f9d58",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000",underline_color:"#596181",url_color:"#596181"},ZV={black:"#212121",color1:"#b7141f",green:"#457b24",yellow:"#f6981e",blue:"#134eb2",magenta:"#560088",cyan:"#0e717c",white:"#efefef",brightblack:"#424242",brightred:"#e83b3f",brightgreen:"#7aba3a",brightyellow:"#ffea2e",brightblue:"#54a4f3",brightmagenta:"#aa4dbc",brightcyan:"#26bbd1",brightwhite:"#d9d9d9",background:"#232322",selection_foreground:"#232322",cursor:"#16afca",foreground:"#e5e5e5",selection_background:"#e5e5e5"},jV={black:"#151515",color1:"#bc5653",green:"#909d63",yellow:"#ebc17a",blue:"#6a8799",magenta:"#b06698",cyan:"#c9dfff",white:"#d9d9d9",brightblack:"#636363",brightred:"#bc5653",brightgreen:"#a0ac77",brightyellow:"#ebc17a",brightblue:"#7eaac7",brightmagenta:"#b06698",brightcyan:"#acbbd0",brightwhite:"#f7f7f7",background:"#353a44",selection_foreground:"#353a44",cursor:"#d9d9d9",foreground:"#d9d9d9",selection_background:"#d9d9d9"},JV={black:"#223344",color1:"#aa1122",green:"#33aa11",yellow:"#ccaa22",blue:"#2255cc",magenta:"#7755aa",cyan:"#22bbdd",white:"#8899aa",brightblack:"#556677",brightred:"#ff1133",brightgreen:"#33ff11",brightyellow:"#ffdd33",brightblue:"#3377ff",brightmagenta:"#aa77ff",brightcyan:"#33ddff",brightwhite:"#bbccdd",background:"#071317",selection_foreground:"#071317",cursor:"#ddeeff",foreground:"#ddeeff",selection_background:"#ddeeff"},ez={black:"#001f0b",color1:"#15d00d",green:"#15d00d",yellow:"#15d00d",blue:"#15d00d",magenta:"#15d00d",cyan:"#15d00d",white:"#fafafa",brightblack:"#001510",brightred:"#19e20e",brightgreen:"#19e20e",brightyellow:"#19e20e",brightblue:"#19e20e",brightmagenta:"#19e20e",brightcyan:"#19e20e",brightwhite:"#fefefe",background:"#020f01",selection_foreground:"#020f01",cursor:"#15d00d",foreground:"#16b10e",selection_background:"#16b10e"},tz={black:"#000000",color1:"#800000",green:"#61ce3c",yellow:"#fbde2d",blue:"#253b76",magenta:"#ff0080",cyan:"#8da6ce",white:"#f8f8f8",brightblack:"#000000",brightred:"#800000",brightgreen:"#61ce3c",brightyellow:"#fbde2d",brightblue:"#253b76",brightmagenta:"#ff0080",brightcyan:"#8da6ce",brightwhite:"#f8f8f8",background:"#271f19",selection_foreground:"#271f19",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},nz={black:"#000000",color1:"#f07178",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#ffffff",brightblack:"#666666",brightred:"#f6a9ae",brightgreen:"#dbf1ba",brightyellow:"#ffdfa6",brightblue:"#b4ccff",brightmagenta:"#ddbdf2",brightcyan:"#b8eaff",brightwhite:"#999999",background:"#3e4251",selection_foreground:"#3e4251",cursor:"#ffcb6b",foreground:"#cccccc",selection_background:"#cccccc"},rz={black:"#000000",color1:"#ff3045",green:"#5ffa74",yellow:"#fffc7e",blue:"#0208cb",magenta:"#f924e7",cyan:"#00fffc",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff5a5a",brightgreen:"#75ff88",brightyellow:"#fffd96",brightblue:"#3c40cb",brightmagenta:"#f15be5",brightcyan:"#88fffe",brightwhite:"#ffffff",background:"#14161a",selection_foreground:"#14161a",cursor:"#c7c7c7",foreground:"#00fffc",selection_background:"#00fffc"},az={black:"#000000",color1:"#ff3030",green:"#559a70",yellow:"#ccac00",blue:"#0099cc",magenta:"#cc69c8",cyan:"#7ac4cc",white:"#bccccc",brightblack:"#000000",brightred:"#ff3030",brightgreen:"#559a70",brightyellow:"#ccac00",brightblue:"#0099cc",brightmagenta:"#cc69c8",brightcyan:"#7ac4cc",brightwhite:"#bccccc",background:"#303030",selection_foreground:"#303030",cursor:"#ffffff",foreground:"#afc2c2",selection_background:"#afc2c2"},iz={black:"#333333",color1:"#d23e08",green:"#54ca74",yellow:"#fff700",blue:"#2ab9ff",magenta:"#ff50da",cyan:"#1ef9f5",white:"#ddd0c4",brightblack:"#515151",brightred:"#ffb7b7",brightgreen:"#c1ffae",brightyellow:"#fcffb8",brightblue:"#8efff3",brightmagenta:"#ffa2ed",brightcyan:"#bcffc7",brightwhite:"#ffffff",background:"#141515",selection_foreground:"#141515",cursor:"#ffc663",foreground:"#ffffff",selection_background:"#ffffff"},oz={black:"#000000",color1:"#fd6209",green:"#41a83e",yellow:"#ffe862",blue:"#245032",magenta:"#f8f8f8",cyan:"#9df39f",white:"#ffffff",brightblack:"#323232",brightred:"#ff943b",brightgreen:"#73da70",brightyellow:"#ffff94",brightblue:"#568264",brightmagenta:"#ffffff",brightcyan:"#cfffd1",brightwhite:"#ffffff",background:"#0b2f20",selection_foreground:"#0b2f20",cursor:"#336442",foreground:"#f8f8f8",selection_background:"#f8f8f8"},sz={black:"#404040",color1:"#e3716e",green:"#819b69",yellow:"#b77e64",blue:"#6099c0",magenta:"#b279a7",cyan:"#66a5ad",white:"#f0e4cf",brightblack:"#625a5b",brightred:"#ec8685",brightgreen:"#8bae68",brightyellow:"#d68c67",brightblue:"#61abda",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#c0ab86",background:"#404040",selection_foreground:"#404040",cursor:"#f3eadb",foreground:"#f0e4cf",selection_background:"#f0e4cf"},lz={black:"#bccccd",color1:"#ff3030",green:"#559a70",yellow:"#ccac00",blue:"#0099cc",magenta:"#cc69c8",cyan:"#7ac4cc",white:"#000000",brightblack:"#ffffff",brightred:"#ff3030",brightgreen:"#559a70",brightyellow:"#ccac00",brightblue:"#0099cc",brightmagenta:"#cc69c8",brightcyan:"#7ac4cc",brightwhite:"#000000",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#afc2c2",selection_background:"#afc2c2"},cz={black:"#000000",color1:"#fc644d",green:"#7afde1",yellow:"#fff09b",blue:"#6c9bf5",magenta:"#ff4fa1",cyan:"#64e0ff",white:"#c0c9e5",brightblack:"#304b66",brightred:"#fc644d",brightgreen:"#7afde1",brightyellow:"#fff09b",brightblue:"#6c9bf5",brightmagenta:"#ff4fa1",brightcyan:"#64e0ff",brightwhite:"#ffffff",background:"#111e2a",selection_foreground:"#111e2a",cursor:"#ffffff",foreground:"#c0c9e5",selection_background:"#c0c9e5"},uz={black:"#4f4f4f",color1:"#ff6c60",green:"#a8ff60",yellow:"#ffffb6",blue:"#96cbfe",magenta:"#ff73fd",cyan:"#c6c5fe",white:"#eeeeee",brightblack:"#7c7c7c",brightred:"#ffb6b0",brightgreen:"#ceffac",brightyellow:"#ffffcc",brightblue:"#b5dcff",brightmagenta:"#ff9cfe",brightcyan:"#dfdffe",brightwhite:"#ffffff",background:"#0000a4",selection_foreground:"#0000a4",cursor:"#ffa560",foreground:"#ffff4e",selection_background:"#ffff4e"},dz={black:"#080808",color1:"#ff5f5f",green:"#87d7af",yellow:"#d7d787",blue:"#5fafd7",magenta:"#afafff",cyan:"#5fd7d7",white:"#dadada",brightblack:"#8a8a8a",brightred:"#d75f5f",brightgreen:"#afd7af",brightyellow:"#d7d7af",brightblue:"#87afd7",brightmagenta:"#afafd7",brightcyan:"#87d7d7",brightwhite:"#dadada",background:"#1c1c1c",selection_foreground:"#1c1c1c",cursor:"#eeeeee",foreground:"#d0d0d0",selection_background:"#d0d0d0",underline_color:"#783232",url_color:"#783232"},hz={black:"#232323",color1:"#ff000f",green:"#8ce10b",yellow:"#ffb900",blue:"#008df8",magenta:"#6d43a6",cyan:"#00d8eb",white:"#ffffff",brightblack:"#444444",brightred:"#ff2740",brightgreen:"#abe15b",brightyellow:"#ffd242",brightblue:"#0092ff",brightmagenta:"#9a5feb",brightcyan:"#67fff0",brightwhite:"#ffffff",background:"#0e1019",selection_foreground:"#0e1019",cursor:"#ff0018",foreground:"#fffaf4",selection_background:"#fffaf4"},fz={black:"#0a4c62",color1:"#99246e",green:"#5cb1b3",yellow:"#eab9a8",blue:"#90a5bd",magenta:"#9d54a7",cyan:"#7e83cc",white:"#f0e8d6",brightblack:"#201637",brightred:"#c87272",brightgreen:"#0a6c7e",brightyellow:"#7a3188",brightblue:"#39173d",brightmagenta:"#bc94b7",brightcyan:"#5e6071",brightwhite:"#0a6c7e",background:"#1c0c28",selection_foreground:"#1c0c28",cursor:"#fcfad6",foreground:"#babab9",selection_background:"#babab9",underline_color:"#59175a",url_color:"#59175a"},mz={black:"#878787",color1:"#ff6600",green:"#ccff04",yellow:"#ffcc00",blue:"#44b4cc",magenta:"#9933cc",cyan:"#44b4cc",white:"#f5f5f5",brightblack:"#555555",brightred:"#ff0000",brightgreen:"#00ff00",brightyellow:"#ffff00",brightblue:"#0000ff",brightmagenta:"#ff00ff",brightcyan:"#00ffff",brightwhite:"#e5e5e5",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},pz={black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#224fbc",selection_foreground:"#224fbc",cursor:"#7f7f7f",foreground:"#ffffff",selection_background:"#ffffff"},gz={black:"#3a3d43",color1:"#be3f48",green:"#879a3b",yellow:"#c5a635",blue:"#4f76a1",magenta:"#855c8d",cyan:"#578fa4",white:"#b9bcba",brightblack:"#888987",brightred:"#fb001f",brightgreen:"#0f722f",brightyellow:"#c47033",brightblue:"#186de3",brightmagenta:"#fb0067",brightcyan:"#2e706d",brightwhite:"#fdffb9",background:"#1f1f1f",selection_foreground:"#1f1f1f",cursor:"#f83e19",foreground:"#b9bcba",selection_background:"#b9bcba"},_z={black:"#929292",color1:"#e27373",green:"#94b979",yellow:"#ffba7b",blue:"#97bedc",magenta:"#e1c0fa",cyan:"#00988e",white:"#dedede",brightblack:"#bdbdbd",brightred:"#ffa1a1",brightgreen:"#bddeab",brightyellow:"#ffdca0",brightblue:"#b1d8f6",brightmagenta:"#fbdaff",brightcyan:"#1ab2a8",brightwhite:"#ffffff",background:"#121212",selection_foreground:"#121212",cursor:"#ffa560",foreground:"#dedede",selection_background:"#dedede"},bz={black:"#000000",color1:"#cdaf95",green:"#a8ff60",yellow:"#bfbb1f",blue:"#75a5b0",magenta:"#ff73fd",cyan:"#5a647e",white:"#bfbfbf",brightblack:"#666666",brightred:"#eecbad",brightgreen:"#bcee68",brightyellow:"#e5e500",brightblue:"#86bdc9",brightmagenta:"#e500e5",brightcyan:"#8c9bc4",brightwhite:"#e5e5e5",background:"#2b2b2b",selection_foreground:"#2b2b2b",cursor:"#7f7f7f",foreground:"#ffffff",selection_background:"#ffffff"},Sz={black:"#302b2a",color1:"#a7463d",green:"#587744",yellow:"#9d602a",blue:"#485b98",magenta:"#864651",cyan:"#9c814f",white:"#c9c9c9",brightblack:"#4d4e48",brightred:"#aa000c",brightgreen:"#128c21",brightyellow:"#fc6a21",brightblue:"#7999f7",brightmagenta:"#fd8aa1",brightcyan:"#fad484",brightwhite:"#ffffff",background:"#1a1818",selection_foreground:"#1a1818",cursor:"#ffffff",foreground:"#c9c9c9",selection_background:"#c9c9c9"},Oz={black:"#2e343c",color1:"#bd0f2f",green:"#35a770",yellow:"#fb9435",blue:"#1f5872",magenta:"#bd2523",cyan:"#778397",white:"#ffffff",brightblack:"#404a55",brightred:"#bd0f2f",brightgreen:"#49e998",brightyellow:"#fddf6e",brightblue:"#2a8bc1",brightmagenta:"#ea4727",brightcyan:"#a0b6d3",brightwhite:"#ffffff",background:"#0c1115",selection_foreground:"#0c1115",cursor:"#6c6c6c",foreground:"#ffffff",selection_background:"#ffffff"},vz={black:"#0f191f",color1:"#de6e7c",green:"#90ff6b",yellow:"#b77e64",blue:"#8190d4",magenta:"#b279a7",cyan:"#66a5ad",white:"#c6d5cf",brightblack:"#263945",brightred:"#e8838f",brightgreen:"#a0ff85",brightyellow:"#d68c67",brightblue:"#92a0e2",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#98a39e",background:"#0f191f",selection_foreground:"#0f191f",cursor:"#ceddd7",foreground:"#c6d5cf",selection_background:"#c6d5cf"},Ez={black:"#03073c",color1:"#c6004a",green:"#acf157",yellow:"#fecd5e",blue:"#525fb8",magenta:"#986f82",cyan:"#968763",white:"#ecf0fc",brightblack:"#6c5b30",brightred:"#da4b8a",brightgreen:"#dbffa9",brightyellow:"#fee6a9",brightblue:"#b2befa",brightmagenta:"#fda5cd",brightcyan:"#a5bd86",brightwhite:"#f6ffec",background:"#232537",selection_foreground:"#232537",cursor:"#fecd5e",foreground:"#ecf0fe",selection_background:"#ecf0fe"},yz={black:"#000000",color1:"#a2686a",green:"#9aa56a",yellow:"#a3906a",blue:"#6b8fa3",magenta:"#6a71a3",cyan:"#6ba58f",white:"#99a3a2",brightblack:"#666c6c",brightred:"#dd5c60",brightgreen:"#bfdf55",brightyellow:"#deb360",brightblue:"#62b1df",brightmagenta:"#606edf",brightcyan:"#64e39c",brightwhite:"#d2e0de",background:"#242626",selection_foreground:"#242626",cursor:"#d2e0de",foreground:"#99a3a2",selection_background:"#99a3a2"},Tz={black:"#3b3750",color1:"#cf7b98",green:"#90a94b",yellow:"#6ebfc0",blue:"#576ea6",magenta:"#bc4f68",cyan:"#75a7d2",white:"#c3d3de",brightblack:"#a874ce",brightred:"#de90ab",brightgreen:"#bcdd61",brightyellow:"#87e9ea",brightblue:"#8c9fcd",brightmagenta:"#e16c87",brightcyan:"#b7c9ef",brightwhite:"#d5e5f1",background:"#262b33",selection_foreground:"#262b33",cursor:"#c3d3de",foreground:"#c3d3de",selection_background:"#c3d3de"},Cz={black:"#000000",color1:"#b12424",green:"#006b4f",yellow:"#f8a300",blue:"#138af2",magenta:"#9a1b6e",cyan:"#3eb8bf",white:"#ffffff",brightblack:"#000000",brightred:"#b12424",brightgreen:"#006b4f",brightyellow:"#f8a300",brightblue:"#138af2",brightmagenta:"#9a1b6e",brightcyan:"#3eb8bf",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Rz={black:"#000000",color1:"#f9555f",green:"#21b089",yellow:"#fef02a",blue:"#589df6",magenta:"#944d95",cyan:"#1f9ee7",white:"#bbbbbb",brightblack:"#555555",brightred:"#fa8c8f",brightgreen:"#35bb9a",brightyellow:"#ffff55",brightblue:"#589df6",brightmagenta:"#e75699",brightcyan:"#3979bc",brightwhite:"#ffffff",background:"#1d2837",selection_foreground:"#1d2837",cursor:"#bbbbbb",foreground:"#ffffff",selection_background:"#ffffff"},wz={black:"#4b4b4b",color1:"#e388a3",green:"#98bd99",yellow:"#ffdf9b",blue:"#97bdde",magenta:"#a5a6c5",cyan:"#6fbdbe",white:"#dddddd",brightblack:"#6c6465",brightred:"#eb99b1",brightgreen:"#8fcd92",brightyellow:"#ffe5b3",brightblue:"#a2c8e9",brightmagenta:"#b2b3da",brightcyan:"#6bcacb",brightwhite:"#a8a8a8",background:"#4b4b4b",selection_foreground:"#4b4b4b",cursor:"#e2e2e2",foreground:"#dddddd",selection_background:"#dddddd"},Az={black:"#41444d",color1:"#fc2f52",green:"#25a45c",yellow:"#ff936a",blue:"#3476ff",magenta:"#7a82da",cyan:"#4483aa",white:"#cdd4e0",brightblack:"#8f9aae",brightred:"#ff6480",brightgreen:"#3fc56b",brightyellow:"#f9c859",brightblue:"#10b1fe",brightmagenta:"#ff78f8",brightcyan:"#5fb9bc",brightwhite:"#ffffff",background:"#282c34",selection_foreground:"#282c34",cursor:"#ffcc00",foreground:"#b9c0cb",selection_background:"#b9c0cb"},Iz={black:"#022026",color1:"#b2302d",green:"#00a941",yellow:"#59819c",blue:"#459a86",magenta:"#00599d",cyan:"#5d7e19",white:"#405555",brightblack:"#384451",brightred:"#ff4242",brightgreen:"#2aea5e",brightyellow:"#8ed4fd",brightblue:"#61d5ba",brightmagenta:"#1298ff",brightcyan:"#98d028",brightwhite:"#58fbd6",background:"#011116",selection_foreground:"#011116",cursor:"#4afcd6",foreground:"#ffffff",selection_background:"#ffffff"},kz={black:"#282828",color1:"#cc241d",green:"#98971a",yellow:"#d79921",blue:"#458588",magenta:"#b16286",cyan:"#689d6a",white:"#a89984",brightblack:"#928374",brightred:"#fb4934",brightgreen:"#b8bb26",brightyellow:"#fabd2f",brightblue:"#83a598",brightmagenta:"#d3869b",brightcyan:"#8ec07c",brightwhite:"#ebdbb2",background:"#282828",selection_foreground:"#282828",cursor:"#ebdbb2",foreground:"#ebdbb2",selection_background:"#ebdbb2"},Nz={black:"#000000",color1:"#bb0000",green:"#00bb00",yellow:"#e7b000",blue:"#0000a3",magenta:"#950062",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#bb0000",brightgreen:"#00bb00",brightyellow:"#e7b000",brightblue:"#0000bb",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#13773d",selection_foreground:"#13773d",cursor:"#8c2800",foreground:"#fff0a5",selection_background:"#fff0a5"},Dz={black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#f5deb3",selection_foreground:"#f5deb3",cursor:"#c7c7c7",foreground:"#000000",selection_background:"#000000"},xz={black:"#1b1d1e",color1:"#f92672",green:"#a6e22e",yellow:"#fd971f",blue:"#66d9ef",magenta:"#9e6ffe",cyan:"#5e7175",white:"#ccccc6",brightblack:"#505354",brightred:"#ff669d",brightgreen:"#beed5f",brightyellow:"#e6db74",brightblue:"#66d9ef",brightmagenta:"#9e6ffe",brightcyan:"#a3babf",brightwhite:"#f8f8f2",background:"#121212",selection_foreground:"#121212",cursor:"#bbbbbb",foreground:"#a0a0a0",selection_background:"#a0a0a0"},Mz={black:"#573d26",color1:"#be2d26",green:"#6ba18a",yellow:"#e99d2a",blue:"#5a86ad",magenta:"#ac80a6",cyan:"#74a6ad",white:"#e0dbb7",brightblack:"#9b6c4a",brightred:"#e84627",brightgreen:"#95d8ba",brightyellow:"#d0d150",brightblue:"#b8d3ed",brightmagenta:"#d19ecb",brightcyan:"#93cfd7",brightwhite:"#fff9d5",background:"#2a1f1d",selection_foreground:"#2a1f1d",cursor:"#573d26",foreground:"#e0dbb7",selection_background:"#e0dbb7"},Lz={black:"#2f2e2d",color1:"#a36666",green:"#90a57d",yellow:"#d7af87",blue:"#7fa5bd",magenta:"#c79ec4",cyan:"#8adbb4",white:"#d0d0d0",brightblack:"#4a4845",brightred:"#d78787",brightgreen:"#afbea2",brightyellow:"#e4c9af",brightblue:"#a1bdce",brightmagenta:"#d7beda",brightcyan:"#b1e7dd",brightwhite:"#efefef",background:"#1c1c1c",selection_foreground:"#1c1c1c",cursor:"#e4c9af",foreground:"#d0d0d0",selection_background:"#d0d0d0"},Pz={black:"#2c3f58",color1:"#be2d26",green:"#1a9172",yellow:"#db8e27",blue:"#325d96",magenta:"#8a5edc",cyan:"#35a08f",white:"#23d183",brightblack:"#336889",brightred:"#dd5944",brightgreen:"#31d07b",brightyellow:"#e7d84b",brightblue:"#34a6da",brightmagenta:"#ae6bdc",brightcyan:"#42c3ae",brightwhite:"#d5d5d5",background:"#24364b",selection_foreground:"#24364b",cursor:"#d5d5d5",foreground:"#31d07b",selection_background:"#31d07b"},Bz={black:"#000000",color1:"#ff7092",green:"#00fbac",yellow:"#fffa6a",blue:"#00bfff",magenta:"#df95ff",cyan:"#86cbfe",white:"#ffffff",brightblack:"#000000",brightred:"#ff8aa4",brightgreen:"#21f6bc",brightyellow:"#fff787",brightblue:"#1bccfd",brightmagenta:"#e6aefe",brightcyan:"#99d6fc",brightwhite:"#ffffff",background:"#332a57",selection_foreground:"#332a57",cursor:"#21f6bc",foreground:"#e5e5e5",selection_background:"#e5e5e5"},Yz={black:"#1f1f28",color1:"#e46a78",green:"#98bc6d",yellow:"#e5c283",blue:"#7eb3c9",magenta:"#957fb8",cyan:"#7eb3c9",white:"#ddd8bb",brightblack:"#3c3c51",brightred:"#ec818c",brightgreen:"#9ec967",brightyellow:"#f1c982",brightblue:"#7bc2df",brightmagenta:"#a98fd2",brightcyan:"#7bc2df",brightwhite:"#a8a48d",background:"#1f1f28",selection_foreground:"#1f1f28",cursor:"#e6e0c2",foreground:"#ddd8bb",selection_background:"#ddd8bb"},Fz={black:"#1b1b1b",color1:"#cc241d",green:"#98971a",yellow:"#d79921",blue:"#458588",magenta:"#b16286",cyan:"#689d6a",white:"#a89984",brightblack:"#928374",brightred:"#fb4934",brightgreen:"#b8bb26",brightyellow:"#fabd2f",brightblue:"#83a598",brightmagenta:"#d3869b",brightcyan:"#8ec07c",brightwhite:"#ebdbb2",background:"#1b1b1b",selection_foreground:"#1b1b1b",cursor:"#ebdbb2",foreground:"#ebdbb2",selection_background:"#ebdbb2"},Uz={black:"#000000",color1:"#cd0000",green:"#00cd00",yellow:"#cdcd00",blue:"#1093f5",magenta:"#cd00cd",cyan:"#00cdcd",white:"#faebd7",brightblack:"#404040",brightred:"#ff0000",brightgreen:"#00ff00",brightyellow:"#ffff00",brightblue:"#11b5f6",brightmagenta:"#ff00ff",brightcyan:"#00ffff",brightwhite:"#ffffff",background:"#111416",selection_foreground:"#111416",cursor:"#bbbbbb",foreground:"#eeeeec",selection_background:"#eeeeec"},$z={black:"#000000",color1:"#ee2b2a",green:"#40a33f",yellow:"#ffea2e",blue:"#1e80f0",magenta:"#8800a0",cyan:"#16afca",white:"#a4a4a4",brightblack:"#777777",brightred:"#dc5c60",brightgreen:"#70be71",brightyellow:"#fff163",brightblue:"#54a4f3",brightmagenta:"#aa4dbc",brightcyan:"#42c7da",brightwhite:"#ffffff",background:"#1c262b",selection_foreground:"#1c262b",cursor:"#b3b8c3",foreground:"#c2c8d7",selection_background:"#c2c8d7"},Gz={black:"#000000",color1:"#b64c00",green:"#7c8b16",yellow:"#d3bd26",blue:"#616bb0",magenta:"#8c5a90",cyan:"#916c25",white:"#cac29a",brightblack:"#5e5219",brightred:"#ff9149",brightgreen:"#b2ca3b",brightyellow:"#ffe54a",brightblue:"#acb8ff",brightmagenta:"#ffa0ff",brightcyan:"#ffbc51",brightwhite:"#fed698",background:"#1d1908",selection_foreground:"#1d1908",cursor:"#d3ba30",foreground:"#cac296",selection_background:"#cac296"},qz={black:"#050505",color1:"#e9897c",green:"#b6377d",yellow:"#ecebbe",blue:"#a9cdeb",magenta:"#75507b",cyan:"#c9caec",white:"#f2f2f2",brightblack:"#141414",brightred:"#f99286",brightgreen:"#c3f786",brightyellow:"#fcfbcc",brightblue:"#b6defb",brightmagenta:"#ad7fa8",brightcyan:"#d7d9fc",brightwhite:"#e2e2e2",background:"#1a1a1a",selection_foreground:"#1a1a1a",cursor:"#fcfbcc",foreground:"#acacab",selection_background:"#acacab"},Qz={black:"#13a10e",color1:"#13a10e",green:"#13a10e",yellow:"#13a10e",blue:"#13a10e",magenta:"#13a10e",cyan:"#13a10e",white:"#13a10e",brightblack:"#16ba10",brightred:"#16ba10",brightgreen:"#16ba10",brightyellow:"#16ba10",brightblue:"#16ba10",brightmagenta:"#16ba10",brightcyan:"#16ba10",brightwhite:"#16ba10",background:"#000000",selection_foreground:"#000000",cursor:"#13a10e",foreground:"#13a10e",selection_background:"#13a10e"},Hz={black:"#000000",color1:"#ff4242",green:"#74af68",yellow:"#ffad29",blue:"#338f86",magenta:"#9414e6",cyan:"#23d7d7",white:"#e2e2e2",brightblack:"#3f5648",brightred:"#ff3242",brightgreen:"#74cd68",brightyellow:"#ffb929",brightblue:"#23d7d7",brightmagenta:"#ff37ff",brightcyan:"#00ede1",brightwhite:"#ffffff",background:"#141e43",selection_foreground:"#141e43",cursor:"#43d58e",foreground:"#e1e1e1",selection_background:"#e1e1e1"},Vz={black:"#535178",color1:"#ef6487",green:"#5eca89",yellow:"#fdd877",blue:"#65aef7",magenta:"#aa7ff0",cyan:"#43c1be",white:"#ffffff",brightblack:"#535178",brightred:"#ef6487",brightgreen:"#5eca89",brightyellow:"#fdd877",brightblue:"#65aef7",brightmagenta:"#aa7ff0",brightcyan:"#43c1be",brightwhite:"#ffffff",background:"#29283b",selection_foreground:"#29283b",cursor:"#b3b0d6",foreground:"#b3b0d6",selection_background:"#b3b0d6"},zz={black:"#1c1917",color1:"#de6e7c",green:"#819b69",yellow:"#b77e64",blue:"#6099c0",magenta:"#b279a7",cyan:"#66a5ad",white:"#b4bdc3",brightblack:"#403833",brightred:"#e8838f",brightgreen:"#8bae68",brightyellow:"#d68c67",brightblue:"#61abda",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#888f94",background:"#1c1917",selection_foreground:"#1c1917",cursor:"#c4cacf",foreground:"#b4bdc3",selection_background:"#b4bdc3"},Wz={black:"#000000",color1:"#e52222",green:"#a6e32d",yellow:"#fc951e",blue:"#c48dff",magenta:"#fa2573",cyan:"#67d9f0",white:"#f2f2f2",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Xz={black:"#191919",color1:"#de6e7c",green:"#819b69",yellow:"#b77e64",blue:"#6099c0",magenta:"#b279a7",cyan:"#66a5ad",white:"#bbbbbb",brightblack:"#3d3839",brightred:"#e8838f",brightgreen:"#8bae68",brightyellow:"#d68c67",brightblue:"#61abda",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#8e8e8e",background:"#191919",selection_foreground:"#191919",cursor:"#c9c9c9",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Kz={black:"#000000",color1:"#aa3731",green:"#448c27",yellow:"#cb9000",blue:"#325cc0",magenta:"#7a3e9d",cyan:"#0083b2",white:"#f7f7f7",brightblack:"#777777",brightred:"#f05050",brightgreen:"#60cb00",brightyellow:"#ffbc5d",brightblue:"#007acc",brightmagenta:"#e64ce6",brightcyan:"#00aacb",brightwhite:"#f7f7f7",background:"#f7f7f7",selection_foreground:"#f7f7f7",cursor:"#007acc",foreground:"#000000",selection_background:"#000000"},Zz={black:"#000000",color1:"#ff3333",green:"#b8cc52",yellow:"#e7c547",blue:"#36a3d9",magenta:"#f07178",cyan:"#95e6cb",white:"#ffffff",brightblack:"#323232",brightred:"#ff6565",brightgreen:"#eafe84",brightyellow:"#fff779",brightblue:"#68d5ff",brightmagenta:"#ffa3aa",brightcyan:"#c7fffd",brightwhite:"#ffffff",background:"#0f1419",selection_foreground:"#0f1419",cursor:"#f29718",foreground:"#e6e1cf",selection_background:"#e6e1cf"},jz={black:"#000000",color1:"#fd6209",green:"#41a83e",yellow:"#ffe862",blue:"#245032",magenta:"#f8f8f8",cyan:"#9df39f",white:"#ffffff",brightblack:"#323232",brightred:"#ff943b",brightgreen:"#73da70",brightyellow:"#ffff94",brightblue:"#568264",brightmagenta:"#ffffff",brightcyan:"#cfffd1",brightwhite:"#ffffff",background:"#051f14",selection_foreground:"#051f14",cursor:"#ffcc00",foreground:"#dadedc",selection_background:"#dadedc"},Jz={black:"#000000",color1:"#d52370",green:"#41af1a",yellow:"#bc7053",blue:"#6964ab",magenta:"#c71fbf",cyan:"#939393",white:"#998eac",brightblack:"#786d69",brightred:"#f41d99",brightgreen:"#22e529",brightyellow:"#f59574",brightblue:"#9892f1",brightmagenta:"#e90cdd",brightcyan:"#eeeeee",brightwhite:"#cbb6ff",background:"#18131e",selection_foreground:"#18131e",cursor:"#ff65fd",foreground:"#dd7bdc",selection_background:"#dd7bdc"},eW={black:"#435b67",color1:"#fc3841",green:"#5cf19e",yellow:"#fed032",blue:"#37b6ff",magenta:"#fc226e",cyan:"#59ffd1",white:"#ffffff",brightblack:"#a1b0b8",brightred:"#fc746d",brightgreen:"#adf7be",brightyellow:"#fee16c",brightblue:"#70cfff",brightmagenta:"#fc669b",brightcyan:"#9affe6",brightwhite:"#ffffff",background:"#1d262a",selection_foreground:"#1d262a",cursor:"#eaeaea",foreground:"#e7ebed",selection_background:"#e7ebed"},tW={black:"#323232",color1:"#c22832",green:"#8ec43d",yellow:"#e0c64f",blue:"#43a5d5",magenta:"#8b57b5",cyan:"#8ec43d",white:"#eeeeee",brightblack:"#323232",brightred:"#c22832",brightgreen:"#8ec43d",brightyellow:"#e0c64f",brightblue:"#43a5d5",brightmagenta:"#8b57b5",brightcyan:"#8ec43d",brightwhite:"#ffffff",background:"#111213",selection_foreground:"#111213",cursor:"#e3bf21",foreground:"#cacecd",selection_background:"#cacecd"},nW={black:"#000000",color1:"#c37372",green:"#72c373",yellow:"#c2c372",blue:"#7372c3",magenta:"#c372c2",cyan:"#72c2c3",white:"#d9d9d9",brightblack:"#323232",brightred:"#dbaaaa",brightgreen:"#aadbaa",brightyellow:"#dadbaa",brightblue:"#aaaadb",brightmagenta:"#dbaada",brightcyan:"#aadadb",brightwhite:"#ffffff",background:"#29262f",selection_foreground:"#29262f",cursor:"#d9e6f2",foreground:"#d9e6f2",selection_background:"#d9e6f2"},rW={black:"#141228",color1:"#ff5458",green:"#62d196",yellow:"#ffb378",blue:"#65b2ff",magenta:"#906cff",cyan:"#63f2f1",white:"#a6b3cc",brightblack:"#565575",brightred:"#ff8080",brightgreen:"#95ffa4",brightyellow:"#ffe9aa",brightblue:"#91ddff",brightmagenta:"#c991e1",brightcyan:"#aaffe4",brightwhite:"#cbe3e7",background:"#1e1c31",selection_foreground:"#1e1c31",cursor:"#fbfcfc",foreground:"#cbe1e7",selection_background:"#cbe1e7"},aW={black:"#383a42",color1:"#e45649",green:"#50a14f",yellow:"#c18401",blue:"#0184bc",magenta:"#a626a4",cyan:"#0997b3",white:"#fafafa",brightblack:"#4f525e",brightred:"#e06c75",brightgreen:"#98c379",brightyellow:"#e5c07b",brightblue:"#61afef",brightmagenta:"#c678dd",brightcyan:"#56b6c2",brightwhite:"#ffffff",background:"#fafafa",selection_foreground:"#fafafa",cursor:"#bfceff",foreground:"#383a42",selection_background:"#383a42"},iW={black:"#121418",color1:"#c94234",green:"#85c54c",yellow:"#f5ae2e",blue:"#1398b9",magenta:"#d0633d",cyan:"#509552",white:"#e5c6aa",brightblack:"#675f54",brightred:"#ff645a",brightgreen:"#98e036",brightyellow:"#e0d561",brightblue:"#5fdaff",brightmagenta:"#ff9269",brightcyan:"#84f088",brightwhite:"#f6f7ec",background:"#292520",selection_foreground:"#292520",cursor:"#f6f7ec",foreground:"#e5c7a9",selection_background:"#e5c7a9"},oW={black:"#002831",color1:"#e63853",green:"#5eb83c",yellow:"#a57706",blue:"#359ddf",magenta:"#d75cff",cyan:"#4b73a2",white:"#dcdcdc",brightblack:"#001e27",brightred:"#e1003f",brightgreen:"#1d9000",brightyellow:"#cd9409",brightblue:"#006fc0",brightmagenta:"#a200da",brightcyan:"#005794",brightwhite:"#e2e2e2",background:"#0e1011",selection_foreground:"#0e1011",cursor:"#708284",foreground:"#7c8fa4",selection_background:"#7c8fa4"},sW={black:"#011627",color1:"#ff9999",green:"#85cc95",yellow:"#ffd700",blue:"#7fb5ff",magenta:"#ddb3ff",cyan:"#21c7a8",white:"#ffffff",brightblack:"#575656",brightred:"#ff9999",brightgreen:"#85cc95",brightyellow:"#ffd700",brightblue:"#7fb5ff",brightmagenta:"#ddb3ff",brightcyan:"#85cc95",brightwhite:"#ffffff",background:"#1b2738",selection_foreground:"#1b2738",cursor:"#ddb3ff",foreground:"#a6b2c0",selection_background:"#a6b2c0"},lW={black:"#000000",color1:"#da4939",green:"#519f50",yellow:"#ffd24a",blue:"#6d9cbe",magenta:"#d0d0ff",cyan:"#6e9cbe",white:"#ffffff",brightblack:"#323232",brightred:"#ff7b6b",brightgreen:"#83d182",brightyellow:"#ffff7c",brightblue:"#9fcef0",brightmagenta:"#ffffff",brightcyan:"#a0cef0",brightwhite:"#ffffff",background:"#2b2b2b",selection_foreground:"#2b2b2b",cursor:"#ffffff",foreground:"#e6e1dc",selection_background:"#e6e1dc"},cW={black:"#241f2b",color1:"#91284c",green:"#23801c",yellow:"#b49d27",blue:"#6580b0",magenta:"#674d96",cyan:"#8aaabe",white:"#524966",brightblack:"#312d3d",brightred:"#d5356c",brightgreen:"#2cd946",brightyellow:"#fde83b",brightblue:"#90baf9",brightmagenta:"#a479e3",brightcyan:"#acd4eb",brightwhite:"#9e8cbd",background:"#100815",selection_foreground:"#100815",cursor:"#524966",foreground:"#514968",selection_background:"#514968"},uW={black:"#000000",color1:"#ff5370",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#ffffff",brightblack:"#545454",brightred:"#ff5370",brightgreen:"#c3e88d",brightyellow:"#ffcb6b",brightblue:"#82aaff",brightmagenta:"#c792ea",brightcyan:"#89ddff",brightwhite:"#ffffff",background:"#212121",selection_foreground:"#212121",cursor:"#ffffff",foreground:"#eeffff",selection_background:"#eeffff",underline_color:"#596181",url_color:"#596181"},dW={black:"#323232",color1:"#d25252",green:"#7fe173",yellow:"#ffc66d",blue:"#4099ff",magenta:"#f680ff",cyan:"#bed6ff",white:"#eeeeec",brightblack:"#535353",brightred:"#f07070",brightgreen:"#9dff91",brightyellow:"#ffe48b",brightblue:"#5eb7f7",brightmagenta:"#ff9dff",brightcyan:"#dcf4ff",brightwhite:"#ffffff",background:"#323232",selection_foreground:"#323232",cursor:"#d6d6d6",foreground:"#ffffff",selection_background:"#ffffff"},hW={black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#000000",selection_foreground:"#000000",cursor:"#23ff18",foreground:"#00ff00",selection_background:"#00ff00"},fW={black:"#202746",color1:"#c94922",green:"#ac9739",yellow:"#c08b30",blue:"#3d8fd1",magenta:"#6679cc",cyan:"#22a2c9",white:"#979db4",brightblack:"#6b7394",brightred:"#c76b29",brightgreen:"#293256",brightyellow:"#5e6687",brightblue:"#898ea4",brightmagenta:"#dfe2f1",brightcyan:"#9c637a",brightwhite:"#f5f7ff",background:"#202746",selection_foreground:"#202746",cursor:"#979db4",foreground:"#979db4",selection_background:"#979db4"},mW={black:"#000000",color1:"#aa1717",green:"#18b218",yellow:"#ebae1f",blue:"#2323a5",magenta:"#ad1edc",cyan:"#42b0c8",white:"#c8c1c1",brightblack:"#7b716e",brightred:"#ff4141",brightgreen:"#5fff5f",brightyellow:"#ffff55",brightblue:"#4b4bff",brightmagenta:"#ff54ff",brightcyan:"#69ffff",brightwhite:"#ffffff",background:"#060606",selection_foreground:"#060606",cursor:"#c8c1c1",foreground:"#c8c1c1",selection_background:"#c8c1c1"},pW={black:"#222222",color1:"#e2a8bf",green:"#81d778",yellow:"#c4c9c0",blue:"#264b49",magenta:"#a481d3",cyan:"#15ab9c",white:"#02c5e0",brightblack:"#ffffff",brightred:"#ffcdd9",brightgreen:"#beffa8",brightyellow:"#d0ccca",brightblue:"#7ab0d2",brightmagenta:"#c5a7d9",brightcyan:"#8cdfe0",brightwhite:"#e0e0e0",background:"#222222",selection_foreground:"#222222",cursor:"#87d3c4",foreground:"#35b1d2",selection_background:"#35b1d2"},gW={black:"#0e101a",color1:"#e03600",green:"#5dcd97",yellow:"#e39500",blue:"#00a3cb",magenta:"#795ccc",cyan:"#00a3cb",white:"#ebefc0",brightblack:"#2b2f46",brightred:"#ff4821",brightgreen:"#58db9e",brightyellow:"#f6a100",brightblue:"#00b4e0",brightmagenta:"#b3a1e6",brightcyan:"#00b4e0",brightwhite:"#b3b692",background:"#0e101a",selection_foreground:"#0e101a",cursor:"#edf2c2",foreground:"#ebefc0",selection_background:"#ebefc0"},_W={black:"#4d4d4d",color1:"#c70031",green:"#29cf13",yellow:"#d8e30e",blue:"#3449d1",magenta:"#8400ff",cyan:"#0798ab",white:"#e2d1e3",brightblack:"#5a5a5a",brightred:"#f01578",brightgreen:"#6ce05c",brightyellow:"#f3f79e",brightblue:"#97a4f7",brightmagenta:"#c495f0",brightcyan:"#68f2e0",brightwhite:"#ffffff",background:"#0e100a",selection_foreground:"#0e100a",cursor:"#9fda9c",foreground:"#f7f7f7",selection_background:"#f7f7f7"},bW={black:"#080808",color1:"#ff8373",green:"#00c172",yellow:"#d2a700",blue:"#0071cf",magenta:"#ff90fe",cyan:"#6bffdd",white:"#f1f1f1",brightblack:"#2e2e2e",brightred:"#ffc4be",brightgreen:"#d6fcba",brightyellow:"#fffed5",brightblue:"#c2e3ff",brightmagenta:"#ffb2fe",brightcyan:"#e6e7fe",brightwhite:"#ffffff",background:"#151144",selection_foreground:"#151144",cursor:"#00ff9c",foreground:"#00ff92",selection_background:"#00ff92"},SW={black:"#000000",color1:"#fd5ff1",green:"#87c38a",yellow:"#ffd7b1",blue:"#85befd",magenta:"#b9b6fc",cyan:"#85befd",white:"#e0e0e0",brightblack:"#000000",brightred:"#fd5ff1",brightgreen:"#94fa36",brightyellow:"#f5ffa8",brightblue:"#96cbfe",brightmagenta:"#b9b6fc",brightcyan:"#85befd",brightwhite:"#e0e0e0",background:"#161719",selection_foreground:"#161719",cursor:"#d0d0d0",foreground:"#c5c8c6",selection_background:"#c5c8c6"},OW={black:"#2a2e33",color1:"#b84d51",green:"#b3bf5a",yellow:"#e4b55e",blue:"#6e90b0",magenta:"#a17eac",cyan:"#7fbfb4",white:"#b5b9b6",brightblack:"#1d1f22",brightred:"#8d2e32",brightgreen:"#798431",brightyellow:"#e58a50",brightblue:"#4b6b88",brightmagenta:"#6e5079",brightcyan:"#4d7b74",brightwhite:"#5a626a",background:"#161719",selection_foreground:"#161719",cursor:"#b7bcba",foreground:"#b7bcba",selection_background:"#b7bcba"},vW={black:"#1b1d1e",color1:"#e60813",green:"#e22928",yellow:"#e24756",blue:"#2c3fff",magenta:"#2435db",cyan:"#3256ff",white:"#fffef6",brightblack:"#505354",brightred:"#ff0325",brightgreen:"#ff3338",brightyellow:"#fe3a35",brightblue:"#1d50ff",brightmagenta:"#747cff",brightcyan:"#6184ff",brightwhite:"#fffff9",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#2c3fff",foreground:"#e3e3e3",selection_background:"#e3e3e3"},EW={black:"#1f0000",color1:"#b00d0d",green:"#b00d0d",yellow:"#b00d0d",blue:"#b00d0d",magenta:"#b00d0d",cyan:"#b00d0d",white:"#fafafa",brightblack:"#150000",brightred:"#ff1111",brightgreen:"#ff1010",brightyellow:"#ff1010",brightblue:"#ff1010",brightmagenta:"#ff1010",brightcyan:"#ff1010",brightwhite:"#fefefe",background:"#200101",selection_foreground:"#200101",cursor:"#b00d0d",foreground:"#b10e0e",selection_background:"#b10e0e"},yW={black:"#4d4d4d",color1:"#ff2b2b",green:"#98fb98",yellow:"#f0e68c",blue:"#cd853f",magenta:"#ffdead",cyan:"#ffa0a0",white:"#f5deb3",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#87ceff",brightmagenta:"#ff55ff",brightcyan:"#ffd700",brightwhite:"#ffffff",background:"#333333",selection_foreground:"#333333",cursor:"#00ff00",foreground:"#ffffff",selection_background:"#ffffff"},TW={black:"#000000",color1:"#b84131",green:"#7da900",yellow:"#c4a500",blue:"#62a3c4",magenta:"#ba8acc",cyan:"#207383",white:"#a1a1a1",brightblack:"#7a7a7a",brightred:"#d6837c",brightgreen:"#c4f137",brightyellow:"#fee14d",brightblue:"#8dcff0",brightmagenta:"#f79aff",brightcyan:"#6ad9cf",brightwhite:"#f7f7f7",background:"#1b1b1b",selection_foreground:"#1b1b1b",cursor:"#bbbbbb",foreground:"#f7f7f7",selection_background:"#f7f7f7"},CW={black:"#000000",color1:"#cc0000",green:"#009600",yellow:"#d06b00",blue:"#0000cc",magenta:"#cc00cc",cyan:"#0087cc",white:"#cccccc",brightblack:"#808080",brightred:"#cc0000",brightgreen:"#009600",brightyellow:"#d06b00",brightblue:"#0000cc",brightmagenta:"#cc00cc",brightcyan:"#0087cc",brightwhite:"#ffffff",background:"#dfdbc3",selection_foreground:"#dfdbc3",cursor:"#73635a",foreground:"#3b2322",selection_background:"#3b2322"},RW={black:"#141414",color1:"#c06d44",green:"#afb97a",yellow:"#c2a86c",blue:"#44474a",magenta:"#b4be7c",cyan:"#778385",white:"#ffffd4",brightblack:"#262626",brightred:"#de7c4c",brightgreen:"#ccd88c",brightyellow:"#e2c47e",brightblue:"#5a5e62",brightmagenta:"#d0dc8e",brightcyan:"#8a989b",brightwhite:"#ffffd4",background:"#141414",selection_foreground:"#141414",cursor:"#ffffff",foreground:"#ffffd4",selection_background:"#ffffd4"},wW={black:"#353535",color1:"#e74669",green:"#89d287",yellow:"#dab853",blue:"#449fd0",magenta:"#da62dc",cyan:"#65aaaf",white:"#b4b4b4",brightblack:"#535353",brightred:"#e4859b",brightgreen:"#a3cca2",brightyellow:"#e1e487",brightblue:"#6fbce2",brightmagenta:"#e586e7",brightcyan:"#96dcdb",brightwhite:"#dfdfdf",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#c8c8c8",selection_background:"#c8c8c8"},AW={black:"#000000",color1:"#ec5f66",green:"#99c794",yellow:"#f9ae58",blue:"#6699cc",magenta:"#c695c6",cyan:"#5fb4b4",white:"#f7f7f7",brightblack:"#333333",brightred:"#f97b58",brightgreen:"#acd1a8",brightyellow:"#fac761",brightblue:"#85add6",brightmagenta:"#d8b6d8",brightcyan:"#82c4c4",brightwhite:"#ffffff",background:"#343d46",selection_foreground:"#343d46",cursor:"#fcbb6a",foreground:"#d8dee9",selection_background:"#d8dee9"},IW={black:"#2a2a2a",color1:"#ff0000",green:"#79ff0f",yellow:"#e7bf00",blue:"#396bd7",magenta:"#b449be",cyan:"#66ccff",white:"#bbbbbb",brightblack:"#666666",brightred:"#ff0080",brightgreen:"#66ff66",brightyellow:"#f3d64e",brightblue:"#709aed",brightmagenta:"#db67e6",brightcyan:"#7adff2",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#4d4d4d",foreground:"#f2f2f2",selection_background:"#f2f2f2"},kW={black:"#191918",color1:"#b34538",green:"#587744",yellow:"#d08949",blue:"#206ec5",magenta:"#864651",cyan:"#ac9166",white:"#f1eee7",brightblack:"#2c2b2a",brightred:"#b33323",brightgreen:"#42824a",brightyellow:"#c75a22",brightblue:"#5389c5",brightmagenta:"#e795a5",brightcyan:"#ebc587",brightwhite:"#ffffff",background:"#141414",selection_foreground:"#141414",cursor:"#c9c9c9",foreground:"#c9c9c9",selection_background:"#c9c9c9"},NW={black:"#3e3e3e",color1:"#970b16",green:"#07962a",yellow:"#f8eec7",blue:"#003e8a",magenta:"#e94691",cyan:"#89d1ec",white:"#ffffff",brightblack:"#666666",brightred:"#de0000",brightgreen:"#87d5a2",brightyellow:"#f1d007",brightblue:"#2e6cba",brightmagenta:"#ffa29f",brightcyan:"#1cfafe",brightwhite:"#ffffff",background:"#f4f4f4",selection_foreground:"#f4f4f4",cursor:"#3f3f3f",foreground:"#3e3e3e",selection_background:"#3e3e3e"},DW={black:"#212121",color1:"#b7141f",green:"#457b24",yellow:"#f6981e",blue:"#134eb2",magenta:"#560088",cyan:"#0e717c",white:"#efefef",brightblack:"#424242",brightred:"#e83b3f",brightgreen:"#7aba3a",brightyellow:"#ffea2e",brightblue:"#54a4f3",brightmagenta:"#aa4dbc",brightcyan:"#26bbd1",brightwhite:"#d9d9d9",background:"#eaeaea",selection_foreground:"#eaeaea",cursor:"#16afca",foreground:"#232322",selection_background:"#232322"},xW={black:"#0c0c0c",color1:"#a80f20",green:"#bafc8b",yellow:"#eedf4b",blue:"#145fcd",magenta:"#ff36a2",cyan:"#6bd1bc",white:"#e2d7e1",brightblack:"#434343",brightred:"#d91329",brightgreen:"#d3ffaf",brightyellow:"#ffef50",brightblue:"#0075ea",brightmagenta:"#fdd5e5",brightcyan:"#79ecd5",brightwhite:"#fff3fe",background:"#ff8cd9",selection_foreground:"#ff8cd9",cursor:"#bafc8b",foreground:"#0b0b0b",selection_background:"#0b0b0b",underline_color:"#38a276",url_color:"#38a276"},MW={black:"#242728",color1:"#ff0090",green:"#b6ff00",yellow:"#fff727",blue:"#47e0fb",magenta:"#d731ff",cyan:"#0effbb",white:"#e1e1e1",brightblack:"#636667",brightred:"#fb58b4",brightgreen:"#deff8c",brightyellow:"#ebe087",brightblue:"#7fecff",brightmagenta:"#e681ff",brightcyan:"#69fcd3",brightwhite:"#f9f9f5",background:"#242728",selection_foreground:"#242728",cursor:"#c1c1c1",foreground:"#c1c1c1",selection_background:"#c1c1c1"},LW={black:"#34373e",color1:"#e06383",green:"#7ebebd",yellow:"#cccccc",blue:"#a6c1e0",magenta:"#e1c1ee",cyan:"#5b94ab",white:"#ababab",brightblack:"#434750",brightred:"#fa7193",brightgreen:"#8fd7d6",brightyellow:"#d1dfff",brightblue:"#b2cff0",brightmagenta:"#efccfd",brightcyan:"#69abc5",brightwhite:"#d3d3d3",background:"#282b33",selection_foreground:"#282b33",cursor:"#7ebebd",foreground:"#c6c6c6",selection_background:"#c6c6c6"},PW={black:"#f0f0ca",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#353535",brightblack:"#c6c6a3",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#5c5c5c",background:"#f0f0ca",selection_foreground:"#f0f0ca",cursor:"#353535",foreground:"#353535",selection_background:"#353535"},BW={black:"#000000",color1:"#ff3333",green:"#86b300",yellow:"#f29718",blue:"#41a6d9",magenta:"#f07178",cyan:"#4dbf99",white:"#ffffff",brightblack:"#323232",brightred:"#ff6565",brightgreen:"#b8e532",brightyellow:"#ffc94a",brightblue:"#73d8ff",brightmagenta:"#ffa3aa",brightcyan:"#7ff1cb",brightwhite:"#ffffff",background:"#fafafa",selection_foreground:"#fafafa",cursor:"#ff6a00",foreground:"#5c6773",selection_background:"#5c6773"},YW={black:"#333333",color1:"#da2700",green:"#12c258",yellow:"#ffc656",blue:"#518bfc",magenta:"#e37bd9",cyan:"#63fad5",white:"#bab2b2",brightblack:"#777777",brightred:"#ffb9b9",brightgreen:"#e3f6aa",brightyellow:"#ffddaa",brightblue:"#b3e8f3",brightmagenta:"#cbbaf9",brightcyan:"#bcffc7",brightwhite:"#efefef",background:"#201f1e",selection_foreground:"#201f1e",cursor:"#7a1c1c",foreground:"#eee4d9",selection_background:"#eee4d9",underline_color:"#596181",url_color:"#596181"},FW={black:"#1d1d19",color1:"#f18339",green:"#9fd364",yellow:"#f4ef6d",blue:"#5096be",magenta:"#695abc",cyan:"#d63865",white:"#ffffff",brightblack:"#1d1d19",brightred:"#d22a24",brightgreen:"#a7d42c",brightyellow:"#ff8949",brightblue:"#61b9d0",brightmagenta:"#695abc",brightcyan:"#d63865",brightwhite:"#ffffff",background:"#1d1f21",selection_foreground:"#1d1f21",cursor:"#708284",foreground:"#b8dbef",selection_background:"#b8dbef"},UW={black:"#121212",color1:"#fa2573",green:"#98e123",yellow:"#dfd460",blue:"#1080d0",magenta:"#8700ff",cyan:"#43a8d0",white:"#bbbbbb",brightblack:"#555555",brightred:"#f6669d",brightgreen:"#b1e05f",brightyellow:"#fff26d",brightblue:"#00afff",brightmagenta:"#af87ff",brightcyan:"#51ceff",brightwhite:"#ffffff",background:"#121212",selection_foreground:"#121212",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},$W={black:"#383838",color1:"#a95551",green:"#666666",yellow:"#a98051",blue:"#657d3e",magenta:"#767676",cyan:"#c9c9c9",white:"#d0b8a3",brightblack:"#474747",brightred:"#a97775",brightgreen:"#8c8c8c",brightyellow:"#a99175",brightblue:"#98bd5e",brightmagenta:"#a3a3a3",brightcyan:"#dcdcdc",brightwhite:"#d8c8bb",background:"#222222",selection_foreground:"#222222",cursor:"#aa9175",foreground:"#a0a0a0",selection_background:"#a0a0a0"},GW={black:"#e2e2e2",color1:"#dc5284",green:"#628562",yellow:"#c48562",blue:"#0084a3",magenta:"#896788",cyan:"#008586",white:"#555555",brightblack:"#bfbabb",brightred:"#be3c6d",brightgreen:"#487249",brightyellow:"#a76b48",brightblue:"#006f89",brightmagenta:"#7f4c7e",brightcyan:"#006f70",brightwhite:"#777777",background:"#e2e2e2",selection_foreground:"#e2e2e2",cursor:"#555555",foreground:"#555555",selection_background:"#555555"},qW={black:"#353535",color1:"#d25252",green:"#a5c261",yellow:"#ffc66d",blue:"#6c99bb",magenta:"#d197d9",cyan:"#bed6ff",white:"#eeeeec",brightblack:"#535353",brightred:"#f00c0c",brightgreen:"#c2e075",brightyellow:"#e1e48b",brightblue:"#8ab7d9",brightmagenta:"#efb5f7",brightcyan:"#dcf4ff",brightwhite:"#ffffff",background:"#323232",selection_foreground:"#323232",cursor:"#d6d6d6",foreground:"#ffffff",selection_background:"#ffffff"},QW={black:"#000000",color1:"#e8341c",green:"#68c256",yellow:"#f2d42c",blue:"#1c98e8",magenta:"#8e69c9",cyan:"#1c98e8",white:"#bababa",brightblack:"#000000",brightred:"#e05a4f",brightgreen:"#77b869",brightyellow:"#efd64b",brightblue:"#387cd3",brightmagenta:"#957bbe",brightcyan:"#3d97e2",brightwhite:"#bababa",background:"#222324",selection_foreground:"#222324",cursor:"#bbbbbb",foreground:"#bababa",selection_background:"#bababa"},HW={black:"#000000",color1:"#f8282a",green:"#328a5d",yellow:"#fa701d",blue:"#135cd0",magenta:"#9f00bd",cyan:"#33c3c1",white:"#b3b3b3",brightblack:"#555753",brightred:"#fb0416",brightgreen:"#2cc631",brightyellow:"#fdd727",brightblue:"#1670ff",brightmagenta:"#e900b0",brightcyan:"#3ad5ce",brightwhite:"#eeeeec",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#6fd3fc",foreground:"#262626",selection_background:"#262626"},VW={black:"#1b1d1e",color1:"#e6dc44",green:"#c8be46",yellow:"#f4fd22",blue:"#737174",magenta:"#747271",cyan:"#62605f",white:"#c6c5bf",brightblack:"#505354",brightred:"#fff78e",brightgreen:"#fff27d",brightyellow:"#feed6c",brightblue:"#919495",brightmagenta:"#9a9a9d",brightcyan:"#a3a3a6",brightwhite:"#dadbd6",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#fcef0c",foreground:"#6f6f6f",selection_background:"#6f6f6f"},zW={black:"#333333",color1:"#f8818e",green:"#92d3a2",yellow:"#1a8e63",blue:"#8ed0ce",magenta:"#5e468c",cyan:"#31658c",white:"#e2d8cd",brightblack:"#3d3d3d",brightred:"#fb3d66",brightgreen:"#6bb48d",brightyellow:"#30c85a",brightblue:"#39a7a2",brightmagenta:"#7e62b3",brightcyan:"#6096bf",brightwhite:"#e2d8cd",background:"#051519",selection_foreground:"#051519",cursor:"#9e9ecb",foreground:"#e2d8cd",selection_background:"#e2d8cd"},WW={black:"#241b30",color1:"#e60a70",green:"#00986c",yellow:"#adad3e",blue:"#6e29ad",magenta:"#b300ad",cyan:"#00b0b1",white:"#b9b1bc",brightblack:"#7f7094",brightred:"#e60a70",brightgreen:"#0ae4a4",brightyellow:"#f9f972",brightblue:"#aa54f9",brightmagenta:"#ff00f6",brightcyan:"#00fbfd",brightwhite:"#f2f2e3",background:"#241b30",selection_foreground:"#241b30",cursor:"#f2f2e3",foreground:"#f2f2e3",selection_background:"#f2f2e3"},XW={black:"#080200",color1:"#fa5e5b",green:"#16c98d",yellow:"#ffc83f",blue:"#288ad6",magenta:"#d34590",cyan:"#28ddde",white:"#e7e7e7",brightblack:"#6f6b68",brightred:"#fa5e5b",brightgreen:"#16c98d",brightyellow:"#feef6d",brightblue:"#278ad6",brightmagenta:"#d34590",brightcyan:"#27dede",brightwhite:"#ffffff",background:"#2c3643",selection_foreground:"#2c3643",cursor:"#b4b1b1",foreground:"#ffffff",selection_background:"#ffffff"},KW={black:"#000000",color1:"#ac2e31",green:"#31ac61",yellow:"#ac4300",blue:"#2d57ac",magenta:"#b08528",cyan:"#1fa6ac",white:"#8a8eac",brightblack:"#5b3725",brightred:"#ff3d48",brightgreen:"#3bff99",brightyellow:"#ff5e1e",brightblue:"#4488ff",brightmagenta:"#ffc21d",brightcyan:"#1ffaff",brightwhite:"#5b6ea7",background:"#222125",selection_foreground:"#222125",cursor:"#5b6ea7",foreground:"#8a8dae",selection_background:"#8a8dae"},ZW={black:"#000000",color1:"#ff3030",green:"#559a70",yellow:"#ccac00",blue:"#0099cc",magenta:"#cc69c8",cyan:"#7ac4cc",white:"#bccccc",brightblack:"#000000",brightred:"#ff3030",brightgreen:"#559a70",brightyellow:"#ccac00",brightblue:"#0099cc",brightmagenta:"#cc69c8",brightcyan:"#7ac4cc",brightwhite:"#bccccc",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#afc2c2",selection_background:"#afc2c2"},jW={black:"#012026",color1:"#b2302d",green:"#00a941",yellow:"#5e8baa",blue:"#449a86",magenta:"#00599d",cyan:"#5d7e19",white:"#405555",brightblack:"#384451",brightred:"#ff4242",brightgreen:"#2aea5e",brightyellow:"#8ed4fd",brightblue:"#61d5ba",brightmagenta:"#1298ff",brightcyan:"#98d028",brightwhite:"#58fbd6",background:"#001015",selection_foreground:"#001015",cursor:"#4afcd6",foreground:"#405555",selection_background:"#405555"},JW={black:"#1d1a1e",color1:"#ff5b82",green:"#47d7a1",yellow:"#e8e562",blue:"#5db4ee",magenta:"#da6cda",cyan:"#57e9eb",white:"#ededed",brightblack:"#1d1a1e",brightred:"#ff5b82",brightgreen:"#47d7a1",brightyellow:"#e8e562",brightblue:"#5db4ee",brightmagenta:"#da6cda",brightcyan:"#57e9eb",brightwhite:"#ededed",background:"#1d1a1e",selection_foreground:"#1d1a1e",cursor:"#c7c7c7",foreground:"#efecec",selection_background:"#efecec"},eX={black:"#000000",color1:"#d6262b",green:"#919c00",yellow:"#be8a13",blue:"#4699a3",magenta:"#8d4331",cyan:"#da8213",white:"#ddc265",brightblack:"#7f6a55",brightred:"#e55a1c",brightgreen:"#bfc65a",brightyellow:"#ffcb1b",brightblue:"#7cc9cf",brightmagenta:"#d26349",brightcyan:"#e6a96b",brightwhite:"#ffeaa3",background:"#251200",selection_foreground:"#251200",cursor:"#e5591c",foreground:"#dec165",selection_background:"#dec165"},tX={black:"#000000",color1:"#fc4346",green:"#50fb7c",yellow:"#f0fb8c",blue:"#49baff",magenta:"#fc4cb4",cyan:"#8be9fe",white:"#ededec",brightblack:"#555555",brightred:"#fc4346",brightgreen:"#50fb7c",brightyellow:"#f0fb8c",brightblue:"#49baff",brightmagenta:"#fc4cb4",brightcyan:"#8be9fe",brightwhite:"#ededec",background:"#1e1f29",selection_foreground:"#1e1f29",cursor:"#e4e4e4",foreground:"#ebece6",selection_background:"#ebece6"},nX={black:"#151515",color1:"#ac4142",green:"#7e8e50",yellow:"#e5b567",blue:"#6c99bb",magenta:"#9f4e85",cyan:"#7dd6cf",white:"#d0d0d0",brightblack:"#505050",brightred:"#ac4142",brightgreen:"#7e8e50",brightyellow:"#e5b567",brightblue:"#6c99bb",brightmagenta:"#9f4e85",brightcyan:"#7dd6cf",brightwhite:"#f5f5f5",background:"#212121",selection_foreground:"#212121",cursor:"#d0d0d0",foreground:"#d0d0d0",selection_background:"#d0d0d0"},rX={black:"#333333",color1:"#8c4665",green:"#287373",yellow:"#7c7c99",blue:"#395573",magenta:"#5e468c",cyan:"#31658c",white:"#899ca1",brightblack:"#3d3d3d",brightred:"#bf4d80",brightgreen:"#53a6a6",brightyellow:"#9e9ecb",brightblue:"#477ab3",brightmagenta:"#7e62b3",brightcyan:"#6096bf",brightwhite:"#c0c0c0",background:"#101010",selection_foreground:"#101010",cursor:"#9e9ecb",foreground:"#999993",selection_background:"#999993"},aX={black:"#000000",color1:"#c82829",green:"#718c00",yellow:"#eab700",blue:"#4271ae",magenta:"#8959a8",cyan:"#3e999f",white:"#ffffff",brightblack:"#000000",brightred:"#c82829",brightgreen:"#718c00",brightyellow:"#eab700",brightblue:"#4271ae",brightmagenta:"#8959a8",brightcyan:"#3e999f",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#4d4d4c",foreground:"#4d4d4c",selection_background:"#4d4d4c"},iX={black:"#572100",color1:"#ba3934",green:"#91773f",yellow:"#b55600",blue:"#5f63b4",magenta:"#a17c7b",cyan:"#8faea9",white:"#af9a91",brightblack:"#4e4b61",brightred:"#d9443f",brightgreen:"#d6b04e",brightyellow:"#f66813",brightblue:"#8086ef",brightmagenta:"#e2c2bb",brightcyan:"#a4dce7",brightwhite:"#d2c7a9",background:"#121214",selection_foreground:"#121214",cursor:"#af9a91",foreground:"#af9a91",selection_background:"#af9a91"},oX={black:"#575757",color1:"#ff1b00",green:"#a5e055",yellow:"#fbe74a",blue:"#496487",magenta:"#fd5ff1",cyan:"#86e9fe",white:"#cbcccb",brightblack:"#262626",brightred:"#d51d00",brightgreen:"#a5df55",brightyellow:"#fbe84a",brightblue:"#89beff",brightmagenta:"#c001c1",brightcyan:"#86eafe",brightwhite:"#dbdbdb",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#dbdbdb",selection_background:"#dbdbdb"},sX={black:"#191919",color1:"#bf091d",green:"#3d9751",yellow:"#f6bb34",blue:"#17b2e0",magenta:"#7830b0",cyan:"#8bd2ed",white:"#ffffff",brightblack:"#191919",brightred:"#bf091d",brightgreen:"#3d9751",brightyellow:"#f6bb34",brightblue:"#17b2e0",brightmagenta:"#7830b0",brightcyan:"#8bd2ed",brightwhite:"#ffffff",background:"#262c35",selection_foreground:"#262c35",cursor:"#d9002f",foreground:"#ebebeb",selection_background:"#ebebeb"},lX={black:"#040404",color1:"#d84a33",green:"#5da602",yellow:"#eebb6e",blue:"#417ab3",magenta:"#e5c499",cyan:"#bdcfe5",white:"#dbded8",brightblack:"#685656",brightred:"#d76b42",brightgreen:"#99b52c",brightyellow:"#ffb670",brightblue:"#97d7ef",brightmagenta:"#aa7900",brightcyan:"#bdcfe5",brightwhite:"#e4d5c7",background:"#040404",selection_foreground:"#040404",cursor:"#feffff",foreground:"#feffff",selection_background:"#feffff"},cX={black:"#040303",color1:"#f92672",green:"#c2ffdf",yellow:"#e6c000",blue:"#c2ffdf",magenta:"#ffb8d1",cyan:"#c5a3ff",white:"#f8f8f0",brightblack:"#6090cb",brightred:"#ff857f",brightgreen:"#c2ffdf",brightyellow:"#ffea00",brightblue:"#c2ffdf",brightmagenta:"#ffb8d1",brightcyan:"#c5a3ff",brightwhite:"#f8f8f0",background:"#5a5475",selection_foreground:"#5a5475",cursor:"#f8f8f0",foreground:"#f8f8f2",selection_background:"#f8f8f2"},uX={black:"#15161e",color1:"#f7768e",green:"#9ece6a",yellow:"#e0af68",blue:"#7aa2f7",magenta:"#bb9af7",cyan:"#7dcfff",white:"#a9b1d6",brightblack:"#414868",brightred:"#f7768e",brightgreen:"#9ece6a",brightyellow:"#e0af68",brightblue:"#7aa2f7",brightmagenta:"#bb9af7",brightcyan:"#7dcfff",brightwhite:"#c0caf5",background:"#1a1b26",selection_foreground:"#1a1b26",cursor:"#c0caf5",foreground:"#c0caf5",selection_background:"#c0caf5"},dX={black:"#343935",color1:"#cf3f61",green:"#7bb75b",yellow:"#e9b32a",blue:"#4c9ad4",magenta:"#a57fc4",cyan:"#389aad",white:"#fafaf6",brightblack:"#595b59",brightred:"#d18fa6",brightgreen:"#767f2c",brightyellow:"#78592f",brightblue:"#135979",brightmagenta:"#604291",brightcyan:"#76bbca",brightwhite:"#b2b5ae",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#edcf4f",foreground:"#f7f6ec",selection_background:"#f7f6ec"},hX={black:"#1f1f1f",color1:"#f81118",green:"#2dc55e",yellow:"#ecba0f",blue:"#2a84d2",magenta:"#4e5ab7",cyan:"#1081d6",white:"#d6dbe5",brightblack:"#d6dbe5",brightred:"#de352e",brightgreen:"#1dd361",brightyellow:"#f3bd09",brightblue:"#1081d6",brightmagenta:"#5350b9",brightcyan:"#0f7ddb",brightwhite:"#ffffff",background:"#131313",selection_foreground:"#131313",cursor:"#b9b9b9",foreground:"#d6dbe5",selection_background:"#d6dbe5"},fX={black:"#000000",color1:"#9f0000",green:"#008b00",yellow:"#ffd000",blue:"#0081ff",magenta:"#bc00ca",cyan:"#008b8b",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff0000",brightgreen:"#00ee00",brightyellow:"#ffff00",brightblue:"#0000ff",brightmagenta:"#ff00ff",brightcyan:"#00cdcd",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#00a595",selection_background:"#00a595"},mX={black:"#202746",color1:"#c94922",green:"#ac9739",yellow:"#c08b30",blue:"#3d8fd1",magenta:"#6679cc",cyan:"#22a2c9",white:"#979db4",brightblack:"#6b7394",brightred:"#c76b29",brightgreen:"#73ad43",brightyellow:"#5e6687",brightblue:"#898ea4",brightmagenta:"#dfe2f1",brightcyan:"#9c637a",brightwhite:"#f5f7ff",background:"#132638",selection_foreground:"#132638",cursor:"#979db4",foreground:"#ede4e4",selection_background:"#ede4e4"},pX={black:"#010921",color1:"#10b6ff",green:"#10b6ff",yellow:"#10b6ff",blue:"#10b6ff",magenta:"#10b6ff",cyan:"#10b6ff",white:"#fafafa",brightblack:"#080117",brightred:"#00b3f7",brightgreen:"#00b3f7",brightyellow:"#00b3f7",brightblue:"#00b3f7",brightmagenta:"#00b3f7",brightcyan:"#00b3f7",brightwhite:"#fefefe",background:"#010515",selection_foreground:"#010515",cursor:"#10b6ff",foreground:"#11b7ff",selection_background:"#11b7ff"},gX={black:"#091013",color1:"#006536",green:"#6fa64c",yellow:"#7e8000",blue:"#2c9a84",magenta:"#452d53",cyan:"#114d53",white:"#006536",brightblack:"#333333",brightred:"#00733d",brightgreen:"#90d762",brightyellow:"#e2e500",brightblue:"#46d8b8",brightmagenta:"#4a3059",brightcyan:"#12545a",brightwhite:"#006536",background:"#070c0e",selection_foreground:"#070c0e",cursor:"#9fa86e",foreground:"#3e5715",selection_background:"#3e5715",underline_color:"#302c2c",url_color:"#302c2c"},_X={black:"#1d1d1d",color1:"#cda074",green:"#9e744d",yellow:"#fecf75",blue:"#720102",magenta:"#734c4d",cyan:"#979797",white:"#ffffce",brightblack:"#000000",brightred:"#fecea0",brightgreen:"#cc734d",brightyellow:"#fd9f4d",brightblue:"#cb4a05",brightmagenta:"#4e739f",brightcyan:"#fed04d",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#ffffce",selection_background:"#ffffce"},bX={black:"#3d352a",color1:"#cd5c5c",green:"#86af80",yellow:"#e8ae5b",blue:"#6495ed",magenta:"#deb887",cyan:"#b0c4de",white:"#bbaa99",brightblack:"#554444",brightred:"#cc5533",brightgreen:"#88aa22",brightyellow:"#ffa75d",brightblue:"#87ceeb",brightmagenta:"#996600",brightcyan:"#b0c4de",brightwhite:"#ddccbb",background:"#1c1c1c",selection_foreground:"#1c1c1c",cursor:"#e2bbef",foreground:"#ddeedd",selection_background:"#ddeedd"},SX={black:"#050404",color1:"#bd0013",green:"#4ab118",yellow:"#e7741e",blue:"#0f4ac6",magenta:"#665993",cyan:"#70a598",white:"#f8dcc0",brightblack:"#4e7cbf",brightred:"#fc5f5a",brightgreen:"#9eff6e",brightyellow:"#efc11a",brightblue:"#1997c6",brightmagenta:"#9b5953",brightcyan:"#c8faf4",brightwhite:"#f6f5fb",background:"#1f1d45",selection_foreground:"#1f1d45",cursor:"#efbf38",foreground:"#f8dcc0",selection_background:"#f8dcc0"},OX={black:"#351b0e",color1:"#9b291c",green:"#636232",yellow:"#c36e28",blue:"#515c5d",magenta:"#9b1d29",cyan:"#588056",white:"#f7d75c",brightblack:"#874228",brightred:"#ff4331",brightgreen:"#b4b264",brightyellow:"#ff9566",brightblue:"#9eb2b4",brightmagenta:"#ff5b6a",brightcyan:"#8acd8f",brightwhite:"#ffe598",background:"#120b0d",selection_foreground:"#120b0d",cursor:"#c46c32",foreground:"#f7d66a",selection_background:"#f7d66a"},vX={black:"#000000",color1:"#d70005",green:"#1cd915",yellow:"#d9bd26",blue:"#5665ff",magenta:"#b052da",cyan:"#50d2da",white:"#e0e0e0",brightblack:"#535353",brightred:"#fb0007",brightgreen:"#22ff18",brightyellow:"#fedc2b",brightblue:"#9fa9ff",brightmagenta:"#e09aff",brightcyan:"#8df9ff",brightwhite:"#ffffff",background:"#090909",selection_foreground:"#090909",cursor:"#d0d0d0",foreground:"#cdcdcd",selection_background:"#cdcdcd"},EX={black:"#000000",color1:"#ff615a",green:"#b1e969",yellow:"#ebd99c",blue:"#5da9f6",magenta:"#e86aff",cyan:"#82fff7",white:"#dedacf",brightblack:"#313131",brightred:"#f58c80",brightgreen:"#ddf88f",brightyellow:"#eee5b2",brightblue:"#a5c7ff",brightmagenta:"#ddaaff",brightcyan:"#b7fff9",brightwhite:"#ffffff",background:"#171717",selection_foreground:"#171717",cursor:"#bbbbbb",foreground:"#dedacf",selection_background:"#dedacf"},yX={black:"#000000",color1:"#b04b57",green:"#87b379",yellow:"#e5c179",blue:"#7d8fa4",magenta:"#a47996",cyan:"#85a7a5",white:"#b3b8c3",brightblack:"#000000",brightred:"#b04b57",brightgreen:"#87b379",brightyellow:"#e5c179",brightblue:"#7d8fa4",brightmagenta:"#a47996",brightcyan:"#85a7a5",brightwhite:"#ffffff",background:"#20242d",selection_foreground:"#20242d",cursor:"#b3b8c3",foreground:"#b3b8c3",selection_background:"#b3b8c3"},TX={black:"#f0edec",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#2c363c",brightblack:"#cfc1ba",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#4f5e68",background:"#f0edec",selection_foreground:"#f0edec",cursor:"#2c363c",foreground:"#2c363c",selection_background:"#2c363c"},CX={black:"#232a2d",color1:"#e57474",green:"#8ccf7e",yellow:"#e5c76b",blue:"#67b0e8",magenta:"#c47fd5",cyan:"#6cbfbf",white:"#b3b9b8",brightblack:"#2d3437",brightred:"#ef7e7e",brightgreen:"#96d988",brightyellow:"#f4d67a",brightblue:"#71baf2",brightmagenta:"#ce89df",brightcyan:"#67cbe7",brightwhite:"#bdc3c2",background:"#141b1e",selection_foreground:"#141b1e",cursor:"#dadada",foreground:"#dadada",selection_background:"#dadada"},RX={black:"#4d4d4d",color1:"#705050",green:"#60b48a",yellow:"#f0dfaf",blue:"#506070",magenta:"#dc8cc3",cyan:"#8cd0d3",white:"#dcdccc",brightblack:"#709080",brightred:"#dca3a3",brightgreen:"#c3bf9f",brightyellow:"#e0cf9f",brightblue:"#94bff3",brightmagenta:"#ec93d3",brightcyan:"#93e0e3",brightwhite:"#ffffff",background:"#3f3f3f",selection_foreground:"#3f3f3f",cursor:"#73635a",foreground:"#dcdccc",selection_background:"#dcdccc"},wX={black:"#282a36",color1:"#f37f97",green:"#5adecd",yellow:"#f2a272",blue:"#8897f4",magenta:"#c574dd",cyan:"#79e6f3",white:"#fdfdfd",brightblack:"#414458",brightred:"#ff4971",brightgreen:"#18e3c8",brightyellow:"#ff8037",brightblue:"#556fff",brightmagenta:"#b043d1",brightcyan:"#3fdcee",brightwhite:"#bebec1",background:"#1d1f28",selection_foreground:"#1d1f28",cursor:"#c574dd",foreground:"#fdfdfd",selection_background:"#fdfdfd"},AX={black:"#1c1c1c",color1:"#d68686",green:"#aed686",yellow:"#d7af87",blue:"#86aed6",magenta:"#d6aed6",cyan:"#8adbb4",white:"#d0d0d0",brightblack:"#1c1c1c",brightred:"#d68686",brightgreen:"#aed686",brightyellow:"#e4c9af",brightblue:"#86aed6",brightmagenta:"#d6aed6",brightcyan:"#b1e7dd",brightwhite:"#efefef",background:"#262626",selection_foreground:"#262626",cursor:"#e4c9af",foreground:"#d0d0d0",selection_background:"#d0d0d0"},IX={black:"#4f4f4f",color1:"#fa6c60",green:"#a8ff60",yellow:"#fffeb7",blue:"#96cafe",magenta:"#fa73fd",cyan:"#c6c5fe",white:"#efedef",brightblack:"#7b7b7b",brightred:"#fcb6b0",brightgreen:"#cfffab",brightyellow:"#ffffcc",brightblue:"#b5dcff",brightmagenta:"#fb9cfe",brightcyan:"#e0e0fe",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#808080",foreground:"#f1f1f1",selection_background:"#f1f1f1"},kX={black:"#091013",color1:"#002e18",green:"#6fa64c",yellow:"#595900",blue:"#00cb6b",magenta:"#412a4d",cyan:"#125459",white:"#002e19",brightblack:"#333333",brightred:"#00381d",brightgreen:"#90d762",brightyellow:"#e2e500",brightblue:"#00ff87",brightmagenta:"#412a4d",brightcyan:"#176c73",brightwhite:"#00381e",background:"#070c0e",selection_foreground:"#070c0e",cursor:"#373a26",foreground:"#28380d",selection_background:"#28380d",underline_color:"#302c2c",url_color:"#302c2c"},NX={black:"#000000",color1:"#cc5555",green:"#55cc55",yellow:"#cdcd55",blue:"#5555cc",magenta:"#cc55cc",cyan:"#7acaca",white:"#cccccc",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#53ae71",foreground:"#b3b3b3",selection_background:"#b3b3b3"},DX={black:"#0f191c",color1:"#23755a",green:"#82d967",yellow:"#ffd700",blue:"#3f5242",magenta:"#409931",cyan:"#50b45a",white:"#507350",brightblack:"#688060",brightred:"#2fc079",brightgreen:"#90d762",brightyellow:"#faff00",brightblue:"#4f7e7e",brightmagenta:"#11ff25",brightcyan:"#c1ff8a",brightwhite:"#678c61",background:"#0f191c",selection_foreground:"#0f191c",cursor:"#384545",foreground:"#426644",selection_background:"#426644",underline_color:"#302c2c",url_color:"#302c2c"},xX={black:"#253045",color1:"#ee5577",green:"#55ee77",yellow:"#ffdd88",blue:"#5588ff",magenta:"#ff77cc",cyan:"#44eeee",white:"#f5f5da",brightblack:"#405570",brightred:"#ee6655",brightgreen:"#99ee77",brightyellow:"#ffff77",brightblue:"#77bbff",brightmagenta:"#aa88ff",brightcyan:"#55ffbb",brightwhite:"#ffffee",background:"#202535",selection_foreground:"#202535",cursor:"#ccced0",foreground:"#ccced0",selection_background:"#ccced0"},MX={black:"#141414",color1:"#ff5555",green:"#98ec65",yellow:"#ffcc33",blue:"#00aaff",magenta:"#aa88ff",cyan:"#88ddff",white:"#cccccc",brightblack:"#414141",brightred:"#ff8888",brightgreen:"#b6f292",brightyellow:"#ffd966",brightblue:"#33bbff",brightmagenta:"#cebbff",brightcyan:"#bbecff",brightwhite:"#ffffff",background:"#111111",selection_foreground:"#111111",cursor:"#fcdc08",foreground:"#777777",selection_background:"#777777"},LX={black:"#2c3941",color1:"#865f5b",green:"#66907d",yellow:"#b1a990",blue:"#6a8e95",magenta:"#b18a73",cyan:"#88b2ac",white:"#ececec",brightblack:"#5d7079",brightred:"#865f5b",brightgreen:"#66907d",brightyellow:"#b1a990",brightblue:"#6a8e95",brightmagenta:"#b18a73",brightcyan:"#88b2ac",brightwhite:"#ececec",background:"#2c3941",selection_foreground:"#2c3941",cursor:"#ececec",foreground:"#ececec",selection_background:"#ececec"},PX={black:"#222d3f",color1:"#a82320",green:"#32a548",yellow:"#e58d11",blue:"#3167ac",magenta:"#781aa0",cyan:"#2c9370",white:"#b0b6ba",brightblack:"#212c3c",brightred:"#d4312e",brightgreen:"#2d9440",brightyellow:"#e5be0c",brightblue:"#3c7dd2",brightmagenta:"#8230a7",brightcyan:"#35b387",brightwhite:"#e7eced",background:"#002240",selection_foreground:"#002240",cursor:"#e5be0c",foreground:"#2cc55d",selection_background:"#2cc55d"},BX={black:"#242424",color1:"#d71c15",green:"#5aa513",yellow:"#fdb40c",blue:"#063b8c",magenta:"#e40038",cyan:"#2595e1",white:"#efefef",brightblack:"#4b4b4b",brightred:"#fc1c18",brightgreen:"#6bc219",brightyellow:"#fec80e",brightblue:"#0955ff",brightmagenta:"#fb0050",brightcyan:"#3ea8fc",brightwhite:"#8c00ec",background:"#181818",selection_foreground:"#181818",cursor:"#bbbbbb",foreground:"#efefef",selection_background:"#efefef"},YX={black:"#2b1b1d",color1:"#91002b",green:"#579524",yellow:"#ab311b",blue:"#8c87b0",magenta:"#692f50",cyan:"#e8a866",white:"#68525a",brightblack:"#3d2b2e",brightred:"#c5255d",brightgreen:"#8dff57",brightyellow:"#c8381d",brightblue:"#cfc9ff",brightmagenta:"#fc6cba",brightcyan:"#ffceaf",brightwhite:"#b0949d",background:"#150707",selection_foreground:"#150707",cursor:"#68525a",foreground:"#68525a",selection_background:"#68525a"},FX={black:"#373a41",color1:"#d52753",green:"#23974a",yellow:"#df631c",blue:"#275fe4",magenta:"#823ff1",cyan:"#27618d",white:"#babbc2",brightblack:"#676a77",brightred:"#ff6480",brightgreen:"#3cbc66",brightyellow:"#c5a332",brightblue:"#0099e1",brightmagenta:"#ce33c0",brightcyan:"#6d93bb",brightwhite:"#d3d3d3",background:"#f9f9f9",selection_foreground:"#f9f9f9",cursor:"#f32759",foreground:"#373a41",selection_background:"#373a41"},UX={black:"#000000",color1:"#b87a7a",green:"#7ab87a",yellow:"#b8b87a",blue:"#7a7ab8",magenta:"#b87ab8",cyan:"#7ab8b8",white:"#d9d9d9",brightblack:"#262626",brightred:"#dbbdbd",brightgreen:"#bddbbd",brightyellow:"#dbdbbd",brightblue:"#bdbddb",brightmagenta:"#dbbddb",brightcyan:"#bddbdb",brightwhite:"#ffffff",background:"#0d1926",selection_foreground:"#0d1926",cursor:"#d9e6f2",foreground:"#d9e6f2",selection_background:"#d9e6f2"},$X={black:"#eeeeee",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#353535",brightblack:"#c6c3c3",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#5c5c5c",background:"#eeeeee",selection_foreground:"#eeeeee",cursor:"#353535",foreground:"#353535",selection_background:"#353535"},GX={black:"#000000",color1:"#d00e18",green:"#138034",yellow:"#ffcb3e",blue:"#006bb3",magenta:"#6b2775",cyan:"#384564",white:"#ededed",brightblack:"#5d504a",brightred:"#f07e18",brightgreen:"#b1d130",brightyellow:"#fff120",brightblue:"#4fc2fd",brightmagenta:"#de0071",brightcyan:"#5d504a",brightwhite:"#ffffff",background:"#222225",selection_foreground:"#222225",cursor:"#e0d9b9",foreground:"#ededed",selection_background:"#ededed"},qX={black:"#2d283f",color1:"#ed2261",green:"#1fa91b",yellow:"#8ddc20",blue:"#487df4",magenta:"#8d35c9",cyan:"#3bdeed",white:"#9e9ea0",brightblack:"#59516a",brightred:"#f0729a",brightgreen:"#53aa5e",brightyellow:"#b2dc87",brightblue:"#a9bcec",brightmagenta:"#ad81c2",brightcyan:"#9de3eb",brightwhite:"#a288f7",background:"#171423",selection_foreground:"#171423",cursor:"#a288f7",foreground:"#9f9fa1",selection_background:"#9f9fa1"},QX={black:"#23252b",color1:"#b54036",green:"#5ab977",yellow:"#deb566",blue:"#6a7c93",magenta:"#a4799d",cyan:"#3f94a8",white:"#e6e8ef",brightblack:"#23252b",brightred:"#b54036",brightgreen:"#5ab977",brightyellow:"#deb566",brightblue:"#6a7c93",brightmagenta:"#a4799d",brightcyan:"#3f94a8",brightwhite:"#ebedf2",background:"#1c1e22",selection_foreground:"#1c1e22",cursor:"#f6f7ec",foreground:"#e6e8ef",selection_background:"#e6e8ef"},HX={black:"#23262e",color1:"#f0266f",green:"#8fd46d",yellow:"#ffe66d",blue:"#0321d7",magenta:"#ee5d43",cyan:"#03d6b8",white:"#c74ded",brightblack:"#292e38",brightred:"#f92672",brightgreen:"#8fd46d",brightyellow:"#ffe66d",brightblue:"#03d6b8",brightmagenta:"#ee5d43",brightcyan:"#03d6b8",brightwhite:"#c74ded",background:"#23262e",selection_foreground:"#23262e",cursor:"#ee5d43",foreground:"#ffca28",selection_background:"#ffca28",underline_color:"#596181",url_color:"#596181"},VX={black:"#000000",color1:"#dc322f",green:"#56db3a",yellow:"#ff8400",blue:"#0084d4",magenta:"#b729d9",cyan:"#ccccff",white:"#ffffff",brightblack:"#1b1d21",brightred:"#dc322f",brightgreen:"#56db3a",brightyellow:"#ff8400",brightblue:"#0084d4",brightmagenta:"#b729d9",brightcyan:"#ccccff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#dc322f",foreground:"#ffffff",selection_background:"#ffffff"},zX={black:"#112616",color1:"#7f2b27",green:"#2f7e25",yellow:"#717f24",blue:"#2f6a7f",magenta:"#47587f",cyan:"#327f77",white:"#647d75",brightblack:"#3c4812",brightred:"#e08009",brightgreen:"#18e000",brightyellow:"#bde000",brightblue:"#00aae0",brightmagenta:"#0058e0",brightcyan:"#00e0c4",brightwhite:"#73fa91",background:"#0f1610",selection_foreground:"#0f1610",cursor:"#73fa91",foreground:"#637d75",selection_background:"#637d75"},WX={black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#2009db",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#000000",selection_foreground:"#000000",cursor:"#4d4d4d",foreground:"#f2f2f2",selection_background:"#f2f2f2"},XX={black:"#17384c",color1:"#d15123",green:"#027c9b",yellow:"#fca02f",blue:"#1e4950",magenta:"#68d4f1",cyan:"#50a3b5",white:"#deb88d",brightblack:"#434b53",brightred:"#d48678",brightgreen:"#628d98",brightyellow:"#fdd39f",brightblue:"#1bbcdd",brightmagenta:"#bbe3ee",brightcyan:"#87acb4",brightwhite:"#fee4ce",background:"#09141b",selection_foreground:"#09141b",cursor:"#fca02f",foreground:"#deb88d",selection_background:"#deb88d"},KX={black:"#0a0520",color1:"#ff796d",green:"#99b481",yellow:"#efdfac",blue:"#66d9ef",magenta:"#e78fcd",cyan:"#ba8cff",white:"#ffba81",brightblack:"#100b23",brightred:"#f99f92",brightgreen:"#b4be8f",brightyellow:"#f2e9bf",brightblue:"#79daed",brightmagenta:"#ba91d4",brightcyan:"#a0a0d6",brightwhite:"#b9aed3",background:"#2a1a4a",selection_foreground:"#2a1a4a",cursor:"#c7c7c7",foreground:"#ece7fa",selection_background:"#ece7fa"},ZX={black:"#f0edec",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#2c363c",brightblack:"#cfc1ba",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#4f5e68",background:"#f0edec",selection_foreground:"#f0edec",cursor:"#2c363c",foreground:"#2c363c",selection_background:"#2c363c"},jX={black:"#000000",color1:"#ff4242",green:"#74af68",yellow:"#ffad29",blue:"#338f86",magenta:"#9414e6",cyan:"#23d7d7",white:"#e1e1e0",brightblack:"#555555",brightred:"#ff3242",brightgreen:"#74cd68",brightyellow:"#ffb929",brightblue:"#23d7d7",brightmagenta:"#ff37ff",brightcyan:"#00ede1",brightwhite:"#ffffff",background:"#2d3743",selection_foreground:"#2d3743",cursor:"#000000",foreground:"#e1e1e0",selection_background:"#e1e1e0"},JX={black:"#000507",color1:"#d94085",green:"#2ab250",yellow:"#ffd16f",blue:"#883cdc",magenta:"#ececec",cyan:"#c1b8b7",white:"#fff8de",brightblack:"#009cc9",brightred:"#da6bac",brightgreen:"#f4dca5",brightyellow:"#eac066",brightblue:"#308cba",brightmagenta:"#ae636b",brightcyan:"#ff919d",brightwhite:"#e4838d",background:"#1f1726",selection_foreground:"#1f1726",cursor:"#dd00ff",foreground:"#dafaff",selection_background:"#dafaff"},eK={black:"#585f6d",color1:"#d95360",green:"#5ab977",yellow:"#dfb563",blue:"#4d89c4",magenta:"#d55119",cyan:"#44a8b6",white:"#e6e5ff",brightblack:"#585f6d",brightred:"#d95360",brightgreen:"#5ab977",brightyellow:"#dfb563",brightblue:"#4c89c5",brightmagenta:"#d55119",brightcyan:"#44a8b6",brightwhite:"#e6e5ff",background:"#1e2027",selection_foreground:"#1e2027",cursor:"#f6f7ec",foreground:"#9ba2b2",selection_background:"#9ba2b2"},tK={black:"#6e5346",color1:"#e35b00",green:"#5cab96",yellow:"#e3cd7b",blue:"#0f548b",magenta:"#e35b00",cyan:"#06afc7",white:"#f0f1ce",brightblack:"#684c31",brightred:"#ff8a3a",brightgreen:"#aecab8",brightyellow:"#ffc878",brightblue:"#67a0ce",brightmagenta:"#ff8a3a",brightcyan:"#83a7b4",brightwhite:"#fefff1",background:"#0a1e24",selection_foreground:"#0a1e24",cursor:"#708284",foreground:"#ecf0c1",selection_background:"#ecf0c1"},Zi={"Tomorrow Night Burns":{black:"#252525",color1:"#832e31",green:"#a63c40",yellow:"#d3494e",blue:"#fc595f",magenta:"#df9395",cyan:"#ba8586",white:"#f5f5f5",brightblack:"#5d6f71",brightred:"#832e31",brightgreen:"#a63c40",brightyellow:"#d2494e",brightblue:"#fc595f",brightmagenta:"#df9395",brightcyan:"#ba8586",brightwhite:"#f5f5f5",background:"#151515",selection_foreground:"#151515",cursor:"#ff443e",foreground:"#a1b0b8",selection_background:"#a1b0b8"},Floraverse:lV,MaterialOcean:cV,Vaughn:uV,nord:dV,Subliminal:hV,"3024 Day":{black:"#090300",color1:"#db2d20",green:"#01a252",yellow:"#fded02",blue:"#01a0e4",magenta:"#a16a94",cyan:"#b5e4f4",white:"#a5a2a2",brightblack:"#5c5855",brightred:"#e8bbd0",brightgreen:"#3a3432",brightyellow:"#4a4543",brightblue:"#807d7c",brightmagenta:"#d6d5d4",brightcyan:"#cdab53",brightwhite:"#f7f7f7",background:"#f7f7f7",selection_foreground:"#f7f7f7",cursor:"#4a4543",foreground:"#4a4543",selection_background:"#4a4543"},idea:fV,"Solarized Dark Higher Contrast":{black:"#002831",color1:"#d11c24",green:"#6cbe6c",yellow:"#a57706",blue:"#2176c7",magenta:"#c61c6f",cyan:"#259286",white:"#eae3cb",brightblack:"#006488",brightred:"#f5163b",brightgreen:"#51ef84",brightyellow:"#b27e28",brightblue:"#178ec8",brightmagenta:"#e24d8e",brightcyan:"#00b39e",brightwhite:"#fcf4dc",background:"#001e27",selection_foreground:"#001e27",cursor:"#f34b00",foreground:"#9cc2c3",selection_background:"#9cc2c3"},"Doom Peacock":{black:"#1c1f24",color1:"#cb4b16",green:"#26a6a6",yellow:"#bcd42a",blue:"#2a6cc6",magenta:"#a9a1e1",cyan:"#5699af",white:"#ede0ce",brightblack:"#2b2a27",brightred:"#ff5d38",brightgreen:"#98be65",brightyellow:"#e6f972",brightblue:"#51afef",brightmagenta:"#c678dd",brightcyan:"#46d9ff",brightwhite:"#dfdfdf",background:"#2b2a27",selection_foreground:"#2b2a27",cursor:"#9c9c9d",foreground:"#ede0ce",selection_background:"#ede0ce"},UltraDark:mV,BlueDolphin:pV,"catppuccin-frappe":{black:"#51576d",color1:"#e78284",green:"#a6d189",yellow:"#e5c890",blue:"#8caaee",magenta:"#f4b8e4",cyan:"#81c8be",white:"#b5bfe2",brightblack:"#626880",brightred:"#e78284",brightgreen:"#a6d189",brightyellow:"#e5c890",brightblue:"#8caaee",brightmagenta:"#f4b8e4",brightcyan:"#81c8be",brightwhite:"#a5adce",background:"#303446",selection_foreground:"#303446",cursor:"#f2d5cf",foreground:"#c6d0f5",selection_background:"#c6d0f5"},"Belafonte Night":{black:"#20111b",color1:"#be100e",green:"#858162",yellow:"#eaa549",blue:"#426a79",magenta:"#97522c",cyan:"#989a9c",white:"#968c83",brightblack:"#5e5252",brightred:"#be100e",brightgreen:"#858162",brightyellow:"#eaa549",brightblue:"#426a79",brightmagenta:"#97522c",brightcyan:"#989a9c",brightwhite:"#d5ccba",background:"#20111b",selection_foreground:"#20111b",cursor:"#968c83",foreground:"#968c83",selection_background:"#968c83"},Obsidian:gV,Elemental:_V,"Gruvbox Light":{black:"#fbf1c7",color1:"#9d0006",green:"#79740e",yellow:"#b57614",blue:"#076678",magenta:"#8f3f71",cyan:"#427b58",white:"#3c3836",brightblack:"#9d8374",brightred:"#cc241d",brightgreen:"#98971a",brightyellow:"#d79921",brightblue:"#458588",brightmagenta:"#b16186",brightcyan:"#689d69",brightwhite:"#7c6f64",background:"#fbf1c7",selection_foreground:"#fbf1c7",cursor:"#282828",foreground:"#282828",selection_background:"#282828"},Ciapre:bV,"Dracula+":{black:"#21222c",color1:"#ff5555",green:"#50fa7b",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#8be9fd",white:"#f8f8f2",brightblack:"#545454",brightred:"#ff6e6e",brightgreen:"#69ff94",brightyellow:"#ffcb6b",brightblue:"#d6acff",brightmagenta:"#ff92df",brightcyan:"#a4ffff",brightwhite:"#f8f8f2",background:"#212121",selection_foreground:"#212121",cursor:"#eceff4",foreground:"#f8f8f2",selection_background:"#f8f8f2"},Fideloper:SV,"Hopscotch.256":{black:"#322931",color1:"#dd464c",green:"#8fc13e",yellow:"#fdcc59",blue:"#1290bf",magenta:"#c85e7c",cyan:"#149b93",white:"#b9b5b8",brightblack:"#797379",brightred:"#dd464c",brightgreen:"#8fc13e",brightyellow:"#fdcc59",brightblue:"#1290bf",brightmagenta:"#c85e7c",brightcyan:"#149b93",brightwhite:"#ffffff",background:"#322931",selection_foreground:"#322931",cursor:"#b9b5b8",foreground:"#b9b5b8",selection_background:"#b9b5b8"},"Duotone Dark":{black:"#1f1d27",color1:"#d9393e",green:"#2dcd73",yellow:"#d9b76e",blue:"#ffc284",magenta:"#de8d40",cyan:"#2488ff",white:"#b7a1ff",brightblack:"#353147",brightred:"#d9393e",brightgreen:"#2dcd73",brightyellow:"#d9b76e",brightblue:"#ffc284",brightmagenta:"#de8d40",brightcyan:"#2488ff",brightwhite:"#eae5ff",background:"#1f1d27",selection_foreground:"#1f1d27",cursor:"#ff9839",foreground:"#b7a1ff",selection_background:"#b7a1ff"},Treehouse:OV,CGA:vV,rebecca:EV,synthwave:yV,Raycast_Dark:TV,PencilDark:CV,IC_Green_PPL:RV,"Dark Pastel":{black:"#000000",color1:"#ff5555",green:"#55ff55",yellow:"#ffff55",blue:"#5555ff",magenta:"#ff55ff",cyan:"#55ffff",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#ffffff",selection_background:"#ffffff"},Harper:wV,C64:AV,Calamity:IV,"The Hulk":{black:"#1b1d1e",color1:"#269d1b",green:"#13ce30",yellow:"#63e457",blue:"#2525f5",magenta:"#641f74",cyan:"#378ca9",white:"#d9d8d1",brightblack:"#505354",brightred:"#8dff2a",brightgreen:"#48ff77",brightyellow:"#3afe16",brightblue:"#506b95",brightmagenta:"#72589d",brightcyan:"#4085a6",brightwhite:"#e5e6e1",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#16b61b",foreground:"#b5b5b5",selection_background:"#b5b5b5"},OneHalfDark:kV,Dracula:NV,IC_Orange_PPL:DV,Spring:xV,Lavandula:MV,Laser:LV,Cobalt2:PV,"iTerm2 Solarized Dark":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#002b36",selection_foreground:"#002b36",cursor:"#839496",foreground:"#839496",selection_background:"#839496"},Breeze:BV,DjangoSmooth:YV,DoomOne:FV,"rose-pine":{black:"#26233a",color1:"#eb6f92",green:"#9ccfd8",yellow:"#f6c177",blue:"#31748f",magenta:"#c4a7e7",cyan:"#ebbcba",white:"#e0def4",brightblack:"#6e6a86",brightred:"#eb6f92",brightgreen:"#9ccfd8",brightyellow:"#f6c177",brightblue:"#31748f",brightmagenta:"#c4a7e7",brightcyan:"#ebbcba",brightwhite:"#e0def4",background:"#191724",selection_foreground:"#191724",cursor:"#e0def4",foreground:"#e0def4",selection_background:"#e0def4"},Chalk:UV,Andromeda:$V,neobones_light:GV,WarmNeon:qV,AtomOneLight:QV,PencilLight:HV,Hopscotch:VV,Urple:zV,FrontEndDelight:WV,Ubuntu:XV,"Solarized Darcula":{black:"#25292a",color1:"#f24840",green:"#629655",yellow:"#b68800",blue:"#2075c7",magenta:"#797fd4",cyan:"#15968d",white:"#d2d8d9",brightblack:"#25292a",brightred:"#f24840",brightgreen:"#629655",brightyellow:"#b68800",brightblue:"#2075c7",brightmagenta:"#797fd4",brightcyan:"#15968d",brightwhite:"#d2d8d9",background:"#3d3f41",selection_foreground:"#3d3f41",cursor:"#708284",foreground:"#d2d8d9",selection_background:"#d2d8d9"},"Oceanic-Next":{black:"#121c21",color1:"#e44754",green:"#89bd82",yellow:"#f7bd51",blue:"#5486c0",magenta:"#b77eb8",cyan:"#50a5a4",white:"#ffffff",brightblack:"#52606b",brightred:"#e44754",brightgreen:"#89bd82",brightyellow:"#f7bd51",brightblue:"#5486c0",brightmagenta:"#b77eb8",brightcyan:"#50a5a4",brightwhite:"#ffffff",background:"#121b21",selection_foreground:"#121b21",cursor:"#b3b8c3",foreground:"#b3b8c3",selection_background:"#b3b8c3"},primary:KV,MaterialDark:ZV,Relaxed:jV,Galizur:JV,"Tomorrow Night Blue":{black:"#000000",color1:"#ff9da4",green:"#d1f1a9",yellow:"#ffeead",blue:"#bbdaff",magenta:"#ebbbff",cyan:"#99ffff",white:"#ffffff",brightblack:"#000000",brightred:"#ff9da4",brightgreen:"#d1f1a9",brightyellow:"#ffeead",brightblue:"#bbdaff",brightmagenta:"#ebbbff",brightcyan:"#99ffff",brightwhite:"#ffffff",background:"#002451",selection_foreground:"#002451",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},HaX0R_GR33N:ez,"Dark+":{black:"#000000",color1:"#cd3131",green:"#0dbc79",yellow:"#e5e510",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#11a8cd",white:"#e5e5e5",brightblack:"#666666",brightred:"#f14c4c",brightgreen:"#23d18b",brightyellow:"#f5f543",brightblue:"#3b8eea",brightmagenta:"#d670d6",brightcyan:"#29b8db",brightwhite:"#e5e5e5",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#ffffff",foreground:"#cccccc",selection_background:"#cccccc"},Neopolitan:tz,"Red Alert":{black:"#000000",color1:"#d62e4e",green:"#71be6b",yellow:"#beb86b",blue:"#489bee",magenta:"#e979d7",cyan:"#6bbeb8",white:"#d6d6d6",brightblack:"#262626",brightred:"#e02553",brightgreen:"#aff08c",brightyellow:"#dfddb7",brightblue:"#65aaf1",brightmagenta:"#ddb7df",brightcyan:"#b7dfdd",brightwhite:"#ffffff",background:"#762423",selection_foreground:"#762423",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},"rose-pine-dawn":{black:"#f2e9e1",color1:"#b4637a",green:"#56949f",yellow:"#ea9d34",blue:"#286983",magenta:"#907aa9",cyan:"#d7827e",white:"#575279",brightblack:"#9893a5",brightred:"#b4637a",brightgreen:"#56949f",brightyellow:"#ea9d34",brightblue:"#286983",brightmagenta:"#907aa9",brightcyan:"#d7827e",brightwhite:"#575279",background:"#faf4ed",selection_foreground:"#faf4ed",cursor:"#575279",foreground:"#575279",selection_background:"#575279"},PaleNightHC:nz,Neon:rz,"Rouge 2":{black:"#5d5d6b",color1:"#c6797e",green:"#969e92",yellow:"#dbcdab",blue:"#6e94b9",magenta:"#4c4e78",cyan:"#8ab6c1",white:"#e8e8ea",brightblack:"#616274",brightred:"#c6797e",brightgreen:"#e6dcc4",brightyellow:"#e6dcc4",brightblue:"#98b3cd",brightmagenta:"#8283a1",brightcyan:"#abcbd3",brightwhite:"#e8e8ea",background:"#17182b",selection_foreground:"#17182b",cursor:"#969e92",foreground:"#a2a3aa",selection_background:"#a2a3aa"},LiquidCarbon:az,niji:iz,"Tango Half Adapted":{black:"#000000",color1:"#ff0000",green:"#4cc300",yellow:"#e2c000",blue:"#008ef6",magenta:"#a96cb3",cyan:"#00bdc3",white:"#e0e5db",brightblack:"#797d76",brightred:"#ff0013",brightgreen:"#8af600",brightyellow:"#ffec00",brightblue:"#76bfff",brightmagenta:"#d898d1",brightcyan:"#00f6fa",brightwhite:"#f4f4f2",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Django:oz,zenburned:sz,LiquidCarbonTransparentInverse:lz,"Builtin Tango Light":{black:"#000000",color1:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#8ae234",brightyellow:"#fce94f",brightblue:"#729fcf",brightmagenta:"#ad7fa8",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Rapture:cz,Borland:uz,Guezwhoz:dz,Argonaut:hz,"Monokai Remastered":{black:"#1a1a1a",color1:"#f4005f",green:"#98e024",yellow:"#fd971f",blue:"#9d65ff",magenta:"#f4005f",cyan:"#58d1eb",white:"#c4c5b5",brightblack:"#625e4c",brightred:"#f4005f",brightgreen:"#98e024",brightyellow:"#e0d561",brightblue:"#9d65ff",brightmagenta:"#f4005f",brightcyan:"#58d1eb",brightwhite:"#f6f6ef",background:"#0c0c0c",selection_foreground:"#0c0c0c",cursor:"#fc971f",foreground:"#d9d9d9",selection_background:"#d9d9d9"},BlueBerryPie:fz,"GitHub Dark":{black:"#000000",color1:"#f78166",green:"#56d364",yellow:"#e3b341",blue:"#6ca4f8",magenta:"#db61a2",cyan:"#2b7489",white:"#ffffff",brightblack:"#4d4d4d",brightred:"#f78166",brightgreen:"#56d364",brightyellow:"#e3b341",brightblue:"#6ca4f8",brightmagenta:"#db61a2",brightcyan:"#2b7489",brightwhite:"#ffffff",background:"#101216",selection_foreground:"#101216",cursor:"#c9d1d9",foreground:"#8b949e",selection_background:"#8b949e"},VibrantInk:mz,"catppuccin-macchiato":{black:"#494d64",color1:"#ed8796",green:"#a6da95",yellow:"#eed49f",blue:"#8aadf4",magenta:"#f5bde6",cyan:"#8bd5ca",white:"#b8c0e0",brightblack:"#5b6078",brightred:"#ed8796",brightgreen:"#a6da95",brightyellow:"#eed49f",brightblue:"#8aadf4",brightmagenta:"#f5bde6",brightcyan:"#8bd5ca",brightwhite:"#a5adcb",background:"#24273a",selection_foreground:"#24273a",cursor:"#f4dbd6",foreground:"#cad3f5",selection_background:"#cad3f5"},Ocean:pz,DimmedMonokai:gz,"Piatto Light":{black:"#414141",color1:"#b23771",green:"#66781e",yellow:"#cd6f34",blue:"#3c5ea8",magenta:"#a454b2",cyan:"#66781e",white:"#ffffff",brightblack:"#3f3f3f",brightred:"#db3365",brightgreen:"#829429",brightyellow:"#cd6f34",brightblue:"#3c5ea8",brightmagenta:"#a454b2",brightcyan:"#829429",brightwhite:"#f2f2f2",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#5e77c8",foreground:"#414141",selection_background:"#414141"},"Builtin Dark":{black:"#000000",color1:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Jellybeans:_z,"iceberg-dark":{black:"#1e2132",color1:"#e27878",green:"#b4be82",yellow:"#e2a478",blue:"#84a0c6",magenta:"#a093c7",cyan:"#89b8c2",white:"#c6c8d1",brightblack:"#6b7089",brightred:"#e98989",brightgreen:"#c0ca8e",brightyellow:"#e9b189",brightblue:"#91acd1",brightmagenta:"#ada0d3",brightcyan:"#95c4ce",brightwhite:"#d2d4de",background:"#161821",selection_foreground:"#161821",cursor:"#c6c8d1",foreground:"#c6c8d1",selection_background:"#c6c8d1"},Rippedcasts:bz,Sundried:Sz,Glacier:Oz,neobones_dark:vz,FishTank:Ez,SoftServer:yz,jubi:Tz,"Builtin Solarized Dark":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#002b36",selection_foreground:"#002b36",cursor:"#839496",foreground:"#839496",selection_background:"#839496"},Raycast_Light:Cz,Galaxy:Rz,"rose-pine-moon":{black:"#393552",color1:"#eb6f92",green:"#9ccfd8",yellow:"#f6c177",blue:"#3e8fb0",magenta:"#c4a7e7",cyan:"#ea9a97",white:"#e0def4",brightblack:"#6e6a86",brightred:"#eb6f92",brightgreen:"#9ccfd8",brightyellow:"#f6c177",brightblue:"#3e8fb0",brightmagenta:"#c4a7e7",brightcyan:"#ea9a97",brightwhite:"#e0def4",background:"#232136",selection_foreground:"#232136",cursor:"#e0def4",foreground:"#e0def4",selection_background:"#e0def4"},seoulbones_dark:wz,BlulocoDark:Az,"Overnight Slumber":{black:"#0a1222",color1:"#ffa7c4",green:"#85cc95",yellow:"#ffcb8b",blue:"#8dabe1",magenta:"#c792eb",cyan:"#78ccf0",white:"#ffffff",brightblack:"#575656",brightred:"#ffa7c4",brightgreen:"#85cc95",brightyellow:"#ffcb8b",brightblue:"#8dabe1",brightmagenta:"#c792eb",brightcyan:"#ffa7c4",brightwhite:"#ffffff",background:"#0e1729",selection_foreground:"#0e1729",cursor:"#ffa7c4",foreground:"#ced2d6",selection_background:"#ced2d6"},"Tinacious Design (Dark)":{black:"#1d1d26",color1:"#ff3399",green:"#00d364",yellow:"#ffcc66",blue:"#00cbff",magenta:"#cc66ff",cyan:"#00ceca",white:"#cbcbf0",brightblack:"#636667",brightred:"#ff2f92",brightgreen:"#00d364",brightyellow:"#ffd479",brightblue:"#00cbff",brightmagenta:"#d783ff",brightcyan:"#00d5d4",brightwhite:"#d5d6f3",background:"#1d1d26",selection_foreground:"#1d1d26",cursor:"#cbcbf0",foreground:"#cbcbf0",selection_background:"#cbcbf0"},"tokyonight-day":{black:"#e9e9ed",color1:"#f52a65",green:"#587539",yellow:"#8c6c3e",blue:"#2e7de9",magenta:"#9854f1",cyan:"#007197",white:"#6172b0",brightblack:"#a1a6c5",brightred:"#f52a65",brightgreen:"#587539",brightyellow:"#8c6c3e",brightblue:"#2e7de9",brightmagenta:"#9854f1",brightcyan:"#007197",brightwhite:"#3760bf",background:"#e1e2e7",selection_foreground:"#e1e2e7",cursor:"#3760bf",foreground:"#3760bf",selection_background:"#3760bf"},UnderTheSea:Iz,"Man Page":{black:"#000000",color1:"#cc0000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#cccccc",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#fef49c",selection_foreground:"#fef49c",cursor:"#7f7f7f",foreground:"#000000",selection_background:"#000000"},GruvboxDark:kz,Grass:Nz,coffee_theme:Dz,"catppuccin-mocha":{black:"#45475a",color1:"#f38ba8",green:"#a6e3a1",yellow:"#f9e2af",blue:"#89b4fa",magenta:"#f5c2e7",cyan:"#94e2d5",white:"#bac2de",brightblack:"#585b70",brightred:"#f38ba8",brightgreen:"#a6e3a1",brightyellow:"#f9e2af",brightblue:"#89b4fa",brightmagenta:"#f5c2e7",brightcyan:"#94e2d5",brightwhite:"#a6adc8",background:"#1e1e2e",selection_foreground:"#1e1e2e",cursor:"#f5e0dc",foreground:"#cdd6f4",selection_background:"#cdd6f4"},Hardcore:xz,"Pro Light":{black:"#000000",color1:"#e5492b",green:"#50d148",yellow:"#c6c440",blue:"#3b75ff",magenta:"#ed66e8",cyan:"#4ed2de",white:"#dcdcdc",brightblack:"#9f9f9f",brightred:"#ff6640",brightgreen:"#61ef57",brightyellow:"#f2f156",brightblue:"#0082ff",brightmagenta:"#ff7eff",brightcyan:"#61f7f8",brightwhite:"#f2f2f2",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#4d4d4d",foreground:"#191919",selection_background:"#191919"},BirdsOfParadise:Mz,Pnevma:Lz,ToyChest:Pz,cyberpunk:Bz,"Blue Matrix":{black:"#101116",color1:"#ff5680",green:"#00ff9c",yellow:"#fffc58",blue:"#00b0ff",magenta:"#d57bff",cyan:"#76c1ff",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#d682ec",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#101116",selection_foreground:"#101116",cursor:"#76ff9f",foreground:"#00a2ff",selection_background:"#00a2ff"},"NightLion v2":{black:"#4c4c4c",color1:"#bb0000",green:"#04f623",yellow:"#f3f167",blue:"#64d0f0",magenta:"#ce6fdb",cyan:"#00dadf",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#7df71d",brightyellow:"#ffff55",brightblue:"#62cbe8",brightmagenta:"#ff9bf5",brightcyan:"#00ccd8",brightwhite:"#ffffff",background:"#171717",selection_foreground:"#171717",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},kanagawabones:Yz,"Later This Evening":{black:"#2b2b2b",color1:"#d45a60",green:"#afba67",yellow:"#e5d289",blue:"#a0bad6",magenta:"#c092d6",cyan:"#91bfb7",white:"#3c3d3d",brightblack:"#454747",brightred:"#d3232f",brightgreen:"#aabb39",brightyellow:"#e5be39",brightblue:"#6699d6",brightmagenta:"#ab53d6",brightcyan:"#5fc0ae",brightwhite:"#c1c2c2",background:"#222222",selection_foreground:"#222222",cursor:"#424242",foreground:"#959595",selection_background:"#959595"},GruvboxDarkHard:Fz,Abernathy:Uz,OceanicMaterial:$z,Medallion:Gz,Square:qz,Retro:Qz,Pandora:Hz,"Cobalt Neon":{black:"#142631",color1:"#ff2320",green:"#3ba5ff",yellow:"#e9e75c",blue:"#8ff586",magenta:"#781aa0",cyan:"#8ff586",white:"#ba46b2",brightblack:"#fff688",brightred:"#d4312e",brightgreen:"#8ff586",brightyellow:"#e9f06d",brightblue:"#3c7dd2",brightmagenta:"#8230a7",brightcyan:"#6cbc67",brightwhite:"#8ff586",background:"#142838",selection_foreground:"#142838",cursor:"#c4206f",foreground:"#8ff586",selection_background:"#8ff586"},"nord-light":{black:"#3b4252",color1:"#bf616a",green:"#a3be8c",yellow:"#ebcb8b",blue:"#81a1c1",magenta:"#b48ead",cyan:"#88c0d0",white:"#d8dee9",brightblack:"#4c566a",brightred:"#bf616a",brightgreen:"#a3be8c",brightyellow:"#ebcb8b",brightblue:"#81a1c1",brightmagenta:"#b48ead",brightcyan:"#8fbcbb",brightwhite:"#eceff4",background:"#e5e9f0",selection_foreground:"#e5e9f0",cursor:"#88c0d0",foreground:"#414858",selection_background:"#414858"},Whimsy:Vz,zenbones_dark:zz,Mathias:Wz,zenwritten_dark:Xz,Alabaster:Kz,ayu:Zz,DjangoRebornAgain:jz,Sakura:Jz,MaterialDesignColors:eW,Seti:tW,"Banana Blueberry":{black:"#17141f",color1:"#ff6b7f",green:"#00bd9c",yellow:"#e6c62f",blue:"#22e8df",magenta:"#dc396a",cyan:"#56b6c2",white:"#f1f1f1",brightblack:"#495162",brightred:"#fe9ea1",brightgreen:"#98c379",brightyellow:"#f9e46b",brightblue:"#91fff4",brightmagenta:"#da70d6",brightcyan:"#bcf3ff",brightwhite:"#ffffff",background:"#191323",selection_foreground:"#191323",cursor:"#e07d13",foreground:"#cccccc",selection_background:"#cccccc"},"SpaceGray Eighties":{black:"#15171c",color1:"#ec5f67",green:"#81a764",yellow:"#fec254",blue:"#5486c0",magenta:"#bf83c1",cyan:"#57c2c1",white:"#efece7",brightblack:"#555555",brightred:"#ff6973",brightgreen:"#93d493",brightyellow:"#ffd256",brightblue:"#4d84d1",brightmagenta:"#ff55ff",brightcyan:"#83e9e4",brightwhite:"#ffffff",background:"#222222",selection_foreground:"#222222",cursor:"#bbbbbb",foreground:"#bdbaae",selection_background:"#bdbaae"},Chalkboard:nW,"flexoki-dark":{black:"#1c1b1a",color1:"#d14d41",green:"#879a39",yellow:"#d0a215",blue:"#4385be",magenta:"#ce5d97",cyan:"#3aa99f",white:"#b7b5ac",brightblack:"#575653",brightred:"#d14d41",brightgreen:"#879a39",brightyellow:"#d0a215",brightblue:"#4385be",brightmagenta:"#ce5d97",brightcyan:"#3aa99f",brightwhite:"#cecdc3",background:"#1c1b1a",selection_foreground:"#1c1b1a",cursor:"#cecdc3",foreground:"#cecdc3",selection_background:"#cecdc3"},ChallengerDeep:rW,"iTerm2 Smoooooth":{black:"#14191e",color1:"#b43c2a",green:"#00c200",yellow:"#c7c400",blue:"#2744c7",magenta:"#c040be",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#dd7975",brightgreen:"#58e790",brightyellow:"#ece100",brightblue:"#a7abf2",brightmagenta:"#e17ee1",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#15191f",selection_foreground:"#15191f",cursor:"#ffffff",foreground:"#dcdcdc",selection_background:"#dcdcdc"},OneHalfLight:aW,Earthsong:iW,FirefoxDev:oW,Mirage:sW,Broadcast:lW,"Grey-green":{black:"#000000",color1:"#fe1414",green:"#74ff00",yellow:"#f1ff01",blue:"#00deff",magenta:"#ff00f0",cyan:"#00ffbc",white:"#ffffff",brightblack:"#666666",brightred:"#ff3939",brightgreen:"#00ff44",brightyellow:"#ffd100",brightblue:"#00afff",brightmagenta:"#ff008a",brightcyan:"#00ffd3",brightwhite:"#f5ecec",background:"#002a1a",selection_foreground:"#002a1a",cursor:"#fff400",foreground:"#ffffff",selection_background:"#ffffff"},"Night Owlish Light":{black:"#011627",color1:"#d3423e",green:"#2aa298",yellow:"#daaa01",blue:"#4876d6",magenta:"#403f53",cyan:"#08916a",white:"#7a8181",brightblack:"#7a8181",brightred:"#f76e6e",brightgreen:"#49d0c5",brightyellow:"#dac26b",brightblue:"#5ca7e4",brightmagenta:"#697098",brightcyan:"#00c990",brightwhite:"#989fb1",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#403f53",foreground:"#403f53",selection_background:"#403f53"},"Hipster Green":{black:"#000000",color1:"#b6214a",green:"#00a600",yellow:"#bfbf00",blue:"#246eb2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#86a93e",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#100b05",selection_foreground:"#100b05",cursor:"#23ff18",foreground:"#84c138",selection_background:"#84c138"},Royal:cW,MaterialDarker:uW,"midnight-in-mojave":{black:"#1e1e1e",color1:"#ff453a",green:"#32d74b",yellow:"#ffd60a",blue:"#0a84ff",magenta:"#bf5af2",cyan:"#5ac8fa",white:"#ffffff",brightblack:"#1e1e1e",brightred:"#ff453a",brightgreen:"#32d74b",brightyellow:"#ffd60a",brightblue:"#0a84ff",brightmagenta:"#bf5af2",brightcyan:"#5ac8fa",brightwhite:"#ffffff",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#32d74b",foreground:"#ffffff",selection_background:"#ffffff"},idleToes:dW,"Builtin Pastel Dark":{black:"#4f4f4f",color1:"#ff6c60",green:"#a8ff60",yellow:"#ffffb6",blue:"#96cbfe",magenta:"#ff73fd",cyan:"#c6c5fe",white:"#eeeeee",brightblack:"#7c7c7c",brightred:"#ffb6b0",brightgreen:"#ceffac",brightyellow:"#ffffcc",brightblue:"#b5dcff",brightmagenta:"#ff9cfe",brightcyan:"#dfdffe",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#ffa560",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Homebrew:hW,AtelierSulphurpool:fW,Konsolas:mW,Slate:pW,"Scarlet Protocol":{black:"#101116",color1:"#ff0051",green:"#00dc84",yellow:"#faf945",blue:"#0271b6",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#bd35ec",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#1c153d",selection_foreground:"#1c153d",cursor:"#76ff9f",foreground:"#e41951",selection_background:"#e41951"},"Monokai Soda":{black:"#1a1a1a",color1:"#f4005f",green:"#98e024",yellow:"#fa8419",blue:"#9d65ff",magenta:"#f4005f",cyan:"#58d1eb",white:"#c4c5b5",brightblack:"#625e4c",brightred:"#f4005f",brightgreen:"#98e024",brightyellow:"#e0d561",brightblue:"#9d65ff",brightmagenta:"#f4005f",brightcyan:"#58d1eb",brightwhite:"#f6f6ef",background:"#1a1a1a",selection_foreground:"#1a1a1a",cursor:"#f6f7ec",foreground:"#c4c5b5",selection_background:"#c4c5b5"},duckbones:gW,"Paraiso Dark":{black:"#2f1e2e",color1:"#ef6155",green:"#48b685",yellow:"#fec418",blue:"#06b6ef",magenta:"#815ba4",cyan:"#5bc4bf",white:"#a39e9b",brightblack:"#776e71",brightred:"#ef6155",brightgreen:"#48b685",brightyellow:"#fec418",brightblue:"#06b6ef",brightmagenta:"#815ba4",brightcyan:"#5bc4bf",brightwhite:"#e7e9db",background:"#2f1e2e",selection_foreground:"#2f1e2e",cursor:"#a39e9b",foreground:"#a39e9b",selection_background:"#a39e9b"},Kibble:_W,"Seafoam Pastel":{black:"#757575",color1:"#825d4d",green:"#728c62",yellow:"#ada16d",blue:"#4d7b82",magenta:"#8a7267",cyan:"#729494",white:"#e0e0e0",brightblack:"#8a8a8a",brightred:"#cf937a",brightgreen:"#98d9aa",brightyellow:"#fae79d",brightblue:"#7ac3cf",brightmagenta:"#d6b2a1",brightcyan:"#ade0e0",brightwhite:"#e0e0e0",background:"#243435",selection_foreground:"#243435",cursor:"#57647a",foreground:"#d4e7d4",selection_background:"#d4e7d4"},Cyberdyne:bW,Atom:SW,Hybrid:OW,"Tomorrow Night Eighties":{black:"#000000",color1:"#f2777a",green:"#99cc99",yellow:"#ffcc66",blue:"#6699cc",magenta:"#cc99cc",cyan:"#66cccc",white:"#ffffff",brightblack:"#000000",brightred:"#f2777a",brightgreen:"#99cc99",brightyellow:"#ffcc66",brightblue:"#6699cc",brightmagenta:"#cc99cc",brightcyan:"#66cccc",brightwhite:"#ffffff",background:"#2d2d2d",selection_foreground:"#2d2d2d",cursor:"#cccccc",foreground:"#cccccc",selection_background:"#cccccc"},"Builtin Solarized Light":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#fdf6e3",selection_foreground:"#fdf6e3",cursor:"#657b83",foreground:"#657b83",selection_background:"#657b83"},"Thayer Bright":{black:"#1b1d1e",color1:"#f92672",green:"#4df840",yellow:"#f4fd22",blue:"#2757d6",magenta:"#8c54fe",cyan:"#38c8b5",white:"#ccccc6",brightblack:"#505354",brightred:"#ff5995",brightgreen:"#b6e354",brightyellow:"#feed6c",brightblue:"#3f78ff",brightmagenta:"#9e6ffe",brightcyan:"#23cfd5",brightwhite:"#f8f8f2",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#fc971f",foreground:"#f8f8f8",selection_background:"#f8f8f8"},"JetBrains Darcula":{black:"#000000",color1:"#fa5355",green:"#126e00",yellow:"#c2c300",blue:"#4581eb",magenta:"#fa54ff",cyan:"#33c2c1",white:"#adadad",brightblack:"#555555",brightred:"#fb7172",brightgreen:"#67ff4f",brightyellow:"#ffff00",brightblue:"#6d9df1",brightmagenta:"#fb82ff",brightcyan:"#60d3d1",brightwhite:"#eeeeee",background:"#202020",selection_foreground:"#202020",cursor:"#ffffff",foreground:"#adadad",selection_background:"#adadad"},Spiderman:vW,HaX0R_R3D:EW,Desert:yW,"NightLion v1":{black:"#4c4c4c",color1:"#bb0000",green:"#5fde8f",yellow:"#f3f167",blue:"#276bd8",magenta:"#bb00bb",cyan:"#00dadf",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Smyck:TW,"Popping and Locking":{black:"#1d2021",color1:"#cc241d",green:"#98971a",yellow:"#d79921",blue:"#458588",magenta:"#b16286",cyan:"#689d6a",white:"#a89984",brightblack:"#928374",brightred:"#f42c3e",brightgreen:"#b8bb26",brightyellow:"#fabd2f",brightblue:"#99c6ca",brightmagenta:"#d3869b",brightcyan:"#7ec16e",brightwhite:"#ebdbb2",background:"#181921",selection_foreground:"#181921",cursor:"#c7c7c7",foreground:"#ebdbb2",selection_background:"#ebdbb2",underline_color:"#596181",url_color:"#596181"},Novel:CW,"Purple Rain":{black:"#000000",color1:"#ff260e",green:"#9be205",yellow:"#ffc400",blue:"#00a2fa",magenta:"#815bb5",cyan:"#00deef",white:"#ffffff",brightblack:"#565656",brightred:"#ff4250",brightgreen:"#b8e36e",brightyellow:"#ffd852",brightblue:"#00a6ff",brightmagenta:"#ac7bf0",brightcyan:"#74fdf3",brightwhite:"#ffffff",background:"#21084a",selection_foreground:"#21084a",cursor:"#ff271d",foreground:"#fffbf6",selection_background:"#fffbf6"},Twilight:RW,"catppuccin-latte":{black:"#5c5f77",color1:"#d20f39",green:"#40a02b",yellow:"#df8e1d",blue:"#1e66f5",magenta:"#ea76cb",cyan:"#179299",white:"#acb0be",brightblack:"#6c6f85",brightred:"#d20f39",brightgreen:"#40a02b",brightyellow:"#df8e1d",brightblue:"#1e66f5",brightmagenta:"#ea76cb",brightcyan:"#179299",brightwhite:"#bcc0cc",background:"#eff1f5",selection_foreground:"#eff1f5",cursor:"#dc8a78",foreground:"#4c4f69",selection_background:"#4c4f69"},Peppermint:wW,"tokyonight-storm":{black:"#1d202f",color1:"#f7768e",green:"#9ece6a",yellow:"#e0af68",blue:"#7aa2f7",magenta:"#bb9af7",cyan:"#7dcfff",white:"#a9b1d6",brightblack:"#414868",brightred:"#f7768e",brightgreen:"#9ece6a",brightyellow:"#e0af68",brightblue:"#7aa2f7",brightmagenta:"#bb9af7",brightcyan:"#7dcfff",brightwhite:"#c0caf5",background:"#24283b",selection_foreground:"#24283b",cursor:"#c0caf5",foreground:"#c0caf5",selection_background:"#c0caf5"},Mariana:AW,PaulMillr:IW,"Violet Light":{black:"#56595c",color1:"#c94c22",green:"#85981c",yellow:"#b4881d",blue:"#2e8bce",magenta:"#d13a82",cyan:"#32a198",white:"#d3d0c9",brightblack:"#45484b",brightred:"#bd3613",brightgreen:"#738a04",brightyellow:"#a57705",brightblue:"#2176c7",brightmagenta:"#c61c6f",brightcyan:"#259286",brightwhite:"#c9c6bd",background:"#fcf4dc",selection_foreground:"#fcf4dc",cursor:"#536870",foreground:"#536870",selection_background:"#536870"},Hacktober:kW,Github:NW,Material:DW,"Bright Lights":{black:"#191919",color1:"#ff355b",green:"#b7e876",yellow:"#ffc251",blue:"#76d4ff",magenta:"#ba76e7",cyan:"#6cbfb5",white:"#c2c8d7",brightblack:"#191919",brightred:"#ff355b",brightgreen:"#b7e876",brightyellow:"#ffc251",brightblue:"#76d5ff",brightmagenta:"#ba76e7",brightcyan:"#6cbfb5",brightwhite:"#c2c8d7",background:"#191919",selection_foreground:"#191919",cursor:"#f34b00",foreground:"#b3c9d7",selection_background:"#b3c9d7"},Unikitty:xW,UltraViolent:MW,"Solarized Dark - Patched":{black:"#002831",color1:"#d11c24",green:"#738a05",yellow:"#a57706",blue:"#2176c7",magenta:"#c61c6f",cyan:"#259286",white:"#eae3cb",brightblack:"#475b62",brightred:"#bd3613",brightgreen:"#475b62",brightyellow:"#536870",brightblue:"#708284",brightmagenta:"#5956ba",brightcyan:"#819090",brightwhite:"#fcf4dc",background:"#001e27",selection_foreground:"#001e27",cursor:"#708284",foreground:"#708284",selection_background:"#708284"},wilmersdorf:LW,"Red Sands":{black:"#000000",color1:"#ff3f00",green:"#00bb00",yellow:"#e7b000",blue:"#0072ff",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#bb0000",brightgreen:"#00bb00",brightyellow:"#e7b000",brightblue:"#0072ae",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#7a251e",selection_foreground:"#7a251e",cursor:"#ffffff",foreground:"#d7c9a7",selection_background:"#d7c9a7"},"Lab Fox":{black:"#2e2e2e",color1:"#fc6d26",green:"#3eb383",yellow:"#fca121",blue:"#db3b21",magenta:"#380d75",cyan:"#6e49cb",white:"#ffffff",brightblack:"#464646",brightred:"#ff6517",brightgreen:"#53eaa8",brightyellow:"#fca013",brightblue:"#db501f",brightmagenta:"#441090",brightcyan:"#7d53e7",brightwhite:"#ffffff",background:"#2e2e2e",selection_foreground:"#2e2e2e",cursor:"#7f7f7f",foreground:"#ffffff",selection_background:"#ffffff"},vimbones:PW,"Ayu Mirage":{black:"#191e2a",color1:"#ed8274",green:"#a6cc70",yellow:"#fad07b",blue:"#6dcbfa",magenta:"#cfbafa",cyan:"#90e1c6",white:"#c7c7c7",brightblack:"#686868",brightred:"#f28779",brightgreen:"#bae67e",brightyellow:"#ffd580",brightblue:"#73d0ff",brightmagenta:"#d4bfff",brightcyan:"#95e6cb",brightwhite:"#ffffff",background:"#1f2430",selection_foreground:"#1f2430",cursor:"#ffcc66",foreground:"#cbccc6",selection_background:"#cbccc6"},ayu_light:BW,arcoiris:YW,Flatland:FW,Molokai:UW,N0tch2k:$W,seoulbones_light:GW,"flexoki-light":{black:"#100f0f",color1:"#af3029",green:"#66800b",yellow:"#ad8301",blue:"#205ea6",magenta:"#a02f6f",cyan:"#24837b",white:"#f2f0e5",brightblack:"#575653",brightred:"#d14d41",brightgreen:"#879a39",brightyellow:"#d0a215",brightblue:"#4385be",brightmagenta:"#ce5d97",brightcyan:"#3aa99f",brightwhite:"#fffcf0",background:"#fffcf0",selection_foreground:"#fffcf0",cursor:"#100f0f",foreground:"#100f0f",selection_background:"#100f0f"},Espresso:qW,Darkside:QW,"Tango Adapted":{black:"#000000",color1:"#ff0000",green:"#59d600",yellow:"#f0cb00",blue:"#00a2ff",magenta:"#c17ecc",cyan:"#00d0d6",white:"#e6ebe1",brightblack:"#8f928b",brightred:"#ff0013",brightgreen:"#93ff00",brightyellow:"#fff121",brightblue:"#88c9ff",brightmagenta:"#e9a7e1",brightcyan:"#00feff",brightwhite:"#f6f6f4",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},CLRS:HW,Batman:VW,ForestBlue:zW,SynthwaveAlpha:WW,"Operator Mono Dark":{black:"#5a5a5a",color1:"#ca372d",green:"#4d7b3a",yellow:"#d4d697",blue:"#4387cf",magenta:"#b86cb4",cyan:"#72d5c6",white:"#ced4cd",brightblack:"#9a9b99",brightred:"#c37d62",brightgreen:"#83d0a2",brightyellow:"#fdfdc5",brightblue:"#89d3f6",brightmagenta:"#ff2c7a",brightcyan:"#82eada",brightwhite:"#fdfdf6",background:"#191919",selection_foreground:"#191919",cursor:"#fcdc08",foreground:"#c3cac2",selection_background:"#c3cac2"},"Espresso Libre":{black:"#000000",color1:"#cc0000",green:"#1a921c",yellow:"#f0e53a",blue:"#0066ff",magenta:"#c5656b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#9aff87",brightyellow:"#fffb5c",brightblue:"#43a8ed",brightmagenta:"#ff818a",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#2a211c",selection_foreground:"#2a211c",cursor:"#ffffff",foreground:"#b8a898",selection_background:"#b8a898"},"Belafonte Day":{black:"#20111b",color1:"#be100e",green:"#858162",yellow:"#eaa549",blue:"#426a79",magenta:"#97522c",cyan:"#989a9c",white:"#968c83",brightblack:"#5e5252",brightred:"#be100e",brightgreen:"#858162",brightyellow:"#eaa549",brightblue:"#426a79",brightmagenta:"#97522c",brightcyan:"#989a9c",brightwhite:"#d5ccba",background:"#d5ccba",selection_foreground:"#d5ccba",cursor:"#45373c",foreground:"#45373c",selection_background:"#45373c"},"Terminal Basic":{black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#7f7f7f",foreground:"#000000",selection_background:"#000000"},Chester:XW,Ollie:KW,"Apple Classic":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#2c2b2b",selection_foreground:"#2c2b2b",cursor:"#c7c7c7",foreground:"#d5a200",selection_background:"#d5a200"},LiquidCarbonTransparent:ZW,Shaman:jW,"Violet Dark":{black:"#56595c",color1:"#c94c22",green:"#85981c",yellow:"#b4881d",blue:"#2e8bce",magenta:"#d13a82",cyan:"#32a198",white:"#c9c6bd",brightblack:"#45484b",brightred:"#bd3613",brightgreen:"#738a04",brightyellow:"#a57705",brightblue:"#2176c7",brightmagenta:"#c61c6f",brightcyan:"#259286",brightwhite:"#c9c6bd",background:"#1c1d1f",selection_foreground:"#1c1d1f",cursor:"#708284",foreground:"#708284",selection_background:"#708284"},Kolorit:JW,FunForrest:eX,Snazzy:tX,Afterglow:nX,Wryan:rX,Tomorrow:aX,"Tinacious Design (Light)":{black:"#1d1d26",color1:"#ff3399",green:"#00d364",yellow:"#ffcc66",blue:"#00cbff",magenta:"#cc66ff",cyan:"#00ceca",white:"#cbcbf0",brightblack:"#636667",brightred:"#ff2f92",brightgreen:"#00d364",brightyellow:"#ffd479",brightblue:"#00cbff",brightmagenta:"#d783ff",brightcyan:"#00d5d4",brightwhite:"#d5d6f3",background:"#f8f8ff",selection_foreground:"#f8f8ff",cursor:"#cbcbf0",foreground:"#1d1d26",selection_background:"#1d1d26"},"Aardvark Blue":{black:"#191919",color1:"#aa342e",green:"#4b8c0f",yellow:"#dbba00",blue:"#1370d3",magenta:"#c43ac3",cyan:"#008eb0",white:"#bebebe",brightblack:"#454545",brightred:"#f05b50",brightgreen:"#95dc55",brightyellow:"#ffe763",brightblue:"#60a4ec",brightmagenta:"#e26be2",brightcyan:"#60b6cb",brightwhite:"#f7f7f7",background:"#102040",selection_foreground:"#102040",cursor:"#007acc",foreground:"#dddddd",selection_background:"#dddddd",underline_color:"#38a276",url_color:"#38a276"},"iceberg-light":{black:"#dcdfe7",color1:"#cc517a",green:"#668e3d",yellow:"#c57339",blue:"#2d539e",magenta:"#7759b4",cyan:"#3f83a6",white:"#33374c",brightblack:"#8389a3",brightred:"#cc3768",brightgreen:"#598030",brightyellow:"#b6662d",brightblue:"#22478e",brightmagenta:"#6845ad",brightcyan:"#327698",brightwhite:"#262a3f",background:"#e8e9ec",selection_foreground:"#e8e9ec",cursor:"#33374c",foreground:"#33374c",selection_background:"#33374c"},SleepyHollow:iX,"synthwave-everything":{black:"#fefefe",color1:"#f97e72",green:"#72f1b8",yellow:"#fede5d",blue:"#6d77b3",magenta:"#c792ea",cyan:"#f772e0",white:"#fefefe",brightblack:"#fefefe",brightred:"#f88414",brightgreen:"#72f1b8",brightyellow:"#fff951",brightblue:"#36f9f6",brightmagenta:"#e1acff",brightcyan:"#f92aad",brightwhite:"#fefefe",background:"#2a2139",selection_foreground:"#2a2139",cursor:"#72f1b8",foreground:"#f0eff1",selection_background:"#f0eff1"},Hurtado:oX,DotGov:sX,Adventure:lX,Fairyfloss:cX,tokyonight:uX,"iTerm2 Light Background":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},"iTerm2 Tango Light":{black:"#000000",color1:"#d81e00",green:"#5ea702",yellow:"#cfae00",blue:"#427ab3",magenta:"#89658e",cyan:"#00a7aa",white:"#dbded8",brightblack:"#686a66",brightred:"#f54235",brightgreen:"#99e343",brightyellow:"#fdeb61",brightblue:"#84b0d8",brightmagenta:"#bc94b7",brightcyan:"#37e6e8",brightwhite:"#f1f1f0",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Japanesque:dX,Brogrammer:hX,"Nocturnal Winter":{black:"#4d4d4d",color1:"#f12d52",green:"#09cd7e",yellow:"#f5f17a",blue:"#3182e0",magenta:"#ff2b6d",cyan:"#09c87a",white:"#fcfcfc",brightblack:"#808080",brightred:"#f16d86",brightgreen:"#0ae78d",brightyellow:"#fffc67",brightblue:"#6096ff",brightmagenta:"#ff78a2",brightcyan:"#0ae78d",brightwhite:"#ffffff",background:"#0d0d17",selection_foreground:"#0d0d17",cursor:"#e6e5e5",foreground:"#e6e5e5",selection_background:"#e6e5e5"},ENCOM:fX,Hivacruz:mX,HaX0R_BLUE:pX,darkmatrix:gX,Fahrenheit:_X,Arthur:bX,"Jackie Brown":{black:"#2c1d16",color1:"#ef5734",green:"#2baf2b",yellow:"#bebf00",blue:"#246eb2",magenta:"#d05ec1",cyan:"#00acee",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#86a93e",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#2c1d16",selection_foreground:"#2c1d16",cursor:"#23ff18",foreground:"#ffcc2f",selection_background:"#ffcc2f"},"iTerm2 Pastel Dark Background":{black:"#626262",color1:"#ff8373",green:"#b4fb73",yellow:"#fffdc3",blue:"#a5d5fe",magenta:"#ff90fe",cyan:"#d1d1fe",white:"#f1f1f1",brightblack:"#8f8f8f",brightred:"#ffc4be",brightgreen:"#d6fcba",brightyellow:"#fffed5",brightblue:"#c2e3ff",brightmagenta:"#ffb2fe",brightcyan:"#e6e6fe",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#ffb473",foreground:"#c7c7c7",selection_background:"#c7c7c7"},AdventureTime:SX,MonaLisa:OX,deep:vX,"Apple System Colors":{black:"#1a1a1a",color1:"#cc372e",green:"#26a439",yellow:"#cdac08",blue:"#0869cb",magenta:"#9647bf",cyan:"#479ec2",white:"#98989d",brightblack:"#464646",brightred:"#ff453a",brightgreen:"#32d74b",brightyellow:"#ffd60a",brightblue:"#0a84ff",brightmagenta:"#bf5af2",brightcyan:"#76d6ff",brightwhite:"#ffffff",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#98989d",foreground:"#ffffff",selection_background:"#ffffff"},Wombat:EX,"Monokai Vivid":{black:"#121212",color1:"#fa2934",green:"#98e123",yellow:"#fff30a",blue:"#0443ff",magenta:"#f800f8",cyan:"#01b6ed",white:"#ffffff",brightblack:"#838383",brightred:"#f6669d",brightgreen:"#b1e05f",brightyellow:"#fff26d",brightblue:"#0443ff",brightmagenta:"#f200f6",brightcyan:"#51ceff",brightwhite:"#ffffff",background:"#121212",selection_foreground:"#121212",cursor:"#fb0007",foreground:"#f9f9f9",selection_background:"#f9f9f9"},SpaceGray:yX,zenbones_light:TX,Everblush:CX,Zenburn:RX,"3024 Night":{black:"#090300",color1:"#db2d20",green:"#01a252",yellow:"#fded02",blue:"#01a0e4",magenta:"#a16a94",cyan:"#b5e4f4",white:"#a5a2a2",brightblack:"#5c5855",brightred:"#e8bbd0",brightgreen:"#3a3432",brightyellow:"#4a4543",brightblue:"#807d7c",brightmagenta:"#d6d5d4",brightcyan:"#cdab53",brightwhite:"#f7f7f7",background:"#090300",selection_foreground:"#090300",cursor:"#a5a2a2",foreground:"#a5a2a2",selection_background:"#a5a2a2"},lovelace:wX,Teerb:AX,IR_Black:IX,"Tomorrow Night":{black:"#000000",color1:"#cc6666",green:"#b5bd68",yellow:"#f0c674",blue:"#81a2be",magenta:"#b294bb",cyan:"#8abeb7",white:"#ffffff",brightblack:"#000000",brightred:"#cc6666",brightgreen:"#b5bd68",brightyellow:"#f0c674",brightblue:"#81a2be",brightmagenta:"#b294bb",brightcyan:"#8abeb7",brightwhite:"#ffffff",background:"#1d1f21",selection_foreground:"#1d1f21",cursor:"#c5c8c6",foreground:"#c5c8c6",selection_background:"#c5c8c6"},darkermatrix:kX,Wez:NX,matrix:DX,Sublette:xX,Framer:MX,Ryuuko:LX,Flat:PX,"Builtin Tango Dark":{black:"#000000",color1:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#8ae234",brightyellow:"#fce94f",brightblue:"#729fcf",brightmagenta:"#ad7fa8",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},"SpaceGray Eighties Dull":{black:"#15171c",color1:"#b24a56",green:"#92b477",yellow:"#c6735a",blue:"#7c8fa5",magenta:"#a5789e",cyan:"#80cdcb",white:"#b3b8c3",brightblack:"#555555",brightred:"#ec5f67",brightgreen:"#89e986",brightyellow:"#fec254",brightblue:"#5486c0",brightmagenta:"#bf83c1",brightcyan:"#58c2c1",brightwhite:"#ffffff",background:"#222222",selection_foreground:"#222222",cursor:"#bbbbbb",foreground:"#c9c6bc",selection_background:"#c9c6bc"},"iTerm2 Dark Background":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#c7c7c7",foreground:"#c7c7c7",selection_background:"#c7c7c7"},Elementary:BX,CrayonPonyFish:YX,"iTerm2 Default":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#2225c4",magenta:"#ca30c7",cyan:"#00c5c7",white:"#ffffff",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#e5e5e5",foreground:"#ffffff",selection_background:"#ffffff"},BlulocoLight:FX,Blazer:UX,zenwritten_light:$X,"shades-of-purple":{black:"#000000",color1:"#d90429",green:"#3ad900",yellow:"#ffe700",blue:"#6943ff",magenta:"#ff2c70",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#f92a1c",brightgreen:"#43d426",brightyellow:"#f1d000",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#79e8fb",brightwhite:"#ffffff",background:"#1e1d40",selection_foreground:"#1e1d40",cursor:"#fad000",foreground:"#ffffff",selection_background:"#ffffff"},"Builtin Light":{black:"#000000",color1:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Highway:GX,Grape:qX,"iTerm2 Solarized Light":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#fdf6e3",selection_foreground:"#fdf6e3",cursor:"#657b83",foreground:"#657b83",selection_background:"#657b83"},Neutron:QX,Aurora:HX,Symfonic:VX,"iTerm2 Tango Dark":{black:"#000000",color1:"#d81e00",green:"#5ea702",yellow:"#cfae00",blue:"#427ab3",magenta:"#89658e",cyan:"#00a7aa",white:"#dbded8",brightblack:"#686a66",brightred:"#f54235",brightgreen:"#99e343",brightyellow:"#fdeb61",brightblue:"#84b0d8",brightmagenta:"#bc94b7",brightcyan:"#37e6e8",brightwhite:"#f1f1f0",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},AlienBlood:zX,Pro:WX,"Tomorrow Night Bright":{black:"#000000",color1:"#d54e53",green:"#b9ca4a",yellow:"#e7c547",blue:"#7aa6da",magenta:"#c397d8",cyan:"#70c0b1",white:"#ffffff",brightblack:"#000000",brightred:"#d54e53",brightgreen:"#b9ca4a",brightyellow:"#e7c547",brightblue:"#7aa6da",brightmagenta:"#c397d8",brightcyan:"#70c0b1",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#eaeaea",foreground:"#eaeaea",selection_background:"#eaeaea"},"Red Planet":{black:"#202020",color1:"#8c3432",green:"#728271",yellow:"#e8bf6a",blue:"#69819e",magenta:"#896492",cyan:"#5b8390",white:"#b9aa99",brightblack:"#676767",brightred:"#b55242",brightgreen:"#869985",brightyellow:"#ebeb91",brightblue:"#60827e",brightmagenta:"#de4974",brightcyan:"#38add8",brightwhite:"#d6bfb8",background:"#222222",selection_foreground:"#222222",cursor:"#c2b790",foreground:"#c2b790",selection_background:"#c2b790"},SeaShells:XX,purplepeter:KX,zenbones:ZX,Misterioso:jX,WildCherry:JX,Firewatch:eK,Spacedust:tK};class nK{constructor(e,t){T(this,"api");T(this,"settings");T(this,"midiAccess",null);T(this,"midiOutputs",[]);T(this,"currentOutputIndex",0);T(this,"scheduledNotes",{});T(this,"midiInputs",[]);T(this,"currentInputIndex");T(this,"bufferLength",512);T(this,"noteInputBuffer",[]);T(this,"ccInputBuffer",[]);T(this,"activeNotes",[]);T(this,"stickyNotes",[]);T(this,"lastNote");T(this,"lastCC",{});T(this,"lastNoteInChannel",{});T(this,"lastCCInChannel",{});T(this,"midiClockInputIndex");T(this,"midiClockInput");T(this,"lastTimestamp",0);T(this,"midiClockDelta",0);T(this,"lastBPM");T(this,"roundedBPM",0);T(this,"clockBuffer",[]);T(this,"clockBufferLength",24);T(this,"clockTicks",0);T(this,"clockErrorCount",0);T(this,"skipOnError",0);this.api=e,this.settings=t,this.lastBPM=e.tempo(),this.roundedBPM=this.lastBPM,this.initializeMidiAccess()}async initializeMidiAccess(){try{this.midiAccess=await navigator.requestMIDIAccess(),this.midiOutputs=Array.from(this.midiAccess.outputs.values()),this.midiOutputs.length===0&&(console.warn("No MIDI outputs available."),this.currentOutputIndex=-1),this.midiInputs=Array.from(this.midiAccess.inputs.values()),this.midiInputs.length===0?console.warn("No MIDI inputs available."):this.updateInputSelects()}catch(e){console.error("Failed to initialize MIDI:",e)}}getCurrentMidiPort(){return this.midiOutputs.length>0&&this.currentOutputIndex>=0&&this.currentOutputIndex0&&this.currentOutputIndex>=0&&this.currentOutputIndex0){const e=document.getElementById("midi-clock-input"),t=document.getElementById("default-midi-input");e.innerHTML="",t.innerHTML="";const n=document.createElement("option");n.value="-1",n.text="Internal",e.appendChild(n);const a=document.createElement("option");if(a.value="-1",a.text="None",t.appendChild(a),this.midiInputs.forEach((i,o)=>{const s=document.createElement("option");s.value=o.toString(),s.text=i.name||o.toString(),e.appendChild(s),t.appendChild(s.cloneNode(!0))}),this.settings.midi_clock_input){const i=this.getMidiInputIndex(this.settings.midi_clock_input);e.value=i.toString(),i>0&&(this.midiClockInput=this.midiInputs[i],this.registerMidiInputListener(i))}else e.value="-1";if(this.settings.default_midi_input){const i=this.getMidiInputIndex(this.settings.default_midi_input);t.value=i.toString(),i>0&&(this.currentInputIndex=i,this.registerMidiInputListener(i))}else t.value="-1";e.addEventListener("change",i=>{const o=i.target.value;if(o==="-1")this.midiClockInput&&this.midiClockInputIndex!=this.currentInputIndex&&(this.midiClockInput.onmidimessage=null),this.midiClockInput=void 0,this.settings.midi_clock_input=void 0;else{const s=parseInt(o);this.midiClockInputIndex=s,this.midiClockInput&&this.midiClockInputIndex!=this.currentInputIndex&&(this.midiClockInput.onmidimessage=null),this.midiClockInput=this.midiInputs[s],this.registerMidiInputListener(s),this.settings.midi_clock_input=this.midiClockInput.name||void 0}}),t.addEventListener("change",i=>{const o=i.target.value;o==="-1"?(this.currentInputIndex&&this.currentInputIndex!=this.midiClockInputIndex&&this.unregisterMidiInputListener(this.currentInputIndex),this.currentInputIndex=void 0,this.settings.default_midi_input=void 0):(this.currentInputIndex&&this.currentInputIndex!=this.midiClockInputIndex&&this.unregisterMidiInputListener(this.currentInputIndex),this.currentInputIndex=parseInt(o),this.registerMidiInputListener(this.currentInputIndex),this.settings.default_midi_input=this.midiInputs[this.currentInputIndex].name||void 0)})}}registerMidiInputListener(e){if(e!==void 0){const t=this.midiInputs[e];t&&!t.onmidimessage&&(t.onmidimessage=n=>{const a=n;if(t.name===this.settings.midi_clock_input&&(a.data[0]===248?this.skipOnError>0?this.skipOnError-=1:this.onMidiClock(n.timeStamp):a.data[0]===250?(console.log("MIDI start received"),this.api.stop(),this.api.play()):a.data[0]===252?(console.log("MIDI stop received"),this.api.pause()):a.data[0]===251?(console.log("MIDI continue received"),this.api.play()):a.data[0]===254&&console.log("MIDI active sensing received")),t.name===this.settings.default_midi_input){if(a.data[0]>=144&&a.data[0]<=159){const i=a.data[0]-144+1,o=a.data[1],s=a.data[2];this.lastNote={note:o,velocity:s,channel:i,timestamp:n.timeStamp},this.lastNoteInChannel[i]={note:o,velocity:s,channel:i,timestamp:n.timeStamp},this.settings.midi_channels_scripts&&this.api.script(i),this.pushToMidiInputBuffer({note:o,velocity:s,channel:i,timestamp:n.timeStamp}),this.activeNotes.push({note:o,velocity:s,channel:i,timestamp:n.timeStamp}),this.removeFromStickyNotes(o,i)||this.stickyNotes.push({note:o,velocity:s,channel:i,timestamp:n.timeStamp})}if(a.data[0]>=128&&a.data[0]<=143){const i=a.data[0]-128+1,o=a.data[1];this.removeFromActiveNotes(o,i)}if(a.data[0]>=176&&a.data[0]<=191){const i=a.data[0]-176+1,o=a.data[1],s=a.data[2];this.lastCC[o]=s,this.lastCCInChannel[i]?this.lastCCInChannel[i][o]=s:(this.lastCCInChannel[i]={},this.lastCCInChannel[i][o]=s),this.pushToMidiCCBuffer({control:o,value:s,channel:i,timestamp:n.timeStamp})}}})}}removeFromActiveNotes(e,t){const n=this.activeNotes.findIndex(a=>a.note===e&&a.channel===t);n>=0&&this.activeNotes.splice(n,1)}removeFromStickyNotes(e,t){const n=this.stickyNotes.findIndex(a=>a.note===e&&a.channel===t);return n>=0?(this.stickyNotes.splice(n,1),!0):!1}stickyNotesFromChannel(e){return this.stickyNotes.filter(t=>t.channel===e)}activeNotesFromChannel(e){return this.activeNotes.filter(t=>t.channel===e)}killActiveNotes(){this.activeNotes=[]}killActiveNotesFromChannel(e){this.activeNotes=this.activeNotes.filter(t=>t.channel!==e)}pushToMidiInputBuffer(e){this.noteInputBuffer.push(e),this.noteInputBuffer.length>this.bufferLength&&this.noteInputBuffer.shift()}pushToMidiCCBuffer(e){this.ccInputBuffer.push(e),this.ccInputBuffer.length>this.bufferLength&&this.ccInputBuffer.shift()}findNoteFromBufferInChannel(e){const t=this.noteInputBuffer.findIndex(n=>n.channel===e);if(t>=0){const n=this.noteInputBuffer[t];return this.noteInputBuffer.splice(t,1),n}else return}findCCFromBufferInChannel(e){const t=this.ccInputBuffer.findIndex(n=>n.channel===e);if(t>=0){const n=this.ccInputBuffer[t];return this.ccInputBuffer.splice(t,1),n}else return}unregisterMidiInputListener(e){if(e!==void 0){const t=this.midiInputs[e];t&&(t.onmidimessage=null)}}onMidiClock(e){if(this.clockTicks+=1,this.lastTimestamp>0)if(this.lastTimestamp===e)this.clockErrorCount+=1;else if(this.clockErrorCount>0)console.log("Timestamp error count: ",this.clockErrorCount),console.log("Current timestamp: ",e),console.log("Last timestamp: ",this.lastTimestamp),console.log("Last delta: ",this.midiClockDelta),console.log("Current delta: ",e-this.lastTimestamp),console.log("BPMs",this.clockBuffer),this.clockErrorCount=0,this.skipOnError=this.settings.midi_clock_ppqn/4,e=0;else{this.midiClockDelta=e-this.lastTimestamp,this.lastBPM=60*(1e3/this.midiClockDelta/this.settings.midi_clock_ppqn),this.clockBuffer.push(this.lastBPM),this.clockBuffer.length>this.clockBufferLength&&this.clockBuffer.shift();const t=this.estimatedBPM();t!==this.roundedBPM&&(console.log("Estimated BPM: ",t),this.api.tempo(t),this.roundedBPM=t)}this.lastTimestamp=e}estimatedBPM(){const e=this.clockBuffer.reduce((t,n)=>t+n);return Math.round(e/this.clockBuffer.length)}sendMidiClock(){if(!this.midiClockInput){const e=this.midiOutputs[this.currentOutputIndex];e&&e.send([248])}}switchMidiOutput(e){const t=this.getMidiOutputIndex(e);return t!==-1?(this.currentOutputIndex=t,!0):!1}getMidiOutputIndex(e){if(typeof e=="number")return e<0||e>=this.midiOutputs.length?(console.error(`Invalid MIDI output index. Index must be in the range 0-${this.midiOutputs.length-1}.`),this.currentOutputIndex):e;{const t=this.midiOutputs.findIndex(n=>n.name===e);return t!==-1?t:(console.error(`MIDI output "${e}" not found.`),this.currentOutputIndex)}}getMidiInputIndex(e){if(typeof e=="number")return e<0||e>=this.midiInputs.length?(console.error(`Invalid MIDI input index. Index must be in the range 0-${this.midiInputs.length-1}.`),-1):e;{const t=this.midiInputs.findIndex(n=>n.name===e);return t!==-1?t:(console.error(`MIDI input "${e}" not found.`),-1)}}listMidiOutputs(){let e="Available MIDI Outputs: ";return this.midiOutputs.forEach((t,n)=>{e+=`(${n+1}) ${t.name} `}),e}sendMidiNote(e,t,n,a,i=this.currentOutputIndex,o=void 0){typeof i=="string"&&(i=this.getMidiOutputIndex(i));const s=this.midiOutputs[i];if(e=Math.min(Math.max(e,0),127),s){const l=[144+t,e,n],c=[128+t,e,0];s.send(l),o&&this.sendPitchBend(o,t,i);const u=setTimeout(()=>{s.send(c),o&&this.sendPitchBend(8192,t,i),delete this.scheduledNotes[e]},(a-.02)*1e3);this.scheduledNotes[e]=u}else console.error("MIDI output not available.")}sendMidiOn(e,t,n,a=this.currentOutputIndex){typeof a=="string"&&(a=this.getMidiOutputIndex(a));const i=this.midiOutputs[a];if(e=Math.min(Math.max(e,0),127),i){const o=[144+t,e,n];i.send(o)}else console.error("MIDI output not available.")}sendMidiOff(e,t,n=this.currentOutputIndex){typeof n=="string"&&(n=this.getMidiOutputIndex(n));const a=this.midiOutputs[n];if(e=Math.min(Math.max(e,0),127),a){const i=[128+t,e,0];a.send(i)}else console.error("MIDI output not available.")}sendAllNotesOff(e,t=this.currentOutputIndex){typeof t=="string"&&(t=this.getMidiOutputIndex(t));const n=this.midiOutputs[t];if(n){const a=[176+e,123,0];n.send(a)}else console.error("MIDI output not available.")}sendAllSoundOff(e,t=this.currentOutputIndex){typeof t=="string"&&(t=this.getMidiOutputIndex(t));const n=this.midiOutputs[t];if(n){const a=[176+e,120,0];n.send(a)}else console.error("MIDI output not available.")}sendSysExMessage(e){const t=this.midiOutputs[this.currentOutputIndex];t?t.send(e):console.error("MIDI output not available.")}sendPitchBend(e,t,n=this.currentOutputIndex){(e<0||e>16383)&&console.error("Invalid pitch bend value. Value must be in the range 0-16383."),(t<0||t>15)&&console.error("Invalid MIDI channel. Channel must be in the range 0-15."),typeof n=="string"&&(n=this.getMidiOutputIndex(n));const a=this.midiOutputs[n];if(a){const i=e&127,o=e>>7&127;a.send([224|t,i,o])}else console.error("MIDI output not available.")}sendProgramChange(e,t){const n=this.midiOutputs[this.currentOutputIndex];n?n.send([192+t,e]):console.error("MIDI output not available.")}sendMidiControlChange(e,t,n){const a=this.midiOutputs[this.currentOutputIndex];a?a.send([176+n,e,t]):console.error("MIDI output not available.")}panic(){const e=this.midiOutputs[this.currentOutputIndex];if(e){for(const t in this.scheduledNotes){const n=this.scheduledNotes[t];clearTimeout(n),e.send([128,parseInt(t),0])}this.scheduledNotes={}}else console.error("MIDI output not available.")}}class rK{constructor(e,t,n){T(this,"min");T(this,"max");T(this,"wrap");T(this,"position");this.min=e,this.max=t,this.wrap=n,this.position=0}step(){const e=Math.floor(Math.random()*3)-1;this.position+=e,this.wrap?this.position>this.max?this.position=this.min:this.positionthis.max&&(this.position=this.max)}getPosition(){return this.position}toggleWrap(e){this.wrap=e}}const ll=class ll{constructor(){T(this,"_fallbackMethod",()=>ll.createSkipProxy());T(this,"out",()=>{})}};T(ll,"createSkipProxy",()=>{const e=new ll;return new Proxy(e,{get(t,n,a){return typeof t[n]>"u"?t._fallbackMethod:t[n]},set(t,n,a,i){return!1}})});let as=ll;class xl{constructor(e){T(this,"seedValue");T(this,"randomGen",Math.random);T(this,"app");T(this,"values",{});T(this,"evenbar",e=>this.app.clock.time_position.bar%2===0?this.modify(e):this);T(this,"even",e=>this.app.clock.time_position.beat%2===0?this.modify(e):this);T(this,"odd",e=>this.app.clock.time_position.beat%2!==0?this.modify(e):this);T(this,"odds",(e,t)=>this.randomGen()this);T(this,"almostNever",e=>this.odds(.025,e));T(this,"rarely",e=>this.odds(.1,e));T(this,"scarcely",e=>this.odds(.25,e));T(this,"sometimes",e=>this.odds(.5,e));T(this,"often",e=>this.odds(.75,e));T(this,"frequently",e=>this.odds(.9,e));T(this,"almostAlways",e=>this.odds(.985,e));T(this,"always",e=>this.modify(e));T(this,"modify",e=>e(this));T(this,"seed",e=>(this.seedValue=e.toString(),this.randomGen=this.app.api.localSeededRandom(this.seedValue),this));T(this,"clear",()=>(this.app.api.clearLocalSeed(this.seedValue),this));T(this,"apply",e=>this.modify(e).update());T(this,"mod",e=>(this.values.originalPitch=ro(this.values.originalPitch,e),this.update()));T(this,"noteLength",(e,...t)=>(t.length>0&&(e=Array.isArray(e)?e.concat(t):[e,...t]),Array.isArray(e)?this.values.dur=e.map(n=>this.app.clock.convertPulseToSecond(n*4*this.app.clock.ppqn)):this.values.dur=this.app.clock.convertPulseToSecond(e*4*this.app.clock.ppqn),this.current&&(e=Array.isArray(e)?e[this.index%e.length]:e,this.current.duration=e),this));T(this,"processSound",e=>{if(Array.isArray(e)&&typeof e[0]=="string"){const t=[],n=[];return e.forEach(a=>{const i=a.split(":");t.push(i[0]),i[1]&&n.push(parseInt(i[1]))}),{s:t,n:n.length>0?n:void 0,dur:this.app.clock.convertPulseToSecond(this.app.clock.ppqn)}}else{if(typeof e=="object")return{dur:this.app.clock.convertPulseToSecond(this.app.clock.ppqn),...e};if(e.includes(":")){const t=e.split(":"),n=t[0],a=parseInt(t[1]);return{s:n,n:a,dur:this.app.clock.convertPulseToSecond(this.app.clock.ppqn)}}else return{s:e,dur:.5}}});this.app=e,this.app.api.currentSeed&&(this.randomGen=this.app.api.randomGen)}}class ww extends xl{constructor(t){super(t);T(this,"pitch",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.pitch=t,this.values.originalPitch=t,this.defaultPitchKeyScale(),this.update()));T(this,"pc",this.pitch);T(this,"octave",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.paramOctave=t,this.values.key&&(this.values.pitch||this.values.pitch===0)&&this.values.parsedScale?this.update():this));T(this,"key",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.key=t,(this.values.pitch||this.values.pitch===0)&&this.values.parsedScale?this.update():this));T(this,"scale",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),typeof t=="string"||typeof t=="number"?this.values.parsedScale=Yn(t):Array.isArray(t)&&(this.values.parsedScale=t.map(a=>Yn(a))),this.defaultPitchKeyScale(),this.update()));T(this,"steps",this.semitones);T(this,"note",(t,...n)=>{if(typeof t=="string"){const a=aa(t);return this.updateValue("note",[a,...n].flat(1/0))}else return typeof t==null||t==null?new as:this.updateValue("note",[t,...n].flat(1/0))});T(this,"chord",(t,...n)=>{if(typeof t=="string"){const a=oH(t);return this.updateValue("note",a)}else{const a=[t,...n].flat(1/0);return this.updateValue("note",a)}});T(this,"invert",(t=0)=>{if(t===0)return this;if(this.values.note){let n=[...this.values.note];n=t<0?[...n].reverse():n;for(let a=0;a(typeof t=="string"?n&&n.length>0?this.app.api.log([t,...n].map(a=>this.values[a])):this.app.api.log(this.values[t]):this.app.api.log([...t,...n].map(a=>this.values[a])),this));T(this,"draw",t=>(t(this.values,this.app.interface.drawings.getContext("2d")),this));T(this,"clear",()=>(this.app.api.clear(),this));T(this,"freq",(t,...n)=>{if(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.freq=t,Array.isArray(t)){this.values.note=[],this.values.bend=[];for(const a of t){const i=vE(a);i%1!==0?(this.values.note.push(Math.floor(i)),this.values.bend.push(Zg(i)[1])):this.values.note.push(i)}this.values.bend.length===0&&delete this.values.bend}else{const a=vE(t);a%1!==0?(this.values.note=Math.floor(a),this.values.bend=Zg(a)[1]):this.values.note=a}return this});T(this,"update",()=>this);T(this,"cue",t=>(this.app.api.cue(t),this));T(this,"runChain",()=>("chainAll"in this&&typeof this.chainAll=="function"&&(this.values=this.chainAll().values),this))}defaultPitchKeyScale(){this.values.key||(this.values.key=60),this.values.pitch||this.values.pitch===0||(this.values.pitch=0),this.values.parsedScale||(this.values.parsedScale=Yn("major"))}semitones(t,...n){const a=typeof t=="number"?[t,...n]:t;return this.values.parsedScale=Yn(a),this.defaultPitchKeyScale(),this.update()}cents(t,...n){const a=typeof t=="number"?[t,...n]:t;return this.values.parsedScale=Yn(rs(a)),this.defaultPitchKeyScale(),this.update()}ratios(t,...n){const a=typeof t=="number"?[t,...n]:t;return this.values.parsedScale=Yn(vw(a)),this.defaultPitchKeyScale(),this.update()}edo(t,n=new Array(t).fill(1)){return this.values.parsedScale=nH(t,n),this.defaultPitchKeyScale(),this.update()}updateValue(t,n){return n==null?this:(this.values[t]=n,this)}}function sl(r,e){const t={...r};e.forEach(i=>{Array.isArray(t[i])&&!Array.isArray(t[i][0])&&(t[i]=[t[i]])});const n=Object.entries(t).reduce((i,[o,s])=>{const l=Array.isArray(s)?s.length:1;return i.maxLength=Math.max(i.maxLength,l),i.keys.push(o),i},{keys:[],maxLength:0}),a=[];for(let i=0;i{const a={...n,...e};return Object.keys(a).forEach(i=>{t[i]||(t[i]=[]),t[i].push(a[i])}),t},{})}function Fi(r){return Array.isArray(r)&&r.length===1?r[0]:r}function Aw(r,e){return Object.fromEntries(Object.entries(r).filter(([t])=>e.includes(t)))}const oi=r=>typeof r=="bigint"?Number(r):r,Iw=r=>Object.prototype.toString.call(r)==="[object Generator]",aK=r=>Object.prototype.toString.call(r)==="[object GeneratorFunction]",Iu=class Iu extends ww{constructor(t,n){super(n);T(this,"nudge");T(this,"sound");T(this,"modify",t=>{const n=t(this);return n instanceof Object?n:(t(this.values),this.update())});T(this,"update",()=>{const t=Aw(this.values,["key","pitch","originalPitch","parsedScale","addedOctave","octave","paramOctave"]),n=sl(t,["parsedScale"]);n.forEach(i=>{const o=O_(i.key||"C4",i.originalPitch||i.pitch||0,i.parsedScale||i.scale||"MAJOR",(i.paramOctave||0)+(i.addedOctave||0));i.note=o.note,i.freq=Dl(o.note),i.pitch=o.pitch,i.octave=o.octave});const a=Cu(n);return this.values.note=Fi(a.note),this.values.freq=Fi(a.freq),this.values.pitch=Fi(a.pitch),this.values.octave=Fi(a.octave),this.values.pitchOctave=Fi(a.pitchOctave),this});T(this,"out",t=>{this.runChain(),t&&(this.values.orbit=t);const n=sl(this.values,["parsedScale"]);for(const a of n){const i=a;i.freq&&delete i.note,nD(i,this.nudge-this.app.clock.deviation,i.dur)}});T(this,"osc",t=>{t&&(this.values.orbit=t);const n=sl(this.values,["parsedScale"]);for(const a of n){const i=a;let o="address"in a?a.address:"/topos";o=o!=null&&o.startsWith("/")?o:"/"+o;let s="port"in a?a.port:57120;i.freq&&delete i.note,UC({address:o,port:s,args:a,timetag:Math.round(Date.now()+(this.nudge-this.app.clock.deviation))})}});this.app=n,this.nudge=n.dough_nudge/100;for(const[a,i]of Object.entries(Iu.methodMap))if(typeof i=="object"&&Symbol.iterator in Object(i))for(const o of i)this[o]=s=>this.updateValue(i[0],s);else this[a]=(...o)=>i(this,...o);this.values=this.processSound(t)}};T(Iu,"methodMap",{volume:["volume","vol"],zrand:["zrand","zr"],curve:["curve"],bank:["bank"],slide:["slide","sld"],deltaSlide:["deltaSlide","dslide"],pitchJump:["pitchJump","pj"],pitchJumpTime:["pitchJumpTime","pjt"],lfo:["lfo"],znoise:["znoise"],address:["address","add"],port:["port"],noise:["noise"],zmod:["zmod"],zcrush:["zcrush"],zdelay:["zdelay"],sustainVolume:["sustainVolume"],tremolo:["tremolo"],dur:["dur"],zzfx:["zzfx"],fmi:["fmi"],fmh:["fmh"],fmenv:["fmenv"],fmattack:["fmattack","fmatk"],fmdecay:["fmdecay","fmdec"],fmsustain:["fmsustain","fmsus"],fmrelease:["fmrelease","fmrel"],fmvelocity:["fmvelocity","fmvel"],fmwave:["fmwave","fmw"],phaser:["phaser","phas"],phaserDepth:["phaserDepth","phasdepth"],phaserSweep:["phaserSweep","phassweep"],phaserCenter:["phaserCenter","phascenter"],fmadsr:function(t,n,a,i,o){return t.updateValue("fmattack",n),t.updateValue("fmdecay",a),t.updateValue("fmsustain",i),t.updateValue("fmrelease",o),t},fmad:function(t,n,a){return t.updateValue("fmattack",n),t.updateValue("fmdecay",a),t},ftype:["ftype"],fanchor:["fanchor"],attack:["attack","atk"],decay:["decay","dec"],sustain:["sustain","sus"],release:["release","rel"],adsr:function(t,n,a,i,o){return t.updateValue("attack",n),t.updateValue("decay",a),t.updateValue("sustain",i),t.updateValue("release",o),t},ad:function(t,n,a){return t.updateValue("attack",n),t.updateValue("decay",a),t.updateValue("sustain",0),t.updateValue("release",0),t},scope:function(t){return t.updateValue("analyze",!0),t},debug:function(t,n){return t.updateValue("debug",!0),n&&t.updateValue("debugFunction",n),t},lpenv:["lpenv","lpe"],lpattack:["lpattack","lpa"],lpdecay:["lpdecay","lpd"],lpsustain:["lpsustain","lps"],lprelease:["lprelease","lpr"],cutoff:function(t,n,a){return t.updateValue("cutoff",n),a&&t.updateValue("resonance",a),t},lpf:function(t,n,a){return t.updateValue("cutoff",n),a&&t.updateValue("resonance",a),t},resonance:function(t,n){return n>=0&&n<=1&&t.updateValue("resonance",50*n),t},lpadsr:function(t,n,a,i,o,s){return t.updateValue("lpenv",n),t.updateValue("lpattack",a),t.updateValue("lpdecay",i),t.updateValue("lpsustain",o),t.updateValue("lprelease",s),t},lpad:function(t,n,a,i){return t.updateValue("lpenv",n),t.updateValue("lpattack",a),t.updateValue("lpdecay",i),t.updateValue("lpsustain",0),t.updateValue("lprelease",0),t},hpenv:["hpenv","hpe"],hpattack:["hpattack","hpa"],hpdecay:["hpdecay","hpd"],hpsustain:["hpsustain","hpsus"],hprelease:["hprelease","hpr"],hcutoff:function(t,n,a){return t.updateValue("hcutoff",n),a&&t.updateValue("hresonance",a),t},hpf:function(t,n,a){return t.updateValue("hcutoff",n),a&&t.updateValue("hresonance",a),t},hpq:function(t,n){return t.updateValue("hresonance",n),t},hpadsr:function(t,n,a,i,o,s){return t.updateValue("hpenv",n),t.updateValue("hpattack",a),t.updateValue("hpdecay",i),t.updateValue("hpsustain",o),t.updateValue("hprelease",s),t},hpad:function(t,n,a,i){return t.updateValue("hpenv",n),t.updateValue("hpattack",a),t.updateValue("hpdecay",i),t.updateValue("hpsustain",0),t.updateValue("hprelease",0),t},bpenv:["bpenv","bpe"],bpattack:["bpattack","bpa"],bpdecay:["bpdecay","bpd"],bpsustain:["bpsustain","bps"],bprelease:["bprelease","bpr"],bandf:function(t,n,a){return t.updateValue("bandf",n),a&&t.updateValue("bandq",a),t},bpf:function(t,n,a){return t.updateValue("bandf",n),a&&t.updateValue("bandq",a),t},bandq:["bandq","bpq"],bpadsr:function(t,n,a,i,o,s){return t.updateValue("bpenv",n),t.updateValue("bpattack",a),t.updateValue("bpdecay",i),t.updateValue("bpsustain",o),t.updateValue("bprelease",s),t},bpad:function(t,n,a,i){return t.updateValue("bpenv",n),t.updateValue("bpattack",a),t.updateValue("bpdecay",i),t.updateValue("bpsustain",0),t.updateValue("bprelease",0),t},vib:["vib"],vibmod:["vibmod"],fm:function(t,n){if(typeof n=="number")t.values.fmi=n;else{let a=n.split(":");t.values.fmi=parseFloat(a[0]),a.length>1&&(t.values.fmh=parseFloat(a[1]))}return t},loop:["loop"],loopBegin:["loopBegin","loopb"],loopEnd:["loopEnd","loope"],begin:["begin"],end:["end"],gain:["gain"],dbgain:function(t,n){return t.updateValue("gain",Math.min(Math.pow(10,n/20),10)),t},db:function(t,n){return t.updateValue("gain",Math.min(Math.pow(10,n/20),10)),t},velocity:["velocity","vel"],pan:["pan"],cut:["cut"],clip:["clip"],n:["n"],speed:["speed","spd"],coarse:["coarse"],crush:["crush"],shape:["shape"],vowel:["vowel","vow"],delay:["delay","del"],delayfeedback:["delayfeedback","delayfb"],delaytime:["delaytime","delayt"],orbit:["orbit","o"],room:["room","rm"],roomfade:["roomfade","rfade"],roomlp:["roomlp","rlp"],roomdim:["roomdim","rdim"],sound:["s","sound"],size:function(t,n){return t.updateValue("roomsize",n),t},sz:function(t,n){return t.updateValue("roomsize",n),t},comp:["comp","compressor","cmp"],ratio:function(t,n){return t.updateValue("compressorRatio",n),t},knee:function(t,n){return t.updateValue("compressorKnee",n),t},compAttack:function(t,n){return t.updateValue("compressorAttack",n),t},compRelease:function(t,n){return t.updateValue("compressorRelease",n),t},stretch:function(t,n){return t.updateValue("unit","c"),t.updateValue("speed",1/n),t.updateValue("cut",n),t}});let Ml=Iu;class Jg extends ww{constructor(t,n){super(n);T(this,"midiConnection");T(this,"sustain",t=>(this.values.sustain=t,this));T(this,"velocity",t=>(this.values.velocity=t,this));T(this,"channel",t=>(this.values.channel=t,this));T(this,"port",t=>(typeof t=="string"?this.values.port=this.midiConnection.getMidiOutputIndex(t):Array.isArray(t)&&(this.values.port=t.map(n=>typeof n=="string"?this.midiConnection.getMidiOutputIndex(n):n)),this));T(this,"add",t=>(this.values.note+=t,this));T(this,"modify",t=>{const n=t(this);return n instanceof Object?n:(t(this.values),this.update())});T(this,"bend",t=>(this.values.bend=t,this));T(this,"random",(t=0,n=127)=>(t=Math.min(Math.max(t,0),127),n=Math.min(Math.max(n,0),127),this.values.note=Math.floor(this.randomGen()*(n-t+1))+t,this));T(this,"update",()=>{const t=Aw(this.values,["key","pitch","originalPitch","parsedScale","addedOctave"]),n=sl(t,["parsedScale"]);n.forEach(i=>{const o=O_(i.key||"C4",i.originalPitch||i.pitch||0,i.parsedScale||i.scale||"MAJOR",i.addedOctave||0);i.note=o.note,i.pitch=o.pitch,i.octave=o.octave});const a=Cu(n);return this.values.note=Fi(a.note),a.bend&&(this.values.bend=Fi(a.bend)),this});T(this,"out",t=>{function n(i,o){const s=o.channel?o.channel:0,l=o.velocity?o.velocity:100,c=o.note?o.note:60,u=o.sustain?o.sustain*i.app.clock.pulse_duration*i.app.api.ppqn():i.app.clock.pulse_duration*i.app.api.ppqn(),h=o.bend?o.bend:void 0,p=o.port?i.midiConnection.getMidiOutputIndex(o.port):i.midiConnection.getCurrentMidiPortIndex()||0;i.midiConnection.sendMidiNote(c,s,l,u,p,h)}this.runChain(),t&&this.channel(t),sl(this.values,["parsedScale"]).forEach(i=>{n(this,i)})});this.app=n,this.values=t,this.midiConnection=n.api.MidiConnection}}const $s=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,kw=new Set,e0=typeof process=="object"&&process?process:{},Nw=(r,e,t,n)=>{typeof e0.emitWarning=="function"?e0.emitWarning(r,e,t,n):console.error(`[${t}] ${e}: ${r}`)};let Ru=globalThis.AbortController,EE=globalThis.AbortSignal;var wE;if(typeof Ru>"u"){EE=class{constructor(){T(this,"onabort");T(this,"_onabort",[]);T(this,"reason");T(this,"aborted",!1)}addEventListener(n,a){this._onabort.push(a)}},Ru=class{constructor(){T(this,"signal",new EE);e()}abort(n){var a,i;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(i=(a=this.signal).onabort)==null||i.call(a,n)}}};let r=((wE=e0.env)==null?void 0:wE.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{r&&(r=!1,Nw("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const iK=r=>!kw.has(r),si=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),Dw=r=>si(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?$c:null:null;class $c extends Array{constructor(e){super(e),this.fill(0)}}var Uo;const Ui=class Ui{constructor(e,t){T(this,"heap");T(this,"length");if(!K(Ui,Uo))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}static create(e){const t=Dw(e);if(!t)return[];Je(Ui,Uo,!0);const n=new Ui(e,t);return Je(Ui,Uo,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Uo=new WeakMap,ct(Ui,Uo,!1);let t0=Ui;var Hr,dr,Vr,zr,$o,pn,Wr,gn,Wt,ot,Vn,hr,Pn,yn,Xr,Tn,La,Pa,Kr,Zr,mi,zn,Ll,r0,Hi,Ba,Pl,fr,ku,xw,Vi,Go,Bl,ha,li,fa,ci,Yl,a0,qo,Gc,Qo,qc,qt,Zt,Fl,i0,zi,Ks;const N_=class N_{constructor(e){ct(this,Ll);ct(this,ku);ct(this,ha);ct(this,fa);ct(this,Yl);ct(this,qo);ct(this,Qo);ct(this,qt);ct(this,Fl);ct(this,zi);ct(this,Hr,void 0);ct(this,dr,void 0);ct(this,Vr,void 0);ct(this,zr,void 0);ct(this,$o,void 0);T(this,"ttl");T(this,"ttlResolution");T(this,"ttlAutopurge");T(this,"updateAgeOnGet");T(this,"updateAgeOnHas");T(this,"allowStale");T(this,"noDisposeOnSet");T(this,"noUpdateTTL");T(this,"maxEntrySize");T(this,"sizeCalculation");T(this,"noDeleteOnFetchRejection");T(this,"noDeleteOnStaleGet");T(this,"allowStaleOnFetchAbort");T(this,"allowStaleOnFetchRejection");T(this,"ignoreFetchAbort");ct(this,pn,void 0);ct(this,Wr,void 0);ct(this,gn,void 0);ct(this,Wt,void 0);ct(this,ot,void 0);ct(this,Vn,void 0);ct(this,hr,void 0);ct(this,Pn,void 0);ct(this,yn,void 0);ct(this,Xr,void 0);ct(this,Tn,void 0);ct(this,La,void 0);ct(this,Pa,void 0);ct(this,Kr,void 0);ct(this,Zr,void 0);ct(this,mi,void 0);ct(this,zn,void 0);ct(this,Hi,()=>{});ct(this,Ba,()=>{});ct(this,Pl,()=>{});ct(this,fr,()=>!1);ct(this,Vi,e=>{});ct(this,Go,(e,t,n)=>{});ct(this,Bl,(e,t,n,a)=>{if(n||a)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});const{max:t=0,ttl:n,ttlResolution:a=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:s,allowStale:l,dispose:c,disposeAfter:u,noDisposeOnSet:h,noUpdateTTL:p,maxSize:_=0,maxEntrySize:b=0,sizeCalculation:A,fetchMethod:I,noDeleteOnFetchRejection:M,noDeleteOnStaleGet:U,allowStaleOnFetchRejection:V,allowStaleOnFetchAbort:m,ignoreFetchAbort:O}=e;if(t!==0&&!si(t))throw new TypeError("max option must be a nonnegative integer");const S=t?Dw(t):Array;if(!S)throw new Error("invalid max value: "+t);if(Je(this,Hr,t),Je(this,dr,_),this.maxEntrySize=b||K(this,dr),this.sizeCalculation=A,this.sizeCalculation){if(!K(this,dr)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(I!==void 0&&typeof I!="function")throw new TypeError("fetchMethod must be a function if specified");if(Je(this,$o,I),Je(this,mi,!!I),Je(this,gn,new Map),Je(this,Wt,new Array(t).fill(void 0)),Je(this,ot,new Array(t).fill(void 0)),Je(this,Vn,new S(t)),Je(this,hr,new S(t)),Je(this,Pn,0),Je(this,yn,0),Je(this,Xr,t0.create(t)),Je(this,pn,0),Je(this,Wr,0),typeof c=="function"&&Je(this,Vr,c),typeof u=="function"?(Je(this,zr,u),Je(this,Tn,[])):(Je(this,zr,void 0),Je(this,Tn,void 0)),Je(this,Zr,!!K(this,Vr)),Je(this,zn,!!K(this,zr)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!M,this.allowStaleOnFetchRejection=!!V,this.allowStaleOnFetchAbort=!!m,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(K(this,dr)!==0&&!si(K(this,dr)))throw new TypeError("maxSize must be a positive integer if specified");if(!si(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");We(this,ku,xw).call(this)}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!U,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!s,this.ttlResolution=si(a)||a===0?a:1,this.ttlAutopurge=!!i,this.ttl=n||0,this.ttl){if(!si(this.ttl))throw new TypeError("ttl must be a positive integer if specified");We(this,Ll,r0).call(this)}if(K(this,Hr)===0&&this.ttl===0&&K(this,dr)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!K(this,Hr)&&!K(this,dr)){const k="LRU_CACHE_UNBOUNDED";iK(k)&&(kw.add(k),Nw("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",k,N_))}}static unsafeExposeInternals(e){return{starts:K(e,Pa),ttls:K(e,Kr),sizes:K(e,La),keyMap:K(e,gn),keyList:K(e,Wt),valList:K(e,ot),next:K(e,Vn),prev:K(e,hr),get head(){return K(e,Pn)},get tail(){return K(e,yn)},free:K(e,Xr),isBackgroundFetch:t=>{var n;return We(n=e,qt,Zt).call(n,t)},backgroundFetch:(t,n,a,i)=>{var o;return We(o=e,Qo,qc).call(o,t,n,a,i)},moveToTail:t=>{var n;return We(n=e,zi,Ks).call(n,t)},indexes:t=>{var n;return We(n=e,ha,li).call(n,t)},rindexes:t=>{var n;return We(n=e,fa,ci).call(n,t)},isStale:t=>{var n;return K(n=e,fr).call(n,t)}}}get max(){return K(this,Hr)}get maxSize(){return K(this,dr)}get calculatedSize(){return K(this,Wr)}get size(){return K(this,pn)}get fetchMethod(){return K(this,$o)}get dispose(){return K(this,Vr)}get disposeAfter(){return K(this,zr)}getRemainingTTL(e){return K(this,gn).has(e)?1/0:0}*entries(){for(const e of We(this,ha,li).call(this))K(this,ot)[e]!==void 0&&K(this,Wt)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield[K(this,Wt)[e],K(this,ot)[e]])}*rentries(){for(const e of We(this,fa,ci).call(this))K(this,ot)[e]!==void 0&&K(this,Wt)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield[K(this,Wt)[e],K(this,ot)[e]])}*keys(){for(const e of We(this,ha,li).call(this)){const t=K(this,Wt)[e];t!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield t)}}*rkeys(){for(const e of We(this,fa,ci).call(this)){const t=K(this,Wt)[e];t!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield t)}}*values(){for(const e of We(this,ha,li).call(this))K(this,ot)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield K(this,ot)[e])}*rvalues(){for(const e of We(this,fa,ci).call(this))K(this,ot)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield K(this,ot)[e])}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const n of We(this,ha,li).call(this)){const a=K(this,ot)[n],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;if(i!==void 0&&e(i,K(this,Wt)[n],this))return this.get(K(this,Wt)[n],t)}}forEach(e,t=this){for(const n of We(this,ha,li).call(this)){const a=K(this,ot)[n],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;i!==void 0&&e.call(t,i,K(this,Wt)[n],this)}}rforEach(e,t=this){for(const n of We(this,fa,ci).call(this)){const a=K(this,ot)[n],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;i!==void 0&&e.call(t,i,K(this,Wt)[n],this)}}purgeStale(){let e=!1;for(const t of We(this,fa,ci).call(this,{allowStale:!0}))K(this,fr).call(this,t)&&(this.delete(K(this,Wt)[t]),e=!0);return e}dump(){const e=[];for(const t of We(this,ha,li).call(this,{allowStale:!0})){const n=K(this,Wt)[t],a=K(this,ot)[t],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;if(i===void 0||n===void 0)continue;const o={value:i};if(K(this,Kr)&&K(this,Pa)){o.ttl=K(this,Kr)[t];const s=$s.now()-K(this,Pa)[t];o.start=Math.floor(Date.now()-s)}K(this,La)&&(o.size=K(this,La)[t]),e.unshift([n,o])}return e}load(e){this.clear();for(const[t,n]of e){if(n.start){const a=Date.now()-n.start;n.start=$s.now()-a}this.set(t,n.value,n)}}set(e,t,n={}){var p,_,b,A,I;if(t===void 0)return this.delete(e),this;const{ttl:a=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:s=this.sizeCalculation,status:l}=n;let{noUpdateTTL:c=this.noUpdateTTL}=n;const u=K(this,Bl).call(this,e,t,n.size||0,s);if(this.maxEntrySize&&u>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let h=K(this,pn)===0?void 0:K(this,gn).get(e);if(h===void 0)h=K(this,pn)===0?K(this,yn):K(this,Xr).length!==0?K(this,Xr).pop():K(this,pn)===K(this,Hr)?We(this,qo,Gc).call(this,!1):K(this,pn),K(this,Wt)[h]=e,K(this,ot)[h]=t,K(this,gn).set(e,h),K(this,Vn)[K(this,yn)]=h,K(this,hr)[h]=K(this,yn),Je(this,yn,h),ec(this,pn)._++,K(this,Go).call(this,h,u,l),l&&(l.set="add"),c=!1;else{We(this,zi,Ks).call(this,h);const M=K(this,ot)[h];if(t!==M){if(K(this,mi)&&We(this,qt,Zt).call(this,M)){M.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:U}=M;U!==void 0&&!o&&(K(this,Zr)&&((p=K(this,Vr))==null||p.call(this,U,e,"set")),K(this,zn)&&((_=K(this,Tn))==null||_.push([U,e,"set"])))}else o||(K(this,Zr)&&((b=K(this,Vr))==null||b.call(this,M,e,"set")),K(this,zn)&&((A=K(this,Tn))==null||A.push([M,e,"set"])));if(K(this,Vi).call(this,h),K(this,Go).call(this,h,u,l),K(this,ot)[h]=t,l){l.set="replace";const U=M&&We(this,qt,Zt).call(this,M)?M.__staleWhileFetching:M;U!==void 0&&(l.oldValue=U)}}else l&&(l.set="update")}if(a!==0&&!K(this,Kr)&&We(this,Ll,r0).call(this),K(this,Kr)&&(c||K(this,Pl).call(this,h,a,i),l&&K(this,Ba).call(this,l,h)),!o&&K(this,zn)&&K(this,Tn)){const M=K(this,Tn);let U;for(;U=M==null?void 0:M.shift();)(I=K(this,zr))==null||I.call(this,...U)}return this}pop(){var e;try{for(;K(this,pn);){const t=K(this,ot)[K(this,Pn)];if(We(this,qo,Gc).call(this,!0),We(this,qt,Zt).call(this,t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(K(this,zn)&&K(this,Tn)){const t=K(this,Tn);let n;for(;n=t==null?void 0:t.shift();)(e=K(this,zr))==null||e.call(this,...n)}}}has(e,t={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:a}=t,i=K(this,gn).get(e);if(i!==void 0){const o=K(this,ot)[i];if(We(this,qt,Zt).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(K(this,fr).call(this,i))a&&(a.has="stale",K(this,Ba).call(this,a,i));else return n&&K(this,Hi).call(this,i),a&&(a.has="hit",K(this,Ba).call(this,a,i)),!0}else a&&(a.has="miss");return!1}peek(e,t={}){const{allowStale:n=this.allowStale}=t,a=K(this,gn).get(e);if(a!==void 0&&(n||!K(this,fr).call(this,a))){const i=K(this,ot)[a];return We(this,qt,Zt).call(this,i)?i.__staleWhileFetching:i}}async fetch(e,t={}){const{allowStale:n=this.allowStale,updateAgeOnGet:a=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:_=this.ignoreFetchAbort,allowStaleOnFetchAbort:b=this.allowStaleOnFetchAbort,context:A,forceRefresh:I=!1,status:M,signal:U}=t;if(!K(this,mi))return M&&(M.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:a,noDeleteOnStaleGet:i,status:M});const V={allowStale:n,updateAgeOnGet:a,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:s,size:l,sizeCalculation:c,noUpdateTTL:u,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:b,ignoreFetchAbort:_,status:M,signal:U};let m=K(this,gn).get(e);if(m===void 0){M&&(M.fetch="miss");const O=We(this,Qo,qc).call(this,e,m,V,A);return O.__returned=O}else{const O=K(this,ot)[m];if(We(this,qt,Zt).call(this,O)){const Y=n&&O.__staleWhileFetching!==void 0;return M&&(M.fetch="inflight",Y&&(M.returnedStale=!0)),Y?O.__staleWhileFetching:O.__returned=O}const S=K(this,fr).call(this,m);if(!I&&!S)return M&&(M.fetch="hit"),We(this,zi,Ks).call(this,m),a&&K(this,Hi).call(this,m),M&&K(this,Ba).call(this,M,m),O;const k=We(this,Qo,qc).call(this,e,m,V,A),F=k.__staleWhileFetching!==void 0&&n;return M&&(M.fetch=S?"stale":"refresh",F&&S&&(M.returnedStale=!0)),F?k.__staleWhileFetching:k.__returned=k}}get(e,t={}){const{allowStale:n=this.allowStale,updateAgeOnGet:a=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=t,s=K(this,gn).get(e);if(s!==void 0){const l=K(this,ot)[s],c=We(this,qt,Zt).call(this,l);return o&&K(this,Ba).call(this,o,s),K(this,fr).call(this,s)?(o&&(o.get="stale"),c?(o&&n&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?l.__staleWhileFetching:void 0):(i||this.delete(e),o&&n&&(o.returnedStale=!0),n?l:void 0)):(o&&(o.get="hit"),c?l.__staleWhileFetching:(We(this,zi,Ks).call(this,s),a&&K(this,Hi).call(this,s),l))}else o&&(o.get="miss")}delete(e){var n,a,i,o;let t=!1;if(K(this,pn)!==0){const s=K(this,gn).get(e);if(s!==void 0)if(t=!0,K(this,pn)===1)this.clear();else{K(this,Vi).call(this,s);const l=K(this,ot)[s];We(this,qt,Zt).call(this,l)?l.__abortController.abort(new Error("deleted")):(K(this,Zr)||K(this,zn))&&(K(this,Zr)&&((n=K(this,Vr))==null||n.call(this,l,e,"delete")),K(this,zn)&&((a=K(this,Tn))==null||a.push([l,e,"delete"]))),K(this,gn).delete(e),K(this,Wt)[s]=void 0,K(this,ot)[s]=void 0,s===K(this,yn)?Je(this,yn,K(this,hr)[s]):s===K(this,Pn)?Je(this,Pn,K(this,Vn)[s]):(K(this,Vn)[K(this,hr)[s]]=K(this,Vn)[s],K(this,hr)[K(this,Vn)[s]]=K(this,hr)[s]),ec(this,pn)._--,K(this,Xr).push(s)}}if(K(this,zn)&&((i=K(this,Tn))!=null&&i.length)){const s=K(this,Tn);let l;for(;l=s==null?void 0:s.shift();)(o=K(this,zr))==null||o.call(this,...l)}return t}clear(){var e,t,n;for(const a of We(this,fa,ci).call(this,{allowStale:!0})){const i=K(this,ot)[a];if(We(this,qt,Zt).call(this,i))i.__abortController.abort(new Error("deleted"));else{const o=K(this,Wt)[a];K(this,Zr)&&((e=K(this,Vr))==null||e.call(this,i,o,"delete")),K(this,zn)&&((t=K(this,Tn))==null||t.push([i,o,"delete"]))}}if(K(this,gn).clear(),K(this,ot).fill(void 0),K(this,Wt).fill(void 0),K(this,Kr)&&K(this,Pa)&&(K(this,Kr).fill(0),K(this,Pa).fill(0)),K(this,La)&&K(this,La).fill(0),Je(this,Pn,0),Je(this,yn,0),K(this,Xr).length=0,Je(this,Wr,0),Je(this,pn,0),K(this,zn)&&K(this,Tn)){const a=K(this,Tn);let i;for(;i=a==null?void 0:a.shift();)(n=K(this,zr))==null||n.call(this,...i)}}};Hr=new WeakMap,dr=new WeakMap,Vr=new WeakMap,zr=new WeakMap,$o=new WeakMap,pn=new WeakMap,Wr=new WeakMap,gn=new WeakMap,Wt=new WeakMap,ot=new WeakMap,Vn=new WeakMap,hr=new WeakMap,Pn=new WeakMap,yn=new WeakMap,Xr=new WeakMap,Tn=new WeakMap,La=new WeakMap,Pa=new WeakMap,Kr=new WeakMap,Zr=new WeakMap,mi=new WeakMap,zn=new WeakMap,Ll=new WeakSet,r0=function(){const e=new $c(K(this,Hr)),t=new $c(K(this,Hr));Je(this,Kr,e),Je(this,Pa,t),Je(this,Pl,(i,o,s=$s.now())=>{if(t[i]=o!==0?s:0,e[i]=o,o!==0&&this.ttlAutopurge){const l=setTimeout(()=>{K(this,fr).call(this,i)&&this.delete(K(this,Wt)[i])},o+1);l.unref&&l.unref()}}),Je(this,Hi,i=>{t[i]=e[i]!==0?$s.now():0}),Je(this,Ba,(i,o)=>{if(e[o]){const s=e[o],l=t[o];i.ttl=s,i.start=l,i.now=n||a();const c=i.now-l;i.remainingTTL=s-c}});let n=0;const a=()=>{const i=$s.now();if(this.ttlResolution>0){n=i;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return i};this.getRemainingTTL=i=>{const o=K(this,gn).get(i);if(o===void 0)return 0;const s=e[o],l=t[o];if(s===0||l===0)return 1/0;const c=(n||a())-l;return s-c},Je(this,fr,i=>e[i]!==0&&t[i]!==0&&(n||a())-t[i]>e[i])},Hi=new WeakMap,Ba=new WeakMap,Pl=new WeakMap,fr=new WeakMap,ku=new WeakSet,xw=function(){const e=new $c(K(this,Hr));Je(this,Wr,0),Je(this,La,e),Je(this,Vi,t=>{Je(this,Wr,K(this,Wr)-e[t]),e[t]=0}),Je(this,Bl,(t,n,a,i)=>{if(We(this,qt,Zt).call(this,n))return 0;if(!si(a))if(i){if(typeof i!="function")throw new TypeError("sizeCalculation must be a function");if(a=i(n,t),!si(a))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return a}),Je(this,Go,(t,n,a)=>{if(e[t]=n,K(this,dr)){const i=K(this,dr)-e[t];for(;K(this,Wr)>i;)We(this,qo,Gc).call(this,!0)}Je(this,Wr,K(this,Wr)+e[t]),a&&(a.entrySize=n,a.totalCalculatedSize=K(this,Wr))})},Vi=new WeakMap,Go=new WeakMap,Bl=new WeakMap,ha=new WeakSet,li=function*({allowStale:e=this.allowStale}={}){if(K(this,pn))for(let t=K(this,yn);!(!We(this,Yl,a0).call(this,t)||((e||!K(this,fr).call(this,t))&&(yield t),t===K(this,Pn)));)t=K(this,hr)[t]},fa=new WeakSet,ci=function*({allowStale:e=this.allowStale}={}){if(K(this,pn))for(let t=K(this,Pn);!(!We(this,Yl,a0).call(this,t)||((e||!K(this,fr).call(this,t))&&(yield t),t===K(this,yn)));)t=K(this,Vn)[t]},Yl=new WeakSet,a0=function(e){return e!==void 0&&K(this,gn).get(K(this,Wt)[e])===e},qo=new WeakSet,Gc=function(e){var i,o;const t=K(this,Pn),n=K(this,Wt)[t],a=K(this,ot)[t];return K(this,mi)&&We(this,qt,Zt).call(this,a)?a.__abortController.abort(new Error("evicted")):(K(this,Zr)||K(this,zn))&&(K(this,Zr)&&((i=K(this,Vr))==null||i.call(this,a,n,"evict")),K(this,zn)&&((o=K(this,Tn))==null||o.push([a,n,"evict"]))),K(this,Vi).call(this,t),e&&(K(this,Wt)[t]=void 0,K(this,ot)[t]=void 0,K(this,Xr).push(t)),K(this,pn)===1?(Je(this,Pn,Je(this,yn,0)),K(this,Xr).length=0):Je(this,Pn,K(this,Vn)[t]),K(this,gn).delete(n),ec(this,pn)._--,t},Qo=new WeakSet,qc=function(e,t,n,a){const i=t===void 0?void 0:K(this,ot)[t];if(We(this,qt,Zt).call(this,i))return i;const o=new Ru,{signal:s}=n;s==null||s.addEventListener("abort",()=>o.abort(s.reason),{signal:o.signal});const l={signal:o.signal,options:n,context:a},c=(A,I=!1)=>{const{aborted:M}=o.signal,U=n.ignoreFetchAbort&&A!==void 0;if(n.status&&(M&&!I?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,U&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),M&&!U&&!I)return h(o.signal.reason);const V=_;return K(this,ot)[t]===_&&(A===void 0?V.__staleWhileFetching?K(this,ot)[t]=V.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,A,l.options))),A},u=A=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=A),h(A)),h=A=>{const{aborted:I}=o.signal,M=I&&n.allowStaleOnFetchAbort,U=M||n.allowStaleOnFetchRejection,V=U||n.noDeleteOnFetchRejection,m=_;if(K(this,ot)[t]===_&&(!V||m.__staleWhileFetching===void 0?this.delete(e):M||(K(this,ot)[t]=m.__staleWhileFetching)),U)return n.status&&m.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw A},p=(A,I)=>{var U;const M=(U=K(this,$o))==null?void 0:U.call(this,e,i,l);M&&M instanceof Promise&&M.then(V=>A(V===void 0?void 0:V),I),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(A(void 0),n.allowStaleOnFetchAbort&&(A=V=>c(V,!0)))})};n.status&&(n.status.fetchDispatched=!0);const _=new Promise(p).then(c,u),b=Object.assign(_,{__abortController:o,__staleWhileFetching:i,__returned:void 0});return t===void 0?(this.set(e,b,{...l.options,status:void 0}),t=K(this,gn).get(e)):K(this,ot)[t]=b,b},qt=new WeakSet,Zt=function(e){if(!K(this,mi))return!1;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof Ru},Fl=new WeakSet,i0=function(e,t){K(this,hr)[t]=e,K(this,Vn)[e]=t},zi=new WeakSet,Ks=function(e){e!==K(this,yn)&&(e===K(this,Pn)?Je(this,Pn,K(this,Vn)[e]):We(this,Fl,i0).call(this,K(this,hr)[e],K(this,Vn)[e]),We(this,Fl,i0).call(this,K(this,yn),e),Je(this,yn,e))};let n0=N_;const cl=class cl extends xl{constructor(t,n){super(n);T(this,"_fallbackMethod",()=>cl.createRestProxy(this.values.noteLength,this.app));T(this,"out",()=>{});this.values.noteLength=t}};T(cl,"createRestProxy",(t,n)=>{const a=new cl(t,n);return new Proxy(a,{get(i,o,s){return typeof i[o]>"u"?i._fallbackMethod:i[o]},set(i,o,s,l){return!1}})});let wu=cl;class yE extends xl{constructor(t,n,a,i="",o=0){super(a);T(this,"input");T(this,"ziffers");T(this,"initCallTime",0);T(this,"startCallTime",0);T(this,"lastCallTime",0);T(this,"waitTime",0);T(this,"cueName");T(this,"played",!1);T(this,"current");T(this,"retro",!1);T(this,"index",-1);T(this,"zid","");T(this,"options",{});T(this,"skipIndex",0);T(this,"next",()=>(this.current=this.ziffers.next(),this.played=!0,this.current));T(this,"pulseToSecond",t=>this.app.clock.convertPulseToSecond(t));T(this,"firstRun",()=>this.notStarted());T(this,"atTheBeginning",()=>this.skipIndex===0&&this.ziffers.index<=0);T(this,"origin",()=>this.app.clock.pulses_since_origin+1);T(this,"pulse",()=>this.app.clock.time_position.pulse);T(this,"beat",()=>this.app.clock.time_position.beat);T(this,"nextBeat",()=>this.app.clock.next_beat_in_ticks);T(this,"nextBeatInTicks",()=>this.app.clock.next_beat_in_ticks);T(this,"areWeThereYet",()=>{this.app.clock.pulses_since_origin=0&&this.origin()>=this.waitTime&&(this.pulse()===0||this.origin()>=this.nextBeatInTicks()),n=this.current&&this.waitTime>=0&&this.pulseToSecond(this.origin())>=this.pulseToSecond(this.lastCallTime)+this.pulseToSecond(this.current.duration*4*this.app.clock.ppqn)&&this.origin()>=this.waitTime,a=t||n;return this.skipIndex=a?0:this.skipIndex+1,this.index=a?this.index+1:this.index,a&&this.notStarted()&&(this.initCallTime=this.app.clock.pulses_since_origin),this.atTheBeginning()&&(this.startCallTime=this.app.clock.pulses_since_origin),a});T(this,"powerTower",this.powerTowers);T(this,"octaTowers",this.octaTower);T(this,"boretz",this.boretzRegions);T(this,"weitzmann",this.weitzmannRegions);T(this,"lead",()=>this.voiceleading());T(this,"invert",t=>(this.atTheBeginning()&&this.ziffers.invert(t),this));T(this,"out",()=>{});if(this.app=a,this.options=n,typeof t=="string")this.input=t,this.ziffers=new _i(t,n);else if(typeof t=="number")this.input=t,this.ziffers=_i.fromNumber(t,n);else if(Iw(t))this.ziffers=_i.fromGenerator(t,n),this.input=this.ziffers.input;else throw new Error("Invalid input");o&&(this.waitTime=o),this.zid=i}updatePattern(t,n){const a=this.ziffers.index,i=new _i(t,n);return i.values.length>0?(this.ziffers=i,this.ziffers.update(),this.ziffers.index=a,this.input=t,this.options=n,!0):!1}isValid(){return this.ziffers.values.length>0}reset(){this.initCallTime=0,this.startCallTime=0,this.lastCallTime=0,this.waitTime=0,this.index=0,this.skipIndex=0,this.played=!1,this.skipIndex=0,this.ziffers.reset()}get ticks(){return this.ziffers.duration*4*this.app.clock.ppqn}nextEndTime(){return this.startCallTime+this.ticks}updateLastCallTime(){(this.notStarted()||this.played)&&(this.lastCallTime=this.app.clock.pulses_since_origin,this.played=!1)}notStarted(){return this.ziffers.notStarted()}checkCue(){this.ziffers.atLast()&&this.cueName&&this.app.api.cueTimes[this.cueName]&&(delete this.app.api.cueTimes[this.cueName],this.cueName=void 0,this.waitTime=-1)}sound(t){if(this.areWeThereYet()){this.checkCue();const n=this.next(),a=this.app.clock.convertPulseToSecond(n.duration*4*this.app.clock.ppqn);if(n instanceof Yt){let i=n.getExisting("freq","note","pitch","originalPitch","key","scale","octave","pitchOctave","addedOctave","parsedScale");return n.sound&&(t=n.sound),t?i={...i,...this.processSound(t)}:i.s="sine",n.soundIndex&&(i.n=n.soundIndex),i.dur=a,new Ml(i,this.app)}else if(n instanceof Bt){const i=n.pitches.map(l=>l.getExisting("freq","note","pitch","originalPitch","key","scale","octave","pitchOctave","addedOctave","parsedScale"));let o={dur:a};t?o={...o,...this.processSound(t)}:o.s="sine";let s=Cu(i,o);return new Ml(s,this.app)}else if(n instanceof Kg)return wu.createRestProxy(n.duration,this.app)}else return as.createSkipProxy()}midi(t=void 0){if(this.areWeThereYet()){this.checkCue();const n=this.next(),a=n.getExisting("note","pitch","originalPitch","bend","key","scale","octave","pitchOctave","addedOctave","parsedScale");if(n instanceof Yt){n.soundIndex&&(a.channel=n.soundIndex);const i=new Jg(a,this.app);return t?i.note(t):i}else{if(n instanceof Kg)return wu.createRestProxy(n.duration,this.app);if(n instanceof Bt){const i=n.midiChord(),o=Cu(i);return new Jg(o,this.app)}}}else return as.createSkipProxy()}scale(t){return this.atTheBeginning()&&this.ziffers.scale(t),this}semitones(t,...n){return t=typeof t=="number"?[t,...n]:t,this.atTheBeginning()&&this.ziffers.semitones(t),this}cents(t,...n){return t=typeof t=="number"?[t,...n]:t,this.atTheBeginning()&&this.ziffers.cents(t),this}ratios(t,...n){return t=typeof t=="number"?[t,...n]:t,this.atTheBeginning()&&this.ziffers.ratios(t),this}edo(t,n=new Array(t).fill(1)){return this.atTheBeginning()&&this.ziffers.edo(t,n),this}key(t){return this.atTheBeginning()&&this.ziffers.key(t),this}octave(t){return this.atTheBeginning()&&this.ziffers.octave(t),this}tonnetz(t,n=[3,4,5]){return this.atTheBeginning()&&this.ziffers.tonnetz(t,n),this}triadTonnetz(t,n=[3,4,5]){return this.atTheBeginning()&&this.ziffers.triadTonnetz(t,n),this}tetraTonnetz(t,n=[3,4,5]){return this.atTheBeginning()&&this.ziffers.tetraTonnetz(t,n),this}octaCycle(t=[3,4,5],n=4){return this.atTheBeginning()&&this.ziffers.octaCycle(t,n),this}hexaCycle(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.hexaCycle(t,n),this}enneaCycle(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.enneaCycle(t,n),this}cubeDance(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.cubeDance(t,n),this}powerTowers(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.powerTowers(t,n),this}octaTower(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.octaTower(t,n),this}boretzRegions(t=[3,4,5]){return this.atTheBeginning()&&this.ziffers.boretzRegions(t),this}weitzmannRegions(t=[3,4,5]){return this.atTheBeginning()&&this.ziffers.weitzmannRegions(t),this}shuffle(){return this.atTheBeginning()&&this.ziffers.shuffle(),this}deal(t=this.ziffers.values.length){return this.atTheBeginning()&&this.ziffers.deal(t),this}from(t){return this.atTheBeginning()&&this.ziffers.from(t),this}to(t){return this.atTheBeginning()&&this.ziffers.to(t),this}between(t,n){return this.atTheBeginning()&&this.ziffers.between(t,n+1),this}at(t,...n){return this.atTheBeginning()&&this.ziffers.at(t,...n),this}keep(){return this.ziffers.setRedo(0),this}repeat(t){return this.ziffers.setRedo(t<0?0:t),this}every(t){return this.atTheBeginning()&&this.ziffers.every(t),this}tonnetzChord(t){return this.atTheBeginning()&&this.ziffers.tonnetzChords(t),this}voiceleading(){return this.atTheBeginning()&&this.ziffers.lead(),this}arpeggio(t,...n){return typeof t=="number"&&(t=[t,...n]),this.atTheBeginning()&&this.ziffers.arpeggio(t),this}retrograde(){return this.atTheBeginning()&&this.ziffers.retrograde(),this}rotate(t=1){return this.atTheBeginning()&&this.ziffers.rotate(t+ro(this.ziffers.cycleIndex,this.ziffers.evaluated.length)),this}listen(t){if(typeof t=="string"){const n=this.app.api.cueTimes[t];return this.cueName=t,n&&this.app.clock.pulses_since_origin<=n?this.waitTime=n:this.waitTime=-1,this}}wait(t){if(typeof t=="string"){const n=this.app.api.cueTimes[t];return this.cueName=t,n&&this.app.clock.pulses_since_origin<=n?this.waitTime=n:this.atTheBeginning()&&(this.waitTime=-1),this}if(this.atTheBeginning()){if(typeof t=="function"){const n=this.app.api.patternCache.get(t.name);return n&&(this.waitTime=n.nextEndTime()),this}else if(typeof t=="number")return this.waitTime=this.origin()+Math.ceil(t*4*this.app.clock.ppqn),this}return this}sync(t,n=!0){if(typeof t=="string"&&n){if(n){const a=this.app.api.cueTimes[t];a?this.waitTime=a:this.waitTime=-1}return this}if(this.atTheBeginning()&&this.notStarted()&&this.app.clock.pulses_since_origin>0){const i=typeof t=="function"?t.name:t,o=this.app.api.patternCache.get(i);if(o){const s=o.ziffers.duration,l=o.startCallTime,c=s*4*this.app.clock.ppqn;this.waitTime=l+c}}return this}log(t,...n){return this.app.api.log(this.ziffers.evaluated.map(a=>Object.values(a.getExisting(t,...n))).join(" ")),this}}const oK=r=>r[0]==="{"&&r[r.length-1]==="}",Gs=(r,e)=>{if(oK(r)){const t=JSON.parse(r);return JSON.stringify({...t,...e})}else return JSON.stringify({...e,text:r})},sK=r=>{String.prototype.speak=function(){const e=JSON.parse(this.valueOf());new Mw({...e,text:e.text}).speak().then(()=>{}).catch(t=>{console.log("Error speaking:",t)})},String.prototype.rate=function(e){return Gs(this.valueOf(),{rate:e})},String.prototype.pitch=function(e){return Gs(this.valueOf(),{pitch:e})},String.prototype.lang=function(e){return Gs(this.valueOf(),{lang:e})},String.prototype.volume=function(e){return Gs(this.valueOf(),{volume:e})},String.prototype.voice=function(e){return Gs(this.valueOf(),{voice:e})},String.prototype.z=function(e={}){return r.z(this.valueOf(),e)},String.prototype.z0=function(e={}){return r.z0(this.valueOf(),e)},String.prototype.z1=function(e={}){return r.z1(this.valueOf(),e)},String.prototype.z2=function(e={}){return r.z2(this.valueOf(),e)},String.prototype.z3=function(e={}){return r.z3(this.valueOf(),e)},String.prototype.z4=function(e={}){return r.z4(this.valueOf(),e)},String.prototype.z5=function(e={}){return r.z5(this.valueOf(),e)},String.prototype.z6=function(e={}){return r.z6(this.valueOf(),e)},String.prototype.z7=function(e={}){return r.z7(this.valueOf(),e)},String.prototype.z8=function(e={}){return r.z8(this.valueOf(),e)},String.prototype.z9=function(e={}){return r.z9(this.valueOf(),e)},String.prototype.z10=function(e={}){return r.z10(this.valueOf(),e)},String.prototype.z11=function(e={}){return r.z11(this.valueOf(),e)},String.prototype.z12=function(e={}){return r.z12(this.valueOf(),e)},String.prototype.z13=function(e={}){return r.z13(this.valueOf(),e)},String.prototype.z14=function(e={}){return r.z14(this.valueOf(),e)},String.prototype.z15=function(e={}){return r.z15(this.valueOf(),e)},String.prototype.z16=function(e={}){return r.z16(this.valueOf(),e)},String.prototype.note=function(){try{return parseInt(this.valueOf())}catch{return aa(this.valueOf())}}};let Up;class Mw{constructor(e){T(this,"speak",()=>new Promise((e,t)=>{if(this.options.text){const n=window.speechSynthesis;n.speaking&&n.cancel();const a=new SpeechSynthesisUtterance(this.options.text);a.rate=this.options.rate||1,a.pitch=this.options.pitch||1,a.volume=this.options.volume||1,this.options.voice&&(a.voice=n.getVoices()[this.options.voice]),this.options.lang&&(this.options.lang.length===2?a.lang=`${this.options.lang}-${this.options.lang.toUpperCase()}`:this.options.lang.length===5?a.lang=this.options.lang:a.lang="en-US"),a.onend=()=>{e()},a.onerror=i=>{t(i)},n.speaking?(n.cancel(),Up&&clearTimeout(Up),Up=setTimeout(()=>{n.speak(a)},200)):n.speak(a)}else t("No text provided")}));this.options=e}}const lK=["AJKPercusyn/ajkpercusyn-bd/Bassdrum.wav"],cK=["AJKPercusyn/ajkpercusyn-cb/Cowbell.wav","AJKPercusyn/ajkpercusyn-cb/Snarepop.wav"],uK=["AJKPercusyn/ajkpercusyn-ht/Tom.wav"],dK=["AJKPercusyn/ajkpercusyn-sd/Noise.wav"],hK=["AkaiLinn/akailinn-bd/Bassdrum.wav"],fK=["AkaiLinn/akailinn-cb/Cowbell.wav"],mK=["AkaiLinn/akailinn-cp/Clap.wav"],pK=["AkaiLinn/akailinn-cr/Crash.wav"],gK=["AkaiLinn/akailinn-hh/Closed Hat.wav"],_K=["AkaiLinn/akailinn-ht/Tom H.wav"],bK=["AkaiLinn/akailinn-lt/Tom L.wav"],SK=["AkaiLinn/akailinn-mt/Tom M.wav"],OK=["AkaiLinn/akailinn-oh/Open Hat.wav"],vK=["AkaiLinn/akailinn-rd/Ride.wav"],EK=["AkaiLinn/akailinn-sd/SD.wav"],yK=["AkaiLinn/akailinn-sh/Shuffle.wav"],TK=["AkaiLinn/akailinn-tb/Tambourin.wav"],CK=["AkaiMPC60/akaimpc60-bd/0 Bassdrum.wav","AkaiMPC60/akaimpc60-bd/Bassdrum Gated.wav"],RK=["AkaiMPC60/akaimpc60-cp/Clap.wav"],wK=["AkaiMPC60/akaimpc60-cr/Crash.wav"],AK=["AkaiMPC60/akaimpc60-hh/Closed Hat.wav"],IK=["AkaiMPC60/akaimpc60-ht/Tom H.wav"],kK=["AkaiMPC60/akaimpc60-lt/Tom L.wav"],NK=["AkaiMPC60/akaimpc60-misc/Bass.wav","AkaiMPC60/akaimpc60-misc/Electric Piano.wav"],DK=["AkaiMPC60/akaimpc60-mt/Tom M.wav"],xK=["AkaiMPC60/akaimpc60-oh/Open Hat.wav"],MK=["AkaiMPC60/akaimpc60-perc/Bongo.wav","AkaiMPC60/akaimpc60-perc/Click.wav","AkaiMPC60/akaimpc60-perc/Conga H.wav","AkaiMPC60/akaimpc60-perc/Conga L.wav","AkaiMPC60/akaimpc60-perc/Timbale.wav"],LK=["AkaiMPC60/akaimpc60-rd/Ride.wav"],PK=["AkaiMPC60/akaimpc60-rim/Rim Gated.wav"],BK=["AkaiMPC60/akaimpc60-sd/Snare 1.wav","AkaiMPC60/akaimpc60-sd/Snare 2.wav","AkaiMPC60/akaimpc60-sd/Snare 3.wav"],YK=["AkaiXR10/akaixr10-bd/Bassdrum-01.wav","AkaiXR10/akaixr10-bd/Bassdrum-02.wav","AkaiXR10/akaixr10-bd/Bassdrum-03.wav","AkaiXR10/akaixr10-bd/Bassdrum-04.wav","AkaiXR10/akaixr10-bd/Bassdrum-05.wav","AkaiXR10/akaixr10-bd/Bassdrum-06.wav","AkaiXR10/akaixr10-bd/Bassdrum-07.wav","AkaiXR10/akaixr10-bd/Bassdrum-08.wav","AkaiXR10/akaixr10-bd/Bassdrum-09.wav","AkaiXR10/akaixr10-bd/Bassdrum-10.wav"],FK=["AkaiXR10/akaixr10-cb/Cowbell.wav"],UK=["AkaiXR10/akaixr10-cp/Clap.wav"],$K=["AkaiXR10/akaixr10-cr/Crash-01.wav","AkaiXR10/akaixr10-cr/Crash-02.wav","AkaiXR10/akaixr10-cr/Crash-03.wav"],GK=["AkaiXR10/akaixr10-hh/Hat Closed.wav","AkaiXR10/akaixr10-hh/Hat Middle.wav"],qK=["AkaiXR10/akaixr10-ht/Tom H-02.wav"],QK=["AkaiXR10/akaixr10-lt/Tom L-01.wav","AkaiXR10/akaixr10-lt/Tom L-02.wav"],HK=["AkaiXR10/akaixr10-misc/Hit.wav","AkaiXR10/akaixr10-misc/Slap Bass.wav","AkaiXR10/akaixr10-misc/Square Kick-01.wav","AkaiXR10/akaixr10-misc/Square Kick-02.wav"],VK=["AkaiXR10/akaixr10-mt/Tom M-01.wav","AkaiXR10/akaixr10-mt/Tom M-02.wav"],zK=["AkaiXR10/akaixr10-oh/Hat Open.wav"],WK=["AkaiXR10/akaixr10-perc/Agogo.wav","AkaiXR10/akaixr10-perc/Claves.wav","AkaiXR10/akaixr10-perc/Conga-01.wav","AkaiXR10/akaixr10-perc/Conga-02.wav","AkaiXR10/akaixr10-perc/Conga-03.wav","AkaiXR10/akaixr10-perc/Conga-04.wav","AkaiXR10/akaixr10-perc/Fingersanp.wav","AkaiXR10/akaixr10-perc/Guiro-01.wav","AkaiXR10/akaixr10-perc/Guirro-02.wav","AkaiXR10/akaixr10-perc/Timbale H.wav","AkaiXR10/akaixr10-perc/Timbale L.wav","AkaiXR10/akaixr10-perc/Toma H-01.wav","AkaiXR10/akaixr10-perc/Triangle.wav","AkaiXR10/akaixr10-perc/Vibrator.wav","AkaiXR10/akaixr10-perc/Whistle.wav"],XK=["AkaiXR10/akaixr10-rd/Ride.wav"],KK=["AkaiXR10/akaixr10-rim/Rim Shot-01.wav","AkaiXR10/akaixr10-rim/Rim Shot-02.wav"],ZK=["AkaiXR10/akaixr10-sd/Snaredrum-01.wav","AkaiXR10/akaixr10-sd/Snaredrum-02.wav","AkaiXR10/akaixr10-sd/Snaredrum-03.wav","AkaiXR10/akaixr10-sd/Snaredrum-04.wav","AkaiXR10/akaixr10-sd/Snaredrum-05.wav","AkaiXR10/akaixr10-sd/Snaredrum-06.wav","AkaiXR10/akaixr10-sd/Snaredrum-07.wav","AkaiXR10/akaixr10-sd/Snaredrum-08.wav","AkaiXR10/akaixr10-sd/Snaredrum-09.wav","AkaiXR10/akaixr10-sd/Snaredrum-10.wav"],jK=["AkaiXR10/akaixr10-sh/Cabasa.wav"],JK=["AkaiXR10/akaixr10-tb/Tambourine.wav"],eZ=["AlesisHR16/alesishr16-bd/Bassdrum.wav"],tZ=["AlesisHR16/alesishr16-cp/Clap.wav"],nZ=["AlesisHR16/alesishr16-hh/Closed Hat.wav"],rZ=["AlesisHR16/alesishr16-ht/Tom-2.wav"],aZ=["AlesisHR16/alesishr16-lt/Tom-1.wav"],iZ=["AlesisHR16/alesishr16-oh/Open Hat.wav"],oZ=["AlesisHR16/alesishr16-perc/Agogo Bell.wav","AlesisHR16/alesishr16-perc/Claves.wav","AlesisHR16/alesishr16-perc/Conga H.wav","AlesisHR16/alesishr16-perc/Conga L.wav","AlesisHR16/alesishr16-perc/Timbale.wav","AlesisHR16/alesishr16-perc/Triangle.wav","AlesisHR16/alesishr16-perc/Wood Block H.wav","AlesisHR16/alesishr16-perc/Wood Block L.wav"],sZ=["AlesisHR16/alesishr16-rim/Rim.wav"],lZ=["AlesisHR16/alesishr16-sd/Snaredrum.wav"],cZ=["AlesisHR16/alesishr16-sh/Cabasa.wav","AlesisHR16/alesishr16-sh/Maracas.wav","AlesisHR16/alesishr16-sh/Shaker.wav"],uZ=["AlesisSR16/alesissr16-bd/Bassdrum-01.wav","AlesisSR16/alesissr16-bd/Bassdrum-02.wav","AlesisSR16/alesissr16-bd/Bassdrum-03.wav","AlesisSR16/alesissr16-bd/Bassdrum-04.wav","AlesisSR16/alesissr16-bd/Bassdrum-05.wav","AlesisSR16/alesissr16-bd/Bassdrum-06.wav","AlesisSR16/alesissr16-bd/Bassdrum-07.wav","AlesisSR16/alesissr16-bd/Bassdrum-08.wav","AlesisSR16/alesissr16-bd/Bassdrum-09.wav","AlesisSR16/alesissr16-bd/Bassdrum-10.wav","AlesisSR16/alesissr16-bd/Bassdrum-11.wav","AlesisSR16/alesissr16-bd/Bassdrum-12.wav","AlesisSR16/alesissr16-bd/Bassdrum-13.wav"],dZ=["AlesisSR16/alesissr16-cb/Cowbell.wav"],hZ=["AlesisSR16/alesissr16-cp/Clap.wav"],fZ=["AlesisSR16/alesissr16-cr/Crash-01.wav","AlesisSR16/alesissr16-cr/Crash-02.wav"],mZ=["AlesisSR16/alesissr16-hh/Hat Closed-01.wav","AlesisSR16/alesissr16-hh/Hat Closed-02.wav","AlesisSR16/alesissr16-hh/Hat Closed-03.wav"],pZ=["AlesisSR16/alesissr16-misc/Hit.wav","AlesisSR16/alesissr16-misc/Metal.wav","AlesisSR16/alesissr16-misc/Synth Cymbal.wav"],gZ=["AlesisSR16/alesissr16-oh/Hat Open-01.wav","AlesisSR16/alesissr16-oh/Hat Open-02.wav","AlesisSR16/alesissr16-oh/Hat Open-03.wav","AlesisSR16/alesissr16-oh/Hat Reverse.wav"],_Z=["AlesisSR16/alesissr16-perc/Block.wav","AlesisSR16/alesissr16-perc/Bongo.wav","AlesisSR16/alesissr16-perc/Congo.wav","AlesisSR16/alesissr16-perc/Finger.wav","AlesisSR16/alesissr16-perc/Guiro.wav","AlesisSR16/alesissr16-perc/Timbale.wav","AlesisSR16/alesissr16-perc/Triangle.wav"],bZ=["AlesisSR16/alesissr16-rd/Ride-01.wav","AlesisSR16/alesissr16-rd/Ride-02.wav","AlesisSR16/alesissr16-rd/Ride-03.wav"],SZ=["AlesisSR16/alesissr16-rim/Rim.wav"],OZ=["AlesisSR16/alesissr16-sd/Snaredrum-01.wav","AlesisSR16/alesissr16-sd/Snaredrum-02.wav","AlesisSR16/alesissr16-sd/Snaredrum-03.wav","AlesisSR16/alesissr16-sd/Snaredrum-04.wav","AlesisSR16/alesissr16-sd/Snaredrum-05.wav","AlesisSR16/alesissr16-sd/Snaredrum-06.wav","AlesisSR16/alesissr16-sd/Snaredrum-07.wav","AlesisSR16/alesissr16-sd/Snaredrum-08.wav","AlesisSR16/alesissr16-sd/Snaredrum-09.wav","AlesisSR16/alesissr16-sd/Snaredrum-10.wav","AlesisSR16/alesissr16-sd/Snaredrum-11.wav","AlesisSR16/alesissr16-sd/Snaredrum-12.wav"],vZ=["AlesisSR16/alesissr16-sh/Shaker.wav"],EZ=["AlesisSR16/alesissr16-tb/Tamb.wav"],yZ=["BossDR110/bossdr110-bd/Bassdrum.wav"],TZ=["BossDR110/bossdr110-cp/Clap.wav"],CZ=["BossDR110/bossdr110-cr/Crash.wav"],RZ=["BossDR110/bossdr110-hh/Hat Closed.wav"],wZ=["BossDR110/bossdr110-oh/Hat Open.wav"],AZ=["BossDR110/bossdr110-rd/Ride.wav"],IZ=["BossDR110/bossdr110-sd/Snaredrum.wav"],kZ=["BossDR220/bossdr220-bd/Bassdrum.wav"],NZ=["BossDR220/bossdr220-cp/Clap.wav"],DZ=["BossDR220/bossdr220-cr/Crash.wav"],xZ=["BossDR220/bossdr220-hh/Hat Closed.wav"],MZ=["BossDR220/bossdr220-ht/Tom H.wav"],LZ=["BossDR220/bossdr220-lt/Tom L.wav"],PZ=["BossDR220/bossdr220-mt/Tom M.wav"],BZ=["BossDR220/bossdr220-oh/Hat Open.wav"],YZ=["BossDR220/bossdr220-perc/Clave.wav"],FZ=["BossDR220/bossdr220-rd/Ride.wav"],UZ=["BossDR220/bossdr220-sd/Snaredrum.wav"],$Z=["BossDR55/bossdr55-bd/Bassdrum-01.wav","BossDR55/bossdr55-bd/Bassdrum-02.wav"],GZ=["BossDR55/bossdr55-hh/Hihat1.wav","BossDR55/bossdr55-hh/Hihat2.wav"],qZ=["BossDR55/bossdr55-rim/Rimshot.wav"],QZ=["BossDR55/bossdr55-sd/Snaredrum-01.wav","BossDR55/bossdr55-sd/Snaredrum-02.wav","BossDR55/bossdr55-sd/Snaredrum-03.wav","BossDR55/bossdr55-sd/Snaredrum-05.wav","BossDR55/bossdr55-sd/Snaredrum-06.wav","BossDR55/bossdr55-sd/Snaredrum-07.wav","BossDR55/bossdr55-sd/Snaredrum-08.wav","BossDR55/bossdr55-sd/Snaredrum-09.wav"],HZ=["BossDR550/bossdr550-bd/Bassdrum-01.wav","BossDR550/bossdr550-bd/Bassdrum-02.wav","BossDR550/bossdr550-bd/Bassdrum-03.wav","BossDR550/bossdr550-bd/Bassdrum-04.wav","BossDR550/bossdr550-bd/Bassdrum-05.wav"],VZ=["BossDR550/bossdr550-cb/Cowbell-01.wav","BossDR550/bossdr550-cb/Cowbell-02.wav"],zZ=["BossDR550/bossdr550-cp/Clap.wav"],WZ=["BossDR550/bossdr550-cr/Crash.wav"],XZ=["BossDR550/bossdr550-hh/Hat Closed-01.wav","BossDR550/bossdr550-hh/Hat Closed-02.wav"],KZ=["BossDR550/bossdr550-ht/Tom H-01.wav","BossDR550/bossdr550-ht/Tom H-02.wav","BossDR550/bossdr550-ht/Tom H-03.wav"],ZZ=["BossDR550/bossdr550-lt/Tom L-01.wav","BossDR550/bossdr550-lt/Tom L-02.wav","BossDR550/bossdr550-lt/Tom L-03.wav"],jZ=["BossDR550/bossdr550-misc/Hi Q.wav","BossDR550/bossdr550-misc/Srcatch-01.wav","BossDR550/bossdr550-misc/Srcatch-02.wav"],JZ=["BossDR550/bossdr550-mt/Tom M-01.wav","BossDR550/bossdr550-mt/Tom M-02.wav"],ej=["BossDR550/bossdr550-oh/Hat Open-01.wav","BossDR550/bossdr550-oh/Hat Open-02.wav"],tj=["BossDR550/bossdr550-perc/Agogo H.wav","BossDR550/bossdr550-perc/Agogo L.wav","BossDR550/bossdr550-perc/Bongo H.wav","BossDR550/bossdr550-perc/Bongo L.wav","BossDR550/bossdr550-perc/Claves.wav","BossDR550/bossdr550-perc/Conga H.wav","BossDR550/bossdr550-perc/Conga L.wav","BossDR550/bossdr550-perc/Conga S.wav","BossDR550/bossdr550-perc/Timbale H.wav","BossDR550/bossdr550-perc/Timbale L.wav","BossDR550/bossdr550-perc/Whistle.wav"],nj=["BossDR550/bossdr550-rd/Ride-01.wav","BossDR550/bossdr550-rd/Ride-02.wav"],rj=["BossDR550/bossdr550-rim/Rim Shot.wav"],aj=["BossDR550/bossdr550-sd/Snaredrum-01.wav","BossDR550/bossdr550-sd/Snaredrum-02.wav","BossDR550/bossdr550-sd/Snaredrum-03.wav","BossDR550/bossdr550-sd/Snaredrum-04.wav","BossDR550/bossdr550-sd/Snaredrum-05.wav","BossDR550/bossdr550-sd/Snaredrum-06.wav"],ij=["BossDR550/bossdr550-sh/Cabasa-01.wav","BossDR550/bossdr550-sh/Cabasa-02.wav"],oj=["BossDR550/bossdr550-tb/Tambourine.wav"],sj=["CasioRZ1/casiorz1-bd/Bassdrum.wav"],lj=["CasioRZ1/casiorz1-cb/Cowbell.wav"],cj=["CasioRZ1/casiorz1-cp/Clap.wav"],uj=["CasioRZ1/casiorz1-cr/Crash.wav"],dj=["CasioRZ1/casiorz1-hh/Hat Closed.wav"],hj=["CasioRZ1/casiorz1-ht/Tom H.wav"],fj=["CasioRZ1/casiorz1-lt/Tom L.wav"],mj=["CasioRZ1/casiorz1-mt/Tom M.wav"],pj=["CasioRZ1/casiorz1-rd/Hat Open.wav","CasioRZ1/casiorz1-rd/Ride.wav"],gj=["CasioRZ1/casiorz1-rim/Rim Shot.wav"],_j=["CasioRZ1/casiorz1-sd/0Snaredrum.wav"],bj=["CasioSK1/casiosk1-bd/Bassdrum.wav"],Sj=["CasioSK1/casiosk1-hh/Hat Closed.wav"],Oj=["CasioSK1/casiosk1-ht/Tom H.wav"],vj=["CasioSK1/casiosk1-mt/Tom L.wav"],Ej=["CasioSK1/casiosk1-oh/Hat Open.wav"],yj=["CasioSK1/casiosk1-sd/Snaredrum.wav"],Tj=["CasioVL1/casiovl1-bd/Bassdrum.wav"],Cj=["CasioVL1/casiovl1-hh/Hi Hat.wav"],Rj=["CasioVL1/casiovl1-sd/Snaredrum-01.wav"],wj=["DoepferMS404/doepferms404-bd/0Bassdrum.wav","DoepferMS404/doepferms404-bd/Bassdrum Reverse.wav"],Aj=["DoepferMS404/doepferms404-hh/Hat Closed.wav"],Ij=["DoepferMS404/doepferms404-lt/Tom.wav"],kj=["DoepferMS404/doepferms404-oh/Hat Open.wav"],Nj=["DoepferMS404/doepferms404-sd/Snaredrum.wav"],Dj=["EmuDrumulator/emudrumulator-bd/Bassdrum.wav"],xj=["EmuDrumulator/emudrumulator-cb/Cowbell.wav"],Mj=["EmuDrumulator/emudrumulator-cp/Clap.wav"],Lj=["EmuDrumulator/emudrumulator-cr/Cymbal.wav"],Pj=["EmuDrumulator/emudrumulator-hh/Hat Closed.wav"],Bj=["EmuDrumulator/emudrumulator-ht/Tom H.wav"],Yj=["EmuDrumulator/emudrumulator-lt/Tom L.wav"],Fj=["EmuDrumulator/emudrumulator-mt/Tom M.wav"],Uj=["EmuDrumulator/emudrumulator-oh/Hat Open.wav"],$j=["EmuDrumulator/emudrumulator-perc/Claves.wav"],Gj=["EmuDrumulator/emudrumulator-rim/Rim Shot.wav"],qj=["EmuDrumulator/emudrumulator-sd/0Snaredrum.wav"],Qj=["EmuModular/emumodular-bd/Bassdrum-01.wav","EmuModular/emumodular-bd/Bassdrum-02.wav"],Hj=["EmuModular/emumodular-misc/EmuPong.wav"],Vj=["EmuModular/emumodular-perc/Flick-02.wav","EmuModular/emumodular-perc/Flick01.wav"],zj=["EmuSP12/emusp12-bd/Bassdrum-01.wav","EmuSP12/emusp12-bd/Bassdrum-02.wav","EmuSP12/emusp12-bd/Bassdrum-03.wav","EmuSP12/emusp12-bd/Bassdrum-04.wav","EmuSP12/emusp12-bd/Bassdrum-05.wav","EmuSP12/emusp12-bd/Bassdrum-06.wav","EmuSP12/emusp12-bd/Bassdrum-07.wav","EmuSP12/emusp12-bd/Bassdrum-08.wav","EmuSP12/emusp12-bd/Bassdrum-09.wav","EmuSP12/emusp12-bd/Bassdrum-10.wav","EmuSP12/emusp12-bd/Bassdrum-11.wav","EmuSP12/emusp12-bd/Bassdrum-12.wav","EmuSP12/emusp12-bd/Bassdrum-13.wav","EmuSP12/emusp12-bd/Bassdrum-14.wav"],Wj=["EmuSP12/emusp12-cb/Cowbell.wav"],Xj=["EmuSP12/emusp12-cp/Clap.wav"],Kj=["EmuSP12/emusp12-cr/Crash.wav"],Zj=["EmuSP12/emusp12-hh/Hat Closed-01.wav","EmuSP12/emusp12-hh/Hat Closed-02.wav"],jj=["EmuSP12/emusp12-ht/Tom H-01.wav","EmuSP12/emusp12-ht/Tom H-02.wav","EmuSP12/emusp12-ht/Tom H-03.wav","EmuSP12/emusp12-ht/Tom H-04.wav","EmuSP12/emusp12-ht/Tom H-05.wav","EmuSP12/emusp12-ht/Tom H-06.wav"],Jj=["EmuSP12/emusp12-lt/Tom L-01.wav","EmuSP12/emusp12-lt/Tom L-02.wav","EmuSP12/emusp12-lt/Tom L-03.wav","EmuSP12/emusp12-lt/Tom L-04.wav","EmuSP12/emusp12-lt/Tom L-05.wav","EmuSP12/emusp12-lt/Tom L-06.wav"],eJ=["EmuSP12/emusp12-misc/Metal-01.wav","EmuSP12/emusp12-misc/Metal-02.wav","EmuSP12/emusp12-misc/Metal-03.wav","EmuSP12/emusp12-misc/Scratch.wav","EmuSP12/emusp12-misc/Shot-01.wav","EmuSP12/emusp12-misc/Shot-02.wav","EmuSP12/emusp12-misc/Shot-03.wav"],tJ=["EmuSP12/emusp12-mt/Tom M-01.wav","EmuSP12/emusp12-mt/Tom M-02.wav","EmuSP12/emusp12-mt/Tom M-03.wav","EmuSP12/emusp12-mt/Tom M-05.wav"],nJ=["EmuSP12/emusp12-oh/Hhopen1.wav"],rJ=["EmuSP12/emusp12-perc/Blow1.wav"],aJ=["EmuSP12/emusp12-rd/Ride.wav"],iJ=["EmuSP12/emusp12-rim/zRim Shot-01.wav","EmuSP12/emusp12-rim/zRim Shot-02.wav"],oJ=["EmuSP12/emusp12-sd/Snaredrum-01.wav","EmuSP12/emusp12-sd/Snaredrum-02.wav","EmuSP12/emusp12-sd/Snaredrum-03.wav","EmuSP12/emusp12-sd/Snaredrum-04.wav","EmuSP12/emusp12-sd/Snaredrum-05.wav","EmuSP12/emusp12-sd/Snaredrum-06.wav","EmuSP12/emusp12-sd/Snaredrum-07.wav","EmuSP12/emusp12-sd/Snaredrum-08.wav","EmuSP12/emusp12-sd/Snaredrum-09.wav","EmuSP12/emusp12-sd/Snaredrum-10.wav","EmuSP12/emusp12-sd/Snaredrum-11.wav","EmuSP12/emusp12-sd/Snaredrum-12.wav","EmuSP12/emusp12-sd/Snaredrum-13.wav","EmuSP12/emusp12-sd/Snaredrum-14.wav","EmuSP12/emusp12-sd/Snaredrum-15.wav","EmuSP12/emusp12-sd/Snaredrum-16.wav","EmuSP12/emusp12-sd/Snaredrum-17.wav","EmuSP12/emusp12-sd/Snaredrum-18.wav","EmuSP12/emusp12-sd/Snaredrum-19.wav","EmuSP12/emusp12-sd/Snaredrum-20.wav","EmuSP12/emusp12-sd/Snaredrum-21.wav"],sJ=["KorgDDM110/korgddm110-bd/Bassdrum.wav"],lJ=["KorgDDM110/korgddm110-cp/Clap.wav"],cJ=["KorgDDM110/korgddm110-cr/Crash.wav"],uJ=["KorgDDM110/korgddm110-hh/Hat Closed.wav"],dJ=["KorgDDM110/korgddm110-ht/Tom H.wav","KorgDDM110/korgddm110-ht/Tom-01.wav"],hJ=["KorgDDM110/korgddm110-lt/Tom L.wav","KorgDDM110/korgddm110-lt/Tom-02.wav"],fJ=["KorgDDM110/korgddm110-oh/Hat Open.wav"],mJ=["KorgDDM110/korgddm110-rim/Rim Shot.wav"],pJ=["KorgDDM110/korgddm110-sd/0Snaredrum.wav"],gJ=["KorgKPR77/korgkpr77-bd/Bassdrum.wav"],_J=["KorgKPR77/korgkpr77-cp/Clap.wav"],bJ=["KorgKPR77/korgkpr77-hh/Hat Closed.wav"],SJ=["KorgKPR77/korgkpr77-oh/Hat Open.wav"],OJ=["KorgKPR77/korgkpr77-sd/Snaredrum.wav"],vJ=["KorgKR55/korgkr55-bd/Bassdrum.wav"],EJ=["KorgKR55/korgkr55-cb/Cowbell.wav"],yJ=["KorgKR55/korgkr55-cr/Cymbal.wav"],TJ=["KorgKR55/korgkr55-hh/Hat Closed.wav"],CJ=["KorgKR55/korgkr55-ht/Tom.wav"],RJ=["KorgKR55/korgkr55-oh/Hat Open.wav"],wJ=["KorgKR55/korgkr55-perc/Claves.wav","KorgKR55/korgkr55-perc/Conga.wav"],AJ=["KorgKR55/korgkr55-rim/Rim Shot.wav"],IJ=["KorgKR55/korgkr55-sd/0Snaredrum.wav"],kJ=["KorgKRZ/korgkrz-bd/Bassdrum.wav"],NJ=["KorgKRZ/korgkrz-cr/Crash.wav"],DJ=["KorgKRZ/korgkrz-fx/FX-01.wav","KorgKRZ/korgkrz-fx/FX-02.wav"],xJ=["KorgKRZ/korgkrz-hh/Hat Closed.wav"],MJ=["KorgKRZ/korgkrz-ht/Tom-02.wav"],LJ=["KorgKRZ/korgkrz-lt/Tom-01.wav"],PJ=["KorgKRZ/korgkrz-misc/Bell.wav"],BJ=["KorgKRZ/korgkrz-oh/Hat Open.wav"],YJ=["KorgKRZ/korgkrz-rd/Ride.wav"],FJ=["KorgKRZ/korgkrz-sd/Snaredrum-01.wav","KorgKRZ/korgkrz-sd/Snaredrum-02.wav"],UJ=["KorgM1/korgm1-bd/Bassdrum-01.wav","KorgM1/korgm1-bd/Bassdrum-02.wav","KorgM1/korgm1-bd/Bassdrum-03.wav"],$J=["KorgM1/korgm1-cb/Cowbel.wav"],GJ=["KorgM1/korgm1-cp/Clap.wav"],qJ=["KorgM1/korgm1-cr/Crash.wav"],QJ=["KorgM1/korgm1-hh/Hat Closed-01.wav","KorgM1/korgm1-hh/Hat Closed-02.wav"],HJ=["KorgM1/korgm1-ht/Tom-02.wav","KorgM1/korgm1-ht/Tom-03.wav"],VJ=["KorgM1/korgm1-misc/Belrng.wav","KorgM1/korgm1-misc/Drop.wav","KorgM1/korgm1-misc/Flexttone.wav","KorgM1/korgm1-misc/Hammer.wav","KorgM1/korgm1-misc/Metal.wav","KorgM1/korgm1-misc/Metronome-01.wav","KorgM1/korgm1-misc/Metronome-02.wav","KorgM1/korgm1-misc/Pole.wav","KorgM1/korgm1-misc/Scratch.wav","KorgM1/korgm1-misc/Snap.wav","KorgM1/korgm1-misc/Tubalar Bell-01.wav","KorgM1/korgm1-misc/Tubalar Bell-02.wav","KorgM1/korgm1-misc/Tubalar Bell-03.wav","KorgM1/korgm1-misc/Tubalar Bell-04.wav","KorgM1/korgm1-misc/Whiplash.wav","KorgM1/korgm1-misc/Windbells.wav"],zJ=["KorgM1/korgm1-mt/Tom-01.wav"],WJ=["KorgM1/korgm1-oh/Hat Open-01.wav","KorgM1/korgm1-oh/Hat Open-02.wav"],XJ=["KorgM1/korgm1-perc/Conga-01.wav","KorgM1/korgm1-perc/Conga-02.wav","KorgM1/korgm1-perc/Hit.wav","KorgM1/korgm1-perc/Pluck.wav","KorgM1/korgm1-perc/Timbale-01.wav","KorgM1/korgm1-perc/Timbale-02.wav","KorgM1/korgm1-perc/Woodblock.wav"],KJ=["KorgM1/korgm1-rd/Ride.wav"],ZJ=["KorgM1/korgm1-rim/Snaredrum-side.wav"],jJ=["KorgM1/korgm1-sd/Snaredrum-01.wav","KorgM1/korgm1-sd/Snaredrum-02.wav","KorgM1/korgm1-sd/Snaredrum-03.wav","KorgM1/korgm1-sd/Snaredrum-04.wav"],JJ=["KorgM1/korgm1-sh/Shakers.wav"],eee=["KorgM1/korgm1-tb/Tambourine.wav"],tee=["KorgMinipops/korgminipops-bd/Bassdrum-01.wav","KorgMinipops/korgminipops-bd/Bassdrum-02.wav","KorgMinipops/korgminipops-bd/Bassdrum-03.wav","KorgMinipops/korgminipops-bd/Bassdrum-04.wav","KorgMinipops/korgminipops-bd/Bassdrum-05.wav","KorgMinipops/korgminipops-bd/Bassdrum-06.wav","KorgMinipops/korgminipops-bd/Bassdrum-07.wav"],nee=["KorgMinipops/korgminipops-hh/Hat Closed-01.wav","KorgMinipops/korgminipops-hh/Hat Closed-02.wav","KorgMinipops/korgminipops-hh/Hat Closed-03.wav","KorgMinipops/korgminipops-hh/Hat Closed-04.wav"],ree=["KorgMinipops/korgminipops-misc/Tom-01.wav","KorgMinipops/korgminipops-misc/Tom-02.wav","KorgMinipops/korgminipops-misc/Woodblock-01.wav","KorgMinipops/korgminipops-misc/Woodblock-02.wav"],aee=["KorgMinipops/korgminipops-oh/Hat Open-01.wav","KorgMinipops/korgminipops-oh/Hat Open-02.wav","KorgMinipops/korgminipops-oh/Hat Open-03.wav","KorgMinipops/korgminipops-oh/Hat Open-04.wav"],iee=["KorgMinipops/korgminipops-sd/Snaredrum-01.wav","KorgMinipops/korgminipops-sd/Snaredrum-02.wav","KorgMinipops/korgminipops-sd/Snaredrum-03.wav","KorgMinipops/korgminipops-sd/Snaredrum-04.wav","KorgMinipops/korgminipops-sd/Snaredrum-05.wav","KorgMinipops/korgminipops-sd/Snaredrum-06.wav","KorgMinipops/korgminipops-sd/Snaredrum-07.wav","KorgMinipops/korgminipops-sd/Snaredrum-08.wav","KorgMinipops/korgminipops-sd/Snaredrum-09.wav","KorgMinipops/korgminipops-sd/Snaredrum-10.wav","KorgMinipops/korgminipops-sd/Snaredrum-11.wav","KorgMinipops/korgminipops-sd/Snaredrum-12.wav","KorgMinipops/korgminipops-sd/Snaredrum-13.wav"],oee=["KorgPoly800/korgpoly800-bd/Bassdrum-01.wav","KorgPoly800/korgpoly800-bd/Bassdrum-02.wav","KorgPoly800/korgpoly800-bd/Bassdrum-03.wav","KorgPoly800/korgpoly800-bd/Bassdrum-04.wav"],see=["KorgT3/korgt3-bd/Bassdrum-01.wav","KorgT3/korgt3-bd/Bassdrum-02.wav","KorgT3/korgt3-bd/Bassdrum-03.wav","KorgT3/korgt3-bd/Bassdrum-04.wav","KorgT3/korgt3-bd/Bassdrum-05.wav"],lee=["KorgT3/korgt3-cp/Clap.wav"],cee=["KorgT3/korgt3-hh/Hat Closed-01.wav","KorgT3/korgt3-hh/Hat Closed-02.wav"],uee=["KorgT3/korgt3-misc/Bell-02.wav","KorgT3/korgt3-misc/Bell01.wav","KorgT3/korgt3-misc/Click.wav","KorgT3/korgt3-misc/Tubular Bell.wav"],dee=["KorgT3/korgt3-oh/Hat Open-01.wav","KorgT3/korgt3-oh/Hat Open-02.wav"],hee=["KorgT3/korgt3-perc/Blocks.wav","KorgT3/korgt3-perc/Conga.wav","KorgT3/korgt3-perc/Hit.wav","KorgT3/korgt3-perc/Stick.wav"],fee=["KorgT3/korgt3-rim/Rim shot.wav"],mee=["KorgT3/korgt3-sd/Snaredrum-01.wav","KorgT3/korgt3-sd/Snaredrum-02.wav","KorgT3/korgt3-sd/Snaredrum-03.wav","KorgT3/korgt3-sd/Snaredrum-04.wav","KorgT3/korgt3-sd/Snaredrum-05.wav"],pee=["KorgT3/korgt3-sh/Shaker-01.wav","KorgT3/korgt3-sh/Shaker-02.wav","KorgT3/korgt3-sh/zCabasa.wav"],gee=["Linn9000/linn9000-bd/BAssdrum.wav"],_ee=["Linn9000/linn9000-cb/Cowbell-01.wav","Linn9000/linn9000-cb/Cowbell-02.wav"],bee=["Linn9000/linn9000-cr/Crash-01.wav","Linn9000/linn9000-cr/Crash-02.wav"],See=["Linn9000/linn9000-hh/Hat Closed.wav"],Oee=["Linn9000/linn9000-ht/Tom-01.wav","Linn9000/linn9000-ht/Tom-02.wav"],vee=["Linn9000/linn9000-lt/Tom-04.wav","Linn9000/linn9000-lt/Tom-05.wav"],Eee=["Linn9000/linn9000-mt/Tom-03.wav"],yee=["Linn9000/linn9000-oh/Hat Open.wav"],Tee=["Linn9000/linn9000-perc/Conga H.wav","Linn9000/linn9000-perc/Conga L.wav","Linn9000/linn9000-perc/Conga M.wav"],Cee=["Linn9000/linn9000-rd/Crash-03.wav","Linn9000/linn9000-rd/Ping.wav"],Ree=["Linn9000/linn9000-rim/Rim Shot.wav"],wee=["Linn9000/linn9000-sd/0Snaredrum.wav"],Aee=["Linn9000/linn9000-tb/Tambourine.wav"],Iee=["LinnDrum/linndrum-bd/Bassdrum.wav"],kee=["LinnDrum/linndrum-cb/Cowbell.wav"],Nee=["LinnDrum/linndrum-cp/Clap.wav"],Dee=["LinnDrum/linndrum-cr/Crash.wav"],xee=["LinnDrum/linndrum-hh/Hat Closed-01.wav","LinnDrum/linndrum-hh/Hat Closed-02.wav","LinnDrum/linndrum-hh/Hat Closed-03.wav"],Mee=["LinnDrum/linndrum-ht/Tom H-01.wav","LinnDrum/linndrum-ht/Tom H-02.wav"],Lee=["LinnDrum/linndrum-lt/Tom L-01.wav","LinnDrum/linndrum-lt/Tom L-02.wav"],Pee=["LinnDrum/linndrum-mt/Tom M-01.wav"],Bee=["LinnDrum/linndrum-oh/Hat Open.wav"],Yee=["LinnDrum/linndrum-perc/Conga H-01.wav","LinnDrum/linndrum-perc/Conga H-02.wav","LinnDrum/linndrum-perc/Conga L-01.wav","LinnDrum/linndrum-perc/Conga L-02.wav","LinnDrum/linndrum-perc/Conga M-01.wav","LinnDrum/linndrum-perc/Conga M-02.wav"],Fee=["LinnDrum/linndrum-rd/Ride.wav"],Uee=["LinnDrum/linndrum-rim/Sidestick-01.wav","LinnDrum/linndrum-rim/Sidestick-02.wav","LinnDrum/linndrum-rim/Sidestick-03.wav"],$ee=["LinnDrum/linndrum-sd/0Snarderum-01.wav","LinnDrum/linndrum-sd/0Snarderum-02.wav","LinnDrum/linndrum-sd/0Snarderum-03.wav"],Gee=["LinnDrum/linndrum-sh/Cabasa.wav"],qee=["LinnDrum/linndrum-tb/Tambourine.wav"],Qee=["LinnLM1/linnlm1-bd/LM-1_BD_1_TL.wav","LinnLM1/linnlm1-bd/LM-1_BD_2_TL.wav","LinnLM1/linnlm1-bd/LM-1_BD_3_TL.wav","LinnLM1/linnlm1-bd/LM-1_BD_4_TL.wav"],Hee=["LinnLM1/linnlm1-cb/LM-1_COWBELL_TL.wav"],Vee=["LinnLM1/linnlm1-cp/LM-1_CLAP_1_TL.wav"],zee=["LinnLM1/linnlm1-hh/LM-1_HH_1_TL.wav"],Wee=["LinnLM1/linnlm1-ht/LM-1_Tom_2_TL.wav"],Xee=["LinnLM1/linnlm1-lt/LM-1_Tom_1_TL.wav"],Kee=["LinnLM1/linnlm1-oh/LM-1_HH_2_TL.wav"],Zee=["LinnLM1/linnlm1-perc/LM-1_BONGO_1_TL.wav","LinnLM1/linnlm1-perc/LM-1_BONGO_2_TL.wav","LinnLM1/linnlm1-perc/LM-1_WOODBLOCK_TL.wav"],jee=["LinnLM1/linnlm1-rim/LM-1_RIMSHOT_1_TL.wav"],Jee=["LinnLM1/linnlm1-sd/LM-1_SD_1_TL.wav"],ete=["LinnLM1/linnlm1-sh/LM-1_SHAKER_1_TL.wav"],tte=["LinnLM1/linnlm1-tb/LM-1_TAMB_TL.wav"],nte=["LinnLM2/linnlm2-bd/LM-2_BD_1_TL.wav","LinnLM2/linnlm2-bd/LM-2_BD_2_TL.wav","LinnLM2/linnlm2-bd/LM-2_BD_3_TL.wav","LinnLM2/linnlm2-bd/LM-2_BD_4_TL.wav"],rte=["LinnLM2/linnlm2-cb/LM-2_COWBELL_1_TL.wav"],ate=["LinnLM2/linnlm2-cp/LM-2_CLAP_1_TL.wav"],ite=["LinnLM2/linnlm2-cr/LM-2_CRASH_1_TL.wav"],ote=["LinnLM2/linnlm2-hh/LM-2_HH_1_TL.wav","LinnLM2/linnlm2-hh/LM-2_HH_2_TL.wav"],ste=["LinnLM2/linnlm2-ht/LM-2_TOM_1_TL.wav"],lte=["LinnLM2/linnlm2-lt/LM-2_TOM_3_TL.wav"],cte=["LinnLM2/linnlm2-mt/LM-2_TOM_2_TL.wav"],ute=["LinnLM2/linnlm2-oh/LM-2_OPEN_HH_2_TL.wav","LinnLM2/linnlm2-oh/LM-2_OPEN_HH_TL.wav"],dte=["LinnLM2/linnlm2-rd/LM-2_RIDE_1_TL.wav"],hte=["LinnLM2/linnlm2-rim/LM-2_RIMSHOT_1_TL.wav","LinnLM2/linnlm2-rim/LM-2_RIMSHOT_2_TL.wav"],fte=["LinnLM2/linnlm2-sd/LM-2_SD_1_TL.wav","LinnLM2/linnlm2-sd/LM-2_SD_2_TL.wav","LinnLM2/linnlm2-sd/LM-2_SD_3_TL.wav","LinnLM2/linnlm2-sd/LM-2_SD_4_TL.wav"],mte=["LinnLM2/linnlm2-sh/LM-2_SHAKER_1_TL.wav"],pte=["LinnLM2/linnlm2-tb/LM-2_TAMB_1_TL.wav"],gte=["MFB512/mfb512-bd/Bassdrum.wav"],_te=["MFB512/mfb512-cp/Clap.wav"],bte=["MFB512/mfb512-cr/Crash.wav"],Ste=["MFB512/mfb512-hh/Hat Closed.wav"],Ote=["MFB512/mfb512-ht/Tom H.wav"],vte=["MFB512/mfb512-lt/Tom L.wav"],Ete=["MFB512/mfb512-mt/Tom M.wav"],yte=["MFB512/mfb512-oh/Hat Open.wav"],Tte=["MFB512/mfb512-sd/Snaredrum.wav"],Cte=["MPC1000/mpc1000-bd/MPC1000_808BD_TL.wav","MPC1000/mpc1000-bd/MPC1000_909BD_TL.wav","MPC1000/mpc1000-bd/MPC1000_DB-BD2_TL.wav","MPC1000/mpc1000-bd/MPC1000_HH-BD_TL.wav","MPC1000/mpc1000-bd/MPC1000_HOUSEBD_TL.wav"],Rte=["MPC1000/mpc1000-cp/MPC1000_CLAP_TL.wav"],wte=["MPC1000/mpc1000-hh/MPC1000_808HH1_TL.wav","MPC1000/mpc1000-hh/MPC1000_808HH2_TL.wav","MPC1000/mpc1000-hh/MPC1000_909CHH_TL.wav","MPC1000/mpc1000-hh/MPC1000_HHCHH1_TL.wav"],Ate=["MPC1000/mpc1000-oh/MPC1000_909OHH_TL.wav"],Ite=["MPC1000/mpc1000-perc/MPC1000_HHPERC_TL.wav"],kte=["MPC1000/mpc1000-sd/MPC1000_808SD_TL.wav","MPC1000/mpc1000-sd/MPC1000_909SD_TL.wav","MPC1000/mpc1000-sd/MPC1000_DB-SN_TL.wav","MPC1000/mpc1000-sd/MPC1000_HH-SN_TL.wav"],Nte=["MPC1000/mpc1000-sh/MPC1000_808MRC_TL.wav"],Dte=["MoogConcertMateMG1/moogconcertmatemg1-bd/Bassdrum-01.wav","MoogConcertMateMG1/moogconcertmatemg1-bd/Bassdrum-02.wav","MoogConcertMateMG1/moogconcertmatemg1-bd/Bassdrum-03.wav"],xte=["MoogConcertMateMG1/moogconcertmatemg1-sd/Snaredrum-1.wav","MoogConcertMateMG1/moogconcertmatemg1-sd/Snaredrum-2.wav"],Mte=["OberheimDMX/oberheimdmx--perc/Timbale H.wav","OberheimDMX/oberheimdmx--perc/Timbale L.wav","OberheimDMX/oberheimdmx--perc/Timbale M.wav"],Lte=["OberheimDMX/oberheimdmx-bd/Bassdrum-01.wav","OberheimDMX/oberheimdmx-bd/Bassdrum-02.wav","OberheimDMX/oberheimdmx-bd/Bassdrum-03.wav"],Pte=["OberheimDMX/oberheimdmx-cp/Clap.wav"],Bte=["OberheimDMX/oberheimdmx-cr/Crash.wav"],Yte=["OberheimDMX/oberheimdmx-hh/Hat Closed.wav"],Fte=["OberheimDMX/oberheimdmx-ht/Tom H.wav"],Ute=["OberheimDMX/oberheimdmx-lt/Tom L.wav"],$te=["OberheimDMX/oberheimdmx-mt/Tom M.wav"],Gte=["OberheimDMX/oberheimdmx-oh/Hat Open.wav"],qte=["OberheimDMX/oberheimdmx-rd/Ride.wav"],Qte=["OberheimDMX/oberheimdmx-rim/Rim Shot.wav"],Hte=["OberheimDMX/oberheimdmx-sd/Snaredrum-01.wav","OberheimDMX/oberheimdmx-sd/Snaredrum-02.wav","OberheimDMX/oberheimdmx-sd/Snaredrum-03.wav"],Vte=["OberheimDMX/oberheimdmx-sh/Cabasa.wav"],zte=["OberheimDMX/oberheimdmx-tb/Tamborine.wav"],Wte=["RhodesPolaris/rhodespolaris-bd/Bassdrum-01.wav","RhodesPolaris/rhodespolaris-bd/Bassdrum-02.wav","RhodesPolaris/rhodespolaris-bd/Bassdrum-03.wav","RhodesPolaris/rhodespolaris-bd/Bassdrum-04.wav"],Xte=["RhodesPolaris/rhodespolaris-misc/Noise-1.wav","RhodesPolaris/rhodespolaris-misc/Noise-2.wav","RhodesPolaris/rhodespolaris-misc/Noise-3.wav","RhodesPolaris/rhodespolaris-misc/Noise-4.wav"],Kte=["RhodesPolaris/rhodespolaris-sd/Snaredrum-01.wav","RhodesPolaris/rhodespolaris-sd/Snaredrum-02.wav","RhodesPolaris/rhodespolaris-sd/Snaredrum-03.wav","RhodesPolaris/rhodespolaris-sd/Snaredrum-04.wav"],Zte=["RhythmAce/rhythmace-bd/Bassdrum-01.wav","RhythmAce/rhythmace-bd/Bassdrum-02.wav","RhythmAce/rhythmace-bd/Bassdrum-03.wav"],jte=["RhythmAce/rhythmace-hh/Hat Closed.wav"],Jte=["RhythmAce/rhythmace-ht/Tom H.wav"],ene=["RhythmAce/rhythmace-lt/Tom L.wav"],tne=["RhythmAce/rhythmace-oh/Hat Open.wav"],nne=["RhythmAce/rhythmace-perc/Clave.wav","RhythmAce/rhythmace-perc/Click.wav","RhythmAce/rhythmace-perc/Percussion-01.wav","RhythmAce/rhythmace-perc/Percussion-02.wav","RhythmAce/rhythmace-perc/Percussion-03.wav","RhythmAce/rhythmace-perc/Percussion-04.wav"],rne=["RhythmAce/rhythmace-sd/Snaredrum-01.wav","RhythmAce/rhythmace-sd/Snaredrum-02.wav","RhythmAce/rhythmace-sd/Snaredrum-03.wav"],ane=["RolandCompurhythm1000/rolandcompurhythm1000-bd/Bassdrum.wav"],ine=["RolandCompurhythm1000/rolandcompurhythm1000-cb/Cowbell.wav"],one=["RolandCompurhythm1000/rolandcompurhythm1000-cp/Clap.wav"],sne=["RolandCompurhythm1000/rolandcompurhythm1000-cr/Crash.wav"],lne=["RolandCompurhythm1000/rolandcompurhythm1000-hh/Hat Closed.wav"],cne=["RolandCompurhythm1000/rolandcompurhythm1000-ht/Tom H.wav"],une=["RolandCompurhythm1000/rolandcompurhythm1000-lt/Tom L.wav"],dne=["RolandCompurhythm1000/rolandcompurhythm1000-mt/Tom M.wav"],hne=["RolandCompurhythm1000/rolandcompurhythm1000-oh/Hat Open.wav"],fne=["RolandCompurhythm1000/rolandcompurhythm1000-perc/Conga H.wav","RolandCompurhythm1000/rolandcompurhythm1000-perc/Conga L.wav","RolandCompurhythm1000/rolandcompurhythm1000-perc/Timbale.wav"],mne=["RolandCompurhythm1000/rolandcompurhythm1000-rd/Ride.wav"],pne=["RolandCompurhythm1000/rolandcompurhythm1000-rim/Rimshot.wav"],gne=["RolandCompurhythm1000/rolandcompurhythm1000-sd/Snaredrum.wav"],_ne=["RolandCompurhythm78/rolandcompurhythm78-bd/Bassdrum.wav"],bne=["RolandCompurhythm78/rolandcompurhythm78-cb/Cowbell.wav"],Sne=["RolandCompurhythm78/rolandcompurhythm78-hh/Hat Closed-01.wav","RolandCompurhythm78/rolandcompurhythm78-hh/Hat Closed-02.wav"],One=["RolandCompurhythm78/rolandcompurhythm78-misc/Quid-01.wav","RolandCompurhythm78/rolandcompurhythm78-misc/Quid-02.wav","RolandCompurhythm78/rolandcompurhythm78-misc/Quid-03.wav","RolandCompurhythm78/rolandcompurhythm78-misc/Quid-04.wav"],vne=["RolandCompurhythm78/rolandcompurhythm78-oh/Hat Open-01.wav","RolandCompurhythm78/rolandcompurhythm78-oh/Hat Open-02.wav"],Ene=["RolandCompurhythm78/rolandcompurhythm78-perc/Conga H.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Conga L.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Conga M.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Hit.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-01.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-02.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-03.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-04.wav"],yne=["RolandCompurhythm78/rolandcompurhythm78-sd/Snaredrum.wav"],Tne=["RolandCompurhythm78/rolandcompurhythm78-tb/Tambourine.wav"],Cne=["RolandCompurhythm8000/rolandcompurhythm8000-bd/Bassdrum.wav"],Rne=["RolandCompurhythm8000/rolandcompurhythm8000-cb/Cowbell.wav"],wne=["RolandCompurhythm8000/rolandcompurhythm8000-cp/Clap.wav"],Ane=["RolandCompurhythm8000/rolandcompurhythm8000-cr/Cymball.wav"],Ine=["RolandCompurhythm8000/rolandcompurhythm8000-hh/Hat Closed.wav"],kne=["RolandCompurhythm8000/rolandcompurhythm8000-ht/Tom H.wav"],Nne=["RolandCompurhythm8000/rolandcompurhythm8000-lt/Tom L.wav"],Dne=["RolandCompurhythm8000/rolandcompurhythm8000-mt/Tom M.wav"],xne=["RolandCompurhythm8000/rolandcompurhythm8000-oh/Hat Open.wav"],Mne=["RolandCompurhythm8000/rolandcompurhythm8000-perc/Claves.wav","RolandCompurhythm8000/rolandcompurhythm8000-perc/Cr8kmcng.wav"],Lne=["RolandCompurhythm8000/rolandcompurhythm8000-rim/Rimshot.wav"],Pne=["RolandCompurhythm8000/rolandcompurhythm8000-sd/Snarderum.wav"],Bne=["RolandD110/rolandd110-bd/Bassdrum.wav"],Yne=["RolandD110/rolandd110-cb/Cowbell H.wav","RolandD110/rolandd110-cb/Cowbell L.wav"],Fne=["RolandD110/rolandd110-cr/Crash.wav"],Une=["RolandD110/rolandd110-hh/Hat Closed.wav"],$ne=["RolandD110/rolandd110-lt/Tom.wav"],Gne=["RolandD110/rolandd110-oh/Hat Open.wav","RolandD110/rolandd110-oh/Hat Pedal.wav"],qne=["RolandD110/rolandd110-perc/Bongo.wav","RolandD110/rolandd110-perc/Conga.wav","RolandD110/rolandd110-perc/Woodblock.wav"],Qne=["RolandD110/rolandd110-rd/Ride.wav"],Hne=["RolandD110/rolandd110-rim/Rimshot.wav"],Vne=["RolandD110/rolandd110-sd/Snaredrum-01.wav","RolandD110/rolandd110-sd/Snaredrum-02.wav","RolandD110/rolandd110-sd/Snaredrum-03.wav"],zne=["RolandD110/rolandd110-sh/Cabasa.wav"],Wne=["RolandD110/rolandd110-tb/Tambourine.wav"],Xne=["RolandD70/rolandd70-bd/Bassdrum-01.wav","RolandD70/rolandd70-bd/Bassdrum-02.wav","RolandD70/rolandd70-bd/Bassdrum-03.wav","RolandD70/rolandd70-bd/Bassdrum-04.wav"],Kne=["RolandD70/rolandd70-cb/Cowbell.wav"],Zne=["RolandD70/rolandd70-cp/Clap.wav"],jne=["RolandD70/rolandd70-cr/Crash.wav"],Jne=["RolandD70/rolandd70-hh/Hat Closed.wav"],ere=["RolandD70/rolandd70-lt/Tom-02.wav"],tre=["RolandD70/rolandd70-mt/Tom.-01.wav"],nre=["RolandD70/rolandd70-oh/Hat Open.wav"],rre=["RolandD70/rolandd70-perc/Sticks.wav"],are=["RolandD70/rolandd70-rd/Ride.wav"],ire=["RolandD70/rolandd70-rim/Rim Shot.wav"],ore=["RolandD70/rolandd70-sd/Snaredrum-01.wav","RolandD70/rolandd70-sd/Snaredrum-02.wav","RolandD70/rolandd70-sd/Snaredrum-03.wav","RolandD70/rolandd70-sd/Snaredrum-04.wav","RolandD70/rolandd70-sd/Snaredrum-05.wav"],sre=["RolandD70/rolandd70-sh/Cabasa.wav"],lre=["RolandDDR30/rolandddr30-bd/Bassdrum-01.wav","RolandDDR30/rolandddr30-bd/Bassdrum-02.wav","RolandDDR30/rolandddr30-bd/Bassdrum-03.wav","RolandDDR30/rolandddr30-bd/Bassdrum-04.wav","RolandDDR30/rolandddr30-bd/Bassdrum-05.wav","RolandDDR30/rolandddr30-bd/Bassdrum-06.wav","RolandDDR30/rolandddr30-bd/Bassdrum-07.wav","RolandDDR30/rolandddr30-bd/Bassdrum-08.wav"],cre=["RolandDDR30/rolandddr30-ht/Tom-01.wav","RolandDDR30/rolandddr30-ht/Tom-03.wav","RolandDDR30/rolandddr30-ht/Tom-05.wav","RolandDDR30/rolandddr30-ht/Tom-07.wav"],ure=["RolandDDR30/rolandddr30-lt/Tom-02.wav","RolandDDR30/rolandddr30-lt/Tom-04.wav","RolandDDR30/rolandddr30-lt/Tom-06.wav","RolandDDR30/rolandddr30-lt/Tom-08.wav"],dre=["RolandDDR30/rolandddr30-sd/Snaredrum-01.wav","RolandDDR30/rolandddr30-sd/Snaredrum-02.wav","RolandDDR30/rolandddr30-sd/Snaredrum-03.wav","RolandDDR30/rolandddr30-sd/Snaredrum-04.wav","RolandDDR30/rolandddr30-sd/Snaredrum-05.wav","RolandDDR30/rolandddr30-sd/Snaredrum-06.wav","RolandDDR30/rolandddr30-sd/Snaredrum-07.wav","RolandDDR30/rolandddr30-sd/Snaredrum-08.wav"],hre=["RolandJD990/rolandjd990-bd/Bryt-kck.wav","RolandJD990/rolandjd990-bd/Butt-kck.wav","RolandJD990/rolandjd990-bd/Gate-kck.wav","RolandJD990/rolandjd990-bd/Indstr-k.wav","RolandJD990/rolandjd990-bd/Mach-kck.wav","RolandJD990/rolandjd990-bd/Mondo-k.wav","RolandJD990/rolandjd990-bd/Room-kck.wav","RolandJD990/rolandjd990-bd/Smash-k.wav","RolandJD990/rolandjd990-bd/Solid-k.wav","RolandJD990/rolandjd990-bd/Tekno-k.wav"],fre=["RolandJD990/rolandjd990-cb/Cowbell.wav"],mre=["RolandJD990/rolandjd990-cp/Dance-cl.wav"],pre=["RolandJD990/rolandjd990-cr/Crsh-cym.wav"],gre=["RolandJD990/rolandjd990-hh/Chh_1.wav","RolandJD990/rolandjd990-hh/Chh_2.wav","RolandJD990/rolandjd990-hh/Lite-ch1.wav","RolandJD990/rolandjd990-hh/Lite-ch2.wav"],_re=["RolandJD990/rolandjd990-ht/Rim-tom1.wav"],bre=["RolandJD990/rolandjd990-lt/Blast-tm.wav","RolandJD990/rolandjd990-lt/Boosh-tm.wav","RolandJD990/rolandjd990-lt/E-tom.wav","RolandJD990/rolandjd990-lt/Power_tm.wav","RolandJD990/rolandjd990-lt/Rim-tom4.wav"],Sre=["RolandJD990/rolandjd990-misc/Crystal.wav","RolandJD990/rolandjd990-misc/Digibels.wav","RolandJD990/rolandjd990-misc/Digichim.wav","RolandJD990/rolandjd990-misc/Fingbell.wav","RolandJD990/rolandjd990-misc/Gamelan.wav","RolandJD990/rolandjd990-misc/Kalimba.wav","RolandJD990/rolandjd990-misc/Marimwav.wav","RolandJD990/rolandjd990-misc/Org_bell.wav","RolandJD990/rolandjd990-misc/Plink.wav","RolandJD990/rolandjd990-misc/Plunk.wav","RolandJD990/rolandjd990-misc/Vibes.wav","RolandJD990/rolandjd990-misc/Xylo.wav"],Ore=["RolandJD990/rolandjd990-mt/Rim-tom2.wav","RolandJD990/rolandjd990-mt/Rim-tom3.wav"],vre=["RolandJD990/rolandjd990-oh/Lite-ohh.wav","RolandJD990/rolandjd990-oh/Ohh.wav"],Ere=["RolandJD990/rolandjd990-perc/Agogo_bl.wav","RolandJD990/rolandjd990-perc/Bottlhit.wav","RolandJD990/rolandjd990-perc/Rattles.wav","RolandJD990/rolandjd990-perc/Sm_metal.wav","RolandJD990/rolandjd990-perc/Snaps.wav","RolandJD990/rolandjd990-perc/Woodcrak.wav"],yre=["RolandJD990/rolandjd990-rd/Ride_cym.wav"],Tre=["RolandJD990/rolandjd990-sd/90's-sd.wav","RolandJD990/rolandjd990-sd/Attack_s.wav","RolandJD990/rolandjd990-sd/Bigshots.wav","RolandJD990/rolandjd990-sd/Combo-sd.wav","RolandJD990/rolandjd990-sd/Dance-s1.wav","RolandJD990/rolandjd990-sd/Dance-s2.wav","RolandJD990/rolandjd990-sd/Disco-sd.wav","RolandJD990/rolandjd990-sd/Hard-sd.wav","RolandJD990/rolandjd990-sd/Hiphop-s.wav","RolandJD990/rolandjd990-sd/House-sd.wav","RolandJD990/rolandjd990-sd/Power_sd.wav","RolandJD990/rolandjd990-sd/Rap-sd.wav","RolandJD990/rolandjd990-sd/Splat-sd.wav","RolandJD990/rolandjd990-sd/Swing-sd.wav","RolandJD990/rolandjd990-sd/Video-sd.wav"],Cre=["RolandJD990/rolandjd990-tb/Tambourn.wav"],Rre=["RolandMC202/rolandmc202-bd/Bassdrum-01.wav","RolandMC202/rolandmc202-bd/Bassdrum-02.wav","RolandMC202/rolandmc202-bd/Bassdrum-03.wav","RolandMC202/rolandmc202-bd/Bassdrum-04.wav","RolandMC202/rolandmc202-bd/Bassdrum-05.wav"],wre=["RolandMC202/rolandmc202-ht/Tom H-02.wav","RolandMC202/rolandmc202-ht/Tom H-03.wav","RolandMC202/rolandmc202-ht/Tom H-04.wav"],Are=["RolandMC202/rolandmc202-perc/Click.wav"],Ire=["RolandMC303/rolandmc303-bd/606bd1.wav","RolandMC303/rolandmc303-bd/606bd2.wav","RolandMC303/rolandmc303-bd/606bd3.wav","RolandMC303/rolandmc303-bd/Afrofeet.wav","RolandMC303/rolandmc303-bd/Blipbd.wav","RolandMC303/rolandmc303-bd/Cavebd.wav","RolandMC303/rolandmc303-bd/Cavebd2.wav","RolandMC303/rolandmc303-bd/Distbd1.wav","RolandMC303/rolandmc303-bd/Distbd2.wav","RolandMC303/rolandmc303-bd/Distbd3.wav","RolandMC303/rolandmc303-bd/Drybd1.wav","RolandMC303/rolandmc303-bd/Drybd2.wav","RolandMC303/rolandmc303-bd/Drybd3.wav","RolandMC303/rolandmc303-bd/Elecbd.wav","RolandMC303/rolandmc303-bd/Jnglebd2.wav","RolandMC303/rolandmc303-bd/Junglebd.wav"],kre=["RolandMC303/rolandmc303-cb/78cowbel.wav","RolandMC303/rolandmc303-cb/Cowbell.wav"],Nre=["RolandMC303/rolandmc303-cp/707clap.wav","RolandMC303/rolandmc303-cp/Hardclap.wav","RolandMC303/rolandmc303-cp/Hc2clap.wav","RolandMC303/rolandmc303-cp/Hipclap1.wav","RolandMC303/rolandmc303-cp/Rapclap1.wav","RolandMC303/rolandmc303-cp/Rapclap2.wav","RolandMC303/rolandmc303-cp/Realclap.wav","RolandMC303/rolandmc303-cp/Shakecla.wav"],Dre=["RolandMC303/rolandmc303-fx/Hrtbeat.wav","RolandMC303/rolandmc303-fx/Whitnoiz.wav"],xre=["RolandMC303/rolandmc303-hh/606ch.wav","RolandMC303/rolandmc303-hh/707ch.wav","RolandMC303/rolandmc303-hh/78ch.wav","RolandMC303/rolandmc303-hh/Realch1.wav","RolandMC303/rolandmc303-hh/Realch2.wav","RolandMC303/rolandmc303-hh/Roomch.wav"],Mre=["RolandMC303/rolandmc303-ht/78hitom.wav","RolandMC303/rolandmc303-ht/Achitom1.wav","RolandMC303/rolandmc303-ht/Achitom2.wav","RolandMC303/rolandmc303-ht/Lechito1.wav","RolandMC303/rolandmc303-ht/Lechito2.wav"],Lre=["RolandMC303/rolandmc303-lt/78lotom.wav","RolandMC303/rolandmc303-lt/Aclotom1.wav","RolandMC303/rolandmc303-lt/Aclotom2.wav","RolandMC303/rolandmc303-lt/Lecloto2.wav","RolandMC303/rolandmc303-lt/Losyntht.wav"],Pre=["RolandMC303/rolandmc303-misc/Asiangon.wav","RolandMC303/rolandmc303-misc/Fnkygost.wav","RolandMC303/rolandmc303-misc/Fxsd1.wav","RolandMC303/rolandmc303-misc/Fxsd2.wav","RolandMC303/rolandmc303-misc/Mgblip1.wav","RolandMC303/rolandmc303-misc/Mutecuic.wav","RolandMC303/rolandmc303-misc/Opencuic.wav","RolandMC303/rolandmc303-misc/Slap.wav"],Bre=["RolandMC303/rolandmc303-mt/78midtom.wav","RolandMC303/rolandmc303-mt/Acmidtm2.wav","RolandMC303/rolandmc303-mt/Acmidtom.wav","RolandMC303/rolandmc303-mt/Lecmidt1.wav","RolandMC303/rolandmc303-mt/Lecmidt2.wav","RolandMC303/rolandmc303-mt/Midsynth.wav"],Yre=["RolandMC303/rolandmc303-oh/707oh.wav","RolandMC303/rolandmc303-oh/78oh.wav","RolandMC303/rolandmc303-oh/Realoh1.wav","RolandMC303/rolandmc303-oh/Realoh2.wav","RolandMC303/rolandmc303-oh/Roomoh.wav"],Fre=["RolandMC303/rolandmc303-perc/78guiro.wav","RolandMC303/rolandmc303-perc/78metalb.wav","RolandMC303/rolandmc303-perc/Bamboosd.wav","RolandMC303/rolandmc303-perc/Bamboost.wav","RolandMC303/rolandmc303-perc/Brushswi.wav","RolandMC303/rolandmc303-perc/Claves.wav","RolandMC303/rolandmc303-perc/Elechibo.wav","RolandMC303/rolandmc303-perc/Eleclobo.wav","RolandMC303/rolandmc303-perc/Elecloto.wav","RolandMC303/rolandmc303-perc/Fingersn.wav","RolandMC303/rolandmc303-perc/Hiagogo.wav","RolandMC303/rolandmc303-perc/Hibamboo.wav","RolandMC303/rolandmc303-perc/Hibongoo.wav","RolandMC303/rolandmc303-perc/Hicongao.wav","RolandMC303/rolandmc303-perc/Hicongas.wav","RolandMC303/rolandmc303-perc/Hihyoshi.wav","RolandMC303/rolandmc303-perc/Hisyntht.wav","RolandMC303/rolandmc303-perc/Hitimbal.wav","RolandMC303/rolandmc303-perc/Hiwoodbl.wav","RolandMC303/rolandmc303-perc/Loagogo.wav","RolandMC303/rolandmc303-perc/Lobamboo.wav","RolandMC303/rolandmc303-perc/Lobongoo.wav","RolandMC303/rolandmc303-perc/Locongao.wav","RolandMC303/rolandmc303-perc/Lohyoshi.wav","RolandMC303/rolandmc303-perc/Longguir.wav","RolandMC303/rolandmc303-perc/Longwhis.wav","RolandMC303/rolandmc303-perc/Lotimbal.wav","RolandMC303/rolandmc303-perc/Lowoodbl.wav","RolandMC303/rolandmc303-perc/Mutepand.wav","RolandMC303/rolandmc303-perc/Mutesurd.wav","RolandMC303/rolandmc303-perc/Mutetria.wav","RolandMC303/rolandmc303-perc/Openpand.wav","RolandMC303/rolandmc303-perc/Opensurd.wav","RolandMC303/rolandmc303-perc/Opentria.wav","RolandMC303/rolandmc303-perc/Shortgui.wav","RolandMC303/rolandmc303-perc/Shortwhi.wav","RolandMC303/rolandmc303-perc/Tablabay.wav","RolandMC303/rolandmc303-perc/Udo.wav","RolandMC303/rolandmc303-perc/Vibrasla.wav"],Ure=["RolandMC303/rolandmc303-rd/Ridecym2.wav","RolandMC303/rolandmc303-rd/Ridecymb.wav"],$re=["RolandMC303/rolandmc303-rim/Rimsd1.wav","RolandMC303/rolandmc303-rim/Rimsd2.wav","RolandMC303/rolandmc303-rim/Rimshot.wav","RolandMC303/rolandmc303-rim/Tinyrim2.wav","RolandMC303/rolandmc303-rim/Tinyrim3.wav","RolandMC303/rolandmc303-rim/Tinyrim4.wav"],Gre=["RolandMC303/rolandmc303-sd/606sd1.wav","RolandMC303/rolandmc303-sd/606sd2.wav","RolandMC303/rolandmc303-sd/606sd3.wav","RolandMC303/rolandmc303-sd/78sd.wav","RolandMC303/rolandmc303-sd/80809sd.wav","RolandMC303/rolandmc303-sd/Brushslp.wav","RolandMC303/rolandmc303-sd/Brushtap.wav","RolandMC303/rolandmc303-sd/Clipsd1.wav","RolandMC303/rolandmc303-sd/Clipsd2.wav","RolandMC303/rolandmc303-sd/Drysd1.wav","RolandMC303/rolandmc303-sd/Drysd2.wav","RolandMC303/rolandmc303-sd/Elecsd1.wav","RolandMC303/rolandmc303-sd/Funkysd1.wav","RolandMC303/rolandmc303-sd/Funkysd2.wav","RolandMC303/rolandmc303-sd/Hardsd1.wav","RolandMC303/rolandmc303-sd/Hypersd1.wav","RolandMC303/rolandmc303-sd/Hypersd2.wav","RolandMC303/rolandmc303-sd/Jnglesd1.wav","RolandMC303/rolandmc303-sd/Jnglesd2.wav","RolandMC303/rolandmc303-sd/Jnglesd3.wav","RolandMC303/rolandmc303-sd/Jnglesd4.wav","RolandMC303/rolandmc303-sd/Midbambo.wav","RolandMC303/rolandmc303-sd/Rapsd.wav","RolandMC303/rolandmc303-sd/Tambsd1.wav","RolandMC303/rolandmc303-sd/Tightsd.wav","RolandMC303/rolandmc303-sd/Tinysd.wav"],qre=["RolandMC303/rolandmc303-sh/626shake.wav","RolandMC303/rolandmc303-sh/Cabasado.wav","RolandMC303/rolandmc303-sh/Cabasaup.wav","RolandMC303/rolandmc303-sh/Maracas.wav","RolandMC303/rolandmc303-sh/Realph1.wav","RolandMC303/rolandmc303-sh/Realph2.wav","RolandMC303/rolandmc303-sh/Shaker.wav"],Qre=["RolandMC303/rolandmc303-tb/78tamb.wav","RolandMC303/rolandmc303-tb/Hittamb.wav","RolandMC303/rolandmc303-tb/Jngletam.wav","RolandMC303/rolandmc303-tb/Shaketam.wav","RolandMC303/rolandmc303-tb/Tambouri.wav"],Hre=["RolandMT32/rolandmt32-bd/Bassdrum.wav"],Vre=["RolandMT32/rolandmt32-cb/Cowbell.wav"],zre=["RolandMT32/rolandmt32-cp/Clap.wav"],Wre=["RolandMT32/rolandmt32-cr/Crash.wav"],Xre=["RolandMT32/rolandmt32-hh/Hat Closed.wav"],Kre=["RolandMT32/rolandmt32-ht/Tom H.wav"],Zre=["RolandMT32/rolandmt32-lt/Tom L.wav"],jre=["RolandMT32/rolandmt32-mt/Tom M.wav"],Jre=["RolandMT32/rolandmt32-oh/Hat Open-01.wav","RolandMT32/rolandmt32-oh/Hat Open-02.wav"],eae=["RolandMT32/rolandmt32-perc/Agogo H.wav","RolandMT32/rolandmt32-perc/Agogo L.wav","RolandMT32/rolandmt32-perc/Bongo H.wav","RolandMT32/rolandmt32-perc/Bongo L.wav","RolandMT32/rolandmt32-perc/Claves.wav","RolandMT32/rolandmt32-perc/Conga H.wav","RolandMT32/rolandmt32-perc/Conga L.wav","RolandMT32/rolandmt32-perc/Conga Muted H.wav","RolandMT32/rolandmt32-perc/Quijada.wav","RolandMT32/rolandmt32-perc/Timbale H.wav","RolandMT32/rolandmt32-perc/Timbale L.wav","RolandMT32/rolandmt32-perc/Whistle Short.wav","RolandMT32/rolandmt32-perc/Whistle.wav"],tae=["RolandMT32/rolandmt32-rd/Ride.wav"],nae=["RolandMT32/rolandmt32-rim/RimShot.wav"],rae=["RolandMT32/rolandmt32-sd/Snaredrum-01.wav","RolandMT32/rolandmt32-sd/Snaredrum-02.wav"],aae=["RolandMT32/rolandmt32-sh/Cabasa.wav","RolandMT32/rolandmt32-sh/Maracas.wav"],iae=["RolandMT32/rolandmt32-tb/Tambourine.wav"],oae=["RolandR8/rolandr8-bd/Bassdrum-01.wav","RolandR8/rolandr8-bd/Bassdrum-02.wav","RolandR8/rolandr8-bd/Bassdrum-03.wav","RolandR8/rolandr8-bd/Bassdrum-04.wav","RolandR8/rolandr8-bd/Bassdrum-05.wav","RolandR8/rolandr8-bd/Bassdrum-06.wav","RolandR8/rolandr8-bd/Bassdrum-07.wav"],sae=["RolandR8/rolandr8-cb/Cowbell.wav"],lae=["RolandR8/rolandr8-cp/Clap.wav"],cae=["RolandR8/rolandr8-cr/Crash.wav"],uae=["RolandR8/rolandr8-hh/Hat Closed.wav","RolandR8/rolandr8-hh/Hat Pedal.wav"],dae=["RolandR8/rolandr8-ht/Tom H-01.wav","RolandR8/rolandr8-ht/Tom H-02.wav","RolandR8/rolandr8-ht/Tom H-03.wav","RolandR8/rolandr8-ht/Tom H-04.wav"],hae=["RolandR8/rolandr8-lt/Tom L-01.wav","RolandR8/rolandr8-lt/Tom L-02.wav","RolandR8/rolandr8-lt/Tom L-03.wav","RolandR8/rolandr8-lt/Tom L-04.wav"],fae=["RolandR8/rolandr8-mt/Tom M-01.wav","RolandR8/rolandr8-mt/Tom M-02.wav","RolandR8/rolandr8-mt/Tom M-03.wav","RolandR8/rolandr8-mt/Tom M-04.wav"],mae=["RolandR8/rolandr8-oh/Hat Open.wav"],pae=["RolandR8/rolandr8-perc/Bell-01.wav","RolandR8/rolandr8-perc/Bell-02.wav","RolandR8/rolandr8-perc/Bongo H.wav","RolandR8/rolandr8-perc/Bongo L.wav","RolandR8/rolandr8-perc/Conga.wav","RolandR8/rolandr8-perc/Metal.wav","RolandR8/rolandr8-perc/Whistle.wav","RolandR8/rolandr8-perc/Wood Block.wav"],gae=["RolandR8/rolandr8-rd/Ride-01.wav","RolandR8/rolandr8-rd/Ride-02.wav"],_ae=["RolandR8/rolandr8-rim/Rimshot1.wav","RolandR8/rolandr8-rim/Rimshot2.wav"],bae=["RolandR8/rolandr8-sd/Snaredrum-01.wav","RolandR8/rolandr8-sd/Snaredrum-02.wav","RolandR8/rolandr8-sd/Snaredrum-03.wav","RolandR8/rolandr8-sd/Snaredrum-04.wav","RolandR8/rolandr8-sd/Snaredrum-05.wav","RolandR8/rolandr8-sd/Snaredrum-06.wav","RolandR8/rolandr8-sd/Snaredrum-07.wav","RolandR8/rolandr8-sd/Snaredrum-08.wav","RolandR8/rolandr8-sd/Snaredrum-09.wav","RolandR8/rolandr8-sd/Snaredrum-10.wav","RolandR8/rolandr8-sd/Snaredrum-11.wav","RolandR8/rolandr8-sd/Snaredrum-12.wav"],Sae=["RolandR8/rolandr8-sh/Cabasa1.wav","RolandR8/rolandr8-sh/Cabasa2.wav"],Oae=["RolandR8/rolandr8-tb/Tambourine.wav"],vae=["RolandS50/rolands50-bd/Bassdrum-01.wav","RolandS50/rolands50-bd/Bassdrum-02.wav","RolandS50/rolands50-bd/Bassdrum-03.wav","RolandS50/rolands50-bd/Bassdrum-04.wav"],Eae=["RolandS50/rolands50-cb/Cowbell.wav"],yae=["RolandS50/rolands50-cp/Clap.wav"],Tae=["RolandS50/rolands50-cr/China.wav","RolandS50/rolands50-cr/Crash.wav"],Cae=["RolandS50/rolands50-ht/Tom-01.wav"],Rae=["RolandS50/rolands50-lt/Tom-03.wav","RolandS50/rolands50-lt/Tom-04.wav"],wae=["RolandS50/rolands50-misc/Cuica-01.wav","RolandS50/rolands50-misc/Cuica-02.wav","RolandS50/rolands50-misc/Cuical-01.wav","RolandS50/rolands50-misc/Cuical-02.wav","RolandS50/rolands50-misc/Gong.wav","RolandS50/rolands50-misc/Tria-2.wav"],Aae=["RolandS50/rolands50-mt/Tom-02.wav"],Iae=["RolandS50/rolands50-oh/Hihat.wav"],kae=["RolandS50/rolands50-perc/Agogo-01.wav","RolandS50/rolands50-perc/Agogo-02.wav","RolandS50/rolands50-perc/Bongo.wav","RolandS50/rolands50-perc/Claves-01.wav","RolandS50/rolands50-perc/Claves-02.wav","RolandS50/rolands50-perc/Conga-01.wav","RolandS50/rolands50-perc/Conga-02.wav","RolandS50/rolands50-perc/Conga-03.wav","RolandS50/rolands50-perc/Qijada.wav","RolandS50/rolands50-perc/Timbale H.wav","RolandS50/rolands50-perc/Timbale L.wav","RolandS50/rolands50-perc/Tria-1.wav","RolandS50/rolands50-perc/Wblk.wav","RolandS50/rolands50-perc/Whstl.wav"],Nae=["RolandS50/rolands50-rd/Ride.wav"],Dae=["RolandS50/rolands50-sd/Snaredrum-01.wav","RolandS50/rolands50-sd/Snaredrum-02.wav","RolandS50/rolands50-sd/Snaredrum-03.wav"],xae=["RolandS50/rolands50-sh/Cabasa-01.wav","RolandS50/rolands50-sh/Cabasa-02.wav","RolandS50/rolands50-sh/Maracas-01.wav","RolandS50/rolands50-sh/Maracas-02.wav"],Mae=["RolandS50/rolands50-tb/Tambourine-01.wav","RolandS50/rolands50-tb/Tambourine-02.wav"],Lae=["RolandSH09/rolandsh09-bd/Bassdrum-01.wav","RolandSH09/rolandsh09-bd/Bassdrum-02.wav","RolandSH09/rolandsh09-bd/Bassdrum-03.wav","RolandSH09/rolandsh09-bd/Bassdrum-04.wav","RolandSH09/rolandsh09-bd/Bassdrum-05.wav","RolandSH09/rolandsh09-bd/Bassdrum-06.wav","RolandSH09/rolandsh09-bd/Bassdrum-07.wav","RolandSH09/rolandsh09-bd/Bassdrum-08.wav","RolandSH09/rolandsh09-bd/Bassdrum-09.wav","RolandSH09/rolandsh09-bd/Bassdrum-10.wav","RolandSH09/rolandsh09-bd/Bassdrum-11.wav","RolandSH09/rolandsh09-bd/Bassdrum-12.wav","RolandSH09/rolandsh09-bd/Bassdrum-13.wav","RolandSH09/rolandsh09-bd/Bassdrum-14.wav","RolandSH09/rolandsh09-bd/Bassdrum-15.wav","RolandSH09/rolandsh09-bd/Bassdrum-16.wav","RolandSH09/rolandsh09-bd/Bassdrum-17.wav","RolandSH09/rolandsh09-bd/Bassdrum-18.wav","RolandSH09/rolandsh09-bd/Bassdrum-19.wav","RolandSH09/rolandsh09-bd/Bassdrum-20.wav","RolandSH09/rolandsh09-bd/Bassdrum-21.wav","RolandSH09/rolandsh09-bd/Bassdrum-22.wav","RolandSH09/rolandsh09-bd/Bassdrum-23.wav","RolandSH09/rolandsh09-bd/Bassdrum-24.wav","RolandSH09/rolandsh09-bd/Bassdrum-25.wav","RolandSH09/rolandsh09-bd/Bassdrum-26.wav","RolandSH09/rolandsh09-bd/Bassdrum-27.wav","RolandSH09/rolandsh09-bd/Bassdrum-28.wav","RolandSH09/rolandsh09-bd/Bassdrum-29.wav","RolandSH09/rolandsh09-bd/Bassdrum-30.wav","RolandSH09/rolandsh09-bd/Bassdrum-31.wav","RolandSH09/rolandsh09-bd/Bassdrum-32.wav","RolandSH09/rolandsh09-bd/Bassdrum-33.wav","RolandSH09/rolandsh09-bd/Bassdrum-34.wav","RolandSH09/rolandsh09-bd/Bassdrum-35.wav","RolandSH09/rolandsh09-bd/Bassdrum-36.wav","RolandSH09/rolandsh09-bd/Bassdrum-37.wav","RolandSH09/rolandsh09-bd/Bassdrum-38.wav","RolandSH09/rolandsh09-bd/Bassdrum-39.wav","RolandSH09/rolandsh09-bd/Bassdrum-40.wav","RolandSH09/rolandsh09-bd/Bassdrum-41.wav","RolandSH09/rolandsh09-bd/Bassdrum-42.wav","RolandSH09/rolandsh09-bd/Bassdrum-43.wav"],Pae=["RolandSystem100/rolandsystem100-bd/Bassdrum-01.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-02.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-03.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-04.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-05.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-06.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-07.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-08.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-09.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-10.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-11.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-12.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-13.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-14.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-15.wav"],Bae=["RolandSystem100/rolandsystem100-hh/Hat Closed-01.wav","RolandSystem100/rolandsystem100-hh/Hat Closed-02.wav"],Yae=["RolandSystem100/rolandsystem100-misc/Tock.wav","RolandSystem100/rolandsystem100-misc/Triangle.wav"],Fae=["RolandSystem100/rolandsystem100-oh/Hat Open-01.wav","RolandSystem100/rolandsystem100-oh/Hat Open-02.wav","RolandSystem100/rolandsystem100-oh/Hat Open-03.wav"],Uae=["RolandSystem100/rolandsystem100-perc/Bell.wav","RolandSystem100/rolandsystem100-perc/Click-01.wav","RolandSystem100/rolandsystem100-perc/Click-02.wav","RolandSystem100/rolandsystem100-perc/Click-03.wav","RolandSystem100/rolandsystem100-perc/Click-04.wav","RolandSystem100/rolandsystem100-perc/Click-05.wav","RolandSystem100/rolandsystem100-perc/Click-06.wav","RolandSystem100/rolandsystem100-perc/Pling-01.wav","RolandSystem100/rolandsystem100-perc/Pling-02.wav","RolandSystem100/rolandsystem100-perc/Pling-03.wav","RolandSystem100/rolandsystem100-perc/Plopp-01.wav","RolandSystem100/rolandsystem100-perc/Plopp-02.wav","RolandSystem100/rolandsystem100-perc/Plopp-03.wav","RolandSystem100/rolandsystem100-perc/Plopp-04.wav","RolandSystem100/rolandsystem100-perc/Plopp-05.wav","RolandSystem100/rolandsystem100-perc/Plopp-06.wav","RolandSystem100/rolandsystem100-perc/Plopp-07.wav","RolandSystem100/rolandsystem100-perc/Plopp-08.wav","RolandSystem100/rolandsystem100-perc/Plopp-09.wav"],$ae=["RolandSystem100/rolandsystem100-sd/Snaredrum-01.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-02.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-03.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-04.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-05.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-06.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-07.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-08.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-09.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-10.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-11.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-12.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-14.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-15.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-16.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-17.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-18.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-19.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-20.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-21.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-22.wav"],Gae=["RolandTR505/rolandtr505-bd/Bassdrum.wav"],qae=["RolandTR505/rolandtr505-cb/Cowbell H.wav","RolandTR505/rolandtr505-cb/Cowbell L.wav"],Qae=["RolandTR505/rolandtr505-cp/Clap.wav"],Hae=["RolandTR505/rolandtr505-cr/Crash.wav"],Vae=["RolandTR505/rolandtr505-hh/Hat Closed.wav"],zae=["RolandTR505/rolandtr505-ht/Tom H.wav"],Wae=["RolandTR505/rolandtr505-lt/Tom L.wav"],Xae=["RolandTR505/rolandtr505-mt/Tom M.wav"],Kae=["RolandTR505/rolandtr505-oh/Hat Open.wav"],Zae=["RolandTR505/rolandtr505-perc/Conga H.wav","RolandTR505/rolandtr505-perc/Conga L.wav","RolandTR505/rolandtr505-perc/Timbale.wav"],jae=["RolandTR505/rolandtr505-rd/Ride.wav"],Jae=["RolandTR505/rolandtr505-rim/Rimshot.wav"],eie=["RolandTR505/rolandtr505-sd/Snaredrum.wav"],tie=["RolandTR606/rolandtr606-bd/Bassdrum.wav"],nie=["RolandTR606/rolandtr606-cr/Cymbal.wav"],rie=["RolandTR606/rolandtr606-hh/Hat Closed.wav"],aie=["RolandTR606/rolandtr606-ht/Tom H.wav"],iie=["RolandTR606/rolandtr606-lt/Tom L.wav"],oie=["RolandTR606/rolandtr606-oh/Hat Open.wav"],sie=["RolandTR606/rolandtr606-sd/Snaredrum.wav"],lie=["RolandTR626/rolandtr626-bd/Bassdrum-01.wav","RolandTR626/rolandtr626-bd/Bassdrum-02.wav"],cie=["RolandTR626/rolandtr626-cb/Cowbell.wav"],uie=["RolandTR626/rolandtr626-cp/Clap.wav"],die=["RolandTR626/rolandtr626-cr/Crash.wav","RolandTR626/rolandtr626-cr/zChina.wav"],hie=["RolandTR626/rolandtr626-hh/Hat Closed.wav"],fie=["RolandTR626/rolandtr626-ht/Tom H-01.wav","RolandTR626/rolandtr626-ht/Tom H-02.wav"],mie=["RolandTR626/rolandtr626-lt/Tom L-01.wav","RolandTR626/rolandtr626-lt/Tom L-02.wav"],pie=["RolandTR626/rolandtr626-mt/Tom M-01.wav","RolandTR626/rolandtr626-mt/Tom M-02.wav"],gie=["RolandTR626/rolandtr626-oh/Hat Open.wav"],_ie=["RolandTR626/rolandtr626-perc/Agogo H.wav","RolandTR626/rolandtr626-perc/Agogo L.wav","RolandTR626/rolandtr626-perc/Clave.wav","RolandTR626/rolandtr626-perc/Conga H.wav","RolandTR626/rolandtr626-perc/Conga L.wav","RolandTR626/rolandtr626-perc/Conga M.wav","RolandTR626/rolandtr626-perc/Timbale H.wav","RolandTR626/rolandtr626-perc/Timbale L.wav"],bie=["RolandTR626/rolandtr626-rd/Ride-01.wav","RolandTR626/rolandtr626-rd/Ride-02.wav"],Sie=["RolandTR626/rolandtr626-rim/Rimshot.wav"],Oie=["RolandTR626/rolandtr626-sd/Snaredrum-01.wav","RolandTR626/rolandtr626-sd/Snaredrum-02.wav","RolandTR626/rolandtr626-sd/Snaredrum-03.wav"],vie=["RolandTR626/rolandtr626-sh/Shaker.wav"],Eie=["RolandTR626/rolandtr626-tb/Tambourine.wav"],yie=["RolandTR707/rolandtr707-bd/Bassdrum-01.wav","RolandTR707/rolandtr707-bd/Bassdrum-02.wav"],Tie=["RolandTR707/rolandtr707-cb/Cowbell.wav"],Cie=["RolandTR707/rolandtr707-cp/Clap.wav"],Rie=["RolandTR707/rolandtr707-cr/Crash.wav"],wie=["RolandTR707/rolandtr707-hh/Hat Closed.wav"],Aie=["RolandTR707/rolandtr707-ht/Tom H.wav"],Iie=["RolandTR707/rolandtr707-lt/Tom L.wav"],kie=["RolandTR707/rolandtr707-mt/Tom M.wav"],Nie=["RolandTR707/rolandtr707-oh/Hat Open.wav"],Die=["RolandTR707/rolandtr707-rim/Rimshot.wav"],xie=["RolandTR707/rolandtr707-sd/Snaredrum-01.wav","RolandTR707/rolandtr707-sd/Snaredrum-02.wav"],Mie=["RolandTR707/rolandtr707-tb/Tambourine.wav"],Lie=["RolandTR727/rolandtr727-perc/Agogo H.wav","RolandTR727/rolandtr727-perc/Agogo L.wav","RolandTR727/rolandtr727-perc/Bongo H.wav","RolandTR727/rolandtr727-perc/Bongo L.wav","RolandTR727/rolandtr727-perc/Conga L.wav","RolandTR727/rolandtr727-perc/Quijada.wav","RolandTR727/rolandtr727-perc/Star-chimes.wav","RolandTR727/rolandtr727-perc/Timbale H.wav","RolandTR727/rolandtr727-perc/Timbale L.wav","RolandTR727/rolandtr727-perc/Whistle.wav"],Pie=["RolandTR727/rolandtr727-sh/Cabasa.wav","RolandTR727/rolandtr727-sh/Maracas.wav"],Bie=["RolandTR808/rolandtr808-bd/BD0000.WAV","RolandTR808/rolandtr808-bd/BD0010.WAV","RolandTR808/rolandtr808-bd/BD0025.WAV","RolandTR808/rolandtr808-bd/BD0050.WAV","RolandTR808/rolandtr808-bd/BD0075.WAV","RolandTR808/rolandtr808-bd/BD1000.WAV","RolandTR808/rolandtr808-bd/BD1010.WAV","RolandTR808/rolandtr808-bd/BD1025.WAV","RolandTR808/rolandtr808-bd/BD1050.WAV","RolandTR808/rolandtr808-bd/BD1075.WAV","RolandTR808/rolandtr808-bd/BD2500.WAV","RolandTR808/rolandtr808-bd/BD2510.WAV","RolandTR808/rolandtr808-bd/BD2525.WAV","RolandTR808/rolandtr808-bd/BD2550.WAV","RolandTR808/rolandtr808-bd/BD2575.WAV","RolandTR808/rolandtr808-bd/BD5000.WAV","RolandTR808/rolandtr808-bd/BD5010.WAV","RolandTR808/rolandtr808-bd/BD5025.WAV","RolandTR808/rolandtr808-bd/BD5050.WAV","RolandTR808/rolandtr808-bd/BD5075.WAV","RolandTR808/rolandtr808-bd/BD7500.WAV","RolandTR808/rolandtr808-bd/BD7510.WAV","RolandTR808/rolandtr808-bd/BD7525.WAV","RolandTR808/rolandtr808-bd/BD7550.WAV","RolandTR808/rolandtr808-bd/BD7575.WAV"],Yie=["RolandTR808/rolandtr808-cb/CB.WAV","RolandTR808/rolandtr808-cb/Cowbell.wav"],Fie=["RolandTR808/rolandtr808-cp/cp0.wav","RolandTR808/rolandtr808-cp/cp1.wav","RolandTR808/rolandtr808-cp/cp2.wav","RolandTR808/rolandtr808-cp/cp3.wav","RolandTR808/rolandtr808-cp/cp4.WAV"],Uie=["RolandTR808/rolandtr808-cr/CY0000.WAV","RolandTR808/rolandtr808-cr/CY0010.WAV","RolandTR808/rolandtr808-cr/CY0025.WAV","RolandTR808/rolandtr808-cr/CY0050.WAV","RolandTR808/rolandtr808-cr/CY0075.WAV","RolandTR808/rolandtr808-cr/CY1000.WAV","RolandTR808/rolandtr808-cr/CY1010.WAV","RolandTR808/rolandtr808-cr/CY1025.WAV","RolandTR808/rolandtr808-cr/CY1050.WAV","RolandTR808/rolandtr808-cr/CY1075.WAV","RolandTR808/rolandtr808-cr/CY2500.WAV","RolandTR808/rolandtr808-cr/CY2510.WAV","RolandTR808/rolandtr808-cr/CY2525.WAV","RolandTR808/rolandtr808-cr/CY2550.WAV","RolandTR808/rolandtr808-cr/CY2575.WAV","RolandTR808/rolandtr808-cr/CY5000.WAV","RolandTR808/rolandtr808-cr/CY5010.WAV","RolandTR808/rolandtr808-cr/CY5025.WAV","RolandTR808/rolandtr808-cr/CY5050.WAV","RolandTR808/rolandtr808-cr/CY5075.WAV","RolandTR808/rolandtr808-cr/CY7500.WAV","RolandTR808/rolandtr808-cr/CY7510.WAV","RolandTR808/rolandtr808-cr/CY7525.WAV","RolandTR808/rolandtr808-cr/CY7550.WAV","RolandTR808/rolandtr808-cr/CY7575.WAV"],$ie=["RolandTR808/rolandtr808-hh/CH.WAV"],Gie=["RolandTR808/rolandtr808-ht/HT00.WAV","RolandTR808/rolandtr808-ht/HT10.WAV","RolandTR808/rolandtr808-ht/HT25.WAV","RolandTR808/rolandtr808-ht/HT50.WAV","RolandTR808/rolandtr808-ht/HT75.WAV"],qie=["RolandTR808/rolandtr808-lt/LT00.WAV","RolandTR808/rolandtr808-lt/LT10.WAV","RolandTR808/rolandtr808-lt/LT25.WAV","RolandTR808/rolandtr808-lt/LT50.WAV","RolandTR808/rolandtr808-lt/LT75.WAV"],Qie=["RolandTR808/rolandtr808-mt/MT00.WAV","RolandTR808/rolandtr808-mt/MT10.WAV","RolandTR808/rolandtr808-mt/MT25.WAV","RolandTR808/rolandtr808-mt/MT50.WAV","RolandTR808/rolandtr808-mt/MT75.WAV"],Hie=["RolandTR808/rolandtr808-oh/OH00.WAV","RolandTR808/rolandtr808-oh/OH10.WAV","RolandTR808/rolandtr808-oh/OH25.WAV","RolandTR808/rolandtr808-oh/OH50.WAV","RolandTR808/rolandtr808-oh/OH75.WAV"],Vie=["RolandTR808/rolandtr808-perc/CL.WAV","RolandTR808/rolandtr808-perc/HC00.WAV","RolandTR808/rolandtr808-perc/HC10.WAV","RolandTR808/rolandtr808-perc/HC25.WAV","RolandTR808/rolandtr808-perc/HC50.WAV","RolandTR808/rolandtr808-perc/HC75.WAV","RolandTR808/rolandtr808-perc/LC00.WAV","RolandTR808/rolandtr808-perc/LC10.WAV","RolandTR808/rolandtr808-perc/LC25.WAV","RolandTR808/rolandtr808-perc/LC50.WAV","RolandTR808/rolandtr808-perc/LC75.WAV","RolandTR808/rolandtr808-perc/MC00.WAV","RolandTR808/rolandtr808-perc/MC10.WAV","RolandTR808/rolandtr808-perc/MC25.WAV","RolandTR808/rolandtr808-perc/MC50.WAV","RolandTR808/rolandtr808-perc/MC75.WAV"],zie=["RolandTR808/rolandtr808-rim/RS.WAV"],Wie=["RolandTR808/rolandtr808-sd/SD0000.WAV","RolandTR808/rolandtr808-sd/SD0010.WAV","RolandTR808/rolandtr808-sd/SD0025.WAV","RolandTR808/rolandtr808-sd/SD0050.WAV","RolandTR808/rolandtr808-sd/SD0075.WAV","RolandTR808/rolandtr808-sd/SD1000.WAV","RolandTR808/rolandtr808-sd/SD1010.WAV","RolandTR808/rolandtr808-sd/SD1025.WAV","RolandTR808/rolandtr808-sd/SD1050.WAV","RolandTR808/rolandtr808-sd/SD1075.WAV","RolandTR808/rolandtr808-sd/SD2500.WAV","RolandTR808/rolandtr808-sd/SD2510.WAV","RolandTR808/rolandtr808-sd/SD2525.WAV","RolandTR808/rolandtr808-sd/SD2550.WAV","RolandTR808/rolandtr808-sd/SD2575.WAV","RolandTR808/rolandtr808-sd/SD5000.WAV","RolandTR808/rolandtr808-sd/SD5010.WAV","RolandTR808/rolandtr808-sd/SD5025.WAV","RolandTR808/rolandtr808-sd/SD5050.WAV","RolandTR808/rolandtr808-sd/SD5075.WAV","RolandTR808/rolandtr808-sd/SD7500.WAV","RolandTR808/rolandtr808-sd/SD7510.WAV","RolandTR808/rolandtr808-sd/SD7525.WAV","RolandTR808/rolandtr808-sd/SD7550.WAV","RolandTR808/rolandtr808-sd/SD7575.WAV"],Xie=["RolandTR808/rolandtr808-sh/Cabasa.wav","RolandTR808/rolandtr808-sh/MA.WAV"],Kie=["RolandTR909/rolandtr909-bd/Bassdrum-01.wav","RolandTR909/rolandtr909-bd/Bassdrum-02.wav","RolandTR909/rolandtr909-bd/Bassdrum-03.wav","RolandTR909/rolandtr909-bd/Bassdrum-04.wav"],Zie=["RolandTR909/rolandtr909-cp/Clap.wav","RolandTR909/rolandtr909-cp/cp01.wav","RolandTR909/rolandtr909-cp/cp02.wav","RolandTR909/rolandtr909-cp/cp03.wav","RolandTR909/rolandtr909-cp/cp04.wav"],jie=["RolandTR909/rolandtr909-cr/Crash.wav","RolandTR909/rolandtr909-cr/cr01.wav","RolandTR909/rolandtr909-cr/cr02.wav","RolandTR909/rolandtr909-cr/cr03.wav","RolandTR909/rolandtr909-cr/cr04.wav"],Jie=["RolandTR909/rolandtr909-hh/hh01.wav","RolandTR909/rolandtr909-hh/hh02.wav","RolandTR909/rolandtr909-hh/hh03.wav","RolandTR909/rolandtr909-hh/hh04.wav"],eoe=["RolandTR909/rolandtr909-ht/Tom H.wav","RolandTR909/rolandtr909-ht/ht01.wav","RolandTR909/rolandtr909-ht/ht02.wav","RolandTR909/rolandtr909-ht/ht03.wav","RolandTR909/rolandtr909-ht/ht04.wav","RolandTR909/rolandtr909-ht/ht05.wav","RolandTR909/rolandtr909-ht/ht06.wav","RolandTR909/rolandtr909-ht/ht07.wav","RolandTR909/rolandtr909-ht/ht08.wav"],toe=["RolandTR909/rolandtr909-lt/Tom L.wav","RolandTR909/rolandtr909-lt/lt01.wav","RolandTR909/rolandtr909-lt/lt02.wav","RolandTR909/rolandtr909-lt/lt03.wav","RolandTR909/rolandtr909-lt/lt04.wav","RolandTR909/rolandtr909-lt/lt05.wav","RolandTR909/rolandtr909-lt/lt06.wav","RolandTR909/rolandtr909-lt/lt07.wav","RolandTR909/rolandtr909-lt/lt08.wav"],noe=["RolandTR909/rolandtr909-mt/Tom M.wav","RolandTR909/rolandtr909-mt/mt01.wav","RolandTR909/rolandtr909-mt/mt02.wav","RolandTR909/rolandtr909-mt/mt03.wav","RolandTR909/rolandtr909-mt/mt04.wav","RolandTR909/rolandtr909-mt/mt05.wav","RolandTR909/rolandtr909-mt/mt06.wav","RolandTR909/rolandtr909-mt/mt07.wav","RolandTR909/rolandtr909-mt/mt08.wav"],roe=["RolandTR909/rolandtr909-oh/Hat Open.wav","RolandTR909/rolandtr909-oh/oh01.wav","RolandTR909/rolandtr909-oh/oh02.wav","RolandTR909/rolandtr909-oh/oh03.wav","RolandTR909/rolandtr909-oh/oh04.wav"],aoe=["RolandTR909/rolandtr909-rd/Ride.wav","RolandTR909/rolandtr909-rd/rd01.wav","RolandTR909/rolandtr909-rd/rd02.wav","RolandTR909/rolandtr909-rd/rd03.wav","RolandTR909/rolandtr909-rd/rd04.wav"],ioe=["RolandTR909/rolandtr909-rim/Rimhot.wav","RolandTR909/rolandtr909-rim/rs01.wav","RolandTR909/rolandtr909-rim/rs02.wav"],ooe=["RolandTR909/rolandtr909-sd/naredrum.wav","RolandTR909/rolandtr909-sd/sd01.wav","RolandTR909/rolandtr909-sd/sd02.wav","RolandTR909/rolandtr909-sd/sd03.wav","RolandTR909/rolandtr909-sd/sd04.wav","RolandTR909/rolandtr909-sd/sd05.wav","RolandTR909/rolandtr909-sd/sd06.wav","RolandTR909/rolandtr909-sd/sd07.wav","RolandTR909/rolandtr909-sd/sd08.wav","RolandTR909/rolandtr909-sd/sd09.wav","RolandTR909/rolandtr909-sd/sd10.wav","RolandTR909/rolandtr909-sd/sd11.wav","RolandTR909/rolandtr909-sd/sd12.wav","RolandTR909/rolandtr909-sd/sd13.wav","RolandTR909/rolandtr909-sd/sd14.wav","RolandTR909/rolandtr909-sd/sd15.wav"],soe=["SakataDPM48/sakatadpm48-bd/Bassdrum-01.wav","SakataDPM48/sakatadpm48-bd/Bassdrum-02.wav","SakataDPM48/sakatadpm48-bd/Bassdrum-03.wav"],loe=["SakataDPM48/sakatadpm48-cp/Clap.wav"],coe=["SakataDPM48/sakatadpm48-cr/Crash.wav"],uoe=["SakataDPM48/sakatadpm48-hh/Hat Closed-01.wav","SakataDPM48/sakatadpm48-hh/Hat Closed-02.wav"],doe=["SakataDPM48/sakatadpm48-ht/Tom-01.wav"],hoe=["SakataDPM48/sakatadpm48-lt/Tom-03.wav","SakataDPM48/sakatadpm48-lt/Tom-04.wav"],foe=["SakataDPM48/sakatadpm48-mt/Tom-02.wav"],moe=["SakataDPM48/sakatadpm48-oh/Hat Open.wav"],poe=["SakataDPM48/sakatadpm48-perc/Agogo1.wav","SakataDPM48/sakatadpm48-perc/Agogo2.wav"],goe=["SakataDPM48/sakatadpm48-rd/Ride.wav"],_oe=["SakataDPM48/sakatadpm48-rim/Rim.wav"],boe=["SakataDPM48/sakatadpm48-sd/Snaredrum-01.wav","SakataDPM48/sakatadpm48-sd/Snaredrum-02.wav"],Soe=["SakataDPM48/sakatadpm48-sh/Cabasa-01.wav","SakataDPM48/sakatadpm48-sh/Cabasa-02.wav"],Ooe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-bd/Bassdrum.wav"],voe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-cb/Cowbell.wav"],Eoe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-cp/Clap.wav"],yoe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-cr/Crash.wav"],Toe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-hh/Hat Closed.wav"],Coe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-ht/Tom.wav"],Roe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-oh/Hat Open.wav"],woe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-rd/Ride.wav"],Aoe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-rim/Rim Shot.wav"],Ioe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-sd/Snaredrum.wav"],koe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-sh/Cabasa.wav"],Noe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-tb/Tambourine.wav"],Doe=["SequentialCircuitsTom/sequentialcircuitstom-bd/Bassdrum.wav"],xoe=["SequentialCircuitsTom/sequentialcircuitstom-cp/Clap.wav"],Moe=["SequentialCircuitsTom/sequentialcircuitstom-cr/Crash.wav"],Loe=["SequentialCircuitsTom/sequentialcircuitstom-hh/Hat Closed.wav"],Poe=["SequentialCircuitsTom/sequentialcircuitstom-ht/Tom-01.wav","SequentialCircuitsTom/sequentialcircuitstom-ht/Tom-02.wav"],Boe=["SequentialCircuitsTom/sequentialcircuitstom-oh/Hat Open.wav"],Yoe=["SequentialCircuitsTom/sequentialcircuitstom-sd/Snaredrum.wav"],Foe=["SergeModular/sergemodular-bd/Bassdrum.wav"],Uoe=["SergeModular/sergemodular-misc/Clink.wav"],$oe=["SergeModular/sergemodular-perc/Claves.wav","SergeModular/sergemodular-perc/Click-01.wav","SergeModular/sergemodular-perc/Click-02.wav","SergeModular/sergemodular-perc/Click-03.wav","SergeModular/sergemodular-perc/Click-04.wav"],Goe=["SimmonsSDS400/simmonssds400-ht/Tom-07.wav","SimmonsSDS400/simmonssds400-ht/Tom-09.wav","SimmonsSDS400/simmonssds400-ht/Tom-13.wav"],qoe=["SimmonsSDS400/simmonssds400-lt/Tom-01.wav","SimmonsSDS400/simmonssds400-lt/Tom-02.wav","SimmonsSDS400/simmonssds400-lt/Tom-03.wav","SimmonsSDS400/simmonssds400-lt/Tom-08.wav","SimmonsSDS400/simmonssds400-lt/Tom-14.wav","SimmonsSDS400/simmonssds400-lt/Tom-17.wav"],Qoe=["SimmonsSDS400/simmonssds400-mt/Tom-04.wav","SimmonsSDS400/simmonssds400-mt/Tom-05.wav","SimmonsSDS400/simmonssds400-mt/Tom-06.wav","SimmonsSDS400/simmonssds400-mt/Tom-10.wav","SimmonsSDS400/simmonssds400-mt/Tom-11.wav","SimmonsSDS400/simmonssds400-mt/Tom-12.wav","SimmonsSDS400/simmonssds400-mt/Tom-15.wav","SimmonsSDS400/simmonssds400-mt/Tom-16.wav"],Hoe=["SimmonsSDS400/simmonssds400-sd/Slap-1.wav","SimmonsSDS400/simmonssds400-sd/Slap-2.wav","SimmonsSDS400/simmonssds400-sd/Slap-3.wav"],Voe=["SimmonsSDS5/simmonssds5-bd/Bassdrum-01.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-02.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-03.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-04.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-05.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-06.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-07.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-08.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-09.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-10.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-11.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-12.wav"],zoe=["SimmonsSDS5/simmonssds5-hh/Hat Closed-01.wav","SimmonsSDS5/simmonssds5-hh/Hat Closed-02.wav","SimmonsSDS5/simmonssds5-hh/Hat Closed-03.wav","SimmonsSDS5/simmonssds5-hh/Hat Pedal-01.wav","SimmonsSDS5/simmonssds5-hh/Hat Pedal-02.wav"],Woe=["SimmonsSDS5/simmonssds5-ht/Tom-01.wav","SimmonsSDS5/simmonssds5-ht/Tom-04.wav","SimmonsSDS5/simmonssds5-ht/Tom-05.wav"],Xoe=["SimmonsSDS5/simmonssds5-lt/Tom-07.wav","SimmonsSDS5/simmonssds5-lt/Tom-08.wav","SimmonsSDS5/simmonssds5-lt/Tom-10.wav","SimmonsSDS5/simmonssds5-lt/Tom-11.wav","SimmonsSDS5/simmonssds5-lt/Tom-13.wav","SimmonsSDS5/simmonssds5-lt/Tom-14.wav","SimmonsSDS5/simmonssds5-lt/Tom-15.wav","SimmonsSDS5/simmonssds5-lt/Tom-17.wav"],Koe=["SimmonsSDS5/simmonssds5-mt/Tom-02.wav","SimmonsSDS5/simmonssds5-mt/Tom-03.wav","SimmonsSDS5/simmonssds5-mt/Tom-06.wav","SimmonsSDS5/simmonssds5-mt/Tom-09.wav","SimmonsSDS5/simmonssds5-mt/Tom-12.wav","SimmonsSDS5/simmonssds5-mt/Tom-16.wav"],Zoe=["SimmonsSDS5/simmonssds5-oh/Hat Open-01.wav","SimmonsSDS5/simmonssds5-oh/Hat Open-02.wav"],joe=["SimmonsSDS5/simmonssds5-rim/Rimshot-01.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-02.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-03.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-04.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-05.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-06.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-07.wav"],Joe=["SimmonsSDS5/simmonssds5-sd/Snaredrum-01.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-02.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-03.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-04.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-05.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-06.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-07.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-08.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-09.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-10.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-11.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-12.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-13.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-14.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-15.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-16.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-17.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-18.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-19.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-20.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-21.wav"],ese=["SoundmastersR88/soundmastersr88-bd/Bassdrum.wav"],tse=["SoundmastersR88/soundmastersr88-cr/Crash.wav"],nse=["SoundmastersR88/soundmastersr88-hh/Closed Hat.wav"],rse=["SoundmastersR88/soundmastersr88-oh/Open Hat.wav"],ase=["SoundmastersR88/soundmastersr88-sd/Snare-1.wav","SoundmastersR88/soundmastersr88-sd/Snare-2.wav"],ise=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-bd/Bassdrum.wav"],ose=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-hh/Closed Hat.wav"],sse=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-oh/Open Hat.wav"],lse=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-sd/Snaredrum.wav"],cse=["ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-01.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-02.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-03.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-04.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-05.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-06.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-07.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-08.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-09.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-10.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-11.wav"],use=["ViscoSpaceDrum/viscospacedrum-cb/Cowbell.wav"],dse=["ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-01.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-02.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-03.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-04.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Pedal-01.wav","ViscoSpaceDrum/viscospacedrum-hh/zHat Closed Reversed.wav"],hse=["ViscoSpaceDrum/viscospacedrum-ht/Synth Tom H.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-01.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-02.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-03.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-04.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-05.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom7.wav"],fse=["ViscoSpaceDrum/viscospacedrum-lt/Synth Tom L.wav","ViscoSpaceDrum/viscospacedrum-lt/Tom-06.wav"],mse=["ViscoSpaceDrum/viscospacedrum-misc/Bleep-01.wav","ViscoSpaceDrum/viscospacedrum-misc/Bleep-02.wav"],pse=["ViscoSpaceDrum/viscospacedrum-mt/Synth Tom M-01.wav","ViscoSpaceDrum/viscospacedrum-mt/Synth Tom M-02.wav"],gse=["ViscoSpaceDrum/viscospacedrum-oh/Hat Open-01.wav","ViscoSpaceDrum/viscospacedrum-oh/Hat Open-02.wav","ViscoSpaceDrum/viscospacedrum-oh/Hat Open-03.wav"],_se=["ViscoSpaceDrum/viscospacedrum-perc/Woodblock1.wav","ViscoSpaceDrum/viscospacedrum-perc/Woodblock2.wav"],bse=["ViscoSpaceDrum/viscospacedrum-rim/Rimshot.wav"],Sse=["ViscoSpaceDrum/viscospacedrum-sd/Snaredrum-01.wav","ViscoSpaceDrum/viscospacedrum-sd/Snaredrum-02.wav","ViscoSpaceDrum/viscospacedrum-sd/Snaredrum-03.wav"],Ose=["XdrumLM8953/xdrumlm8953-bd/Bassdrum-01.wav","XdrumLM8953/xdrumlm8953-bd/Bassdrum-02.wav","XdrumLM8953/xdrumlm8953-bd/zphil-drm.wav"],vse=["XdrumLM8953/xdrumlm8953-cr/Crash.wav"],Ese=["XdrumLM8953/xdrumlm8953-hh/Hat Closed.wav","XdrumLM8953/xdrumlm8953-hh/Hat Pedal.wav"],yse=["XdrumLM8953/xdrumlm8953-ht/Tom-01.wav","XdrumLM8953/xdrumlm8953-ht/Tom-02.wav"],Tse=["XdrumLM8953/xdrumlm8953-lt/Tom-05.wav","XdrumLM8953/xdrumlm8953-lt/Tom-06.wav"],Cse=["XdrumLM8953/xdrumlm8953-mt/Tom-03.wav","XdrumLM8953/xdrumlm8953-mt/Tom-04.wav"],Rse=["XdrumLM8953/xdrumlm8953-oh/Hat Open.wav"],wse=["XdrumLM8953/xdrumlm8953-rd/Ride.wav"],Ase=["XdrumLM8953/xdrumlm8953-rim/Rim Shot-01.wav","XdrumLM8953/xdrumlm8953-rim/Rim Shot-02.wav"],Ise=["XdrumLM8953/xdrumlm8953-sd/Snaredrum-01.wav","XdrumLM8953/xdrumlm8953-sd/Snaredrum-02.wav","XdrumLM8953/xdrumlm8953-sd/Snaredrum-03.wav","XdrumLM8953/xdrumlm8953-sd/Snaredrum-04.wav","XdrumLM8953/xdrumlm8953-sd/zSnare Fill.wav"],kse=["XdrumLM8953/xdrumlm8953-tb/Tambourine.wav"],Nse=["YamahaRM50/yamaharm50-bd/BD-001.wav","YamahaRM50/yamaharm50-bd/BD-002.wav","YamahaRM50/yamaharm50-bd/BD-003.wav","YamahaRM50/yamaharm50-bd/BD-004.wav","YamahaRM50/yamaharm50-bd/BD-005.wav","YamahaRM50/yamaharm50-bd/BD-006.wav","YamahaRM50/yamaharm50-bd/BD-007.wav","YamahaRM50/yamaharm50-bd/BD-008.wav","YamahaRM50/yamaharm50-bd/BD-009.wav","YamahaRM50/yamaharm50-bd/BD-010.wav","YamahaRM50/yamaharm50-bd/BD-011..wav","YamahaRM50/yamaharm50-bd/BD-012.wav","YamahaRM50/yamaharm50-bd/BD-013.wav","YamahaRM50/yamaharm50-bd/BD-014.wav","YamahaRM50/yamaharm50-bd/BD-015.wav","YamahaRM50/yamaharm50-bd/BD-016.wav","YamahaRM50/yamaharm50-bd/BD-017.wav","YamahaRM50/yamaharm50-bd/BD-018.wav","YamahaRM50/yamaharm50-bd/BD-019.wav","YamahaRM50/yamaharm50-bd/BD-020.wav","YamahaRM50/yamaharm50-bd/BD-021.wav","YamahaRM50/yamaharm50-bd/BD-022.wav","YamahaRM50/yamaharm50-bd/BD-023.wav","YamahaRM50/yamaharm50-bd/BD-024.wav","YamahaRM50/yamaharm50-bd/BD-025.wav","YamahaRM50/yamaharm50-bd/BD-026.wav","YamahaRM50/yamaharm50-bd/BD-027.wav","YamahaRM50/yamaharm50-bd/BD-028.wav","YamahaRM50/yamaharm50-bd/BD-029.wav","YamahaRM50/yamaharm50-bd/BD-030.wav","YamahaRM50/yamaharm50-bd/BD-031.wav","YamahaRM50/yamaharm50-bd/BD-032.wav","YamahaRM50/yamaharm50-bd/BD-033.wav","YamahaRM50/yamaharm50-bd/BD-034.wav","YamahaRM50/yamaharm50-bd/BD-035.wav","YamahaRM50/yamaharm50-bd/BD-036.wav","YamahaRM50/yamaharm50-bd/BD-037.wav","YamahaRM50/yamaharm50-bd/BD-038.wav","YamahaRM50/yamaharm50-bd/BD-039.wav","YamahaRM50/yamaharm50-bd/BD-040.wav","YamahaRM50/yamaharm50-bd/BD-041.wav","YamahaRM50/yamaharm50-bd/BD-042.wav","YamahaRM50/yamaharm50-bd/BD-043.wav","YamahaRM50/yamaharm50-bd/BD-044.wav","YamahaRM50/yamaharm50-bd/BD-045.wav","YamahaRM50/yamaharm50-bd/BD-046.wav","YamahaRM50/yamaharm50-bd/BD-047.wav","YamahaRM50/yamaharm50-bd/BD-048.wav","YamahaRM50/yamaharm50-bd/BD-049.wav","YamahaRM50/yamaharm50-bd/BD-050.wav","YamahaRM50/yamaharm50-bd/BD-051.wav","YamahaRM50/yamaharm50-bd/BD-052.wav","YamahaRM50/yamaharm50-bd/BD-053.wav","YamahaRM50/yamaharm50-bd/BD-054.wav","YamahaRM50/yamaharm50-bd/BD-055.wav","YamahaRM50/yamaharm50-bd/BD-056.wav","YamahaRM50/yamaharm50-bd/BD-057.wav","YamahaRM50/yamaharm50-bd/BD-058.wav","YamahaRM50/yamaharm50-bd/BD-059.wav","YamahaRM50/yamaharm50-bd/BD-060.wav","YamahaRM50/yamaharm50-bd/BD-061.wav","YamahaRM50/yamaharm50-bd/BD-062.wav","YamahaRM50/yamaharm50-bd/BD-063.wav","YamahaRM50/yamaharm50-bd/BD-064.wav","YamahaRM50/yamaharm50-bd/BD-065.wav","YamahaRM50/yamaharm50-bd/BD-066.wav","YamahaRM50/yamaharm50-bd/BD-067.wav","YamahaRM50/yamaharm50-bd/BD-068.wav","YamahaRM50/yamaharm50-bd/BD-069.wav","YamahaRM50/yamaharm50-bd/BD-070.wav","YamahaRM50/yamaharm50-bd/BD-071.wav","YamahaRM50/yamaharm50-bd/BD-072.wav","YamahaRM50/yamaharm50-bd/BD-073.wav","YamahaRM50/yamaharm50-bd/BD-074.wav","YamahaRM50/yamaharm50-bd/BD-075.wav","YamahaRM50/yamaharm50-bd/BD-076.wav","YamahaRM50/yamaharm50-bd/BD-077.wav","YamahaRM50/yamaharm50-bd/BD-078.wav","YamahaRM50/yamaharm50-bd/BD-079.wav","YamahaRM50/yamaharm50-bd/BD-080.wav","YamahaRM50/yamaharm50-bd/BD-081.wav","YamahaRM50/yamaharm50-bd/BD-082.wav","YamahaRM50/yamaharm50-bd/BD-083.wav","YamahaRM50/yamaharm50-bd/BD-084.wav","YamahaRM50/yamaharm50-bd/BD-085.wav","YamahaRM50/yamaharm50-bd/BD-086.wav","YamahaRM50/yamaharm50-bd/BD-087.wav","YamahaRM50/yamaharm50-bd/BD-088.wav","YamahaRM50/yamaharm50-bd/BD-089.wav","YamahaRM50/yamaharm50-bd/BD-090.wav","YamahaRM50/yamaharm50-bd/BD-091.wav","YamahaRM50/yamaharm50-bd/BD-092.wav","YamahaRM50/yamaharm50-bd/BD-093.wav","YamahaRM50/yamaharm50-bd/BD-094.wav","YamahaRM50/yamaharm50-bd/BD-095.wav","YamahaRM50/yamaharm50-bd/BD-096.wav","YamahaRM50/yamaharm50-bd/BD-097.wav","YamahaRM50/yamaharm50-bd/BD-098.wav","YamahaRM50/yamaharm50-bd/BD-099.wav","YamahaRM50/yamaharm50-bd/BD-100.wav","YamahaRM50/yamaharm50-bd/BD-101.wav","YamahaRM50/yamaharm50-bd/BD-102.wav","YamahaRM50/yamaharm50-bd/BD-103.wav"],Dse=["YamahaRM50/yamaharm50-cb/FX_001.wav","YamahaRM50/yamaharm50-cb/FX_002.wav","YamahaRM50/yamaharm50-cb/FX_025.wav","YamahaRM50/yamaharm50-cb/FX_026.wav","YamahaRM50/yamaharm50-cb/FX_027.wav","YamahaRM50/yamaharm50-cb/FX_061.wav"],xse=["YamahaRM50/yamaharm50-cp/FX_059.wav","YamahaRM50/yamaharm50-cp/FX_060.wav"],Mse=["YamahaRM50/yamaharm50-cr/CYMBAL_043.wav","YamahaRM50/yamaharm50-cr/CYMBAL_044.wav","YamahaRM50/yamaharm50-cr/CYMBAL_045.wav","YamahaRM50/yamaharm50-cr/CYMBAL_046.wav","YamahaRM50/yamaharm50-cr/CYMBAL_047.wav","YamahaRM50/yamaharm50-cr/CYMBAL_048.wav","YamahaRM50/yamaharm50-cr/CYMBAL_049.wav","YamahaRM50/yamaharm50-cr/CYMBAL_050.wav","YamahaRM50/yamaharm50-cr/CYMBAL_051.wav","YamahaRM50/yamaharm50-cr/CYMBAL_052.wav","YamahaRM50/yamaharm50-cr/CYMBAL_053.wav","YamahaRM50/yamaharm50-cr/CYMBAL_054.wav","YamahaRM50/yamaharm50-cr/CYMBAL_055.wav","YamahaRM50/yamaharm50-cr/CYMBAL_056.wav","YamahaRM50/yamaharm50-cr/CYMBAL_057.wav","YamahaRM50/yamaharm50-cr/CYMBAL_058.wav","YamahaRM50/yamaharm50-cr/CYMBAL_059.wav","YamahaRM50/yamaharm50-cr/CYMBAL_060.wav","YamahaRM50/yamaharm50-cr/CYMBAL_061.wav","YamahaRM50/yamaharm50-cr/CYMBAL_063.wav","YamahaRM50/yamaharm50-cr/CYMBAL_064.wav","YamahaRM50/yamaharm50-cr/CYMBAL_065.wav"],Lse=["YamahaRM50/yamaharm50-hh/CYMBAL_001.wav","YamahaRM50/yamaharm50-hh/CYMBAL_002.wav","YamahaRM50/yamaharm50-hh/CYMBAL_005.wav","YamahaRM50/yamaharm50-hh/CYMBAL_006.wav","YamahaRM50/yamaharm50-hh/CYMBAL_008.wav","YamahaRM50/yamaharm50-hh/CYMBAL_009.wav","YamahaRM50/yamaharm50-hh/CYMBAL_010.wav","YamahaRM50/yamaharm50-hh/CYMBAL_013.wav","YamahaRM50/yamaharm50-hh/CYMBAL_014.wav","YamahaRM50/yamaharm50-hh/CYMBAL_016.wav","YamahaRM50/yamaharm50-hh/CYMBAL_017.wav","YamahaRM50/yamaharm50-hh/CYMBAL_019.wav","YamahaRM50/yamaharm50-hh/CYMBAL_020.wav","YamahaRM50/yamaharm50-hh/CYMBAL_021.wav","YamahaRM50/yamaharm50-hh/CYMBAL_024.wav","YamahaRM50/yamaharm50-hh/CYMBAL_025.wav","YamahaRM50/yamaharm50-hh/CYMBAL_026.wav","YamahaRM50/yamaharm50-hh/CYMBAL_028.wav"],Pse=["YamahaRM50/yamaharm50-ht/TOMS_001.wav","YamahaRM50/yamaharm50-ht/TOMS_005.wav","YamahaRM50/yamaharm50-ht/TOMS_009.wav","YamahaRM50/yamaharm50-ht/TOMS_010.wav","YamahaRM50/yamaharm50-ht/TOMS_013.wav","YamahaRM50/yamaharm50-ht/TOMS_017.wav","YamahaRM50/yamaharm50-ht/TOMS_021.wav","YamahaRM50/yamaharm50-ht/TOMS_022.wav","YamahaRM50/yamaharm50-ht/TOMS_025.wav","YamahaRM50/yamaharm50-ht/TOMS_026.wav","YamahaRM50/yamaharm50-ht/TOMS_029.wav","YamahaRM50/yamaharm50-ht/TOMS_035.wav","YamahaRM50/yamaharm50-ht/TOMS_039.wav","YamahaRM50/yamaharm50-ht/TOMS_043.wav","YamahaRM50/yamaharm50-ht/TOMS_047.wav","YamahaRM50/yamaharm50-ht/TOMS_049.wav","YamahaRM50/yamaharm50-ht/TOMS_052.wav","YamahaRM50/yamaharm50-ht/TOMS_056.wav","YamahaRM50/yamaharm50-ht/TOMS_064.wav","YamahaRM50/yamaharm50-ht/TOMS_068.wav","YamahaRM50/yamaharm50-ht/TOMS_072.wav","YamahaRM50/yamaharm50-ht/TOMS_077.wav","YamahaRM50/yamaharm50-ht/TOMS_085.wav","YamahaRM50/yamaharm50-ht/TOMS_089.wav","YamahaRM50/yamaharm50-ht/TOMS_101.wav"],Bse=["YamahaRM50/yamaharm50-lt/TOMS_004.wav","YamahaRM50/yamaharm50-lt/TOMS_008.wav","YamahaRM50/yamaharm50-lt/TOMS_012.wav","YamahaRM50/yamaharm50-lt/TOMS_015.wav","YamahaRM50/yamaharm50-lt/TOMS_016.wav","YamahaRM50/yamaharm50-lt/TOMS_019.wav","YamahaRM50/yamaharm50-lt/TOMS_020.wav","YamahaRM50/yamaharm50-lt/TOMS_024.wav","YamahaRM50/yamaharm50-lt/TOMS_028.wav","YamahaRM50/yamaharm50-lt/TOMS_032.wav","YamahaRM50/yamaharm50-lt/TOMS_033.wav","YamahaRM50/yamaharm50-lt/TOMS_034.wav","YamahaRM50/yamaharm50-lt/TOMS_038.wav","YamahaRM50/yamaharm50-lt/TOMS_041.wav","YamahaRM50/yamaharm50-lt/TOMS_042.wav","YamahaRM50/yamaharm50-lt/TOMS_046.wav","YamahaRM50/yamaharm50-lt/TOMS_048.wav","YamahaRM50/yamaharm50-lt/TOMS_050.wav","YamahaRM50/yamaharm50-lt/TOMS_051.wav","YamahaRM50/yamaharm50-lt/TOMS_053.wav","YamahaRM50/yamaharm50-lt/TOMS_054.wav","YamahaRM50/yamaharm50-lt/TOMS_055.wav","YamahaRM50/yamaharm50-lt/TOMS_058.wav","YamahaRM50/yamaharm50-lt/TOMS_059.wav","YamahaRM50/yamaharm50-lt/TOMS_061.wav","YamahaRM50/yamaharm50-lt/TOMS_062.wav","YamahaRM50/yamaharm50-lt/TOMS_063.wav","YamahaRM50/yamaharm50-lt/TOMS_066.wav","YamahaRM50/yamaharm50-lt/TOMS_067.wav","YamahaRM50/yamaharm50-lt/TOMS_071.wav","YamahaRM50/yamaharm50-lt/TOMS_075.wav","YamahaRM50/yamaharm50-lt/TOMS_079.wav","YamahaRM50/yamaharm50-lt/TOMS_082.wav","YamahaRM50/yamaharm50-lt/TOMS_083.wav","YamahaRM50/yamaharm50-lt/TOMS_084.wav","YamahaRM50/yamaharm50-lt/TOMS_087.wav","YamahaRM50/yamaharm50-lt/TOMS_088.wav","YamahaRM50/yamaharm50-lt/TOMS_092.wav","YamahaRM50/yamaharm50-lt/TOMS_094.wav","YamahaRM50/yamaharm50-lt/TOMS_095.wav","YamahaRM50/yamaharm50-lt/TOMS_096.wav","YamahaRM50/yamaharm50-lt/TOMS_099.wav","YamahaRM50/yamaharm50-lt/TOMS_100.wav","YamahaRM50/yamaharm50-lt/TOMS_103.wav","YamahaRM50/yamaharm50-lt/TOMS_104.wav","YamahaRM50/yamaharm50-lt/TOMS_105.wav","YamahaRM50/yamaharm50-lt/TOMS_106.wav","YamahaRM50/yamaharm50-lt/TOMS_107.wav","YamahaRM50/yamaharm50-lt/TOMS_108.wav"],Yse=["YamahaRM50/yamaharm50-misc/CYMBAL_062.wav","YamahaRM50/yamaharm50-misc/FX_071.wav","YamahaRM50/yamaharm50-misc/FX_072.wav","YamahaRM50/yamaharm50-misc/FX_074.wav","YamahaRM50/yamaharm50-misc/FX_075.wav","YamahaRM50/yamaharm50-misc/FX_076.wav","YamahaRM50/yamaharm50-misc/FX_079.wav","YamahaRM50/yamaharm50-misc/FX_082.wav","YamahaRM50/yamaharm50-misc/FX_083.wav","YamahaRM50/yamaharm50-misc/FX_085.wav","YamahaRM50/yamaharm50-misc/FX_086.wav","YamahaRM50/yamaharm50-misc/FX_087.wav","YamahaRM50/yamaharm50-misc/FX_088.wav","YamahaRM50/yamaharm50-misc/FX_089.wav","YamahaRM50/yamaharm50-misc/FX_090.wav","YamahaRM50/yamaharm50-misc/FX_091.wav","YamahaRM50/yamaharm50-misc/FX_092.wav","YamahaRM50/yamaharm50-misc/FX_093.wav","YamahaRM50/yamaharm50-misc/FX_094.wav","YamahaRM50/yamaharm50-misc/FX_095.wav","YamahaRM50/yamaharm50-misc/FX_098.wav","YamahaRM50/yamaharm50-misc/FX_122.wav","YamahaRM50/yamaharm50-misc/FX_126.wav","YamahaRM50/yamaharm50-misc/FX_127.wav","YamahaRM50/yamaharm50-misc/FX_128.wav","YamahaRM50/yamaharm50-misc/FX_129.wav","YamahaRM50/yamaharm50-misc/FX_135.wav","YamahaRM50/yamaharm50-misc/FX_139.wav"],Fse=["YamahaRM50/yamaharm50-mt/TOMS_002.wav","YamahaRM50/yamaharm50-mt/TOMS_003.wav","YamahaRM50/yamaharm50-mt/TOMS_006.wav","YamahaRM50/yamaharm50-mt/TOMS_007.wav","YamahaRM50/yamaharm50-mt/TOMS_011.wav","YamahaRM50/yamaharm50-mt/TOMS_014.wav","YamahaRM50/yamaharm50-mt/TOMS_018.wav","YamahaRM50/yamaharm50-mt/TOMS_023.wav","YamahaRM50/yamaharm50-mt/TOMS_027.wav","YamahaRM50/yamaharm50-mt/TOMS_030.wav","YamahaRM50/yamaharm50-mt/TOMS_031.wav","YamahaRM50/yamaharm50-mt/TOMS_036.wav","YamahaRM50/yamaharm50-mt/TOMS_037.wav","YamahaRM50/yamaharm50-mt/TOMS_040.wav","YamahaRM50/yamaharm50-mt/TOMS_044.wav","YamahaRM50/yamaharm50-mt/TOMS_045.wav","YamahaRM50/yamaharm50-mt/TOMS_057.wav","YamahaRM50/yamaharm50-mt/TOMS_060.wav","YamahaRM50/yamaharm50-mt/TOMS_065.wav","YamahaRM50/yamaharm50-mt/TOMS_069.wav","YamahaRM50/yamaharm50-mt/TOMS_070.wav","YamahaRM50/yamaharm50-mt/TOMS_073.wav","YamahaRM50/yamaharm50-mt/TOMS_074.wav","YamahaRM50/yamaharm50-mt/TOMS_076.wav","YamahaRM50/yamaharm50-mt/TOMS_078.wav","YamahaRM50/yamaharm50-mt/TOMS_080.wav","YamahaRM50/yamaharm50-mt/TOMS_081.wav","YamahaRM50/yamaharm50-mt/TOMS_086.wav","YamahaRM50/yamaharm50-mt/TOMS_090.wav","YamahaRM50/yamaharm50-mt/TOMS_091.wav","YamahaRM50/yamaharm50-mt/TOMS_093.wav","YamahaRM50/yamaharm50-mt/TOMS_097.wav","YamahaRM50/yamaharm50-mt/TOMS_098.wav","YamahaRM50/yamaharm50-mt/TOMS_102.wav"],Use=["YamahaRM50/yamaharm50-oh/CYMBAL_003.wav","YamahaRM50/yamaharm50-oh/CYMBAL_004.wav","YamahaRM50/yamaharm50-oh/CYMBAL_007.wav","YamahaRM50/yamaharm50-oh/CYMBAL_011.wav","YamahaRM50/yamaharm50-oh/CYMBAL_012.wav","YamahaRM50/yamaharm50-oh/CYMBAL_015.wav","YamahaRM50/yamaharm50-oh/CYMBAL_018.wav","YamahaRM50/yamaharm50-oh/CYMBAL_022.wav","YamahaRM50/yamaharm50-oh/CYMBAL_023.wav","YamahaRM50/yamaharm50-oh/CYMBAL_027.wav","YamahaRM50/yamaharm50-oh/CYMBAL_029.wav","YamahaRM50/yamaharm50-oh/FX_064.wav"],$se=["YamahaRM50/yamaharm50-perc/FX_003.wav","YamahaRM50/yamaharm50-perc/FX_004.wav","YamahaRM50/yamaharm50-perc/FX_012.wav","YamahaRM50/yamaharm50-perc/FX_013.wav","YamahaRM50/yamaharm50-perc/FX_014.wav","YamahaRM50/yamaharm50-perc/FX_015.wav","YamahaRM50/yamaharm50-perc/FX_016.wav","YamahaRM50/yamaharm50-perc/FX_017.wav","YamahaRM50/yamaharm50-perc/FX_018.wav","YamahaRM50/yamaharm50-perc/FX_019.wav","YamahaRM50/yamaharm50-perc/FX_020.wav","YamahaRM50/yamaharm50-perc/FX_021.wav","YamahaRM50/yamaharm50-perc/FX_022.wav","YamahaRM50/yamaharm50-perc/FX_023.wav","YamahaRM50/yamaharm50-perc/FX_024.wav","YamahaRM50/yamaharm50-perc/FX_033.wav","YamahaRM50/yamaharm50-perc/FX_034.wav","YamahaRM50/yamaharm50-perc/FX_035.wav","YamahaRM50/yamaharm50-perc/FX_036.wav","YamahaRM50/yamaharm50-perc/FX_037.wav","YamahaRM50/yamaharm50-perc/FX_038.wav","YamahaRM50/yamaharm50-perc/FX_039.wav","YamahaRM50/yamaharm50-perc/FX_040.wav","YamahaRM50/yamaharm50-perc/FX_041.wav","YamahaRM50/yamaharm50-perc/FX_042.wav","YamahaRM50/yamaharm50-perc/FX_043.wav","YamahaRM50/yamaharm50-perc/FX_044.wav","YamahaRM50/yamaharm50-perc/FX_045.wav","YamahaRM50/yamaharm50-perc/FX_046.wav","YamahaRM50/yamaharm50-perc/FX_047.wav","YamahaRM50/yamaharm50-perc/FX_048.wav","YamahaRM50/yamaharm50-perc/FX_049.wav","YamahaRM50/yamaharm50-perc/FX_050.wav","YamahaRM50/yamaharm50-perc/FX_051.wav","YamahaRM50/yamaharm50-perc/FX_052.wav","YamahaRM50/yamaharm50-perc/FX_053.wav","YamahaRM50/yamaharm50-perc/FX_054.wav","YamahaRM50/yamaharm50-perc/FX_055.wav","YamahaRM50/yamaharm50-perc/FX_056.wav","YamahaRM50/yamaharm50-perc/FX_057.wav","YamahaRM50/yamaharm50-perc/FX_058.wav","YamahaRM50/yamaharm50-perc/FX_062.wav","YamahaRM50/yamaharm50-perc/FX_063.wav","YamahaRM50/yamaharm50-perc/FX_065.wav","YamahaRM50/yamaharm50-perc/FX_066.wav","YamahaRM50/yamaharm50-perc/FX_067.wav","YamahaRM50/yamaharm50-perc/FX_068.wav","YamahaRM50/yamaharm50-perc/FX_069.wav","YamahaRM50/yamaharm50-perc/FX_070.wav","YamahaRM50/yamaharm50-perc/FX_073.wav","YamahaRM50/yamaharm50-perc/FX_116.wav","YamahaRM50/yamaharm50-perc/FX_119.wav","YamahaRM50/yamaharm50-perc/FX_120.wav","YamahaRM50/yamaharm50-perc/FX_121.wav","YamahaRM50/yamaharm50-perc/FX_125.wav","YamahaRM50/yamaharm50-perc/FX_132.wav"],Gse=["YamahaRM50/yamaharm50-rd/CYMBAL_030.wav","YamahaRM50/yamaharm50-rd/CYMBAL_031.wav","YamahaRM50/yamaharm50-rd/CYMBAL_032.wav","YamahaRM50/yamaharm50-rd/CYMBAL_033.wav","YamahaRM50/yamaharm50-rd/CYMBAL_034.wav","YamahaRM50/yamaharm50-rd/CYMBAL_035.wav","YamahaRM50/yamaharm50-rd/CYMBAL_036.wav","YamahaRM50/yamaharm50-rd/CYMBAL_037.wav","YamahaRM50/yamaharm50-rd/CYMBAL_038.wav","YamahaRM50/yamaharm50-rd/CYMBAL_039.wav","YamahaRM50/yamaharm50-rd/CYMBAL_040.wav","YamahaRM50/yamaharm50-rd/CYMBAL_041.wav","YamahaRM50/yamaharm50-rd/CYMBAL_042.wav"],qse=["YamahaRM50/yamaharm50-sd/SNAREDRUM_001.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_002.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_003.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_004.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_005.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_006.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_007.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_008.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_009.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_010.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_011.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_012.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_013.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_014.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_015.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_016.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_017.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_018.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_019.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_020.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_021.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_022.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_023.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_024.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_025.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_026.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_027.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_028.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_029.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_030.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_031.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_032.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_033.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_034.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_035.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_036.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_037.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_038.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_039.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_040.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_041.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_042.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_043.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_044.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_045.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_046.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_047.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_048.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_049.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_050.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_051.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_052.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_053.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_054.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_055.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_056.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_057.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_058.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_059.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_060.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_061.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_062.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_063.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_064.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_065.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_066.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_067.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_068.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_069.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_070.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_071.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_072.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_073.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_074.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_075.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_076.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_077.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_078.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_079.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_080.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_081.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_082.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_083.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_084.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_085.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_086.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_087.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_088.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_089.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_090.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_091.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_092.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_093.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_094.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_095.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_096.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_097.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_098.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_099.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_100.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_101.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_102.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_103.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_104.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_105.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_106.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_107.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_108.wav"],Qse=["YamahaRM50/yamaharm50-sh/FX_010.wav","YamahaRM50/yamaharm50-sh/FX_011.wav","YamahaRM50/yamaharm50-sh/FX_028.wav","YamahaRM50/yamaharm50-sh/FX_029.wav","YamahaRM50/yamaharm50-sh/FX_130.wav","YamahaRM50/yamaharm50-sh/FX_131.wav"],Hse=["YamahaRM50/yamaharm50-tb/FX_030.wav","YamahaRM50/yamaharm50-tb/FX_031.wav","YamahaRM50/yamaharm50-tb/FX_032.wav"],Vse=["YamahaRX21/yamaharx21-bd/Bassdrum.wav"],zse=["YamahaRX21/yamaharx21-cp/Clap.wav"],Wse=["YamahaRX21/yamaharx21-cr/Crash.wav"],Xse=["YamahaRX21/yamaharx21-hh/Closed Hat.wav"],Kse=["YamahaRX21/yamaharx21-ht/Tom H.wav"],Zse=["YamahaRX21/yamaharx21-lt/Tom L.wav"],jse=["YamahaRX21/yamaharx21-mt/Tom M.wav"],Jse=["YamahaRX21/yamaharx21-oh/Open hat.wav"],ele=["YamahaRX21/yamaharx21-sd/Snaredrum.wav"],tle=["YamahaRX5/yamaharx5-bd/Bassdrum-02.wav","YamahaRX5/yamaharx5-bd/Bassdrum.wav"],nle=["YamahaRX5/yamaharx5-cb/Cowbell.wav"],rle=["YamahaRX5/yamaharx5-fx/SFX.wav"],ale=["YamahaRX5/yamaharx5-hh/Hat Closed.wav"],ile=["YamahaRX5/yamaharx5-lt/Tom.wav"],ole=["YamahaRX5/yamaharx5-oh/Hat Open.wav"],sle=["YamahaRX5/yamaharx5-rim/Rimshot.wav"],lle=["YamahaRX5/yamaharx5-sd/Snaredrum-02.wav","YamahaRX5/yamaharx5-sd/Snaredrum-03.wav","YamahaRX5/yamaharx5-sd/Snaredrum.wav"],cle=["YamahaRX5/yamaharx5-sh/Shaker.wav"],ule=["YamahaRX5/yamaharx5-tb/Tambourine.wav"],dle=["YamahaRY30/yamahary30-bd/Bassdrum-01.wav","YamahaRY30/yamahary30-bd/Bassdrum-02.wav","YamahaRY30/yamahary30-bd/Bassdrum-03.wav","YamahaRY30/yamahary30-bd/Bassdrum-04.wav","YamahaRY30/yamahary30-bd/Bassdrum-05.wav","YamahaRY30/yamahary30-bd/Bassdrum-06.wav","YamahaRY30/yamahary30-bd/Bassdrum-07.wav","YamahaRY30/yamahary30-bd/Bassdrum-08.wav","YamahaRY30/yamahary30-bd/Bassdrum-09.wav","YamahaRY30/yamahary30-bd/Bassdrum-10.wav","YamahaRY30/yamahary30-bd/Bassdrum-11.wav","YamahaRY30/yamahary30-bd/Bassdrum-12.wav","YamahaRY30/yamahary30-bd/Bassdrum-13.wav"],hle=["YamahaRY30/yamahary30-cb/Cowbell-01.wav","YamahaRY30/yamahary30-cb/Cowbell-02.wav"],fle=["YamahaRY30/yamahary30-cp/Clap.wav"],mle=["YamahaRY30/yamahary30-cr/Crash1.wav","YamahaRY30/yamahary30-cr/zChina.wav"],ple=["YamahaRY30/yamahary30-hh/Hat Closed-01.wav","YamahaRY30/yamahary30-hh/Hat Closed-02.wav","YamahaRY30/yamahary30-hh/Hat Pedal-01.wav","YamahaRY30/yamahary30-hh/Hat Pedal-02.wav"],gle=["YamahaRY30/yamahary30-ht/Tom H-01.wav","YamahaRY30/yamahary30-ht/Tom H-02.wav","YamahaRY30/yamahary30-ht/Tom H-03.wav"],_le=["YamahaRY30/yamahary30-lt/Tom L-01.wav","YamahaRY30/yamahary30-lt/Toml L-02.wav","YamahaRY30/yamahary30-lt/Toml L-03.wav"],ble=["YamahaRY30/yamahary30-misc/Button.wav","YamahaRY30/yamahary30-misc/Knock-01.wav","YamahaRY30/yamahary30-misc/Knock-02.wav","YamahaRY30/yamahary30-misc/Noise.wav","YamahaRY30/yamahary30-misc/Pipe.wav","YamahaRY30/yamahary30-misc/Scratch.wav","YamahaRY30/yamahary30-misc/Snap.wav","YamahaRY30/yamahary30-misc/String.wav"],Sle=["YamahaRY30/yamahary30-mt/Tom M-03.wav","YamahaRY30/yamahary30-mt/Tom-04.wav"],Ole=["YamahaRY30/yamahary30-oh/Hat Open-01.wav","YamahaRY30/yamahary30-oh/Hat Open-02.wav","YamahaRY30/yamahary30-oh/Hat Open-03.wav","YamahaRY30/yamahary30-oh/Hat Open-04.wav"],vle=["YamahaRY30/yamahary30-perc/Bell.wav","YamahaRY30/yamahary30-perc/Bongo-01.wav","YamahaRY30/yamahary30-perc/Bongo-02.wav","YamahaRY30/yamahary30-perc/Conga-01.wav","YamahaRY30/yamahary30-perc/Conga-02.wav","YamahaRY30/yamahary30-perc/Quid.wav","YamahaRY30/yamahary30-perc/Stick.wav","YamahaRY30/yamahary30-perc/Timb1.wav","YamahaRY30/yamahary30-perc/Timb2.wav","YamahaRY30/yamahary30-perc/Triangle.wav","YamahaRY30/yamahary30-perc/Trill.wav","YamahaRY30/yamahary30-perc/Woodblock-01.wav","YamahaRY30/yamahary30-perc/Woodblock-02.wav"],Ele=["YamahaRY30/yamahary30-rd/Ride-01.wav","YamahaRY30/yamahary30-rd/Ride-02.wav","YamahaRY30/yamahary30-rd/Ride-03.wav"],yle=["YamahaRY30/yamahary30-rim/Rimshot1.wav","YamahaRY30/yamahary30-rim/Rimshot2.wav"],Tle=["YamahaRY30/yamahary30-sd/Snare1.wav","YamahaRY30/yamahary30-sd/Snare10.wav","YamahaRY30/yamahary30-sd/Snare11.wav","YamahaRY30/yamahary30-sd/Snare12.wav","YamahaRY30/yamahary30-sd/Snare13.wav","YamahaRY30/yamahary30-sd/Snare14.wav","YamahaRY30/yamahary30-sd/Snare15.wav","YamahaRY30/yamahary30-sd/Snare16.wav","YamahaRY30/yamahary30-sd/Snare17.wav","YamahaRY30/yamahary30-sd/Snare18.wav","YamahaRY30/yamahary30-sd/Snare19.wav","YamahaRY30/yamahary30-sd/Snare2.wav","YamahaRY30/yamahary30-sd/Snare20.wav","YamahaRY30/yamahary30-sd/Snare21.wav","YamahaRY30/yamahary30-sd/Snare3.wav","YamahaRY30/yamahary30-sd/Snare4.wav","YamahaRY30/yamahary30-sd/Snare5.wav","YamahaRY30/yamahary30-sd/Snare6.wav","YamahaRY30/yamahary30-sd/Snare7.wav","YamahaRY30/yamahary30-sd/Snare8.wav","YamahaRY30/yamahary30-sd/Snare9.wav"],Cle=["YamahaRY30/yamahary30-sh/Cabasa-01.wav","YamahaRY30/yamahary30-sh/Cabasa-02.wav"],Rle=["YamahaRY30/yamahary30-tb/Tamb.wav"],wle=["YamahaTG33/yamahatg33-bd/Bassdrum-01.wav","YamahaTG33/yamahatg33-bd/Bassdrum-02.wav","YamahaTG33/yamahatg33-bd/Bassdrum-03.wav","YamahaTG33/yamahatg33-bd/Bassdrum-04.wav"],Ale=["YamahaTG33/yamahatg33-cb/Cowbell H.wav","YamahaTG33/yamahatg33-cb/Cowbell L.wav","YamahaTG33/yamahatg33-cb/Cowbell.wav"],Ile=["YamahaTG33/yamahatg33-cp/Clap.wav"],kle=["YamahaTG33/yamahatg33-cr/Crash-01.wav","YamahaTG33/yamahatg33-cr/Crash-02.wav","YamahaTG33/yamahatg33-cr/zCrash Reverse.wav"],Nle=["YamahaTG33/yamahatg33-fx/SFX-01.wav"],Dle=["YamahaTG33/yamahatg33-ht/Tom-04.wav","YamahaTG33/yamahatg33-ht/Tom-06.wav"],xle=["YamahaTG33/yamahatg33-lt/Tom-01.wav","YamahaTG33/yamahatg33-lt/Tom-03.wav"],Mle=["YamahaTG33/yamahatg33-misc/Flute.wav","YamahaTG33/yamahatg33-misc/Glass-01.wav","YamahaTG33/yamahatg33-misc/Glass-02.wav","YamahaTG33/yamahatg33-misc/SFX-02.wav","YamahaTG33/yamahatg33-misc/SFX-03.wav","YamahaTG33/yamahatg33-misc/SFX-04.wav","YamahaTG33/yamahatg33-misc/SFX-05.wav","YamahaTG33/yamahatg33-misc/SFX-06.wav","YamahaTG33/yamahatg33-misc/SFX-07.wav","YamahaTG33/yamahatg33-misc/SFX-08.wav"],Lle=["YamahaTG33/yamahatg33-mt/Tom-07.wav","YamahaTG33/yamahatg33-mt/zTom-02.wav"],Ple=["YamahaTG33/yamahatg33-oh/Hat Open.wav"],Ble=["YamahaTG33/yamahatg33-perc/Bongo-01.wav","YamahaTG33/yamahatg33-perc/Bongo-02.wav","YamahaTG33/yamahatg33-perc/Clave.wav","YamahaTG33/yamahatg33-perc/Conga.wav","YamahaTG33/yamahatg33-perc/Snap.wav","YamahaTG33/yamahatg33-perc/Timbale.wav","YamahaTG33/yamahatg33-perc/Triangle-01.wav","YamahaTG33/yamahatg33-perc/Triangle-02.wav","YamahaTG33/yamahatg33-perc/Unknown.wav","YamahaTG33/yamahatg33-perc/Whistle-01.wav","YamahaTG33/yamahatg33-perc/Whistle-02.wav","YamahaTG33/yamahatg33-perc/Woodblock.wav"],Yle=["YamahaTG33/yamahatg33-rd/Ride-01.wav","YamahaTG33/yamahatg33-rd/Ride-02.wav"],Fle=["YamahaTG33/yamahatg33-rim/Rimshot.wav"],Ule=["YamahaTG33/yamahatg33-sd/Snaredrum-01.wav","YamahaTG33/yamahatg33-sd/Snaredrum-02.wav","YamahaTG33/yamahatg33-sd/Snaredrum-03.wav","YamahaTG33/yamahatg33-sd/Snaredrum-04.wav","YamahaTG33/yamahatg33-sd/Snaredrum-05.wav"],$le=["YamahaTG33/yamahatg33-sh/Shaker.wav"],Gle=["YamahaTG33/yamahatg33-tb/Tambourine.wav"],qle={AJKPercusyn_bd:lK,AJKPercusyn_cb:cK,AJKPercusyn_ht:uK,AJKPercusyn_sd:dK,AkaiLinn_bd:hK,AkaiLinn_cb:fK,AkaiLinn_cp:mK,AkaiLinn_cr:pK,AkaiLinn_hh:gK,AkaiLinn_ht:_K,AkaiLinn_lt:bK,AkaiLinn_mt:SK,AkaiLinn_oh:OK,AkaiLinn_rd:vK,AkaiLinn_sd:EK,AkaiLinn_sh:yK,AkaiLinn_tb:TK,AkaiMPC60_bd:CK,AkaiMPC60_cp:RK,AkaiMPC60_cr:wK,AkaiMPC60_hh:AK,AkaiMPC60_ht:IK,AkaiMPC60_lt:kK,AkaiMPC60_misc:NK,AkaiMPC60_mt:DK,AkaiMPC60_oh:xK,AkaiMPC60_perc:MK,AkaiMPC60_rd:LK,AkaiMPC60_rim:PK,AkaiMPC60_sd:BK,AkaiXR10_bd:YK,AkaiXR10_cb:FK,AkaiXR10_cp:UK,AkaiXR10_cr:$K,AkaiXR10_hh:GK,AkaiXR10_ht:qK,AkaiXR10_lt:QK,AkaiXR10_misc:HK,AkaiXR10_mt:VK,AkaiXR10_oh:zK,AkaiXR10_perc:WK,AkaiXR10_rd:XK,AkaiXR10_rim:KK,AkaiXR10_sd:ZK,AkaiXR10_sh:jK,AkaiXR10_tb:JK,AlesisHR16_bd:eZ,AlesisHR16_cp:tZ,AlesisHR16_hh:nZ,AlesisHR16_ht:rZ,AlesisHR16_lt:aZ,AlesisHR16_oh:iZ,AlesisHR16_perc:oZ,AlesisHR16_rim:sZ,AlesisHR16_sd:lZ,AlesisHR16_sh:cZ,AlesisSR16_bd:uZ,AlesisSR16_cb:dZ,AlesisSR16_cp:hZ,AlesisSR16_cr:fZ,AlesisSR16_hh:mZ,AlesisSR16_misc:pZ,AlesisSR16_oh:gZ,AlesisSR16_perc:_Z,AlesisSR16_rd:bZ,AlesisSR16_rim:SZ,AlesisSR16_sd:OZ,AlesisSR16_sh:vZ,AlesisSR16_tb:EZ,BossDR110_bd:yZ,BossDR110_cp:TZ,BossDR110_cr:CZ,BossDR110_hh:RZ,BossDR110_oh:wZ,BossDR110_rd:AZ,BossDR110_sd:IZ,BossDR220_bd:kZ,BossDR220_cp:NZ,BossDR220_cr:DZ,BossDR220_hh:xZ,BossDR220_ht:MZ,BossDR220_lt:LZ,BossDR220_mt:PZ,BossDR220_oh:BZ,BossDR220_perc:YZ,BossDR220_rd:FZ,BossDR220_sd:UZ,BossDR55_bd:$Z,BossDR55_hh:GZ,BossDR55_rim:qZ,BossDR55_sd:QZ,BossDR550_bd:HZ,BossDR550_cb:VZ,BossDR550_cp:zZ,BossDR550_cr:WZ,BossDR550_hh:XZ,BossDR550_ht:KZ,BossDR550_lt:ZZ,BossDR550_misc:jZ,BossDR550_mt:JZ,BossDR550_oh:ej,BossDR550_perc:tj,BossDR550_rd:nj,BossDR550_rim:rj,BossDR550_sd:aj,BossDR550_sh:ij,BossDR550_tb:oj,CasioRZ1_bd:sj,CasioRZ1_cb:lj,CasioRZ1_cp:cj,CasioRZ1_cr:uj,CasioRZ1_hh:dj,CasioRZ1_ht:hj,CasioRZ1_lt:fj,CasioRZ1_mt:mj,CasioRZ1_rd:pj,CasioRZ1_rim:gj,CasioRZ1_sd:_j,CasioSK1_bd:bj,CasioSK1_hh:Sj,CasioSK1_ht:Oj,CasioSK1_mt:vj,CasioSK1_oh:Ej,CasioSK1_sd:yj,CasioVL1_bd:Tj,CasioVL1_hh:Cj,CasioVL1_sd:Rj,DoepferMS404_bd:wj,DoepferMS404_hh:Aj,DoepferMS404_lt:Ij,DoepferMS404_oh:kj,DoepferMS404_sd:Nj,EmuDrumulator_bd:Dj,EmuDrumulator_cb:xj,EmuDrumulator_cp:Mj,EmuDrumulator_cr:Lj,EmuDrumulator_hh:Pj,EmuDrumulator_ht:Bj,EmuDrumulator_lt:Yj,EmuDrumulator_mt:Fj,EmuDrumulator_oh:Uj,EmuDrumulator_perc:$j,EmuDrumulator_rim:Gj,EmuDrumulator_sd:qj,EmuModular_bd:Qj,EmuModular_misc:Hj,EmuModular_perc:Vj,EmuSP12_bd:zj,EmuSP12_cb:Wj,EmuSP12_cp:Xj,EmuSP12_cr:Kj,EmuSP12_hh:Zj,EmuSP12_ht:jj,EmuSP12_lt:Jj,EmuSP12_misc:eJ,EmuSP12_mt:tJ,EmuSP12_oh:nJ,EmuSP12_perc:rJ,EmuSP12_rd:aJ,EmuSP12_rim:iJ,EmuSP12_sd:oJ,KorgDDM110_bd:sJ,KorgDDM110_cp:lJ,KorgDDM110_cr:cJ,KorgDDM110_hh:uJ,KorgDDM110_ht:dJ,KorgDDM110_lt:hJ,KorgDDM110_oh:fJ,KorgDDM110_rim:mJ,KorgDDM110_sd:pJ,KorgKPR77_bd:gJ,KorgKPR77_cp:_J,KorgKPR77_hh:bJ,KorgKPR77_oh:SJ,KorgKPR77_sd:OJ,KorgKR55_bd:vJ,KorgKR55_cb:EJ,KorgKR55_cr:yJ,KorgKR55_hh:TJ,KorgKR55_ht:CJ,KorgKR55_oh:RJ,KorgKR55_perc:wJ,KorgKR55_rim:AJ,KorgKR55_sd:IJ,KorgKRZ_bd:kJ,KorgKRZ_cr:NJ,KorgKRZ_fx:DJ,KorgKRZ_hh:xJ,KorgKRZ_ht:MJ,KorgKRZ_lt:LJ,KorgKRZ_misc:PJ,KorgKRZ_oh:BJ,KorgKRZ_rd:YJ,KorgKRZ_sd:FJ,KorgM1_bd:UJ,KorgM1_cb:$J,KorgM1_cp:GJ,KorgM1_cr:qJ,KorgM1_hh:QJ,KorgM1_ht:HJ,KorgM1_misc:VJ,KorgM1_mt:zJ,KorgM1_oh:WJ,KorgM1_perc:XJ,KorgM1_rd:KJ,KorgM1_rim:ZJ,KorgM1_sd:jJ,KorgM1_sh:JJ,KorgM1_tb:eee,KorgMinipops_bd:tee,KorgMinipops_hh:nee,KorgMinipops_misc:ree,KorgMinipops_oh:aee,KorgMinipops_sd:iee,KorgPoly800_bd:oee,KorgT3_bd:see,KorgT3_cp:lee,KorgT3_hh:cee,KorgT3_misc:uee,KorgT3_oh:dee,KorgT3_perc:hee,KorgT3_rim:fee,KorgT3_sd:mee,KorgT3_sh:pee,Linn9000_bd:gee,Linn9000_cb:_ee,Linn9000_cr:bee,Linn9000_hh:See,Linn9000_ht:Oee,Linn9000_lt:vee,Linn9000_mt:Eee,Linn9000_oh:yee,Linn9000_perc:Tee,Linn9000_rd:Cee,Linn9000_rim:Ree,Linn9000_sd:wee,Linn9000_tb:Aee,LinnDrum_bd:Iee,LinnDrum_cb:kee,LinnDrum_cp:Nee,LinnDrum_cr:Dee,LinnDrum_hh:xee,LinnDrum_ht:Mee,LinnDrum_lt:Lee,LinnDrum_mt:Pee,LinnDrum_oh:Bee,LinnDrum_perc:Yee,LinnDrum_rd:Fee,LinnDrum_rim:Uee,LinnDrum_sd:$ee,LinnDrum_sh:Gee,LinnDrum_tb:qee,LinnLM1_bd:Qee,LinnLM1_cb:Hee,LinnLM1_cp:Vee,LinnLM1_hh:zee,LinnLM1_ht:Wee,LinnLM1_lt:Xee,LinnLM1_oh:Kee,LinnLM1_perc:Zee,LinnLM1_rim:jee,LinnLM1_sd:Jee,LinnLM1_sh:ete,LinnLM1_tb:tte,LinnLM2_bd:nte,LinnLM2_cb:rte,LinnLM2_cp:ate,LinnLM2_cr:ite,LinnLM2_hh:ote,LinnLM2_ht:ste,LinnLM2_lt:lte,LinnLM2_mt:cte,LinnLM2_oh:ute,LinnLM2_rd:dte,LinnLM2_rim:hte,LinnLM2_sd:fte,LinnLM2_sh:mte,LinnLM2_tb:pte,MFB512_bd:gte,MFB512_cp:_te,MFB512_cr:bte,MFB512_hh:Ste,MFB512_ht:Ote,MFB512_lt:vte,MFB512_mt:Ete,MFB512_oh:yte,MFB512_sd:Tte,MPC1000_bd:Cte,MPC1000_cp:Rte,MPC1000_hh:wte,MPC1000_oh:Ate,MPC1000_perc:Ite,MPC1000_sd:kte,MPC1000_sh:Nte,MoogConcertMateMG1_bd:Dte,MoogConcertMateMG1_sd:xte,OberheimDMX_:Mte,OberheimDMX_bd:Lte,OberheimDMX_cp:Pte,OberheimDMX_cr:Bte,OberheimDMX_hh:Yte,OberheimDMX_ht:Fte,OberheimDMX_lt:Ute,OberheimDMX_mt:$te,OberheimDMX_oh:Gte,OberheimDMX_rd:qte,OberheimDMX_rim:Qte,OberheimDMX_sd:Hte,OberheimDMX_sh:Vte,OberheimDMX_tb:zte,RhodesPolaris_bd:Wte,RhodesPolaris_misc:Xte,RhodesPolaris_sd:Kte,RhythmAce_bd:Zte,RhythmAce_hh:jte,RhythmAce_ht:Jte,RhythmAce_lt:ene,RhythmAce_oh:tne,RhythmAce_perc:nne,RhythmAce_sd:rne,RolandCompurhythm1000_bd:ane,RolandCompurhythm1000_cb:ine,RolandCompurhythm1000_cp:one,RolandCompurhythm1000_cr:sne,RolandCompurhythm1000_hh:lne,RolandCompurhythm1000_ht:cne,RolandCompurhythm1000_lt:une,RolandCompurhythm1000_mt:dne,RolandCompurhythm1000_oh:hne,RolandCompurhythm1000_perc:fne,RolandCompurhythm1000_rd:mne,RolandCompurhythm1000_rim:pne,RolandCompurhythm1000_sd:gne,RolandCompurhythm78_bd:_ne,RolandCompurhythm78_cb:bne,RolandCompurhythm78_hh:Sne,RolandCompurhythm78_misc:One,RolandCompurhythm78_oh:vne,RolandCompurhythm78_perc:Ene,RolandCompurhythm78_sd:yne,RolandCompurhythm78_tb:Tne,RolandCompurhythm8000_bd:Cne,RolandCompurhythm8000_cb:Rne,RolandCompurhythm8000_cp:wne,RolandCompurhythm8000_cr:Ane,RolandCompurhythm8000_hh:Ine,RolandCompurhythm8000_ht:kne,RolandCompurhythm8000_lt:Nne,RolandCompurhythm8000_mt:Dne,RolandCompurhythm8000_oh:xne,RolandCompurhythm8000_perc:Mne,RolandCompurhythm8000_rim:Lne,RolandCompurhythm8000_sd:Pne,RolandD110_bd:Bne,RolandD110_cb:Yne,RolandD110_cr:Fne,RolandD110_hh:Une,RolandD110_lt:$ne,RolandD110_oh:Gne,RolandD110_perc:qne,RolandD110_rd:Qne,RolandD110_rim:Hne,RolandD110_sd:Vne,RolandD110_sh:zne,RolandD110_tb:Wne,RolandD70_bd:Xne,RolandD70_cb:Kne,RolandD70_cp:Zne,RolandD70_cr:jne,RolandD70_hh:Jne,RolandD70_lt:ere,RolandD70_mt:tre,RolandD70_oh:nre,RolandD70_perc:rre,RolandD70_rd:are,RolandD70_rim:ire,RolandD70_sd:ore,RolandD70_sh:sre,RolandDDR30_bd:lre,RolandDDR30_ht:cre,RolandDDR30_lt:ure,RolandDDR30_sd:dre,RolandJD990_bd:hre,RolandJD990_cb:fre,RolandJD990_cp:mre,RolandJD990_cr:pre,RolandJD990_hh:gre,RolandJD990_ht:_re,RolandJD990_lt:bre,RolandJD990_misc:Sre,RolandJD990_mt:Ore,RolandJD990_oh:vre,RolandJD990_perc:Ere,RolandJD990_rd:yre,RolandJD990_sd:Tre,RolandJD990_tb:Cre,RolandMC202_bd:Rre,RolandMC202_ht:wre,RolandMC202_perc:Are,RolandMC303_bd:Ire,RolandMC303_cb:kre,RolandMC303_cp:Nre,RolandMC303_fx:Dre,RolandMC303_hh:xre,RolandMC303_ht:Mre,RolandMC303_lt:Lre,RolandMC303_misc:Pre,RolandMC303_mt:Bre,RolandMC303_oh:Yre,RolandMC303_perc:Fre,RolandMC303_rd:Ure,RolandMC303_rim:$re,RolandMC303_sd:Gre,RolandMC303_sh:qre,RolandMC303_tb:Qre,RolandMT32_bd:Hre,RolandMT32_cb:Vre,RolandMT32_cp:zre,RolandMT32_cr:Wre,RolandMT32_hh:Xre,RolandMT32_ht:Kre,RolandMT32_lt:Zre,RolandMT32_mt:jre,RolandMT32_oh:Jre,RolandMT32_perc:eae,RolandMT32_rd:tae,RolandMT32_rim:nae,RolandMT32_sd:rae,RolandMT32_sh:aae,RolandMT32_tb:iae,RolandR8_bd:oae,RolandR8_cb:sae,RolandR8_cp:lae,RolandR8_cr:cae,RolandR8_hh:uae,RolandR8_ht:dae,RolandR8_lt:hae,RolandR8_mt:fae,RolandR8_oh:mae,RolandR8_perc:pae,RolandR8_rd:gae,RolandR8_rim:_ae,RolandR8_sd:bae,RolandR8_sh:Sae,RolandR8_tb:Oae,RolandS50_bd:vae,RolandS50_cb:Eae,RolandS50_cp:yae,RolandS50_cr:Tae,RolandS50_ht:Cae,RolandS50_lt:Rae,RolandS50_misc:wae,RolandS50_mt:Aae,RolandS50_oh:Iae,RolandS50_perc:kae,RolandS50_rd:Nae,RolandS50_sd:Dae,RolandS50_sh:xae,RolandS50_tb:Mae,RolandSH09_bd:Lae,RolandSystem100_bd:Pae,RolandSystem100_hh:Bae,RolandSystem100_misc:Yae,RolandSystem100_oh:Fae,RolandSystem100_perc:Uae,RolandSystem100_sd:$ae,RolandTR505_bd:Gae,RolandTR505_cb:qae,RolandTR505_cp:Qae,RolandTR505_cr:Hae,RolandTR505_hh:Vae,RolandTR505_ht:zae,RolandTR505_lt:Wae,RolandTR505_mt:Xae,RolandTR505_oh:Kae,RolandTR505_perc:Zae,RolandTR505_rd:jae,RolandTR505_rim:Jae,RolandTR505_sd:eie,RolandTR606_bd:tie,RolandTR606_cr:nie,RolandTR606_hh:rie,RolandTR606_ht:aie,RolandTR606_lt:iie,RolandTR606_oh:oie,RolandTR606_sd:sie,RolandTR626_bd:lie,RolandTR626_cb:cie,RolandTR626_cp:uie,RolandTR626_cr:die,RolandTR626_hh:hie,RolandTR626_ht:fie,RolandTR626_lt:mie,RolandTR626_mt:pie,RolandTR626_oh:gie,RolandTR626_perc:_ie,RolandTR626_rd:bie,RolandTR626_rim:Sie,RolandTR626_sd:Oie,RolandTR626_sh:vie,RolandTR626_tb:Eie,RolandTR707_bd:yie,RolandTR707_cb:Tie,RolandTR707_cp:Cie,RolandTR707_cr:Rie,RolandTR707_hh:wie,RolandTR707_ht:Aie,RolandTR707_lt:Iie,RolandTR707_mt:kie,RolandTR707_oh:Nie,RolandTR707_rim:Die,RolandTR707_sd:xie,RolandTR707_tb:Mie,RolandTR727_perc:Lie,RolandTR727_sh:Pie,RolandTR808_bd:Bie,RolandTR808_cb:Yie,RolandTR808_cp:Fie,RolandTR808_cr:Uie,RolandTR808_hh:$ie,RolandTR808_ht:Gie,RolandTR808_lt:qie,RolandTR808_mt:Qie,RolandTR808_oh:Hie,RolandTR808_perc:Vie,RolandTR808_rim:zie,RolandTR808_sd:Wie,RolandTR808_sh:Xie,RolandTR909_bd:Kie,RolandTR909_cp:Zie,RolandTR909_cr:jie,RolandTR909_hh:Jie,RolandTR909_ht:eoe,RolandTR909_lt:toe,RolandTR909_mt:noe,RolandTR909_oh:roe,RolandTR909_rd:aoe,RolandTR909_rim:ioe,RolandTR909_sd:ooe,SakataDPM48_bd:soe,SakataDPM48_cp:loe,SakataDPM48_cr:coe,SakataDPM48_hh:uoe,SakataDPM48_ht:doe,SakataDPM48_lt:hoe,SakataDPM48_mt:foe,SakataDPM48_oh:moe,SakataDPM48_perc:poe,SakataDPM48_rd:goe,SakataDPM48_rim:_oe,SakataDPM48_sd:boe,SakataDPM48_sh:Soe,SequentialCircuitsDrumtracks_bd:Ooe,SequentialCircuitsDrumtracks_cb:voe,SequentialCircuitsDrumtracks_cp:Eoe,SequentialCircuitsDrumtracks_cr:yoe,SequentialCircuitsDrumtracks_hh:Toe,SequentialCircuitsDrumtracks_ht:Coe,SequentialCircuitsDrumtracks_oh:Roe,SequentialCircuitsDrumtracks_rd:woe,SequentialCircuitsDrumtracks_rim:Aoe,SequentialCircuitsDrumtracks_sd:Ioe,SequentialCircuitsDrumtracks_sh:koe,SequentialCircuitsDrumtracks_tb:Noe,SequentialCircuitsTom_bd:Doe,SequentialCircuitsTom_cp:xoe,SequentialCircuitsTom_cr:Moe,SequentialCircuitsTom_hh:Loe,SequentialCircuitsTom_ht:Poe,SequentialCircuitsTom_oh:Boe,SequentialCircuitsTom_sd:Yoe,SergeModular_bd:Foe,SergeModular_misc:Uoe,SergeModular_perc:$oe,SimmonsSDS400_ht:Goe,SimmonsSDS400_lt:qoe,SimmonsSDS400_mt:Qoe,SimmonsSDS400_sd:Hoe,SimmonsSDS5_bd:Voe,SimmonsSDS5_hh:zoe,SimmonsSDS5_ht:Woe,SimmonsSDS5_lt:Xoe,SimmonsSDS5_mt:Koe,SimmonsSDS5_oh:Zoe,SimmonsSDS5_rim:joe,SimmonsSDS5_sd:Joe,SoundmastersR88_bd:ese,SoundmastersR88_cr:tse,SoundmastersR88_hh:nse,SoundmastersR88_oh:rse,SoundmastersR88_sd:ase,UnivoxMicroRhythmer12_bd:ise,UnivoxMicroRhythmer12_hh:ose,UnivoxMicroRhythmer12_oh:sse,UnivoxMicroRhythmer12_sd:lse,ViscoSpaceDrum_bd:cse,ViscoSpaceDrum_cb:use,ViscoSpaceDrum_hh:dse,ViscoSpaceDrum_ht:hse,ViscoSpaceDrum_lt:fse,ViscoSpaceDrum_misc:mse,ViscoSpaceDrum_mt:pse,ViscoSpaceDrum_oh:gse,ViscoSpaceDrum_perc:_se,ViscoSpaceDrum_rim:bse,ViscoSpaceDrum_sd:Sse,XdrumLM8953_bd:Ose,XdrumLM8953_cr:vse,XdrumLM8953_hh:Ese,XdrumLM8953_ht:yse,XdrumLM8953_lt:Tse,XdrumLM8953_mt:Cse,XdrumLM8953_oh:Rse,XdrumLM8953_rd:wse,XdrumLM8953_rim:Ase,XdrumLM8953_sd:Ise,XdrumLM8953_tb:kse,YamahaRM50_bd:Nse,YamahaRM50_cb:Dse,YamahaRM50_cp:xse,YamahaRM50_cr:Mse,YamahaRM50_hh:Lse,YamahaRM50_ht:Pse,YamahaRM50_lt:Bse,YamahaRM50_misc:Yse,YamahaRM50_mt:Fse,YamahaRM50_oh:Use,YamahaRM50_perc:$se,YamahaRM50_rd:Gse,YamahaRM50_sd:qse,YamahaRM50_sh:Qse,YamahaRM50_tb:Hse,YamahaRX21_bd:Vse,YamahaRX21_cp:zse,YamahaRX21_cr:Wse,YamahaRX21_hh:Xse,YamahaRX21_ht:Kse,YamahaRX21_lt:Zse,YamahaRX21_mt:jse,YamahaRX21_oh:Jse,YamahaRX21_sd:ele,YamahaRX5_bd:tle,YamahaRX5_cb:nle,YamahaRX5_fx:rle,YamahaRX5_hh:ale,YamahaRX5_lt:ile,YamahaRX5_oh:ole,YamahaRX5_rim:sle,YamahaRX5_sd:lle,YamahaRX5_sh:cle,YamahaRX5_tb:ule,YamahaRY30_bd:dle,YamahaRY30_cb:hle,YamahaRY30_cp:fle,YamahaRY30_cr:mle,YamahaRY30_hh:ple,YamahaRY30_ht:gle,YamahaRY30_lt:_le,YamahaRY30_misc:ble,YamahaRY30_mt:Sle,YamahaRY30_oh:Ole,YamahaRY30_perc:vle,YamahaRY30_rd:Ele,YamahaRY30_rim:yle,YamahaRY30_sd:Tle,YamahaRY30_sh:Cle,YamahaRY30_tb:Rle,YamahaTG33_bd:wle,YamahaTG33_cb:Ale,YamahaTG33_cp:Ile,YamahaTG33_cr:kle,YamahaTG33_fx:Nle,YamahaTG33_ht:Dle,YamahaTG33_lt:xle,YamahaTG33_misc:Mle,YamahaTG33_mt:Lle,YamahaTG33_oh:Ple,YamahaTG33_perc:Ble,YamahaTG33_rd:Yle,YamahaTG33_rim:Fle,YamahaTG33_sd:Ule,YamahaTG33_sh:$le,YamahaTG33_tb:Gle},Qle=(r,e,...t)=>{const n=r.getContext("2d");typeof e=="number"&&(e=`rgb(${e},${t[0]},${t[1]})`),n.fillStyle=e,n.fillRect(0,0,r.width,r.height)},Hle=(r,e,t,n,a,...i)=>{const s=r.getContext("2d").createLinearGradient(e,t,n,a);for(let l=0;l{const c=r.getContext("2d").createRadialGradient(e,t,n,a,i,o);for(let u=0;u{const o=r.getContext("2d").createConicGradient(e,t,n);for(let s=0;s{const l=r.getContext("2d");if(l.beginPath(),l.fillStyle=a,e===0)l.arc(o,s,t,0,2*Math.PI),l.closePath(),l.fill();else if(e===1)l.ellipse(o,s,t*.8,t*n*.7,0,0,2*Math.PI),l.closePath(),l.fill();else if(e===2)l.moveTo(o,s-t),l.quadraticCurveTo(o+t*n,s,o,s+t),l.quadraticCurveTo(o-t*n,s,o,s-t),l.closePath(),l.fill();else{l.moveTo(o,s-t);let c=[];for(let u=0;u{const o=r.getContext("2d");o.save(),o.translate(a,i),o.rotate(n*Math.PI/180),o.beginPath(),o.moveTo(0,-e),o.lineTo(e,e),o.lineTo(-e,e),o.closePath(),o.fillStyle=t,o.fill(),o.restore()},Xle=(r,e,t,n,a,i,o)=>{const s=r.getContext("2d");s.save(),s.translate(i,o),s.rotate(a*Math.PI/180),s.beginPath(),s.moveTo(0,-t),s.lineTo(e,t),s.lineTo(-e,t),s.closePath(),s.fillStyle=n,s.fill(),s.restore()},Pw=(r,e,t,n,a)=>{const i=r.getContext("2d");i.beginPath(),i.arc(n,a,e,0,2*Math.PI),i.fillStyle=t,i.fill(),i.closePath()},Kle=(r,e,t,n,a,i,o,s,l,c,u)=>{const h=r.getContext("2d");h.save(),h.translate(c,u),h.rotate(l*Math.PI/180),e<2&&(h.beginPath(),h.arc(0,0,n,0,2*Math.PI),h.closePath(),h.fillStyle=e<1?o:i,h.fill(),h.beginPath(),h.arc(0,0,a,0,2*Math.PI),h.closePath(),h.fillStyle=o,h.fill(),h.restore());const p=e,_=2*Math.PI/p;for(let b=0;b{const u=r.getContext("2d");u.save(),u.translate(l,c),u.rotate(s*Math.PI/180),e<2&&(u.beginPath(),u.arc(0,0,n,0,2*Math.PI),u.closePath(),u.fillStyle=e<1?i:a,u.fill(),u.restore());const h=e,p=2*Math.PI/h;for(let _=0;_{if(e<1)return Pw(r,t,n,o,s);if(e==1)return Lw(r,t,n,0,o,s);const l=r.getContext("2d");l.save(),l.translate(o,s),l.rotate(a*Math.PI/180),l.beginPath(),l.moveTo(0,-t);for(let c=0;c{const l=r.getContext("2d");l.save(),l.translate(a,i),l.rotate(n*Math.PI/180),l.beginPath(),l.moveTo(0,0),l.lineTo(o-a,s-i),l.lineWidth=e,l.strokeStyle=t,l.stroke(),l.restore()},Jle=(r,e,t,n,a,i,o,s)=>{const l=r.getContext("2d"),c=i/100*Math.PI;l.save(),l.translate(o,s),l.rotate(c),l.beginPath(),l.arc(0,0,t,0,2*Math.PI),l.fillStyle=a,l.fill(),l.lineWidth=t/20,l.strokeStyle="black",l.stroke();const u=-t/5,h=t/2.5,p=t/8,_=n*t/10;l.beginPath(),l.ellipse(-h,u,p,_,0,0,2*Math.PI),l.fillStyle="black",l.fill(),l.beginPath(),l.ellipse(h,u,p,_,0,0,2*Math.PI),l.fillStyle="black",l.fill();const b=t/2,A=t*.9,I=.25;let M=0,U=0;e>=0,U=b+e*I*t/2,l.beginPath(),l.moveTo(-A/2,b),l.quadraticCurveTo(M,U,A/2,b),l.lineWidth=10,l.strokeStyle="black",l.stroke(),l.restore()},ece=(r,e,t,n,a,i,o,s,l)=>{const c=r.getContext("2d");c.save(),c.translate(i,o),c.rotate(n*Math.PI/180),c.filter=l,c.font=`${t}px ${a}`,c.fillStyle=s,c.fillText(e,0,0),c.restore()},tce=(r,e,t,n,a,i,o,s="none")=>{const l=r.getContext("2d");l.save(),l.translate(i,o),l.rotate(a*Math.PI/180),l.filter=s;const c=new Image;c.src=e,l.drawImage(c,-t/2,-n/2,t,n),l.restore()};async function Bw(){return Promise.all([jN(),da("github:tidalcycles/Dirt-Samples/master",void 0,{tag:"Tidal"}).then(()=>lD()),fD(),da(qle,"github:ritchse/tidal-drum-machines/main/machines/",{tag:"Machines"}),da("github:Bubobubobubobubo/Dough-Fox/main",void 0,{tag:"FoxDot"}),da("github:Bubobubobubobubo/Dough-Samples/main",void 0,{tag:"Pack"}),da("github:Bubobubobubobubo/Dough-Amiga/main",void 0,{tag:"Amiga"}),da("github:Bubobubobubobubo/Dough-Juj/main",void 0,{tag:"Juliette"}),da("github:Bubobubobubobubo/Dough-Amen/main",void 0,{tag:"Amen"}),da("github:Bubobubobubobubo/Dough-Waveforms/main",void 0,{tag:"Waveforms"})])}class nce{constructor(e){T(this,"codeExamples",{});T(this,"counters",{});T(this,"_drunk",new rK(-100,100,!1));T(this,"randomGen",Math.random);T(this,"currentSeed");T(this,"localSeeds",new Map);T(this,"patternCache",new n0({max:1e4,ttl:1e4*60*5}));T(this,"invalidPatterns",{});T(this,"cueTimes",{});T(this,"errorTimeoutID",0);T(this,"printTimeoutID",0);T(this,"MidiConnection");T(this,"scale_aid");T(this,"hydra");T(this,"onceEvaluator",!0);T(this,"forceEvaluator",!1);T(this,"load");T(this,"global");T(this,"g");T(this,"_loadUniverseFromInterface",e=>{this.app.selected_universe=e.trim(),this.app.settings.selected_universe=e.trim(),al(this.app,e),vu()});T(this,"_deleteUniverseFromInterface",e=>{delete this.app.universes[e],this.app.settings.selected_universe===e&&(this.app.settings.selected_universe="Welcome",this.app.selected_universe="Welcome"),this.app.settings.saveApplicationToLocalStorage(this.app.universes,this.app.settings),this.app.updateKnownUniversesView()});T(this,"_playDocExample",e=>{let t=this.app.universes[this.app.selected_universe];this.app.exampleIsPlaying=!0,t.example?t.example.candidate=e||this.app.selectedExample:(t.example={candidate:"",committed:"",evaluations:0},t.example.candidate=e||this.app.selectedExample),this.clearPatternCache(),this.stop(),this.play()});T(this,"_stopDocExample",()=>{let e=this.app.universes[this.app.selected_universe];(e==null?void 0:e.example)!==void 0&&(this.app.exampleIsPlaying=!1,e.example.candidate="",e.example.committed=""),this.clearPatternCache(),this.stop()});T(this,"_playDocExampleOnce",e=>{let t=this.app.universes[this.app.selected_universe];(t==null?void 0:t.example)!==void 0&&(t.example.candidate="",t.example.committed=""),this.clearPatternCache(),this.stop(),this.play(),this.app.exampleIsPlaying=!0,AB(this.app,e)});T(this,"_all_samples",()=>Du.get());T(this,"_reportError",e=>{const t=o=>{var l;const s=(l=o.stack)==null?void 0:l.split(` -`);if(s){for(const c of s)if(c.includes("")){const u=c.match(/:(\d+):(\d+)/);if(u)return{line:parseInt(u[1],10),column:parseInt(u[2],10)}}}return{line:null,column:null}},{line:n,column:a}=t(e),i=n&&a?`${e.message} (Line: ${n-2}, Column: ${a})`:e.message;clearTimeout(this.errorTimeoutID),clearTimeout(this.printTimeoutID),this.app.interface.error_line.innerHTML=i,this.app.interface.error_line.style.color="color-red-800",this.app.interface.error_line.classList.remove("hidden"),this.errorTimeoutID=setTimeout(()=>this.app.interface.error_line.classList.add("hidden"),2e3)});T(this,"_logMessage",e=>{console.log(e),clearTimeout(this.printTimeoutID),clearTimeout(this.errorTimeoutID),this.app.interface.error_line.innerHTML=e,this.app.interface.error_line.style.color="red",this.app.interface.error_line.classList.remove("hidden"),this.printTimeoutID=setTimeout(()=>this.app.interface.error_line.classList.add("hidden"),4e3)});T(this,"time",()=>this.app.audioContext.currentTime);T(this,"play",()=>{this.app.setButtonHighlighting("play",!0),this.MidiConnection.sendStartMessage(),this.app.clock.start()});T(this,"pause",()=>{this.app.setButtonHighlighting("pause",!0),this.app.clock.pause()});T(this,"stop",()=>{this.app.setButtonHighlighting("stop",!0),this.app.clock.stop()});T(this,"silence",this.stop);T(this,"hush",this.stop);T(this,"warp",e=>{this.app.clock.tick=e,this.app.clock.time_position=this.app.clock.convertTicksToTimeposition(e)});T(this,"beat_warp",e=>{this.app.clock.tick=e*this.app.clock.ppqn,this.app.clock.time_position=this.app.clock.convertTicksToTimeposition(e*this.app.clock.ppqn)});T(this,"onmousemove",e=>{this.app._mouseX=e.pageX,this.app._mouseY=e.pageY});T(this,"mouseX",()=>this.app._mouseX);T(this,"mouseY",()=>this.app._mouseY);T(this,"noteX",()=>Math.floor(this.app._mouseX/document.body.clientWidth*127));T(this,"noteY",()=>Math.floor(this.app._mouseY/document.body.clientHeight*127));T(this,"script",(...e)=>{e.forEach(t=>{t>=1&&t<=9&&(_D(this.app,"local",t),Ci(this.app,this.app.universes[this.app.selected_universe].locals[t]))})});T(this,"s",this.script);T(this,"delete_script",e=>{this.app.universes[this.app.selected_universe].locals[e]={candidate:"",committed:"",evaluations:0}});T(this,"cs",this.delete_script);T(this,"copy_script",(e,t)=>{this.app.universes[this.app.selected_universe].locals[t]={...this.app.universes[this.app.selected_universe].locals[e]}});T(this,"cps",this.copy_script);T(this,"copy_universe",(e,t)=>{this.app.universes[t]={...this.app.universes[e]}});T(this,"delete_universe",e=>{this.app.selected_universe===e&&(this.app.selected_universe="Default"),delete this.app.universes[e],this.app.settings.saveApplicationToLocalStorage(this.app.universes,this.app.settings),this.app.updateKnownUniversesView()});T(this,"big_bang",()=>{confirm("Are you sure you want to delete all universes?")&&(this.app.universes={...h_},this.app.settings.saveApplicationToLocalStorage(this.app.universes,this.app.settings)),this.app.selected_universe="Default",this.app.updateKnownUniversesView()});T(this,"midi_outputs",()=>{this._logMessage(this.MidiConnection.listMidiOutputs())});T(this,"midi_output",e=>{e?this.MidiConnection.switchMidiOutput(e):console.log(this.MidiConnection.getCurrentMidiPort())});T(this,"midi",(e=60,t,n,a)=>{const i={note:e,velocity:t,channel:n,port:a};return new Jg(i,this.app)});T(this,"sysex",e=>{this.MidiConnection.sendSysExMessage(e)});T(this,"pitch_bend",(e,t)=>{this.MidiConnection.sendPitchBend(e,t)});T(this,"program_change",(e,t)=>{this.MidiConnection.sendProgramChange(e,t)});T(this,"midi_clock",()=>{this.MidiConnection.sendMidiClock()});T(this,"control_change",({control:e=20,value:t=0,channel:n=0})=>{this.MidiConnection.sendMidiControlChange(e,t,n)});T(this,"cc",this.control_change);T(this,"midi_panic",()=>{this.MidiConnection.panic()});T(this,"active_note_events",e=>{let t;if(e?t=this.MidiConnection.activeNotesFromChannel(e):t=this.MidiConnection.activeNotes,t.length>0)return t});T(this,"active_notes",e=>{const t=this.active_note_events(e);if(t&&t.length>0)return t.map(n=>n.note)});T(this,"kill_active_notes",()=>{this.MidiConnection.activeNotes=[]});T(this,"sticky_notes",e=>{let t;if(e?t=this.MidiConnection.stickyNotesFromChannel(e):t=this.MidiConnection.stickyNotes,t.length>0)return t.map(n=>n.note)});T(this,"kill_sticky_notes",()=>{this.MidiConnection.stickyNotes=[]});T(this,"buffer",e=>e?this.MidiConnection.findNoteFromBufferInChannel(e)!==void 0:this.MidiConnection.noteInputBuffer.length>0);T(this,"buffer_event",e=>e?this.MidiConnection.findNoteFromBufferInChannel(e):this.MidiConnection.noteInputBuffer.shift());T(this,"buffer_note",e=>{const t=this.buffer_event(e);return t?t.note:void 0});T(this,"last_note_event",e=>e?this.MidiConnection.lastNoteInChannel[e]:this.MidiConnection.lastNote);T(this,"last_note",e=>{const t=this.last_note_event(e);return t?t.note:60});T(this,"last_cc",(e,t)=>t?this.MidiConnection.lastCCInChannel[t]?this.MidiConnection.lastCCInChannel[t][e]:0:this.MidiConnection.lastCC[e]||0);T(this,"has_cc",e=>e?this.MidiConnection.findCCFromBufferInChannel(e)!==void 0:this.MidiConnection.ccInputBuffer.length>0);T(this,"buffer_cc",e=>e?this.MidiConnection.findCCFromBufferInChannel(e):this.MidiConnection.ccInputBuffer.shift());T(this,"show_scale",(e,t,n=0,a=this.MidiConnection.currentOutputIndex||0,i=!1)=>{(!this.scale_aid||t!==this.scale_aid)&&(this.hide_scale(e,t,n,a),aH(t,e).forEach(s=>{this.MidiConnection.sendMidiOn(s,n,1,a),i&&this.MidiConnection.sendAllSoundOff(n,a)}),this.scale_aid=t)});T(this,"hide_scale",(e=0,t=0,n=0,a=this.MidiConnection.currentOutputIndex||0)=>{Array.from(Array(128).keys()).forEach(o=>{this.MidiConnection.sendMidiOff(o,n,a)}),this.scale_aid=void 0});T(this,"midi_notes_off",(e=0,t=this.MidiConnection.currentOutputIndex||0)=>{this.MidiConnection.sendAllNotesOff(e,t)});T(this,"midi_sound_off",(e=0,t=this.MidiConnection.currentOutputIndex||0)=>{this.MidiConnection.sendAllSoundOff(e,t)});T(this,"generateCacheKey",(...e)=>e.map(t=>JSON.stringify(t)).join(","));T(this,"resetAllFromCache",()=>{this.patternCache.forEach(e=>e.reset())});T(this,"clearPatternCache",()=>{this.patternCache.clear()});T(this,"removePatternFromCache",e=>{this.patternCache.delete(e)});T(this,"cache",(e,t)=>{if(t!==void 0)if(Iw(t))if(this.patternCache.has(e)){const n=this.patternCache.get(e).next().value;if(n!==0&&!n){const a=t;return this.patternCache.set(e,a),oi(a.next().value)}return oi(n)}else{const n=t;return this.patternCache.set(e,n),oi(n.next().value)}else if(aK(t))if(this.patternCache.has(e)){const n=this.patternCache.get(e).next().value;if(n||n===0||n===0n)return oi(n);{const a=t();return this.patternCache.set(e,a),oi(a.next().value)}}else{const n=t();return this.patternCache.set(e,n),oi(n.next().value)}else return this.patternCache.set(e,t),oi(t);else return oi(this.patternCache.get(e))});T(this,"z",(e,t={},n="")=>{const a="z"+n.toString(),i=n===""?this.generateCacheKey(e,t):a,o=typeof e=="string"&&!this.invalidPatterns[e];let s,l=!1;if(this.app.api.patternCache.has(i)&&(s=this.app.api.patternCache.get(i),typeof e=="string"&&s.input!==e&&(s.atTheBeginning()||this.forceEvaluator)&&(l=!0)),(typeof e!="string"||o)&&(!s||l))if(typeof e=="string"&&s&&this.forceEvaluator)s.updatePattern(e,t)||this.logOnce(`Invalid syntax: ${e}`),this.forceEvaluator=!1;else{const c=s?new yE(e,t,this.app,a,s.nextEndTime()):new yE(e,t,this.app,a);c.isValid()?(s=c,this.patternCache.set(i,s)):typeof e=="string"&&(this.invalidPatterns[e]=!0)}if(s)return s.atTheBeginning()&&typeof e=="string"&&!o&&this.app.api.log(`Invalid syntax: ${e}`),s.ziffers.generator&&s.ziffers.generatorDone&&this.removePatternFromCache(i),typeof n=="number"&&(s.zid=a),s.updateLastCallTime(),n!==""&&a!=="z0"&&s.sync("z0",!1),s;throw new Error(`Invalid syntax: ${e}`)});T(this,"z0",(e,t={})=>this.z(e,t,0));T(this,"z1",(e,t={})=>this.z(e,t,1));T(this,"z2",(e,t={})=>this.z(e,t,2));T(this,"z3",(e,t={})=>this.z(e,t,3));T(this,"z4",(e,t={})=>this.z(e,t,4));T(this,"z5",(e,t={})=>this.z(e,t,5));T(this,"z6",(e,t={})=>this.z(e,t,6));T(this,"z7",(e,t={})=>this.z(e,t,7));T(this,"z8",(e,t={})=>this.z(e,t,8));T(this,"z9",(e,t={})=>this.z(e,t,9));T(this,"z10",(e,t={})=>this.z(e,t,10));T(this,"z11",(e,t={})=>this.z(e,t,11));T(this,"z12",(e,t={})=>this.z(e,t,12));T(this,"z13",(e,t={})=>this.z(e,t,13));T(this,"z14",(e,t={})=>this.z(e,t,14));T(this,"z15",(e,t={})=>this.z(e,t,15));T(this,"z16",(e,t={})=>this.z(e,t,16));T(this,"once",()=>{const e=this.app.api.onceEvaluator;return this.app.api.onceEvaluator=!1,e});T(this,"counter",(e,t,n)=>(e in this.counters?(this.counters[e].limit!==t&&(this.counters[e].value=0,this.counters[e].limit=t),this.counters[e].step!==n&&(this.counters[e].step=n??this.counters[e].step),this.counters[e].value+=this.counters[e].step,this.counters[e].limit!==void 0&&this.counters[e].value>this.counters[e].limit&&(this.counters[e].value=0)):this.counters[e]={value:0,step:n??1,limit:t},this.counters[e].value));T(this,"$",this.counter);T(this,"count",this.counter);T(this,"i",e=>e!==void 0?(this.app.universes[this.app.selected_universe].global.evaluations=e,this.app.universes[this.app.selected_universe]):this.app.universes[this.app.selected_universe].global.evaluations);T(this,"drunk",e=>e!==void 0?(this._drunk.position=e,this._drunk.getPosition()):(this._drunk.step(),this._drunk.getPosition()));T(this,"drunk_max",e=>{this._drunk.max=e});T(this,"drunk_min",e=>{this._drunk.min=e});T(this,"drunk_wrap",e=>{this._drunk.toggleWrap(e)});T(this,"randI",(e,t)=>Math.floor(this.randomGen()*(t-e+1))+e);T(this,"rand",(e,t)=>this.randomGen()*(t-e)+e);T(this,"irand",this.randI);T(this,"rI",this.randI);T(this,"r",this.rand);T(this,"ir",this.randI);T(this,"seed",e=>{typeof e=="number"&&(e=e.toString()),this.currentSeed!==e&&(this.currentSeed=e,this.randomGen=Wg(e))});T(this,"localSeededRandom",e=>{if(typeof e=="number"&&(e=e.toString()),this.localSeeds.has(e))return this.localSeeds.get(e);const t=Wg(e);return this.localSeeds.set(e,t),t});T(this,"clearLocalSeed",(e=void 0)=>{e&&this.localSeeds.delete(e.toString()),this.localSeeds.clear()});T(this,"quantize",(e,t)=>{if(t.length===0)return e;let n=t[0];return t.forEach(a=>{Math.abs(a-e)Math.min(Math.max(e,t),n));T(this,"cmp",this.clamp);T(this,"prob",e=>this.randomGen()*100this.randomGen()>.5);T(this,"odds",(e,t=1)=>this.randomGen()!1);T(this,"almostNever",(e=1)=>this.randomGen()<.025*this.ppqn()/(this.ppqn()*e));T(this,"rarely",(e=1)=>this.randomGen()<.1*this.ppqn()/(this.ppqn()*e));T(this,"scarcely",(e=1)=>this.randomGen()<.25*this.ppqn()/(this.ppqn()*e));T(this,"sometimes",(e=1)=>this.randomGen()<.5*this.ppqn()/(this.ppqn()*e));T(this,"often",(e=1)=>this.randomGen()<.75*this.ppqn()/(this.ppqn()*e));T(this,"frequently",(e=1)=>this.randomGen()<.9*this.ppqn()/(this.ppqn()*e));T(this,"almostAlways",(e=1)=>this.randomGen()<.985*this.ppqn()/(this.ppqn()*e));T(this,"always",(e=1)=>!0);T(this,"dice",e=>Math.floor(this.randomGen()*e)+1);T(this,"cbar",()=>this.app.clock.time_position.bar+1);T(this,"ctick",()=>this.app.clock.tick+1);T(this,"cpulse",()=>this.app.clock.time_position.pulse+1);T(this,"cbeat",()=>this.app.clock.time_position.beat+1);T(this,"ebeat",()=>this.app.clock.beats_since_origin+1);T(this,"epulse",()=>this.app.clock.pulses_since_origin+1);T(this,"nominator",()=>this.app.clock.time_signature[0]);T(this,"meter",()=>this.app.clock.time_signature[1]);T(this,"denominator",this.meter);T(this,"pulsesForBar",()=>this.tempo()*this.ppqn()*this.nominator()/60);T(this,"fill",()=>this.app.fill);T(this,"fullseq",(e,t)=>e.split("").every(n=>n==="x"||n==="o")?[...e].map(n=>n==="x").beat(t):!1);T(this,"seq",(e,t=.5)=>{let n=e.length*t,a=[];for(let i=1;i<=n+1;i+=t)a.push(Math.floor(i*10)/10);return a.pop(),a=a.filter((i,o)=>{const s=o%e.length;return e[s]==="x"}),this.oncount(a,n)});T(this,"beat",(e=1,t=0)=>(Array.isArray(e)?e:[e]).map(i=>(this.app.clock.pulses_since_origin-Math.floor(t*this.ppqn()))%Math.floor(i*this.ppqn())===0).some(i=>i===!0));T(this,"b",this.beat);T(this,"bar",(e=1,t=0)=>{const n=Array.isArray(e)?e:[e],a=this.app.clock.time_signature[1]*this.ppqn(),i=Math.floor(t*a);return n.map(s=>(this.app.clock.pulses_since_origin-i)%Math.floor(s*a)===0).some(s=>s===!0)});T(this,"B",this.bar);T(this,"pulse",(e=1,t=0)=>(Array.isArray(e)?e:[e]).map(i=>(this.app.clock.pulses_since_origin-t)%i===0).some(i=>i===!0));T(this,"p",this.pulse);T(this,"tick",(e,t=0)=>(Array.isArray(e)?e:[e]).map(i=>this.app.clock.time_position.pulse===i+t).some(i=>i===!0));T(this,"dur",e=>{let t=Array.isArray(e)?e:[e];return this.beat(t.dur(...t))});T(this,"flip",(e,t=50)=>{let n=e*2;const a=this.app.clock.pulses_since_origin,i=Math.floor(n*this.ppqn()),o=Math.floor(t/100*i);return a%i{let t=e;const n=this.app.clock.time_position.bar;return Math.floor(n/t)%2===0});T(this,"onbar",(e,t=this.app.clock.time_signature[0])=>{let n=this.app.clock.time_position.bar%t+1;return typeof e=="number"?e===n:e.some(a=>a==n)});T(this,"onbeat",(...e)=>{let t=[];return e.forEach(n=>{let a=n%this.nominator()||this.nominator(),i=Math.floor(a);i=i==0?this.nominator():i;let o=Math.floor((a-i)*this.ppqn()+1);o<=0&&(o=o+this.ppqn()*this.nominator()),t.push(i===this.cbeat()&&this.cpulse()===o)}),t.some(n=>n==!0)});T(this,"oncount",(e,t)=>{typeof e=="number"&&(e=[e]);const n=this.app.clock.pulses_since_origin;let a=[];return e.forEach(i=>{i=i<1?0:i-1;const o=Math.ceil(i*this.ppqn()),s=n%(this.ppqn()*t);return a.push(s===o)}),a.some(i=>i==!0)});T(this,"oneuclid",(e,t,n=0)=>{const i=this._euclidean_cycle(e,t,n).reduce((o,s,l)=>(s&&o.push(l+1),o),[]);return this.oncount(i,t)});T(this,"delay",(e,t)=>{setTimeout(t,e)});T(this,"delayr",(e,t,n)=>{[...Array(t).keys()].map(i=>e*i).forEach((i,o)=>{setTimeout(n,i)})});T(this,"euclid",(e,t,n,a=0)=>this._euclidean_cycle(t,n,a)[e%n]);T(this,"ec",this.euclid);T(this,"rhythm",(e,t,n,a=0)=>this.beat(e)&&this._euclidean_cycle(t,n,a).beat(e));T(this,"ry",this.rhythm);T(this,"bin",(e,t)=>{let a=t.toString(2).split("").map(i=>i==="1");return a[e%a.length]});T(this,"binrhythm",(e,t)=>{let a=t.toString(2).split("").map(i=>i==="1");return this.beat(e)&&a.beat(e)});T(this,"range",(e,t,n)=>e*(n-t)+t);T(this,"line",(e,t,n=1)=>{function a(o){var s=o.toString(),l=s.indexOf(".");return l==-1?0:s.length-l-1}const i=[];if(t>e&&n>0||te&&n<0||t0)for(let o=e;o>=t;o-=n)i.push(parseFloat(o.toFixed(a(n))));else console.error("Invalid range or step provided.");return i});T(this,"sine",(e=1,t=1,n=0)=>(Math.sin(this.app.clock.ctx.currentTime*Math.PI*2*e)+n)*t);T(this,"usine",(e=1,t=1,n=0)=>(this.sine(e,t,n)+1)/2*t);T(this,"saw",(e=1,t=1,n=0)=>(this.app.clock.ctx.currentTime*e%1*2-1+n)*t);T(this,"usaw",(e=1,t=1,n=0)=>(this.saw(e,t,n)+1)/2*t);T(this,"triangle",(e=1,t=1,n=0)=>(Math.abs(this.saw(e,t,n))*2-1)*t);T(this,"utriangle",(e=1,t=1,n=0)=>(this.triangle(e,t,n)+1)/2*t);T(this,"square",(e=1,t=1,n=0,a=.5)=>{const i=1/e;return((Date.now()/1e3+n)%i/i(this.square(e,t,n,a)+1)/2*t);T(this,"noise",(e=1)=>(this.randomGen()*2-1)*e);T(this,"min",(...e)=>Math.min(...e));T(this,"max",(...e)=>Math.max(...e));T(this,"mean",(...e)=>e.reduce((n,a)=>n+a,0)/e.length);T(this,"limit",(e,t,n)=>Math.min(Math.max(e,t),n));T(this,"abs",Math.abs);T(this,"speak",(e,t="en-US",n=0,a=1,i=1)=>{new Mw({text:e,lang:t,voice:n,rate:a,pitch:i}).speak().then(()=>{}).catch(s=>{console.log(s)})});T(this,"stop_hydra",()=>{this.app.hydra.hush()});T(this,"sound",e=>e?new Ml(e,this.app):new as);T(this,"snd",this.sound);T(this,"samples",da);T(this,"log",e=>{console.log(e),this._logMessage(e)});T(this,"logOnce",e=>{this.onceEvaluator&&(console.log(e),this._logMessage(e),this.onceEvaluator=!1)});T(this,"scale",Xu);T(this,"nearScales",mH);T(this,"rate",e=>{});T(this,"register",(e,t)=>(xl.prototype[e]=function(...n){return t(this,...n)},!0));T(this,"all",e=>(xl.prototype.chainAll=function(...t){return e(this,...t)},!0));T(this,"shuffle",e=>e.sort(()=>this.randomGen()-.5));T(this,"reverse",e=>e.reverse());T(this,"rotate",e=>t=>t.slice(e,t.length).concat(t.slice(0,e)));T(this,"repeat",e=>t=>t.flatMap(n=>Array(e).fill(n)));T(this,"repeatOdd",e=>t=>t.flatMap((n,a)=>a%2===0?Array(e).fill(n):n));T(this,"repeatEven",e=>t=>t.flatMap((n,a)=>a%2!==0?Array(e).fill(n):n));T(this,"palindrome",e=>e.concat(e.slice(0,e.length-1).reverse()));T(this,"scope",e=>{this.app.osc={...this.app.osc,...e}});T(this,"gif",e=>{const{url:t,posX:n=0,posY:a=0,opacity:i=1,size:o="auto",center:s=!1,rotation:l=0,filter:c="none",dur:u=1}=e;let h=u*this.app.clock.pulse_duration*this.app.clock.ppqn,p=h*.1,_=h-p;const b=document.createElement("img");b.src=t,b.style.position="fixed",b.style.left=s?"50%":`${n}px`,b.style.top=s?"50%":`${a}px`,b.style.opacity=`${i}`,b.style.zIndex="-1",o!=="auto"&&(b.style.width=o,b.style.height=o);const A=[`rotate(${l}deg)`];s&&A.unshift("translate(-50%, -50%)"),b.style.transform=A.join(" "),b.style.filter=c,b.style.transition=`opacity ${p}s ease`,document.body.appendChild(b),setTimeout(()=>{b.style.opacity="0"},_*1e3),setTimeout(()=>{document.body.contains(b)&&document.body.removeChild(b)},h*1e3)});T(this,"pulseLocation",()=>this.epulse()/this.pulsesForBar()*this.w()%this.w());T(this,"clear",()=>{const e=this.app.interface.drawings;return e.getContext("2d").clearRect(0,0,e.width,e.height),!0});T(this,"w",()=>this.app.interface.drawings.clientWidth);T(this,"h",()=>this.app.interface.drawings.clientHeight);T(this,"hc",()=>this.h()/2);T(this,"wc",()=>this.w()/2);T(this,"background",(e,...t)=>(Qle(this.app.interface.drawings,e,...t),!0));T(this,"bg",this.background);T(this,"linearGradient",(e,t,n,a,...i)=>Hle(this.app.interface.drawings,e,t,n,a,...i));T(this,"radialGradient",(e,t,n,a,i,o,...s)=>Vle(this.app.interface.drawings,e,t,n,a,i,o,...s));T(this,"conicGradient",(e,t,n,...a)=>zle(this.app.interface.drawings,e,t,n,...a));T(this,"draw",e=>{if(typeof e=="string")this.drawText(e);else{const n=this.app.interface.drawings.getContext("2d");e(n)}return!0});T(this,"balloid",(e=6,t=this.hc()/2,n=1.5,a="white",i="black",o=this.wc(),s=this.hc())=>(typeof e=="object"&&(a=e.fillStyle||"white",o=e.x||this.wc(),s=e.y||this.hc(),n=e.curve||1.5,t=e.radius||this.hc()/2,e=e.curves||6),Wle(this.app.interface.drawings,e,t,n,a,i,o,s),!0));T(this,"equilateral",(e=this.hc()/3,t="white",n=0,a=this.wc(),i=this.hc())=>{typeof e=="object"&&(t=e.fillStyle||"white",a=e.x||this.wc(),i=e.y||this.hc(),n=e.rotation||0,e=e.radius||this.hc()/3);const o=this.app.interface.drawings;return Lw(o,e,t,n,a,i),!0});T(this,"triangular",(e=this.hc()/3,t=this.hc()/3,n="white",a=0,i=this.wc(),o=this.hc())=>{typeof e=="object"&&(n=e.fillStyle||"white",i=e.x||this.wc(),o=e.y||this.hc(),a=e.rotation||0,t=e.height||this.hc()/3,e=e.width||this.hc()/3);const s=this.app.interface.drawings;return Xle(s,e,t,n,a,i,o),!0});T(this,"pointy",this.triangular);T(this,"ball",(e=this.hc()/3,t="white",n=this.wc(),a=this.hc())=>{typeof e=="object"&&(t=e.fillStyle||"white",n=e.x||this.wc(),a=e.y||this.hc(),e=e.radius||this.hc()/3);const i=this.app.interface.drawings;return Pw(i,e,t,n,a),!0});T(this,"circle",this.ball);T(this,"donut",(e=3,t=0,n=this.hc()/3,a=this.hc()/12,i="white",o="black",s="black",l=0,c=this.wc(),u=this.hc())=>{typeof e=="object"&&(i=e.fillStyle||"white",c=e.x||this.wc(),u=e.y||this.hc(),l=e.rotation||0,n=e.radius||this.hc()/3,t=e.eaten||0,a=e.hole||this.hc()/12,o=e.secondary||"black",s=e.stroke||"black",e=e.slices||3);const h=this.app.interface.drawings;return Kle(h,e,t,n,a,i,o,s,l,c,u),!0});T(this,"pie",(e=3,t=0,n=this.hc()/3,a="white",i="black",o="black",s=0,l=this.wc(),c=this.hc())=>{typeof e=="object"&&(a=e.fillStyle||"white",l=e.x||this.wc(),c=e.y||this.hc(),s=e.rotation||0,n=e.radius||this.hc()/3,i=e.secondary||"black",o=e.stroke||"black",t=e.eaten||0,e=e.slices||3);const u=this.app.interface.drawings;return Zle(u,e,t,n,a,i,o,s,l,c),!0});T(this,"star",(e=5,t=this.hc()/3,n="white",a=0,i=t/100,o=this.wc(),s=this.hc())=>{typeof e=="object"&&(t=e.radius||this.hc()/3,n=e.fillStyle||"white",o=e.x||this.wc(),s=e.y||this.hc(),a=e.rotation||0,i=e.outerRadius||t/100,e=e.points||5);const l=this.app.interface.drawings;return jle(l,e,t,n,a,i,o,s),!0});T(this,"stroke",(e=1,t="white",n=0,a=this.wc()-this.wc()/10,i=this.hc(),o=this.wc()+this.wc()/5,s=this.hc())=>{typeof e=="object"&&(t=e.strokeStyle||"white",a=e.x1||this.wc()-this.wc()/10,i=e.y1||this.hc(),o=e.x2||this.wc()+this.wc()/5,s=e.y2||this.hc(),n=e.rotation||0,e=e.width||1);const l=this.app.interface.drawings;return TE(l,e,t,n,a,i,o,s),!0});T(this,"box",(e=this.wc()/4,t=this.wc()/4,n="white",a=0,i=this.wc()-this.wc()/8,o=this.hc()-this.hc()/8)=>{typeof e=="object"&&(n=e.fillStyle||"white",i=e.x||this.wc()-this.wc()/4,o=e.y||this.hc()-this.hc()/2,a=e.rotation||0,t=e.height||this.wc()/4,e=e.width||this.wc()/4);const s=this.app.interface.drawings;return TE(s,e,n,a,i,o,e,t),!0});T(this,"smiley",(e=0,t=this.hc()/3,n=3,a="yellow",i=0,o=this.wc(),s=this.hc())=>{typeof e=="object"&&(a=e.fillStyle||"yellow",o=e.x||this.wc(),s=e.y||this.hc(),i=e.rotation||0,n=e.eyeSize||3,t=e.radius||this.hc()/3,e=e.happiness||0);const l=this.app.interface.drawings;return Jle(l,e,t,n,a,i,o,s),!0});T(this,"drawText",(e,t=24,n=0,a="Arial",i=this.wc(),o=this.hc(),s="white",l="none")=>{typeof e=="object"&&(s=e.fillStyle||"white",i=e.x||this.wc(),o=e.y||this.hc(),n=e.rotation||0,a=e.font||"Arial",t=e.fontSize||24,l=e.filter||"none",e=e.text||"");const c=this.app.interface.drawings;return ece(c,e,t,n,a,i,o,s,l),!0});T(this,"image",(e,t=this.wc()/2,n=this.hc()/2,a=0,i=this.wc(),o=this.hc(),s="none")=>{if(typeof e=="object"){if(!e.url)return!0;i=e.x||this.wc(),o=e.y||this.hc(),a=e.rotation||0,t=e.width||100,n=e.height||100,s=e.filter||"none",e=e.url||""}const l=this.app.interface.drawings;return tce(l,e,t,n,a,i,o,s),!0});T(this,"randomChar",(e=1,t=0,n=65536)=>Array.from({length:e},()=>String.fromCodePoint(Math.floor(Math.random()*(n-t)+t))).join(""));T(this,"randomFromRange",(e,t)=>{const n=Math.floor(Math.random()*(t-e)+e);return String.fromCodePoint(n)});T(this,"emoji",(e=1)=>this.randomChar(e,128512,128591));T(this,"food",(e=1)=>this.randomChar(e,127789,127871));T(this,"animals",(e=1)=>this.randomChar(e,128e3,128211));T(this,"expressions",(e=1)=>this.randomChar(e,129296,129327));T(this,"osc",(e,t,...n)=>{UC({address:e,port:t,args:n,timetag:Math.round(Date.now()+(this.app.clock.nudge-this.app.clock.deviation))})});T(this,"getOSC",e=>{if(e){let t=nl.filter(n=>n.address===e);return t=t.map(n=>n.data),t}else return nl});T(this,"tempo",e=>e===void 0?this.app.clock.bpm:((e<1||e>500)&&console.log(`Setting bpm to ${e}`),this.app.clock.bpm=e,e));T(this,"bpb",e=>e===void 0?this.app.clock.time_signature[0]:(e<1&&console.log(`Setting bpb to ${e}`),this.app.clock.time_signature[0]=e,e));T(this,"ppqn",e=>e===void 0?this.app.clock.ppqn:(e<1&&console.log(`Setting ppqn to ${e}`),this.app.clock.ppqn=e,e));T(this,"time_signature",(e,t)=>{this.app.clock.time_signature=[e,t]});T(this,"cue",e=>{e=typeof e=="function"?e.name:e,this.cueTimes[e]=this.app.clock.pulses_since_origin});T(this,"theme",e=>{this.app.readTheme(e),console.log("Changing color scheme for: ",e)});T(this,"themeName",()=>this.app.currentThemeName);T(this,"randomTheme",()=>{let e=this.getThemes(),t=e[Math.floor(Math.random()*e.length)];this.app.readTheme(t)});T(this,"nextTheme",()=>{let e=this.getThemes(),t=this.app.api.themeName(),a=(e.indexOf(t)+1)%e.length,i=e[a];this.app.readTheme(i),this.app.api.log(i)});T(this,"getThemes",()=>Object.keys(Zi));this.app=e,this.MidiConnection=new nK(this,e.settings),this.global={},this.g=this.global}transmission(){return this.MidiConnection.activeNotes.length>0}_euclidean_cycle(e,t,n=0){if(e==t)return Array.from({length:t},()=>!0);function a(s,l){const c=s.length,u=(l+1)%c;return s[l]>s[u]}if(e>=t)return[!0];const i=Array.from({length:t},(s,l)=>(e*(l-1)%t+t)%t);let o=i.map((s,l)=>a(i,l));return n!=0&&(o=o.slice(n).concat(o.slice(0,n))),o}}function y(){y=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(D,P,H){D[P]=H.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(D,P,H){return Object.defineProperty(D,P,{value:H,enumerable:!0,configurable:!0,writable:!0}),D[P]}try{c({},"")}catch{c=function(P,H,z){return P[H]=z}}function u(D,P,H,z){var ne=Object.create((P&&P.prototype instanceof M?P:M).prototype),oe=new ie(z||[]);return a(ne,"_invoke",{value:Y(D,H,oe)}),ne}function h(D,P,H){try{return{type:"normal",arg:D.call(P,H)}}catch(z){return{type:"throw",arg:z}}}e.wrap=u;var p="suspendedStart",_="suspendedYield",b="executing",A="completed",I={};function M(){}function U(){}function V(){}var m={};c(m,o,function(){return this});var O=Object.getPrototypeOf,S=O&&O(O(ae([])));S&&S!==t&&n.call(S,o)&&(m=S);var k=V.prototype=M.prototype=Object.create(m);function L(D){["next","throw","return"].forEach(function(P){c(D,P,function(H){return this._invoke(P,H)})})}function F(D,P){function H(ne,oe,_e,ye){var we=h(D[ne],D,oe);if(we.type!=="throw"){var Ee=we.arg,Ce=Ee.value;return Ce&&typeof Ce=="object"&&n.call(Ce,"__await")?P.resolve(Ce.__await).then(function(he){H("next",he,_e,ye)},function(he){H("throw",he,_e,ye)}):P.resolve(Ce).then(function(he){Ee.value=he,_e(Ee)},function(he){return H("throw",he,_e,ye)})}ye(we.arg)}var z;a(this,"_invoke",{value:function(ne,oe){function _e(){return new P(function(ye,we){H(ne,oe,ye,we)})}return z=z?z.then(_e,_e):_e()}})}function Y(D,P,H){var z=p;return function(ne,oe){if(z===b)throw new Error("Generator is already running");if(z===A){if(ne==="throw")throw oe;return{value:r,done:!0}}for(H.method=ne,H.arg=oe;;){var _e=H.delegate;if(_e){var ye=q(_e,H);if(ye){if(ye===I)continue;return ye}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(z===p)throw z=A,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);z=b;var we=h(D,P,H);if(we.type==="normal"){if(z=H.done?A:_,we.arg===I)continue;return{value:we.arg,done:H.done}}we.type==="throw"&&(z=A,H.method="throw",H.arg=we.arg)}}}function q(D,P){var H=P.method,z=D.iterator[H];if(z===r)return P.delegate=null,H==="throw"&&D.iterator.return&&(P.method="return",P.arg=r,q(D,P),P.method==="throw")||H!=="return"&&(P.method="throw",P.arg=new TypeError("The iterator does not provide a '"+H+"' method")),I;var ne=h(z,D.iterator,P.arg);if(ne.type==="throw")return P.method="throw",P.arg=ne.arg,P.delegate=null,I;var oe=ne.arg;return oe?oe.done?(P[D.resultName]=oe.value,P.next=D.nextLoc,P.method!=="return"&&(P.method="next",P.arg=r),P.delegate=null,I):oe:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,I)}function te(D){var P={tryLoc:D[0]};1 in D&&(P.catchLoc=D[1]),2 in D&&(P.finallyLoc=D[2],P.afterLoc=D[3]),this.tryEntries.push(P)}function se(D){var P=D.completion||{};P.type="normal",delete P.arg,D.completion=P}function ie(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(te,this),this.reset(!0)}function ae(D){if(D||D===""){var P=D[o];if(P)return P.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var H=-1,z=function ne(){for(;++H=0;--z){var ne=this.tryEntries[z],oe=ne.completion;if(ne.tryLoc==="root")return H("end");if(ne.tryLoc<=this.prev){var _e=n.call(ne,"catchLoc"),ye=n.call(ne,"finallyLoc");if(_e&&ye){if(this.prev=0;--H){var z=this.tryEntries[H];if(z.tryLoc<=this.prev&&n.call(z,"finallyLoc")&&this.prev=0;--P){var H=this.tryEntries[P];if(H.finallyLoc===D)return this.complete(H.completion,H.afterLoc),se(H),I}},catch:function(D){for(var P=this.tryEntries.length-1;P>=0;--P){var H=this.tryEntries[P];if(H.tryLoc===D){var z=H.completion;if(z.type==="throw"){var ne=z.arg;se(H)}return ne}}throw new Error("illegal catch attempt")},delegateYield:function(D,P,H){return this.delegate={iterator:ae(D),resultName:P,nextLoc:H},this.method==="next"&&(this.arg=r),I}},e}function CE(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t=r.length?{done:!0}:{done:!1,value:r[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Yw="0.9.7",rce=y().mark(Fw);function Fw(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=0,e=[0n,1n,1n,1n,2n,1n,2n,1n,5n,2n,2n,1n,5n,1n,2n,1n,14n,1n,5n,1n,5n,2n,2n,1n,15n,2n,2n,5n,4n,1n,4n,1n,51n,1n,2n,1n,14n,1n,2n,2n,14n,1n,6n,1n,4n,2n,2n,1n,52n,2n,5n,1n,5n,1n,15n,2n,13n,2n,2n,1n,13n,1n,2n,4n,267n,1n,4n,1n,5n,1n,4n,1n,50n,1n,2n,3n,4n,1n,6n,1n,52n,15n,2n,1n,15n,1n,2n,1n,12n,1n,10n,1n,4n,2n,2n,1n,231n,1n,5n,2n,16n,1n,4n,1n,14n,2n,2n,1n,45n,1n,6n,2n,43n,1n,6n,1n,5n,4n,2n,1n,47n,2n,2n,1n,4n,5n,16n,1n,2328n,2n,4n,1n,10n,1n,2n,5n,15n,1n,4n,1n,11n,1n,2n,1n,197n,1n,2n,6n,5n,1n,13n,1n,12n,2n,4n,2n,18n,1n,2n,1n,238n,1n,55n,1n,5n,2n,2n,1n,57n,2n,4n,5n,4n,1n,4n,2n,42n,1n,2n,1n,37n,1n,4n,2n,12n,1n,6n,1n,4n,13n,4n,1n,1543n,1n,2n,2n,12n,1n,10n,1n,52n,2n,2n,2n,12n,2n,2n,2n,51n,1n,12n,1n,5n,1n,2n,1n,177n,1n,2n,2n,15n,1n,6n,1n,197n,6n,2n,1n,15n,1n,4n,2n,14n,1n,16n,1n,4n,2n,4n,1n,208n,1n,5n,67n,5n,2n,4n,1n,12n,1n,15n,1n,46n,2n,2n,1n,56092n,1n,6n,1n,15n,2n,2n,1n,39n,1n,4n,1n,4n,1n,30n,1n,54n,5n,2n,4n,10n,1n,2n,4n,40n,1n,4n,1n,4n,2n,4n,1n,1045n,2n,4n,2n,5n,1n,23n,1n,14n,5n,2n,1n,49n,2n,2n,1n,42n,2n,10n,1n,9n,2n,6n,1n,61n,1n,2n,4n,4n,1n,4n,1n,1640n,1n,4n,1n,176n,2n,2n,2n,15n,1n,12n,1n,4n,5n,2n,1n,228n,1n,5n,1n,15n,1n,18n,5n,12n,1n,2n,1n,12n,1n,10n,14n,195n,1n,4n,2n,5n,2n,2n,1n,162n,2n,2n,3n,11n,1n,6n,1n,42n,2n,4n,1n,15n,1n,4n,7n,12n,1n,60n,1n,11n,2n,2n,1n,20169n,2n,2n,4n,5n,1n,12n,1n,44n,1n,2n,1n,30n,1n,2n,5n,221n,1n,6n,1n,5n,16n,6n,1n,46n,1n,6n,1n,4n,1n,10n,1n,235n,2n,4n,1n,41n,1n,2n,2n,14n,2n,4n,1n,4n,2n,4n,1n,775n,1n,4n,1n,5n,1n,6n,1n,51n,13n,4n,1n,18n,1n,2n,1n,1396n,1n,34n,1n,5n,2n,2n,1n,54n,1n,2n,5n,11n,1n,12n,1n,51n,4n,2n,1n,55n,1n,4n,2n,12n,1n,6n,2n,11n,2n,2n,1n,1213n,1n,2n,2n,12n,1n,261n,1n,14n,2n,10n,1n,12n,1n,4n,4n,42n,2n,4n,1n,56n,1n,2n,1n,202n,2n,6n,6n,4n,1n,8n,1n,10494213n,15n,2n,1n,15n,1n,4n,1n,49n,1n,10n,1n,4n,6n,2n,1n,170n,2n,4n,2n,9n,1n,4n,1n,12n,1n,2n,2n,119n,1n,2n,2n,246n,1n,24n,1n,5n,4n,16n,1n,39n,1n,2n,2n,4n,1n,16n,1n,180n,1n,2n,1n,10n,1n,2n,49n,12n,1n,12n,1n,11n,1n,4n,2n,8681n,1n,5n,2n,15n,1n,6n,1n,15n,4n,2n,1n,66n,1n,4n,1n,51n,1n,30n,1n,5n,2n,4n,1n,205n,1n,6n,4n,4n,7n,4n,1n,195n,3n,6n,1n,36n,1n,2n,2n,35n,1n,6n,1n,15n,5n,2n,1n,260n,15n,2n,2n,5n,1n,32n,1n,12n,2n,2n,1n,12n,2n,4n,2n,21541n,1n,4n,1n,9n,2n,4n,1n,757n,1n,10n,5n,4n,1n,6n,2n,53n,5n,4n,1n,40n,1n,2n,2n,12n,1n,18n,1n,4n,2n,4n,1n,1280n,1n,2n,17n,16n,1n,4n,1n,53n,1n,4n,1n,51n,1n,15n,2n,42n,2n,8n,1n,5n,4n,2n,1n,44n,1n,2n,1n,36n,1n,62n,1n,1387n,1n,2n,1n,10n,1n,6n,4n,15n,1n,12n,2n,4n,1n,2n,1n,840n,1n,5n,2n,5n,2n,13n,1n,40n,504n,4n,1n,18n,1n,2n,6n,195n,2n,10n,1n,15n,5n,4n,1n,54n,1n,2n,2n,11n,1n,39n,1n,42n,1n,4n,2n,189n,1n,2n,2n,39n,1n,6n,1n,4n,2n,2n,1n,1090235n,1n,12n,1n,5n,1n,16n,4n,15n,5n,2n,1n,53n,1n,4n,5n,172n,1n,4n,1n,5n,1n,4n,2n,137n,1n,2n,1n,4n,1n,24n,1n,1211n,2n,2n,1n,15n,1n,4n,1n,14n,1n,113n,1n,16n,2n,4n,1n,205n,1n,2n,11n,20n,1n,4n,1n,12n,5n,4n,1n,30n,1n,4n,2n,1630n,2n,6n,1n,9n,13n,2n,1n,186n,2n,2n,1n,4n,2n,10n,2n,51n,2n,10n,1n,10n,1n,4n,5n,12n,1n,12n,1n,11n,2n,2n,1n,4725n,1n,2n,3n,9n,1n,8n,1n,14n,4n,4n,5n,18n,1n,2n,1n,221n,1n,68n,1n,15n,1n,2n,1n,61n,2n,4n,15n,4n,1n,4n,1n,19349n,2n,2n,1n,150n,1n,4n,7n,15n,2n,6n,1n,4n,2n,8n,1n,222n,1n,2n,4n,5n,1n,30n,1n,39n,2n,2n,1n,34n,2n,2n,4n,235n,1n,18n,2n,5n,1n,2n,2n,222n,1n,4n,2n,11n,1n,6n,1n,42n,13n,4n,1n,15n,1n,10n,1n,42n,1n,10n,2n,4n,1n,2n,1n,11394n,2n,4n,2n,5n,1n,12n,1n,42n,2n,4n,1n,900n,1n,2n,6n,51n,1n,6n,2n,34n,5n,2n,1n,46n,1n,4n,2n,11n,1n,30n,1n,196n,2n,6n,1n,10n,1n,2n,15n,199n,1n,4n,1n,4n,2n,2n,1n,954n,1n,6n,2n,13n,1n,23n,2n,12n,2n,2n,1n,37n,1n,4n,2n,49487367289n,4n,66n,2n,5n,19n,4n,1n,54n,1n,4n,2n,11n,1n,4n,1n,231n,1n,2n,1n,36n,2n,2n,2n,12n,1n,40n,1n,4n,51n,4n,2n,1028n,1n,5n,1n,15n,1n,10n,1n,35n,2n,4n,1n,12n,1n,4n,4n,42n,1n,4n,2n,5n,1n,10n,1n,583n,2n,2n,6n,4n,2n,6n,1n,1681n,6n,4n,1n,77n,1n,2n,2n,15n,1n,16n,1n,51n,2n,4n,1n,170n,1n,4n,5n,5n,1n,12n,1n,12n,2n,2n,1n,46n,1n,4n,2n,1092n,1n,8n,1n,5n,14n,2n,2n,39n,1n,4n,2n,4n,1n,254n,1n,42n,2n,2n,1n,41n,1n,2n,5n,39n,1n,4n,1n,11n,1n,10n,1n,157877n,1n,2n,4n,16n,1n,6n,1n,49n,13n,4n,1n,18n,1n,4n,1n,53n,1n,32n,1n,5n,1n,2n,2n,279n,1n,4n,2n,11n,1n,4n,3n,235n,2n,2n,1n,99n,1n,8n,2n,14n,1n,6n,1n,11n,14n,2n,1n,1040n,1n,2n,1n,13n,2n,16n,1n,12n,5n,27n,1n,12n,1n,2n,69n,1387n,1n,16n,1n,20n,2n,4n,1n,164n,4n,2n,2n,4n,1n,12n,1n,153n,2n,2n,1n,15n,1n,2n,2n,51n,1n,30n,1n,4n,1n,4n,1n,1460n,1n,55n,4n,5n,1n,12n,2n,14n,1n,4n,1n,131n,1n,2n,2n,42n,3n,6n,1n,5n,5n,4n,1n,44n,1n,10n,3n,11n,1n,10n,1n,1116461n,5n,2n,1n,10n,1n,2n,4n,35n,1n,12n,1n,11n,1n,2n,1n,3609n,1n,4n,2n,50n,1n,24n,1n,12n,2n,2n,1n,18n,1n,6n,2n,244n,1n,18n,1n,9n,2n,2n,1n,181n,1n,2n,51n,4n,2n,12n,1n,42n,1n,8n,5n,61n,1n,4n,1n,12n,1n,6n,1n,11n,2n,4n,1n,11720n,1n,2n,1n,5n,1n,112n,1n,52n,1n,2n,2n,12n,1n,4n,4n,245n,1n,4n,1n,9n,5n,2n,1n,211n,2n,4n,2n,38n,1n,6n,15n,195n,15n,6n,2n,29n,1n,2n,1n,14n,1n,32n,1n,4n,2n,4n,1n,198n,1n,4n,8n,5n,1n,4n,1n,153n,1n,2n,1n,227n,2n,4n,5n,19324n,1n,8n,1n,5n,4n,4n,1n,39n,1n,2n,2n,15n,4n,16n,1n,53n,6n,4n,1n,40n,1n,12n,5n,12n,1n,4n,2n,4n,1n,2n,1n,5958n,1n,4n,5n,12n,2n,6n,1n,14n,4n,10n,1n,40n,1n,2n,2n,179n,1n,1798n,1n,15n,2n,4n,1n,61n,1n,2n,5n,4n,1n,46n,1n,1387n,1n,6n,2n,36n,2n,2n,1n,49n,1n,24n,1n,11n,10n,2n,1n,222n,1n,4n,3n,5n,1n,10n,1n,41n,2n,4n,1n,174n,1n,2n,2n,195n,2n,4n,1n,15n,1n,6n,1n,889n,1n,2n,2n,4n,1n,12n,2n,178n,13n,2n,1n,15n,4n,4n,1n,12n,1n,20n,1n,4n,5n,4n,1n,408641062n,1n,2n,60n,36n,1n,4n,1n,15n,2n,2n,1n,46n,1n,16n,1n,54n,1n,24n,2n,5n,2n,4n,1n,221n,1n,4n,1n,11n,1n,30n,1n,928n,2n,4n,1n,10n,2n,2n,13n,14n,1n,4n,1n,11n,2n,6n,1n,697n,1n,4n,3n,5n,1n,8n,1n,12n,5n,2n,2n,64n,1n,4n,2n,10281n,1n,10n,1n,5n,1n,4n,1n,54n,1n,8n,2n,11n,1n,4n,1n,51n,6n,2n,1n,477n,1n,2n,2n,56n,5n,6n,1n,11n,5n,4n,1n,1213n,1n,4n,2n,5n,1n,72n,1n,68n,2n,2n,1n,12n,1n,2n,13n,42n,1n,38n,1n,9n,2n,2n,2n,137n,1n,2n,5n,11n,1n,6n,1n,21507n,5n,10n,1n,15n,1n,4n,1n,34n,2n,60n,2n,4n,5n,2n,1n,1005n,2n,5n,2n,5n,1n,4n,1n,12n,1n,10n,1n,30n,1n,10n,1n,235n,1n,6n,1n,50n,309n,4n,2n,39n,7n,2n,1n,11n,1n,36n,2n,42n,2n,2n,5n,40n,1n,2n,2n,39n,1n,12n,1n,4n,3n,2n,1n,47937n,1n,4n,2n,5n,1n,13n,1n,35n,4n,4n,1n,37n,1n,4n,2n,51n,1n,16n,1n,9n,1n,30n,2n,64n,1n,2n,14n,4n,1n,4n,1n,1285n,1n,2n,1n,228n,1n,2n,5n,53n,1n,8n,2n,4n,2n,2n,4n,260n,1n,6n,1n,15n,1n,110n,1n,12n,2n,4n,1n,12n,1n,4n,5n,1083553n,1n,12n,1n,5n,1n,4n,1n,749n,1n,4n,2n,11n,3n,30n,1n,54n,13n,6n,1n,15n,2n,2n,9n,12n,1n,10n,1n,35n,2n,2n,1n,1264n,2n,4n,6n,5n,1n,18n,1n,14n,2n,4n,1n,117n,1n,2n,2n,178n,1n,6n,1n,5n,4n,4n,1n,162n,2n,10n,1n,4n,1n,16n,1n,1630n,2n,2n,2n,56n,1n,10n,15n,15n,1n,4n,1n,4n,2n,12n,1n,1096n,1n,2n,21n,9n,1n,6n,1n,39n,5n,2n,1n,18n,1n,4n,2n,195n,1n,120n,1n,9n,2n,2n,1n,54n,1n,4n,4n,36n,1n,4n,1n,186n,2n,2n,1n,36n,1n,6n,15n,12n,1n,8n,1n,4n,5n,4n,1n,241004n,1n,5n,1n,15n,4n,10n,1n,15n,2n,4n,1n,34n,1n,2n,4n,167n,1n,12n,1n,15n,1n,2n,1n,3973n,1n,4n,1n,4n,1n,40n,1n,235n,11n,2n,1n,15n,1n,6n,1n,144n,1n,18n,1n,4n,2n,2n,2n,203n,1n,4n,15n,15n,1n,12n,2n,39n,1n,4n,1n,120n,1n,2n,2n,1388n,1n,6n,1n,13n,4n,4n,1n,39n,1n,2n,5n,4n,1n,66n,1n,963n,1n,8n,1n,10n,2n,4n,4n,12n,2n,12n,1n,4n,2n,4n,2n,6538n,1n,2n,2n,20n,1n,6n,2n,46n,63n,2n,1n,88n,1n,12n,1n,42n,1n,10n,2n,5n,5n,2n,1n,175n,2n,2n,2n,11n,1n,12n,1n];case 1:if(!(r1n;e--)r*=e;return r}function Qw(r){for(var e=[];r>0n;)e.unshift(r%2n),r>>=1n;return e.join("")}var hce=y().mark(wi);function wi(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=2n;case 1:if(!ia(r)){e.next=4;break}return e.next=4,r;case 4:r++,e.next=1;break;case 7:case"end":return e.stop()}},hce)}var fce=y().mark(Hw);function Hw(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=mn(wi());case 1:if((e=r()).done){n.next=7;break}return t=e.value,n.next=5,BigInt(0|Math.sqrt(Number(t)));case 5:n.next=1;break;case 7:case"end":return n.stop()}},fce)}var mce=y().mark(Vw);function Vw(){return y().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,1n;case 2:return r.next=4,0n;case 4:r.next=2;break;case 6:case"end":return r.stop()}},mce)}var pce=y().mark(zw);function zw(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=0,e=[1n,1n,2n,2n,3n,4n,5n,6n,7n,8n,11n,12n,15n,16n,19n,22n,25n,28n,31n,34n,40n,43n,49n,52n,58n,64n,70n,76n,82n,88n,98n,104n,114n,120n,130n,140n,150n,160n,170n,180n,195n,205n,220n,230n,245n,260n,275n,290n,305n,320n,341n,356n,377n,392n,413n,434n,455n,476n,497n,518n,546n];case 1:if(!(rr)){i.next=8;break}return i.next=7,t[r];case 7:r++;case 8:e++,i.next=2;break;case 11:case"end":return i.stop()}},Wce)}var Xce=y().mark(TA);function TA(){var r,e,t,n,a,i;return y().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=function(s){return s in e||(e[s]=r.next().value),e[s]},o.next=3,1n;case 3:r=w_(),e=[],n=[1n],a=1;case 7:for(n[a]=0n,i=1;i<=a;i++)n[a]+=n[a-i]*t(i);return n[a]/=BigInt(a),o.next=12,n[a];case 12:a++,o.next=7;break;case 15:case"end":return o.stop()}},Xce)}var Kce=y().mark(CA);function CA(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=1n;case 1:return e.next=3,r;case 3:r=10n*r+1n,e.next=1;break;case 6:case"end":return e.stop()}},Kce)}var Zce=y().mark(RA);function RA(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=mn(wi());case 1:if((e=r()).done){n.next=8;break}if(t=e.value,!ia(BigInt(Math.pow(2,Number(t)))-1n)){n.next=6;break}return n.next=6,t;case 6:n.next=1;break;case 8:case"end":return n.stop()}},Zce)}var jce=y().mark(wA);function wA(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=0,e=[1n,1n,1n,2n,3n,5n,8n,13n,21n,34n,55n,89n,144n,232n,375n,606n,979n,1582n,2556n,4130n,6673n,10782n,17421n,28148n,45480n,73484n,118732n,191841n,309967n,500829n,809214n,1307487n,2112571n,3413385n,5515174n,8911138n,14398164n,23263822n,37588502n,60733592n,98130253n,158553878n,256183302n,413927966n,668803781n,1080619176n,1746009572n,2821113574n,4558212008n];case 1:if(!(rr||r%n!==0n)){a.next=7;break}return a.abrupt("continue",11);case 7:a.next=2;break;case 9:return a.next=11,r;case 11:r++,a.next=1;break;case 14:case"end":return a.stop()}},cme)}var ume=y().mark(Pk);function Pk(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=0n;case 1:if((Qw(r).match(/1/g)||[]).length%2!=0){e.next=4;break}return e.next=4,r;case 4:r++,e.next=1;break;case 7:case"end":return e.stop()}},ume)}var dme=y().mark(Bk);function Bk(){var r,e;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=1n;case 1:e=0;case 2:if(!(er?0n:e===1n||e===r?1n:o0(r-1n,e-1n)+o0(r-e,e)}function Zk(){var r,e;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=1n;case 1:e=1n;case 2:if(!(e<=r)){t.next=8;break}return t.next=5,o0(r,e);case 5:e++,t.next=2;break;case 8:r++,t.next=1;break;case 11:case"end":return t.stop()}},wme)}var Ame=y().mark(jk);function jk(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=1n;case 1:return e.next=3,ia(r)?1n:0n;case 3:r++,e.next=1;break;case 6:case"end":return e.stop()}},Ame)}var Ime=y().mark(Jk);function Jk(){var r,e;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=0n;case 1:return t.next=3,1n;case 3:e=0;case 4:if(!(el)){p.next=6;break}return p.abrupt("break",11);case 6:return p.next=8,h;case 8:t.delete(h);case 9:p.next=2;break;case 11:return p.next=13,l;case 13:r.push(l),e.push(2n),Object.keys(r).forEach(function(_){for(var b=parseInt(_,10),A=-1n,I=e[b];A{Array.prototype.mouseX=function(){const e=r.mouseX(),n=window.innerWidth/this.length,a=Math.floor(e/n);return this[a]},Array.prototype.mouseY=function(){const e=r.mouseY(),n=window.innerHeight/this.length,a=Math.floor(e/n);return this[a]},Array.prototype.square=function(){return this.map(e=>e*e)},Array.prototype.sometimes=function(e){return r.randomGen()<.5?e(this):this},Array.prototype.apply=function(e){return e(this)},Array.prototype.sqrt=function(){if(this.some(e=>e<0))throw new Error("Cannot take square root of negative number");return this.map(e=>Math.sqrt(e))},Array.prototype.add=function(e){return this.map(t=>t+e)},Array.prototype.sub=function(e){return this.map(t=>t-e)},Array.prototype.mult=function(e){return this.map(t=>t*e)},Array.prototype.div=function(e){if(e===0)throw new Error("Division by zero");return this.map(t=>t/e)},Array.prototype.pick=function(){return this[Math.floor(r.randomGen()*this.length)]},Array.prototype.gen=function(e,t,n){return n<1?[]:Array.from({length:n},()=>Math.floor(r.randomGen()*(t-e+1))+e)},Array.prototype.bar=function(e=1){return e===1?this[r.app.clock.time_position.bar%this.length]:this[Math.floor(r.app.clock.time_position.bar/e)%this.length]},Array.prototype.beat=function(e=1){const t=e,n=r.app.clock.pulses_since_origin,a=Math.floor(n/Math.floor(t*r.ppqn()));return this[a%this.length]},Array.prototype.b=Array.prototype.beat,Array.prototype.dur=function(...e){const t=r.app.clock.pulses_since_origin,n=r.ppqn(),a=this.map((l,c)=>e[c%e.length]),i=a.reduce((l,c)=>l+c*n,0),o=t%i;let s=0;for(let l=0;l0)e=e%t;else return this;const n=this.splice(-e,e);return this.unshift(...n),this},Array.prototype.unique=function(){const e=new Set;let t=0;for(let n=0;n100)throw new Error("Amount should be between 0 and 100");if(this.length<=1)return this;for(let t=0;t1)this.splice(t,1);else return this;else t++;return this},Array.prototype.repeat=function(e=1){if(e<1)throw new Error("Amount should be at least 1");let t=[];for(let n=0;n(a%i+i)%i,n=E_(Yn(r));return this.map(a=>{const i=Math.floor(a/n.length)*12;return n[t(a,n.length)]+e+i})};Array.prototype.scaleArp=function(r="major",e=0){const t=E_(Yn(r));let n=[];e=e>t.length?t.length:e,e=e==0?t.length:e;for(let a=0;a{if(!r)return;r.width=window.innerWidth,r.height=window.innerHeight;const e=r.getContext("2d"),t=window.devicePixelRatio||1;r.width=window.innerWidth*t,r.height=window.innerHeight*t,e&&e.scale(t,t)},hN=r=>(r.settings.saveApplicationToLocalStorage(r.universes,r.settings),null),Hme=r=>(r.currentFile().candidate=r.view.state.doc.toString(),r.currentFile().committed=r.view.state.doc.toString(),r.settings.saveApplicationToLocalStorage(r.universes,r.settings),FC.close(),er.close(),null),Vme=(r,e,t=!1)=>{e.addEventListener("resize",()=>Gp(r.interface.scope)),e.addEventListener("resize",()=>Gp(r.interface.feedback)),e.addEventListener("resize",()=>Gp(r.interface.drawings)),e.addEventListener("beforeunload",n=>{n.preventDefault(),Hme(r)}),e.addEventListener("visibilitychange",n=>{n.preventDefault(),hN(r)}),t&&(localStorage.openpages=Date.now(),e.addEventListener("storage",function(n){n.key=="openpages"&&(localStorage.page_available=Date.now()),n.key=="page_available"&&(document.getElementById("all").classList.add("invisible"),alert("Topos is already opened in another tab. Close this tab now to prevent data loss."))},!1))},fN=r=>["wav","mp3"].includes(r.split(".").slice(-1)[0]),RE={dbName:"samples",table:"usersamples",columns:["data_url","title"],version:1};async function zme(r){return new Promise(e=>{var t=new Blob([r],{type:"application/octet-binary"}),n=new FileReader;n.onload=function(a){e(a.target.result)},n.readAsDataURL(t)})}const Wme=async r=>await Promise.all(Array.from(r).map(async e=>{const t=e.name;if(!fN(t))return;const n=URL.createObjectURL(e),a=await fetch(n).then(o=>o.arrayBuffer()),i=await zme(a);return{title:t,blob:i,id:e.webkitRelativePath}}).filter(Boolean)).catch(e=>{console.log("Something went wrong while processing uploaded files",e)}),Xme=(r,e=()=>{})=>{mN(r,t=>{let n=t.getAll();n.onsuccess=a=>{const i=a.target.result;if(!(i!=null&&i.length))return;const o=new Map;[...i].sort((s,l)=>s.title.localeCompare(l.title,void 0,{numeric:!0,sensitivity:"base"})).forEach(s=>{var _;const l=s.title;if(!fN(l))return;const c=(_=s.id)==null?void 0:_.split("/"),u=c[c.length-2],h=s.blob,p=o.get(u)??new Set;p.add(h),o.set(u,p)}),o.forEach((s,l)=>{const c=Array.from(s);xu(l,(u,h,p)=>NE(u,h,p,c),{type:"sample",samples:c,baseUrl:void 0,prebake:!1,tag:"user"})}),e()}})},mN=(r,e)=>{const{dbName:t,version:n,table:a,columns:i}=r;if(!("indexedDB"in window)){console.log("This browser doesn't support IndexedDB");return}const o=indexedDB.open(t,n);o.onupgradeneeded=s=>{const c=o.result.createObjectStore(a,{keyPath:"id",autoIncrement:!1});i.forEach(u=>{c.createIndex(u,u,{unique:!1})})},o.onerror=function(s){console.log("Error opening DB: ",s.target.error)},o.onsuccess=function(s){const l=o.result;l.onversionchange=function(){l.close(),alert("Database is outdated, please reload the page.")};const c=l.transaction([a],"readwrite"),u=c.objectStore(a);e(u)}},Kme=async(r,e)=>{await Wme(e).then(t=>{mN(r,(a,i)=>{t.forEach(o=>{o!=null&&a.put(o)})})})},Zme=r=>{r.interface.line_numbers_checkbox.checked=r.settings.line_numbers,r.interface.time_position_checkbox.checked=r.settings.time_position,r.interface.tips_checkbox.checked=r.settings.tips,r.interface.completion_checkbox.checked=r.settings.completions,r.interface.midi_clock_checkbox.checked=r.settings.send_clock,r.interface.midi_channels_scripts.checked=r.settings.midi_channels_scripts,r.interface.midi_clock_ppqn.value=r.settings.midi_clock_ppqn.toString(),r.interface.load_demo_songs.checked=r.settings.load_demo_songs;const e=document.querySelectorAll('[id^="tab-"]');for(let t=0;t{e[t].classList.add("bg-foreground"),e[t].classList.add("text-selection_foreground");for(let o=0;o{xa(),r.updateKnownUniversesView(),vu()}),r.buttonElements.play_buttons.forEach(t=>{t.addEventListener("click",()=>{r.isPlaying?(r.setButtonHighlighting("pause",!0),r.isPlaying=!r.isPlaying,r.clock.pause(),r.api.MidiConnection.sendStopMessage()):(r.setButtonHighlighting("play",!0),r.isPlaying=!r.isPlaying,r.clock.start(),r.api.MidiConnection.sendStartMessage())})}),r.buttonElements.clear_buttons.forEach(t=>{t.addEventListener("click",()=>{r.setButtonHighlighting("clear",!0),confirm("Do you want to reset the current universe?")&&(r.universes[r.selected_universe]=structuredClone(rl),r.updateEditorView())})}),r.interface.documentation_button.addEventListener("click",()=>{b_(r)}),r.interface.destroy_universes_button.addEventListener("click",()=>{confirm("Do you want to destroy all universes?")&&(r.universes={...h_},r.updateKnownUniversesView())}),r.interface.universe_viewer.addEventListener("keydown",t=>{if(t.key==="Enter"){let n=r.interface.universe_viewer.value.trim();n.length>2&&n.length<40&&(n!==r.selected_universe&&(Object.defineProperty(r.universes,n,Object.getOwnPropertyDescriptor(r.universes,r.selected_universe)),delete r.universes[r.selected_universe]),r.selected_universe=n,al(r,r.selected_universe),r.interface.universe_viewer.placeholder=n,r.interface.universe_viewer.value="")}}),r.interface.audio_nudge_range.addEventListener("input",()=>{}),r.interface.dough_nudge_range.addEventListener("input",()=>{r.dough_nudge=parseInt(r.interface.dough_nudge_range.value)}),r.interface.upload_samples_button.addEventListener("input",async t=>{var a;let n=t.target;(a=n.files)!=null&&a.length&&(r.interface.sample_indicator.innerText="Loading...",r.interface.sample_indicator.classList.add("animate-pulse"),await Kme(RE,n.files).then(()=>{Xme(RE,()=>{r.interface.sample_indicator.innerText="Import samples",r.interface.sample_indicator.classList.remove("animate-pulse")})}))}),r.interface.upload_universe_button.addEventListener("click",()=>{const t=document.createElement("input");t.type="file",t.accept=".json",t.addEventListener("change",n=>{var o;const i=(o=n.target.files)==null?void 0:o[0];if(i){const s=new FileReader;s.readAsText(i,"UTF-8"),s.onload=l=>{const c=JSON.parse(l.target.result);for(const[u,h]of Object.entries(c))r.universes[u]=h},s.onerror=l=>{console.error("An error occurred reading the file:",l)}}}),document.body.appendChild(t),t.click(),document.body.removeChild(t)}),r.interface.download_universe_button.addEventListener("click",()=>{r.settings.saveApplicationToLocalStorage(r.universes,r.settings);let t=`topos-universes-${Date.now()}.json`;const n=new Blob([JSON.stringify(r.settings.universes)],{type:"application/json"}),a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)}),r.interface.load_universe_button.addEventListener("click",()=>{let t=r.interface.buffer_search.value;t.length>2&&t.length<20&&!t.includes(" ")&&(r.settings.selected_universe=t,al(r,t),r.interface.buffer_search.value="",zg(),r.view.focus(),XR())}),r.interface.eval_button.addEventListener("click",()=>{r.currentFile().candidate=r.view.state.doc.toString(),r.flashBackground("#404040",200)}),r.buttonElements.stop_buttons.forEach(t=>{t.addEventListener("click",()=>{r.setButtonHighlighting("stop",!0),r.isPlaying=!1,r.clock.stop()})}),r.interface.local_button.addEventListener("click",()=>r.changeModeFromInterface("local")),r.interface.global_button.addEventListener("click",()=>r.changeModeFromInterface("global")),r.interface.init_button.addEventListener("click",()=>r.changeModeFromInterface("init")),r.interface.note_button.addEventListener("click",()=>r.changeModeFromInterface("notes")),r.interface.font_family_selector.addEventListener("change",()=>{let t=r.interface.font_family_selector.value;console.log("Picking new font : "+t),r.settings.font=t,r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:r.settings.font_size+"px"},".cm-content":{fontFamily:t,fontSize:r.settings.font_size+"px"},".cm-gutters":{fontSize:r.settings.font_size+"px"}}))})}),r.interface.font_size_input.addEventListener("input",()=>{let t=r.interface.font_size_input.value;r.settings.font_size=parseInt(t),r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:r.settings.font_size+"px"},".cm-content":{fontFamily:r.settings.font,fontSize:r.settings.font_size+"px"},".cm-gutters":{fontSize:r.settings.font_size+"px"}}))})}),r.interface.theme_selector.addEventListener("change",()=>{r.settings.theme=r.interface.theme_selector.value,r.readTheme(r.settings.theme);let t=Zi[r.settings.theme],n="";for(const[a,i]of Object.entries(t))n+=`

█`;r.interface.theme_previewer.innerHTML=n}),r.interface.settings_button.addEventListener("click",()=>{const t=document.getElementById("font-family");t&&(t.value=r.settings.font),r.interface.theme_selector.innerHTML="";let n=Object.keys(Zi);n.sort((V,m)=>V.toLowerCase().localeCompare(m.toLowerCase())),r.interface.theme_selector.innerHTML=n.map(V=>``).join(""),r.interface.theme_selector.value=r.settings.theme;let a=Zi[r.settings.theme],i="

";for(const[V,m]of Object.entries(a))i+=`

`;i+="
",r.interface.theme_previewer.innerHTML=i;const o=r.interface.dough_nudge_range;o.value=r.dough_nudge.toString();const s=document.getElementById("doughnumber");s.value=r.dough_nudge.toString(),r.settings.font_size===null&&(r.settings.font_size=12);const l=r.interface.font_size_input;l.value=r.settings.font_size.toString();const c=r.interface.line_numbers_checkbox;c.checked=r.settings.line_numbers;const u=r.interface.time_position_checkbox;u.checked=r.settings.time_position;const h=r.interface.tips_checkbox;h.checked=r.settings.tips;const p=r.interface.midi_clock_checkbox;p.checked=r.settings.send_clock;const _=r.interface.midi_channels_scripts;_.checked=r.settings.midi_channels_scripts;const b=r.interface.midi_clock_ppqn;b.value=r.settings.midi_clock_ppqn.toString();const A=r.interface.load_demo_songs;A.checked=r.settings.load_demo_songs;const I=r.interface.vim_mode_checkbox;I.checked=r.settings.vimMode;let M=document.getElementById("modal-settings"),U=document.getElementById("editor");M==null||M.classList.remove("invisible"),U==null||U.classList.add("invisible")}),r.interface.close_settings_button.addEventListener("click",()=>{let t=document.getElementById("modal-settings"),n=document.getElementById("editor");t==null||t.classList.add("invisible"),n==null||n.classList.remove("invisible");let a=r.interface.font_size_input.value;r.settings.font_size=parseInt(a),r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:r.settings.font_size+"px"},".cm-content":{fontFamily:r.settings.font,fontSize:r.settings.font_size+"px"},".cm-gutters":{fontSize:r.settings.font_size+"px"}}))})}),r.interface.close_universes_button.addEventListener("click",()=>{hN(r),vu()}),r.interface.share_button.addEventListener("click",async()=>{r.currentFile().candidate=r.view.state.doc.toString(),r.currentFile().committed=r.view.state.doc.toString(),r.settings.saveApplicationToLocalStorage(r.universes,r.settings),await NB(r)}),r.interface.vim_mode_checkbox.addEventListener("change",()=>{let t=!!r.interface.vim_mode_checkbox.checked;r.settings.vimMode=t,r.view.dispatch({effects:r.vimModeCompartment.reconfigure(t?i_():[])})}),r.interface.line_numbers_checkbox.addEventListener("change",()=>{let n=!!r.interface.line_numbers_checkbox.checked;r.settings.line_numbers=n,r.view.dispatch({effects:r.withLineNumbers.reconfigure(n?[cT()]:[])})}),r.interface.time_position_checkbox.addEventListener("change",()=>{let t=document.getElementById("timeviewer"),n=!!r.interface.time_position_checkbox.checked;r.settings.time_position=n,n?t.classList.remove("hidden"):t.classList.add("hidden")}),r.interface.tips_checkbox.addEventListener("change",()=>{let t=!!r.interface.tips_checkbox.checked;r.settings.tips=t,r.view.dispatch({effects:r.hoveringCompartment.reconfigure(t?YR:[])})}),r.interface.completion_checkbox.addEventListener("change",()=>{let t=!!r.interface.completion_checkbox.checked;r.settings.completions=t,r.view.dispatch({effects:r.completionsCompartment.reconfigure(t?UR:[])})}),r.interface.midi_clock_checkbox.addEventListener("change",()=>{let t=!!r.interface.midi_clock_checkbox.checked;r.settings.send_clock=t}),r.interface.midi_channels_scripts.addEventListener("change",()=>{let t=!!r.interface.midi_channels_scripts.checked;r.settings.midi_channels_scripts=t}),r.interface.midi_clock_ppqn.addEventListener("change",()=>{let t=parseInt(r.interface.midi_clock_ppqn.value);r.settings.midi_clock_ppqn=t}),r.interface.load_demo_songs.addEventListener("change",()=>{let t=!!r.interface.load_demo_songs.checked;r.settings.load_demo_songs=t}),r.interface.universe_creator.addEventListener("submit",t=>{t.preventDefault();let a=new FormData(r.interface.universe_creator).get("universe");a&&a.length>2&&a.length<20&&(a=a.trim(),r.settings.selected_universe=a,r.selected_universe=a,al(r,a),r.interface.buffer_search.value="",zg(),r.view.focus())}),Ci(r,r.universes[r.selected_universe.toString()].init),fw.forEach(t=>{let n="docs_"+t,a=document.getElementById(n);a?a.addEventListener("click",async()=>{window.history.replaceState({},"",window.location.pathname),window.location.hash=t,r.docs=__(r),r.currentDocumentationPane=t,n!=="docs_sample_list"?Nl(r,r.bindings):(console.log("Loading samples!"),await Bw().then(()=>{Nl(r,r.bindings)}))}):console.log("Could not find element "+n)})},jme=r=>{Number.prototype.z0=function(e={}){return r.z0(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z1=function(e={}){return r.z1(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z2=function(e={}){return r.z2(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z3=function(e={}){return r.z3(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z4=function(e={}){return r.z4(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z5=function(e={}){return r.z5(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z6=function(e={}){return r.z6(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z7=function(e={}){return r.z7(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z8=function(e={}){return r.z8(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z9=function(e={}){return r.z9(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z10=function(e={}){return r.z10(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z11=function(e={}){return r.z11(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z12=function(e={}){return r.z12(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z13=function(e={}){return r.z13(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z14=function(e={}){return r.z14(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z15=function(e={}){return r.z15(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z16=function(e={}){return r.z16(this.valueOf().toString().split("").join(" "),e)},Number.prototype.midi=function(...e){return r.midi(this.valueOf(),...e)},Number.prototype.sound=function(e){return Number.isInteger(this.valueOf())?r.sound(e).note(this.valueOf()):r.sound(e).freq(this.valueOf())}};class Jme{constructor(){T(this,"settings",new IB);T(this,"universes",{});T(this,"selected_universe","Welcome");T(this,"fill",!1);T(this,"local_index",1);T(this,"editor_mode","global");T(this,"hidden_interface",!1);T(this,"fontSize");T(this,"withLineNumbers");T(this,"themeCompartment");T(this,"vimModeCompartment");T(this,"hoveringCompartment");T(this,"completionsCompartment");T(this,"chosenLanguage");T(this,"dynamicPlugins");T(this,"currentDocumentationPane","introduction");T(this,"exampleCounter",0);T(this,"exampleIsPlaying",!1);T(this,"editorExtensions",[]);T(this,"userPlugins",[]);T(this,"state");T(this,"view");T(this,"selectedExample","");T(this,"docs",{});T(this,"_mouseX",0);T(this,"_mouseY",0);T(this,"show_error",!1);T(this,"currentThemeName","Everblush");T(this,"buttonElements",{});T(this,"interface",{});T(this,"blinkTimeouts",{});T(this,"osc",{enabled:!1,color:"#fdba74",thickness:4,refresh:1,fftSize:1024,orientation:"horizontal",offsetX:0,offsetY:0,mode:"scope",size:1});T(this,"bindings",[]);T(this,"documentationStyle",{});T(this,"api");T(this,"audioContext");T(this,"clock");T(this,"dough_nudge",20);T(this,"manualPlay",!1);T(this,"isPlaying",!1);T(this,"outputSocket",er);T(this,"hydra_backend");T(this,"hydra");T(this,"updateKnownUniversesView",()=>{let e=document.getElementById("ui-known-universe-item-template");if(!e)return;let t=document.getElementById("existing-universes");if(!t)return;let n=document.createElement("ul");n.className="lg:h-80 lg:text-normal text-normal h-auto lg:w-80 w-auto lg:pb-2 lg:pt-2 overflow-y-scroll text-brightwhite bg-background lg:mb-4 border rounded-lg",n.append(...Object.keys(this.universes).map(a=>{var s,l;let i=e.content.cloneNode(!0),o=window;return i.querySelector(".universe-name").textContent=a,(s=i.querySelector(".load-universe"))==null||s.addEventListener("click",()=>o._loadUniverseFromInterface(a)),(l=i.querySelector(".delete-universe"))==null||l.addEventListener("click",()=>o._deleteUniverseFromInterface(a)),i})),t.innerHTML="",t.append(n)});this.initializeElements(),this.initializeButtonGroups(),this.setCanvas(this.interface.feedback),this.setCanvas(this.interface.scope),this.setCanvas(this.interface.drawings);try{this.loadHydraSynthAsync()}catch(a){console.log("Couldn't start Hydra: ",a)}this.universes={...this.settings.universes},kB(this),this.audioContext=new AudioContext({latencyHint:"playback"}),this.clock=new oq(this,this.audioContext),this.api=new nce(this),Qme(this.api),sK(this.api),jme(this.api),Object.entries(this.api).forEach(([a,i])=>{globalThis[a]=i}),Object.entries(qme).forEach(([a,i])=>{globalThis[a]=i}),Object.entries(sV).forEach(([a,i])=>{globalThis[a]=i}),(async()=>{await Bw()})().then(()=>{this.docs=__(this)}),nq(this),rq(this),Zme(this),bD(),K7(this),pD(this.interface.scope,this),Ci(this,this.universes[this.selected_universe.toString()].init),this.changeModeFromInterface("global"),DB(this);let t=Object.keys(Zi);this.settings.theme in t?this.readTheme(this.settings.theme):(this.settings.theme="Everblush",this.readTheme(this.settings.theme)),this.documentationStyle=KR(),this.bindings=Object.keys(this.documentationStyle).map(a=>({type:"output",regex:new RegExp(`<${a}([^>]*)>`,"g"),replace:(i,o)=>`<${a} class="${this.documentationStyle[a]}" ${o}>`}));const n=window.location.hash.slice(1);n&&n!==""&&fw.includes(n)&&(this.currentDocumentationPane=n,Nl(this,this.bindings),b_(this))}getBuffer(e){const t=this.universes[this.selected_universe.toString()];return e==="locals"?t[e][this.local_index]:t[e]}get note_buffer(){return this.getBuffer("notes")}get example_buffer(){return this.getBuffer("example")}get global_buffer(){return this.getBuffer("global")}get init_buffer(){return this.getBuffer("init")}get local_buffer(){return this.getBuffer("locals")}changeToLocalBuffer(e){const t=document.querySelectorAll('[id^="tab-"]'),n=t[e];n.classList.add("bg-foreground");for(let i=0;i{t.forEach(i=>{let o=i.children[0];o.classList.contains("text-foreground_selection")&&(o.classList.remove("text-foreground_selection"),i.classList.remove("text-foreground_selection"))}),a.children[0].classList.remove("text-white"),a.children[0].classList.add("text-foreground_selection"),a.classList.add("text-foreground_selection"),a.classList.add("fill-foreground_selection")};switch(e){case"local":this.interface.local_script_tabs.classList.contains("hidden")&&this.interface.local_script_tabs.classList.remove("hidden"),this.editor_mode="local",this.local_index=0,document.getElementById("editor").style.height="calc(100% - 100px)",this.changeToLocalBuffer(this.local_index),n(this.interface.local_button);break;case"global":this.interface.local_script_tabs.classList.contains("hidden")||this.interface.local_script_tabs.classList.add("hidden"),this.editor_mode="global",document.getElementById("editor").style.height="100%",n(this.interface.global_button);break;case"init":this.interface.local_script_tabs.classList.contains("hidden")||this.interface.local_script_tabs.classList.add("hidden"),this.editor_mode="init",n(this.interface.init_button);break;case"notes":this.interface.local_script_tabs.classList.contains("hidden")||this.interface.local_script_tabs.classList.add("hidden"),this.editor_mode="notes",n(this.interface.note_button);break}this.view.dispatch({effects:this.chosenLanguage.reconfigure(this.editor_mode=="notes"?[x9()]:[U0()])}),this.updateEditorView()}setButtonHighlighting(e,t){document.getElementById("play-label").textContent=e!=="pause"?"Pause":"Play",e!=="pause"?(document.getElementById("pause-icon").classList.remove("hidden"),document.getElementById("play-icon").classList.add("hidden")):(document.getElementById("pause-icon").classList.add("hidden"),document.getElementById("play-icon").classList.remove("hidden")),e==="stop"&&(this.isPlaying==!1,document.getElementById("play-label").textContent="Play",document.getElementById("pause-icon").classList.add("hidden"),document.getElementById("play-icon").classList.remove("hidden")),this.flashBackground("#404040",200);const n=['[id^="play-button-"]','[id^="clear-button-"]','[id^="stop-button-"]'];let a;switch(e){case"play":a=0;break;case"pause":a=1;break;case"clear":a=2;break;case"stop":a=3;break}document.querySelectorAll(n[a]).forEach(i=>{t&&i.children[0].classList.add("animate-pulse")}),document.querySelectorAll(n.filter((i,o)=>o!=a).join(",")).forEach(i=>{i.children[0].classList.remove("animate-pulse"),i.children[1].classList.remove("animate-pulse")})}unfocusPlayButtons(){document.querySelectorAll('[id^="play-button-"]').forEach(e=>{e.children[0].classList.remove("fill-foreground_selection"),e.children[0].classList.remove("animate-pulse")})}updateEditorView(){this.view.dispatch({changes:{from:0,to:this.view.state.doc.toString().length,insert:this.currentFile().candidate}})}currentFile(){switch(this.editor_mode){case"global":return this.global_buffer;case"local":return this.local_buffer;case"init":return this.init_buffer;case"notes":return this.note_buffer}}flashBackground(e,t){const n=this.view.dom,a=n.getElementsByClassName("cm-gutter");n.classList.add("fluid-bg-transition"),Array.from(a).forEach(i=>i.classList.add("fluid-bg-transition")),n.style.backgroundColor=e,Array.from(a).forEach(i=>i.style.backgroundColor=e),setTimeout(()=>{n.style.backgroundColor="",Array.from(a).forEach(i=>i.style.backgroundColor=""),n.classList.remove("fluid-bg-transition"),Array.from(a).forEach(i=>i.classList.remove("fluid-bg-transition"))},t)}initializeElements(){for(const[e,t]of Object.entries(LB))this.interface[e]=document.getElementById(t)}initializeButtonGroups(){for(const[e,t]of Object.entries(PB))this.buttonElements[e]=t.map(n=>document.getElementById(n))}loadHydraSynthAsync(){var e=document.createElement("script");e.src="https://unpkg.com/hydra-synth",e.async=!0,e.onload=()=>{console.log("Hydra loaded successfully"),this.initializeHydra()},e.onerror=function(){console.error("Error loading Hydra script")},document.head.appendChild(e)}initializeHydra(){this.hydra_backend=new Hydra({canvas:this.interface.hydra_canvas,detectAudio:!1,enableStreamCapture:!1}),this.hydra=this.hydra_backend.synth,globalThis.hydra=this.hydra,this.hydra.setResolution(1024,768)}setCanvas(e){if(!e)return;const t=e.getContext("2d"),n=window.devicePixelRatio||1;e.width=window.innerWidth*n,e.height=window.innerHeight*n,t&&t.scale(n,n)}updateInterfaceTheme(e){function t(n){let a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return a?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null}for(const[n,a]of Object.entries(e)){let i=t(a);if(i){let o=`${i.r} ${i.g} ${i.b}`;document.documentElement.style.setProperty("--"+n,o)}}}getColorScheme(e){return Zi[e]}readTheme(e){if(e=="debug"){z7(this);return}let n=Zi[e];if(n){this.currentThemeName=e,this.updateInterfaceTheme(n);let a=FR(n);this.view.dispatch({effects:this.themeCompartment.reconfigure(a)})}}}let epe=new Jme;Vme(epe,window,!1); +`,"\r"," "],!1,!1),Ne=x(",",!1),Me=x("|",!1),Re=$([["a","z"]],!1,!1),$t=$([["a","z"],"_"],!1,!1),ut=$([["a","z"],"_",["0","9"]],!1,!1),Tt=x("<",!1),rt=x(">",!1),it=x("@",!1),Vt=x(":",!1),_t=$(["m","k","l","p","d","c","w","y","h","n","q","a","e","f","s","x","t","g","u","j","z","o"],!1,!1),Ye=$(["."],!1,!1),Gn=x("/",!1),Fr=x("(",!1),ft=x(")",!1),ir=x("[:",!1),Ln=x("]",!1),Ai=x("[",!1),Ur=x("{",!1),nn=x("}",!1),$r=x("+",!1),Ii=x("*",!1),Ra=x("%",!1),vr=x("^",!1),Er=x("&",!1),wa=x(">>",!1),Gr=x("<<",!1),sn=x("_",!1),za=x("?",!1),Wa=x("!",!1),X=x("r",!1),le=$([["a","z"],["A","Z"],["0","9"]],!1,!1),me=x("#",!1),Se=x("b",!1),Ae=$([["a","z"],["A","Z"],["0","9"],"-","*","+"],!1,!1),Qe=$([["A","G"]],!1,!1),Pe=$(["b","s"],!1,!1),At=$([["A","Z"]],!1,!1),qn=x("=",!1),or=x("~",!1),so=x("iii",!1),ki=x("ii",!1),us=x("iv",!1),sr=x("i",!1),ds=x("vii",!1),lo=x("vi",!1),co=x("v",!1),hs=function(E){return E.filter(N=>N)},uo=function(){return parseFloat(C())},fs=function(){return parseInt(C())},ho=function(){return parseInt(C())},Jn=function(){},ms=function(E){return Gt(UQ,{sound:E})},ps=function(){return C()},fo=function(E){return Gt(il,{items:E})},mo=function(E){return E},gs=function(E,N){return Gt($Q,{item:E,sound:N})},po=function(E,N){return Gt(GQ,{item:E,soundIndex:N})},_s=function(E){return E},go=function(E,N){var B=N?N.length:0,W=uq[E];return B>0?W*(2-1/(2*B)):W},bs=function(E,N){return E/N},Ss=function(E){return E.filter(N=>N)},yr=function(E){return Gt(il,{items:E})},Rt=function(E,N){return N?Gt(vE,{item:E,times:N}):Gt(Yo,{items:E})},Os=function(E){return E},Xa=function(E,N,B){return B instanceof Yt&&(B=Gt(Yo,{items:[B]})),Gt(zQ,{left:E,operation:N,right:B})},vs=function(E,N){return Gt(VQ,{items:E,times:N})},Aa=function(E){return Gt(vw,{items:E})},Es=function(E){return E.map(N=>typeof N=="number"?N:void 0)},Ka=function(){return Math.ceil(pw(C()))},_o=function(E){var N=E.filter(B=>B).map(B=>Gt(Yt,{originalPitch:B[0],pitch:B[0]},B.toString()));return Gt(Yo,{items:N})},bo=function(E){return E},ys=function(E){return E},Za=function(){},So=function(E){return Gt(il,{items:E})},ja=function(E){return Gt(QQ,{octave:E})},Ja=function(){return C().split("").reduce((E,N)=>E+(N==="^"?1:-1),0)},Oo=function(){return Gt(al,{seededRandom:i.seededRandom})},Ni=function(E,N){return Gt(al,{min:E,max:N,seededRandom:i.seededRandom})},Ia=function(E,N){return Gt(vE,{item:E,times:N})},An=function(E){return Gt(HQ,{duration:E})},vo=function(E){return E},lr=function(E){return Gt(Kg,{duration:E})},Di=function(E,N,B,W){const ue=E?i.nodeOptions.octave+E:i.nodeOptions.octave;return Gt(Yt,{duration:N,pitch:W,originalPitch:W,addedOctave:ue,add:B})},zl=function(E){return E.reduce((N,B)=>N+(B==="#"?1:-1),0)},Wl=function(E,N){return Gt(Ow,{chord:E,indexes:N})},Ku=function(E,N,B){return Gt(Bt,{pitches:[E].concat(N),inversion:B})},Zu=function(){return C()},ju=function(E){return E},Xl=function(){return C()},Kl=function(E,N,B){i.variables||(i.variables={}),i.variables[E]=N==="="?B.prevaluate():B},Zl=function(E){if(E&&i.variables&&i.variables[E])return i.variables[E]},Ts=function(E,N,B,W,ue){const Oe="CHROMATIC",Ot=B,Cr=aH(W,B,Oe,E,N),Rs=N||i.nodeOptions.duration,RN=E?i.nodeOptions.octave+E:i.nodeOptions.octave;return Gt(Bt,{duration:Rs,chordOctave:RN,pitches:Cr,chordName:W,inversion:ue,scaleName:Oe,key:Ot})},jl=function(E,N,B){const W=i.nodeOptions.scaleName?i.nodeOptions.scaleName:"MAJOR",ue=i.nodeOptions.key?i.nodeOptions.key:"C";return Gt(qQ,{roman:E,chordName:N,inversion:B,scaleName:W,key:ue})},Jl=function(E){if(E&&i.variables&&i.variables[E])return i.variables[E];const N=i.nodeOptions.scaleName?i.nodeOptions.scaleName:"MAJOR",B=i.nodeOptions.key?i.nodeOptions.key:"C",W=hH(E,B,N);return Gt(Yt,{pitch:W.pc,originalPitch:W.pc,add:W.add,scaleName:N,key:B})},R=0,Xe=0,ei=[{line:1,column:1}],Tr=0,d=[],f=0,g={},v;if("startRule"in i){if(!(i.startRule in l))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');c=l[i.startRule]}function C(){return a.substring(Xe,R)}function w(){return pe(Xe,R)}function x(E,N){return{type:"literal",text:E,ignoreCase:N}}function $(E,N,B){return{type:"class",parts:E,inverted:N,ignoreCase:B}}function G(){return{type:"end"}}function J(E){return{type:"other",description:E}}function Z(E){var N=ei[E],B;if(N)return N;for(B=E-1;!ei[B];)B--;for(N=ei[B],N={line:N.line,column:N.column};BTr&&(Tr=R,d=[]),d.push(E))}function de(E,N,B){return new e(e.buildMessage(E,N),E,N,B)}function ce(){var E,N,B=R*59+0,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=ka(),N!==o&&(Xe=E,N=hs(N)),E=N,g[B]={nextPos:R,result:E},E)}function Ie(){var E,N,B,W,ue,Oe,Ot,Cr=R*59+1,Rs=g[Cr];if(Rs)return R=Rs.nextPos,Rs.result;for(E=R,N=R,a.charCodeAt(R)===45?(B=u,R++):(B=o,f===0&&ee(tn)),B===o&&(B=null),W=[],et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut));ue!==o;)W.push(ue),et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut));if(a.charCodeAt(R)===46?(ue=h,R++):(ue=o,f===0&&ee(j)),ue!==o){if(Oe=[],et.test(a.charAt(R))?(Ot=a.charAt(R),R++):(Ot=o,f===0&&ee(Ut)),Ot!==o)for(;Ot!==o;)Oe.push(Ot),et.test(a.charAt(R))?(Ot=a.charAt(R),R++):(Ot=o,f===0&&ee(Ut));else Oe=o;Oe!==o?(B=[B,W,ue,Oe],N=B):(R=N,N=o)}else R=N,N=o;if(N===o)if(N=R,a.charCodeAt(R)===46?(B=h,R++):(B=o,f===0&&ee(j)),B!==o){if(W=[],et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut)),ue!==o)for(;ue!==o;)W.push(ue),et.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(Ut));else W=o;W!==o?(B=[B,W],N=B):(R=N,N=o)}else R=N,N=o;return N!==o&&(Xe=E,N=uo()),E=N,g[Cr]={nextPos:R,result:E},E}function ve(){var E,N,B=R*59+2,W=g[B];return W?(R=W.nextPos,W.result):(E=R,a.charCodeAt(R)===45?R++:f===0&&ee(tn),et.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(Ut)),N!==o?(Xe=E,E=fs()):(R=E,E=o),g[B]={nextPos:R,result:E},E)}function Be(){var E,N,B,W=R*59+3,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,a.charCodeAt(R)===45?R++:f===0&&ee(tn),N=[],et.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ut)),B!==o)for(;B!==o;)N.push(B),et.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ut));else N=o;return N!==o?(Xe=E,E=ho()):(R=E,E=o),g[W]={nextPos:R,result:E},E}function Ze(){var E,N,B=R*59+4,W=g[B];return W?(R=W.nextPos,W.result):(f++,E=R,yt.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(De)),N!==o&&(Xe=E,N=Jn()),E=N,f--,E===o&&(N=o,f===0&&ee(be)),g[B]={nextPos:R,result:E},E)}function He(){var E,N,B=R*59+8,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=xt(),N!==o&&(Xe=E,N=ms(N)),E=N,g[B]={nextPos:R,result:E},E)}function xt(){var E,N,B,W,ue,Oe=R*59+10,Ot=g[Oe];if(Ot)return R=Ot.nextPos,Ot.result;if(E=R,Lt.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(Re)),N!==o){if(B=[],St.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee($t)),W!==o)for(;W!==o;)B.push(W),St.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee($t));else B=o;if(B!==o){for(W=[],Dt.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(ut));ue!==o;)W.push(ue),Dt.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(ut));Xe=E,E=ps()}else R=E,E=o}else R=E,E=o;return g[Oe]={nextPos:R,result:E},E}function un(){var E,N=R*59+11,B=g[N];return B?(R=B.nextPos,B.result):(E=zt(),E===o&&(E=dn()),g[N]={nextPos:R,result:E},E)}function zt(){var E,N,B,W,ue=R*59+12,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,a.charCodeAt(R)===60?(N=b,R++):(N=o,f===0&&ee(Tt)),N!==o){if(B=[],W=un(),W!==o)for(;W!==o;)B.push(W),W=un();else B=o;B!==o?(a.charCodeAt(R)===62?(W=A,R++):(W=o,f===0&&ee(rt)),W!==o?(Xe=E,E=fo(B)):(R=E,E=o)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function dn(){var E,N=R*59+13,B=g[N];return B?(R=B.nextPos,B.result):(E=xt(),E===o&&(E=zt(),E===o&&(E=Ze())),g[N]={nextPos:R,result:E},E)}function bt(){var E,N,B,W=R*59+14,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===64?(N=I,R++):(N=o,f===0&&ee(it)),N!==o?(B=un(),B!==o?(Xe=E,E=mo(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function mt(){var E,N=R*59+15,B=g[N];return B?(R=B.nextPos,B.result):(E=td(),E===o&&(E=ti(),E===o&&(E=rd(),E===o&&(E=od(),E===o&&(E=nd())))),g[N]={nextPos:R,result:E},E)}function hn(){var E,N,B,W=R*59+16,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,N=mt(),N===o&&(N=yo()),N!==o?(B=bt(),B!==o?(Xe=E,E=gs(N,B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function rn(){var E,N,B,W=R*59+17,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,N=hn(),N===o&&(N=mt(),N===o&&(N=yo())),N!==o?(B=ln(),B!==o?(Xe=E,E=po(N,B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function ln(){var E,N,B,W=R*59+18,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===58?(N=M,R++):(N=o,f===0&&ee(Vt)),N!==o?(B=ed(),B!==o?(Xe=E,E=_s(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function oa(){var E,N,B,W,ue=R*59+19,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,Pt.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(_t)),N!==o){for(B=[],Rn.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee(Ye));W!==o;)B.push(W),Rn.test(a.charAt(R))?(W=a.charAt(R),R++):(W=o,f===0&&ee(Ye));Xe=E,E=go(N,B)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function Eo(){var E,N=R*59+20,B=g[N];return B?(R=B.nextPos,B.result):(E=Ju(),E===o&&(E=Ie(),E===o&&(E=oa())),g[N]={nextPos:R,result:E},E)}function Ju(){var E,N,B,W,ue=R*59+21,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=Be(),N!==o?(a.charCodeAt(R)===47?(B=U,R++):(B=o,f===0&&ee(Gn)),B!==o?(W=Be(),W!==o?(Xe=E,E=bs(N,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ka(){var E,N,B,W=R*59+22,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],B=B_(),B===o&&(B=Y_(),B===o&&(B=rn(),B===o&&(B=hn(),B===o&&(B=td(),B===o&&(B=rd(),B===o&&(B=ti(),B===o&&(B=nd(),B===o&&(B=yo(),B===o&&(B=od()))))))))),B!==o)for(;B!==o;)N.push(B),B=B_(),B===o&&(B=Y_(),B===o&&(B=rn(),B===o&&(B=hn(),B===o&&(B=td(),B===o&&(B=rd(),B===o&&(B=ti(),B===o&&(B=nd(),B===o&&(B=yo(),B===o&&(B=od())))))))));else N=o;return N!==o&&(Xe=E,N=Ss(N)),E=N,g[W]={nextPos:R,result:E},E}function ed(){var E,N=R*59+23,B=g[N];return B?(R=B.nextPos,B.result):(E=Ze(),E===o&&(E=Be(),E===o&&(E=P_(),E===o&&(E=ld(),E===o&&(E=gN(),E===o&&(E=M_()))))),g[N]={nextPos:R,result:E},E)}function gN(){var E,N,B,W,ue=R*59+24,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,a.charCodeAt(R)===60?(N=b,R++):(N=o,f===0&&ee(Tt)),N!==o){if(B=[],W=ed(),W!==o)for(;W!==o;)B.push(W),W=ed();else B=o;B!==o?(a.charCodeAt(R)===62?(W=A,R++):(W=o,f===0&&ee(rt)),W!==o?(Xe=E,E=yr(B)):(R=E,E=o)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function ti(){var E,N,B,W,ue,Oe=R*59+25,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,a.charCodeAt(R)===40?(N=V,R++):(N=o,f===0&&ee(Fr)),N!==o?(a.charCodeAt(R)===58?R++:f===0&&ee(Vt),B=ka(),B!==o?(W=D_(),W===o&&(W=null),a.charCodeAt(R)===41?(ue=m,R++):(ue=o,f===0&&ee(ft)),ue!==o?(Xe=E,E=Rt(B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function D_(){var E,N,B,W=R*59+26,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===58?(N=M,R++):(N=o,f===0&&ee(Vt)),N!==o?(B=Be(),B!==o?(Xe=E,E=Os(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function td(){var E,N,B,W,ue=R*59+27,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=ti(),N===o&&(N=ud()),N!==o?(B=L_(),B!==o?(W=ti(),W===o&&(W=ud(),W===o&&(W=Cs())),W!==o?(Xe=E,E=Xa(N,B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function nd(){var E,N,B,W,ue,Oe=R*59+28,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,a.substr(R,2)===O?(N=O,R+=2):(N=o,f===0&&ee(ir)),N!==o?(B=ka(),B!==o?(W=D_(),W===o&&(W=null),a.charCodeAt(R)===93?(ue=S,R++):(ue=o,f===0&&ee(Ln)),ue!==o?(Xe=E,E=vs(B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function rd(){var E,N,B,W,ue=R*59+29,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===91?(N=k,R++):(N=o,f===0&&ee(Ai)),N!==o?(B=ka(),B!==o?(a.charCodeAt(R)===93?(W=S,R++):(W=o,f===0&&ee(Ln)),W!==o?(Xe=E,E=Aa(B)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ad(){var E,N=R*59+30,B=g[N];return B?(R=B.nextPos,B.result):(E=Be(),E===o&&(E=ve()),g[N]={nextPos:R,result:E},E)}function id(){var E,N,B,W=R*59+31,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],B=x_(),B===o&&(B=ad()),B!==o)for(;B!==o;)N.push(B),B=x_(),B===o&&(B=ad());else N=o;return N!==o&&(Xe=E,N=Es(N)),E=N,g[W]={nextPos:R,result:E},E}function x_(){var E,N,B,W,ue=R*59+32,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===40?R++:f===0&&ee(Fr),N=ad(),N!==o?(B=L_(),B!==o?(W=id(),W!==o?(a.charCodeAt(R)===41?R++:f===0&&ee(ft),Xe=E,E=Ka()):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function _N(){var E,N,B,W,ue=R*59+33,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,a.charCodeAt(R)===123?(N=L,R++):(N=o,f===0&&ee(Ur)),N!==o){if(B=[],W=id(),W===o&&(W=Ze()),W!==o)for(;W!==o;)B.push(W),W=id(),W===o&&(W=Ze());else B=o;B!==o?(a.charCodeAt(R)===125?(W=F,R++):(W=o,f===0&&ee(nn)),W!==o?(Xe=E,E=_o(B)):(R=E,E=o)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function M_(){var E,N,B,W,ue=R*59+34,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===123?(N=L,R++):(N=o,f===0&&ee(Ur)),N!==o?(B=Be(),B===o&&(B=ld()),B!==o?(a.charCodeAt(R)===125?(W=F,R++):(W=o,f===0&&ee(nn)),W!==o?(Xe=E,E=bo(B)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function L_(){var E,N=R*59+35,B=g[N];return B?(R=B.nextPos,B.result):(a.charCodeAt(R)===43?(E=Y,R++):(E=o,f===0&&ee($r)),E===o&&(a.charCodeAt(R)===45?(E=u,R++):(E=o,f===0&&ee(tn)),E===o&&(a.charCodeAt(R)===42?(E=q,R++):(E=o,f===0&&ee(Ii)),E===o&&(a.charCodeAt(R)===47?(E=U,R++):(E=o,f===0&&ee(Gn)),E===o&&(a.charCodeAt(R)===37?(E=te,R++):(E=o,f===0&&ee(Ra)),E===o&&(a.charCodeAt(R)===94?(E=se,R++):(E=o,f===0&&ee(vr)),E===o&&(a.charCodeAt(R)===124?(E=_,R++):(E=o,f===0&&ee(Me)),E===o&&(a.charCodeAt(R)===38?(E=ie,R++):(E=o,f===0&&ee(Er)),E===o&&(a.substr(R,2)===ae?(E=ae,R+=2):(E=o,f===0&&ee(wa)),E===o&&(a.substr(R,2)===D?(E=D,R+=2):(E=o,f===0&&ee(Gr))))))))))),g[N]={nextPos:R,result:E},E)}function yo(){var E,N,B=R*59+36,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=EN(),N===o&&(N=TN(),N===o&&(N=q_(),N===o&&(N=G_(),N===o&&(N=CN(),N===o&&(N=ud(),N===o&&(N=He(),N===o&&(N=F_(),N===o&&(N=Cs(),N===o&&(N=SN(),N===o&&(N=Ze(),N===o&&(N=ON(),N===o&&(N=ti(),N===o&&(N=_N(),N===o&&(N=bN())))))))))))))),N!==o&&(Xe=E,N=ys(N)),E=N,g[B]={nextPos:R,result:E},E)}function bN(){var E,N,B=R*59+37,W=g[B];return W?(R=W.nextPos,W.result):(E=R,a.charCodeAt(R)===124?(N=_,R++):(N=o,f===0&&ee(Me)),N!==o&&(Xe=E,N=Za()),E=N,g[B]={nextPos:R,result:E},E)}function od(){var E,N,B,W,ue=R*59+38,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.charCodeAt(R)===60?(N=b,R++):(N=o,f===0&&ee(Tt)),N!==o?(B=ka(),B!==o?(a.charCodeAt(R)===62?(W=A,R++):(W=o,f===0&&ee(rt)),W!==o?(Xe=E,E=So(B)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function SN(){var E,N,B=R*59+39,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=sd(),N!==o&&(Xe=E,N=ja(N)),E=N,g[B]={nextPos:R,result:E},E)}function sd(){var E,N,B,W=R*59+40,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],a.charCodeAt(R)===94?(B=se,R++):(B=o,f===0&&ee(vr)),B===o&&(a.charCodeAt(R)===95?(B=P,R++):(B=o,f===0&&ee(sn))),B!==o)for(;B!==o;)N.push(B),a.charCodeAt(R)===94?(B=se,R++):(B=o,f===0&&ee(vr)),B===o&&(a.charCodeAt(R)===95?(B=P,R++):(B=o,f===0&&ee(sn)));else N=o;return N!==o&&(Xe=E,N=Ja()),E=N,g[W]={nextPos:R,result:E},E}function P_(){var E,N,B=R*59+41,W=g[B];return W?(R=W.nextPos,W.result):(E=R,a.charCodeAt(R)===63?(N=H,R++):(N=o,f===0&&ee(za)),N!==o&&(Xe=E,N=Oo()),E=N,g[B]={nextPos:R,result:E},E)}function ld(){var E,N,B,W,ue,Oe,Ot=R*59+42,Cr=g[Ot];return Cr?(R=Cr.nextPos,Cr.result):(E=R,a.charCodeAt(R)===40?(N=V,R++):(N=o,f===0&&ee(Fr)),N!==o?(B=Be(),B!==o?(a.charCodeAt(R)===44?(W=p,R++):(W=o,f===0&&ee(Ne)),W!==o?(ue=Be(),ue!==o?(a.charCodeAt(R)===41?(Oe=m,R++):(Oe=o,f===0&&ee(ft)),Oe!==o?(Xe=E,E=Ni(B,ue)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[Ot]={nextPos:R,result:E},E)}function B_(){var E,N,B,W,ue=R*59+43,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=rn(),N===o&&(N=hn(),N===o&&(N=mt(),N===o&&(N=yo()))),N!==o?(a.charCodeAt(R)===33?(B=z,R++):(B=o,f===0&&ee(Wa)),B!==o?(W=Be(),W!==o?(Xe=E,E=Ia(N,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ON(){var E,N,B=R*59+44,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=Eo(),N!==o&&(Xe=E,N=An(N)),E=N,g[B]={nextPos:R,result:E},E)}function vN(){var E,N,B,W=R*59+45,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,N=Eo(),N!==o?(a.charCodeAt(R)===94?(B=se,R++):(B=o,f===0&&ee(vr)),B!==o?(Xe=E,E=vo(N)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function EN(){var E,N,B,W,ue,Oe=R*59+46,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,N=vN(),N===o&&(N=null),a.charCodeAt(R)===114?(B=ne,R++):(B=o,f===0&&ee(X)),B!==o?(W=R,f++,ze.test(a.charAt(R))?(ue=a.charAt(R),R++):(ue=o,f===0&&ee(le)),f--,ue===o?W=void 0:(R=W,W=o),W!==o?(Xe=E,E=lr(N)):(R=E,E=o)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function Cs(){var E,N,B,W,ue,Oe=R*59+47,Ot=g[Oe];return Ot?(R=Ot.nextPos,Ot.result):(E=R,N=sd(),N===o&&(N=null),B=Eo(),B===o&&(B=null),W=yN(),W===o&&(W=null),ue=ve(),ue===o&&(ue=P_(),ue===o&&(ue=ld(),ue===o&&(ue=M_()))),ue!==o?(Xe=E,E=Di(N,B,W,ue)):(R=E,E=o),g[Oe]={nextPos:R,result:E},E)}function yN(){var E,N,B,W=R*59+48,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],a.charCodeAt(R)===35?(B=oe,R++):(B=o,f===0&&ee(me)),B===o&&(a.charCodeAt(R)===98?(B=_e,R++):(B=o,f===0&&ee(Se))),B!==o)for(;B!==o;)N.push(B),a.charCodeAt(R)===35?(B=oe,R++):(B=o,f===0&&ee(me)),B===o&&(a.charCodeAt(R)===98?(B=_e,R++):(B=o,f===0&&ee(Se)));else N=o;return N!==o&&(Xe=E,N=zl(N)),E=N,g[W]={nextPos:R,result:E},E}function Y_(){var E,N,B,W,ue=R*59+49,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,N=F_(),N===o&&(N=G_(),N===o&&(N=q_(),N===o&&(N=ti()))),N!==o?(a.charCodeAt(R)===64?(B=I,R++):(B=o,f===0&&ee(it)),B!==o?(W=ti(),W!==o?(Xe=E,E=Wl(N,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function F_(){var E,N,B,W,ue=R*59+50,Oe=g[ue];if(Oe)return R=Oe.nextPos,Oe.result;if(E=R,N=Cs(),N!==o){if(B=[],W=Cs(),W!==o)for(;W!==o;)B.push(W),W=Cs();else B=o;B!==o?(W=cd(),W===o&&(W=null),Xe=E,E=Ku(N,B,W)):(R=E,E=o)}else R=E,E=o;return g[ue]={nextPos:R,result:E},E}function U_(){var E,N,B,W=R*59+51,ue=g[W];if(ue)return R=ue.nextPos,ue.result;if(E=R,N=[],En.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ae)),B!==o)for(;B!==o;)N.push(B),En.test(a.charAt(R))?(B=a.charAt(R),R++):(B=o,f===0&&ee(Ae));else N=o;return N!==o&&(Xe=E,N=Zu()),E=N,g[W]={nextPos:R,result:E},E}function cd(){var E,N,B,W=R*59+52,ue=g[W];return ue?(R=ue.nextPos,ue.result):(E=R,a.charCodeAt(R)===37?(N=te,R++):(N=o,f===0&&ee(Ra)),N!==o?(B=Be(),B!==o?(Xe=E,E=ju(B)):(R=E,E=o)):(R=E,E=o),g[W]={nextPos:R,result:E},E)}function $_(){var E,N,B=R*59+53,W=g[B];return W?(R=W.nextPos,W.result):(E=R,ht.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(Qe)),N!==o?(Ke.test(a.charAt(R))?(a.charAt(R),R++):f===0&&ee(Pe),Xe=E,E=Xl()):(R=E,E=o),g[B]={nextPos:R,result:E},E)}function TN(){var E,N,B,W,ue=R*59+54,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,wn.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(At)),N!==o?(a.charCodeAt(R)===61?(B=ye,R++):(B=o,f===0&&ee(qn)),B===o&&(a.charCodeAt(R)===126?(B=we,R++):(B=o,f===0&&ee(or))),B!==o?(W=yo(),W!==o?(Xe=E,E=Kl(N,B,W)):(R=E,E=o)):(R=E,E=o)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function ud(){var E,N,B=R*59+55,W=g[B];return W?(R=W.nextPos,W.result):(E=R,wn.test(a.charAt(R))?(N=a.charAt(R),R++):(N=o,f===0&&ee(At)),N!==o&&(Xe=E,N=Zl(N)),E=N,g[B]={nextPos:R,result:E},E)}function G_(){var E,N,B,W,ue,Oe,Ot=R*59+56,Cr=g[Ot];return Cr?(R=Cr.nextPos,Cr.result):(E=R,N=sd(),N===o&&(N=null),B=Eo(),B===o&&(B=null),W=$_(),W!==o?(a.charCodeAt(R)===94?R++:f===0&&ee(vr),ue=U_(),ue!==o?(Oe=cd(),Oe===o&&(Oe=null),Xe=E,E=Ts(N,B,W,ue,Oe)):(R=E,E=o)):(R=E,E=o),g[Ot]={nextPos:R,result:E},E)}function q_(){var E,N,B,W,ue=R*59+57,Oe=g[ue];return Oe?(R=Oe.nextPos,Oe.result):(E=R,a.substr(R,3)===Ee?(N=Ee,R+=3):(N=o,f===0&&ee(so)),N===o&&(a.substr(R,2)===Ce?(N=Ce,R+=2):(N=o,f===0&&ee(ki)),N===o&&(a.substr(R,2)===he?(N=he,R+=2):(N=o,f===0&&ee(us)),N===o&&(a.charCodeAt(R)===105?(N=xe,R++):(N=o,f===0&&ee(sr)),N===o&&(a.substr(R,3)===je?(N=je,R+=3):(N=o,f===0&&ee(ds)),N===o&&(a.substr(R,2)===Ve?(N=Ve,R+=2):(N=o,f===0&&ee(lo)),N===o&&(a.charCodeAt(R)===118?(N=nt,R++):(N=o,f===0&&ee(co)))))))),N!==o?(a.charCodeAt(R)===94?R++:f===0&&ee(vr),B=U_(),B===o&&(B=null),W=cd(),W===o&&(W=null),Xe=E,E=jl(N,B,W)):(R=E,E=o),g[ue]={nextPos:R,result:E},E)}function CN(){var E,N,B=R*59+58,W=g[B];return W?(R=W.nextPos,W.result):(E=R,N=$_(),N!==o&&(Xe=E,N=Jl(N)),E=N,g[B]={nextPos:R,result:E},E)}var Q_=i.nodeOptions||{};function Gt(E,N,B=void 0){N.text=B||C(),N.location=w();for(var W in Q_)(N[W]===void 0||N[W]===null)&&(N[W]=Q_[W]);return new E(N)}if(v=c(),v!==o&&R===a.length)return v;throw v!==o&&R1&&(c=c.slice(1));const u=c.map(h=>isNaN(parseInt(h))?h:parseInt(h));return s(...u).toString()}return s.toString()}}return i[0]}const a=new RegExp(t.join("|"),"g");return r.replace(a,i=>n(i))}function _H(r,e,t){let n=r;for(let a=0;a1&&(t=t.split("").join(" ")),t}revaluate(){this.values=Fp(this.input,this.options),this.evaluated=this.evaluate(this.values),this.applyTransformations(),this.duration=this.totalDuration()}pitches(){return this.evaluated.map(e=>e.collect("pitch"))}originalPitches(){return this.evaluated.map(e=>e.collect("originalPitch"))}notes(){return this.evaluated.map(e=>e.collect("note"))}collect(e){return this.evaluated.map(t=>t.collect(e))}sounds(){return this.evaluated.map(e=>e.collect("sound"))}indices(){return this.evaluated.map(e=>e.collect("soundIndex"))}freqs(){return this.evaluated.map(e=>e.collect("freq"))}durations(){return this.evaluated.map(e=>e.collect("duration"))}octaves(){return this.evaluated.map(e=>e.collect("octave"))}retrograde(){return this.evaluated=this.evaluated.reverse(),this}rotate(e=1){return this.evaluated=[...this.evaluated.slice(e),...this.evaluated.slice(0,e)],this}every(e=1){return this.evaluated=this.evaluated.filter((t,n)=>n%e===0),this}scale(e){return this.applyOptions({scale:e}),this.scaleApplied=!0,this}cents(e){const t=ns(e);return this.applyOptions({scale:t}),this.scaleApplied=!0,this}ratios(e){const t=Ew(e);return this.applyOptions({scale:t}),this.scaleApplied=!0,this}edo(e,t=[1,1,1,1,1,1,1,1,1,1,1]){const n=yw(e,t),a=ns(n);return this.applyOptions({scale:a}),this.scaleApplied=!0,this}key(e){return this.applyOptions({key:e}),this}octave(e){return this.applyOptions({octave:e}),this}invert(e){return this.applyOptions({inversion:e}),this}isInOptions(e,t){return this.options.nodeOptions&&this.options.nodeOptions[e]===t}atLast(){return this.index+1>=this.evaluated.length*(this.redo||1)}clone(){return ta(this)}notStarted(){return this.index<0}peek(){return this.evaluated[this.index-1||0]}hasStarted(){return this.index>=0}reset(){this.index=-1,this.counter=0}setRedo(e){this.redo=e}next(){this.index<0&&(this.index=0);const e=this.evaluated[this.index%this.evaluated.length];if(this.index++,this.counter++,this.redo>0&&this.index>=this.evaluated.length*this.redo){if(this.index=0,this.cycleIndex++,this.generator){const t=this.generator.next();t.done?this.generatorDone=!0:(this.input=_i.inputFromNumber(t.value),this.revaluate())}this.evaluated=this.evaluate(this.values)}return e}applyOptions(e={}){this.evaluated=this.evaluate(this.evaluated,e),this.applyTransformations()}applyTransformations(){var e;(e=this.globalOptions)!=null&&e.retrograde&&(this.evaluated=this.evaluated.reverse())}update(){return this.evaluated=this.evaluate(this.values),this.applyTransformations(),this}evaluate(e,t={}){let n=e.map(a=>a.evaluate(t)).flat(1/0).filter(a=>a!==void 0);return t.subdivisions&&(n=ww(n)),n}totalDuration(){return this.evaluated.reduce((t,n)=>t+n.collect("duration"),0)}lead(){let e=this.evaluated.findIndex(t=>t instanceof Bt);if(e>=0){for(let t=e+1;t<=this.evaluated.length;t++)if(this.evaluated[t]instanceof Bt){const n=this.evaluated[e],a=this.evaluated[t],i=mH(n.notes(),a.notes()),o=ta(a);o.voiceLeadFromNotes(i,this.options.nodeOptions),this.evaluated[t]=o,e=t}}return this}arpeggio(e){typeof e=="number"&&(e=[e]);const t=lq(this.options.nodeOptions,["octave","scaleName","key"],{scaleName:"scale"}),n={...pE,...t},a=this.evaluated.map(i=>i instanceof Bt?(typeof e=="string"&&(e=new Yo({items:Fp(e,this.options)})),new Ow({chord:i,indexes:e}).evaluate(n)):i);return this.evaluated=a.flat(1/0),this}toString(){return this.evaluated.map(e=>e.toString()).join(" ")}rules(e,t=1){const n=_H(this.input,e,t);return new _i(n,this.options.nodeOptions,this.globalOptions)}tonnetzChords(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Yt?n.tonnetzChord(e,t):n)),this}tonnetz(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Bt){if(n.notes().length===3)return n.triadTonnetz(e,t,OE);if(n.notes().length===4)return n.tetraTonnetz(e,t,OE)}else return n}).flat(1/0)),this}triadTonnetz(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Bt?n.triadTonnetz(e,t):n).flat(1/0)),this}tetraTonnetz(e,t=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>n instanceof Bt?n.tetraTonnetz(e,t):n).flat(1/0)),this}hexaCycle(e=[3,4,5],t=3,n=1){return this.evaluated&&(this.evaluated=this.evaluated.map(a=>a instanceof Yt?NQ(a.pitch,e,t,n).map(s=>Bt.fromPitchClassArray(s,a.key||"C4",this.scaleApplied&&a.scaleName||"CHROMATIC").evaluate({duration:a.duration,octave:a.octave})):a).flat(1/0)),this}octaCycle(e=[3,4,5],t=4,n=1){return this.evaluated&&(this.evaluated=this.evaluated.map(a=>a instanceof Yt?xQ(a.pitch,e,t,n).map(s=>Bt.fromPitchClassArray(s,a.key||"C4",this.scaleApplied&&a.scaleName||"CHROMATIC").evaluate({duration:a.duration,octave:a.octave})):a).flat(1/0)),this}enneaCycle(e=[3,4,5],t=3,n=1){return this.evaluated&&(this.evaluated=this.evaluated.map(a=>a instanceof Yt?MQ(a.pitch,e,t,n).map(s=>Bt.fromPitchClassArray(s,a.key||"C4",this.scaleApplied&&a.scaleName||"CHROMATIC").evaluate({duration:a.duration,octave:a.octave})):a).flat(1/0)),this}cubeDance(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Yt)return DQ(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave}))}).flat(1/0)),this}powerTowers(e=[3,4,5],t=3){return this.evaluated&&(this.evaluated=this.evaluated.map(n=>{if(n instanceof Yt)return BQ(n.pitch,e,t).map(o=>Bt.fromPitchClassArray(o,n.key||"C4",this.scaleApplied&&n.scaleName||"CHROMATIC").evaluate({duration:n.duration,octave:n.octave}))}).flat(1/0)),this}octaTower(e=[3,4,5],t=3,n=1){return this.evaluated&&(this.evaluated=this.evaluated.map(a=>{if(a instanceof Yt)return PQ(a.pitch,e,t,n).map(s=>Bt.fromPitchClassArray(s,a.key||"C4",this.scaleApplied&&a.scaleName||"CHROMATIC").evaluate({duration:a.duration,octave:a.octave}))}).flat(1/0)),this}boretzRegions(e=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(t=>{if(t instanceof Yt)return YQ(t.pitch,e).map(i=>Bt.fromPitchClassArray(i,t.key||"C4",this.scaleApplied&&t.scaleName||"CHROMATIC").evaluate({duration:t.duration,octave:t.octave}))}).flat(1/0)),this}weitzmannRegions(e=[3,4,5]){return this.evaluated&&(this.evaluated=this.evaluated.map(t=>{if(t instanceof Yt)return LQ(t.pitch,e).map(i=>Bt.fromPitchClassArray(i,t.key||"C4",this.scaleApplied&&t.scaleName||"CHROMATIC").evaluate({duration:t.duration,octave:t.octave}))}).flat(1/0)),this}shuffle(){if(this.evaluated)for(let e=0;en.includes(i%this.evaluated.length))}return this}}const ww=(r,e=void 0)=>r.map(n=>{if(n instanceof vw){const a=n.evaluated.length,i=(e||n.duration)/a;return ww(n.evaluated,i)}else return n.duration=e||n.duration,n}).flat(1/0),bH=r=>{let e={};return FQ.forEach(t=>{if(r[t]!==void 0){const n=r[t];e[t]=n,delete r[t]}}),e},Ca=(r,e)=>{let t=0;if(r<1)return t;for(;r%e**t===0;)t++;return t-1},Ha=(r,e)=>{if(r===0)return 0;const t=Ca(r,e);return 1/e**t},SH=(r,e,t=11)=>{const n=[];for(let i=1;i{const n=[];for(let o=1;oo!==0))};function*OH(){let[r,e]=[0,1];for(;;)yield r,[r,e]=[e,r+e]}function*vH(){let[r,e,t]=[0,0,1];for(;;)yield e,[r,e,t]=[t,r,r+e+t]}function*EH(){let[r,e,t,n]=[0,0,0,1];for(;;)yield t,[r,e,t,n]=[n,r,e,r+e+t+n]}function*yH(){let[r,e,t,n,a]=[0,0,0,0,1];for(;;)yield n,[r,e,t,n,a]=[a,r,e,t,r+e+t+n+a]}function*TH(){let[r,e,t,n,a,i]=[0,0,0,0,0,1];for(;;)yield a,[r,e,t,n,a,i]=[i,r,e,t,n,r+e+t+n+a+i]}function*CH(){let[r,e,t,n,a,i,o]=[0,0,0,0,0,0,1];for(;;)yield i,[r,e,t,n,a,i,o]=[o,r,e,t,n,a,r+e+t+n+a+i+o]}function*RH(){let[r,e,t,n,a,i,o,s]=[0,0,0,0,0,0,0,1];for(;;)yield o,[r,e,t,n,a,i,o,s]=[s,r,e,t,n,a,i,r+e+t+n+a+i+o+s]}function*wH(){let[r,e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,0,1];for(;;)yield s,[r,e,t,n,a,i,o,s,l]=[l,r,e,t,n,a,i,o,r+e+t+n+a+i+o+s+l]}function*AH(r){let[e,t]=[0,1];for(;;)yield e,[e,t]=[t,(e+t)%r]}function*IH(r){let[e,t,n]=[0,0,1];for(;;)yield t,[e,t,n]=[n,e,(e+t+n)%r]}function*kH(r){let[e,t,n,a]=[0,0,0,1];for(;;)yield n,[e,t,n,a]=[a,e,t,(e+t+n+a)%r]}function*NH(r){let[e,t,n,a,i]=[0,0,0,0,1];for(;;)yield a,[e,t,n,a,i]=[i,e,t,n,(e+t+n+a+i)%r]}function*DH(r){let[e,t,n,a,i,o]=[0,0,0,0,0,1];for(;;)yield i,[e,t,n,a,i,o]=[o,e,t,n,a,(e+t+n+a+i+o)%r]}function*xH(r){let[e,t,n,a,i,o,s]=[0,0,0,0,0,0,1];for(;;)yield o,[e,t,n,a,i,o,s]=[s,e,t,n,a,i,(e+t+n+a+i+o+s)%r]}function*MH(r){let[e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,1];for(;;)yield s,[e,t,n,a,i,o,s,l]=[l,e,t,n,a,i,o,(e+t+n+a+i+o+s+l)%r]}function*LH(r){let[e,t,n,a,i,o,s,l,c]=[0,0,0,0,0,0,0,0,1];for(;;)yield l,[e,t,n,a,i,o,s,l,c]=[c,e,t,n,a,i,o,s,(e+t+n+a+i+o+s+l+c)%r]}function*PH(r){let[e,t]=[0,1];for(;;)yield Ca(e,r),[e,t]=[t,e+t]}function*BH(r){let[e,t,n]=[0,0,1];for(;;)yield Ca(t,r),[e,t,n]=[n,e,e+t+n]}function*YH(r){let[e,t,n,a]=[0,0,0,1];for(;;)yield Ca(n,r),[e,t,n,a]=[a,e,t,e+t+n+a]}function*FH(r){let[e,t,n,a,i]=[0,0,0,0,1];for(;;)yield Ca(a,r),[e,t,n,a,i]=[i,e,t,n,e+t+n+a+i]}function*UH(r){let[e,t,n,a,i,o]=[0,0,0,0,0,1];for(;;)yield Ca(i,r),[e,t,n,a,i,o]=[o,e,t,n,a,e+t+n+a+i+o]}function*$H(r){let[e,t,n,a,i,o,s]=[0,0,0,0,0,0,1];for(;;)yield Ca(o,r),[e,t,n,a,i,o,s]=[s,e,t,n,a,i,e+t+n+a+i+o+s]}function*GH(r){let[e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,1];for(;;)yield Ca(s,r),[e,t,n,a,i,o,s,l]=[l,e,t,n,a,i,o,e+t+n+a+i+o+s+l]}function*qH(r){const e=Array(9).fill(0);e[9-1]=1;let[t,n,a,i,o,s,l,c,u]=e;for(;;)yield Ca(c,r),[t,n,a,i,o,s,l,c,u]=[u,t,n,a,i,o,s,l,t+n+a+i+o+s+l+c+u]}function*QH(r){let[e,t]=[0,1];for(;;)yield Ha(e,r),[e,t]=[t,e+t]}function*HH(r){let[e,t,n]=[0,0,1];for(;;)yield Ha(t,r),[e,t,n]=[n,e,e+t+n]}function*VH(r){let[e,t,n,a]=[0,0,0,1];for(;;)yield Ha(n,r),[e,t,n,a]=[a,e,t,e+t+n+a]}function*zH(r){let[e,t,n,a,i]=[0,0,0,0,1];for(;;)yield Ha(a,r),[e,t,n,a,i]=[i,e,t,n,e+t+n+a+i]}function*WH(r){let[e,t,n,a,i,o]=[0,0,0,0,0,1];for(;;)yield Ha(i,r),[e,t,n,a,i,o]=[o,e,t,n,a,e+t+n+a+i+o]}function*XH(r){let[e,t,n,a,i,o,s]=[0,0,0,0,0,0,1];for(;;)yield Ha(o,r),[e,t,n,a,i,o,s]=[s,e,t,n,a,i,e+t+n+a+i+o+s]}function*KH(r){let[e,t,n,a,i,o,s,l]=[0,0,0,0,0,0,0,1];for(;;)yield Ha(s,r),[e,t,n,a,i,o,s,l]=[l,e,t,n,a,i,o,e+t+n+a+i+o+s+l]}function*ZH(r){const e=Array(9).fill(0);e[9-1]=1;let[t,n,a,i,o,s,l,c,u]=e;for(;;)yield Ha(c,r),[t,n,a,i,o,s,l,c,u]=[u,t,n,a,i,o,s,l,t+n+a+i+o+s+l+c+u]}function*jH(r,e=11){let[t,n]=[0,1];for(;;)yield Va(t,r,e),[t,n]=[n,t+n]}function*JH(r,e=11){let[t,n,a]=[0,0,1];for(;;)yield Va(n,r,e),[t,n,a]=[a,t,t+n+a]}function*eV(r,e=11){let[t,n,a,i]=[0,0,0,1];for(;;)yield Va(a,r,e),[t,n,a,i]=[i,t,n,t+n+a+i]}function*tV(r,e=11){let[t,n,a,i,o]=[0,0,0,0,1];for(;;)yield Va(i,r,e),[t,n,a,i,o]=[o,t,n,a,t+n+a+i+o]}function*nV(r,e=11){let[t,n,a,i,o,s]=[0,0,0,0,0,1];for(;;)yield Va(o,r,e),[t,n,a,i,o,s]=[s,t,n,a,i,t+n+a+i+o+s]}function*rV(r,e=11){let[t,n,a,i,o,s,l]=[0,0,0,0,0,0,1];for(;;)yield Va(s,r,e),[t,n,a,i,o,s,l]=[l,t,n,a,i,o,t+n+a+i+o+s+l]}function*aV(r,e=11){let[t,n,a,i,o,s,l,c]=[0,0,0,0,0,0,0,1];for(;;)yield Va(l,r,e),[t,n,a,i,o,s,l,c]=[c,t,n,a,i,o,s,t+n+a+i+o+s+l+c]}function*iV(r,e=11){const t=Array(9).fill(0);t[9-1]=1;let[n,a,i,o,s,l,c,u,h]=t;for(;;)yield Va(u,r,e),[n,a,i,o,s,l,c,u,h]=[h,n,a,i,o,s,l,c,n+a+i+o+s+l+c+u+h]}function*oV(r,e,t=1){for(;;){let n=Math.sqrt(Math.pow(r,3)+e);isNaN(n)||(yield[r,n]),r+=t}}function*sV(r,e,t=12,n=1){for(;;){let a=Math.sqrt(Math.pow(r,3))+Math.abs(e);isNaN(a)||(yield Math.round(a)%t),r+=n}}const lV=Object.freeze(Object.defineProperty({__proto__:null,enneanacci:wH,fibonacci:OH,heptanacci:CH,hexanacci:TH,modularEnneanacci:LH,modularFibonacci:AH,modularHeptanacci:xH,modularHexanacci:DH,modularOctanacci:MH,modularPentanacci:NH,modularTetranacci:kH,modularTribonacci:IH,mordellCurve:oV,mordellMusicPoints:sV,normPadicEnneanacci:ZH,normPadicFibonacci:QH,normPadicHeptanacci:XH,normPadicHexanacci:WH,normPadicOctanacci:KH,normPadicPentanacci:zH,normPadicTetranacci:VH,normPadicTribonacci:HH,octanacci:RH,pAdicExpansion:SH,pAdicExpansionArithmetic:Va,pAdicExpansionEnneanacci:iV,pAdicExpansionFibonacci:jH,pAdicExpansionHeptanacci:rV,pAdicExpansionHexanacci:nV,pAdicExpansionOctanacci:aV,pAdicExpansionPentanacci:tV,pAdicExpansionTetranacci:eV,pAdicExpansionTribonacci:JH,pAdicNorm:Ha,pAdicValuation:Ca,padicEnneanacci:qH,padicFibonacci:PH,padicHeptanacci:$H,padicHexanacci:UH,padicOctanacci:GH,padicPentanacci:FH,padicTetranacci:YH,padicTribonacci:BH,pentanacci:yH,tetranacci:EH,tribonacci:vH},Symbol.toStringTag,{value:"Module"})),cV={black:"#08002e",color1:"#64002c",green:"#5d731a",yellow:"#cd751c",blue:"#1d6da1",magenta:"#b7077e",cyan:"#42a38c",white:"#f3e0b8",brightblack:"#331e4d",brightred:"#d02063",brightgreen:"#b4ce59",brightyellow:"#fac357",brightblue:"#40a4cf",brightmagenta:"#f12aae",brightcyan:"#62caa8",brightwhite:"#fff5db",background:"#0e0d15",selection_foreground:"#0e0d15",cursor:"#bbbbbb",foreground:"#dbd1b9",selection_background:"#dbd1b9"},uV={black:"#546e7a",color1:"#ff5370",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#ffffff",brightblack:"#546e7a",brightred:"#ff5370",brightgreen:"#c3e88d",brightyellow:"#ffcb6b",brightblue:"#82aaff",brightmagenta:"#c792ea",brightcyan:"#89ddff",brightwhite:"#ffffff",background:"#0f111a",selection_foreground:"#0f111a",cursor:"#ffcc00",foreground:"#8f93a2",selection_background:"#8f93a2"},dV={black:"#25234f",color1:"#705050",green:"#60b48a",yellow:"#dfaf8f",blue:"#5555ff",magenta:"#f08cc3",cyan:"#8cd0d3",white:"#709080",brightblack:"#709080",brightred:"#dca3a3",brightgreen:"#60b48a",brightyellow:"#f0dfaf",brightblue:"#5555ff",brightmagenta:"#ec93d3",brightcyan:"#93e0e3",brightwhite:"#ffffff",background:"#25234f",selection_foreground:"#25234f",cursor:"#ff5555",foreground:"#dcdccc",selection_background:"#dcdccc"},hV={black:"#3b4252",color1:"#bf616a",green:"#a3be8c",yellow:"#ebcb8b",blue:"#81a1c1",magenta:"#b48ead",cyan:"#88c0d0",white:"#e5e9f0",brightblack:"#4c566a",brightred:"#bf616a",brightgreen:"#a3be8c",brightyellow:"#ebcb8b",brightblue:"#81a1c1",brightmagenta:"#b48ead",brightcyan:"#8fbcbb",brightwhite:"#eceff4",background:"#2e3440",selection_foreground:"#2e3440",cursor:"#eceff4",foreground:"#d8dee9",selection_background:"#d8dee9"},fV={black:"#7f7f7f",color1:"#e15a60",green:"#a9cfa4",yellow:"#ffe2a9",blue:"#6699cc",magenta:"#f1a5ab",cyan:"#5fb3b3",white:"#d4d4d4",brightblack:"#7f7f7f",brightred:"#e15a60",brightgreen:"#a9cfa4",brightyellow:"#ffe2a9",brightblue:"#6699cc",brightmagenta:"#f1a5ab",brightcyan:"#5fb3b3",brightwhite:"#d4d4d4",background:"#282c35",selection_foreground:"#282c35",cursor:"#c7c7c7",foreground:"#d4d4d4",selection_background:"#d4d4d4"},mV={black:"#adadad",color1:"#fc5256",green:"#98b61c",yellow:"#ccb444",blue:"#437ee7",magenta:"#9d74b0",cyan:"#248887",white:"#181818",brightblack:"#ffffff",brightred:"#fc7072",brightgreen:"#98b61c",brightyellow:"#ffff0b",brightblue:"#6c9ced",brightmagenta:"#fc7eff",brightcyan:"#248887",brightwhite:"#181818",background:"#202020",selection_foreground:"#202020",cursor:"#bbbbbb",foreground:"#adadad",selection_background:"#adadad"},pV={black:"#000000",color1:"#f07178",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#cccccc",brightblack:"#333333",brightred:"#f6a9ae",brightgreen:"#dbf1ba",brightyellow:"#ffdfa6",brightblue:"#b4ccff",brightmagenta:"#ddbdf2",brightcyan:"#b8eaff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#fefefe",foreground:"#ffffff",selection_background:"#ffffff"},gV={black:"#292d3e",color1:"#ff8288",green:"#b4e88d",yellow:"#f4d69f",blue:"#82aaff",magenta:"#e9c1ff",cyan:"#89ebff",white:"#d0d0d0",brightblack:"#434758",brightred:"#ff8b92",brightgreen:"#ddffa7",brightyellow:"#ffe585",brightblue:"#9cc4ff",brightmagenta:"#ddb0f6",brightcyan:"#a3f7ff",brightwhite:"#ffffff",background:"#006984",selection_foreground:"#006984",cursor:"#ffcc00",foreground:"#c5f2ff",selection_background:"#c5f2ff"},_V={black:"#000000",color1:"#a60001",green:"#00bb00",yellow:"#fecd22",blue:"#3a9bdb",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff0003",brightgreen:"#93c863",brightyellow:"#fef874",brightblue:"#a1d7ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#283033",selection_foreground:"#283033",cursor:"#c0cad0",foreground:"#cdcdcd",selection_background:"#cdcdcd"},bV={black:"#3c3c30",color1:"#98290f",green:"#479a43",yellow:"#7f7111",blue:"#497f7d",magenta:"#7f4e2f",cyan:"#387f58",white:"#807974",brightblack:"#555445",brightred:"#e0502a",brightgreen:"#61e070",brightyellow:"#d69927",brightblue:"#79d9d9",brightmagenta:"#cd7c54",brightcyan:"#59d599",brightwhite:"#fff1e9",background:"#22211d",selection_foreground:"#22211d",cursor:"#facb80",foreground:"#807a74",selection_background:"#807a74"},SV={black:"#181818",color1:"#810009",green:"#48513b",yellow:"#cc8b3f",blue:"#576d8c",magenta:"#724d7c",cyan:"#5c4f4b",white:"#aea47f",brightblack:"#555555",brightred:"#ac3835",brightgreen:"#a6a75d",brightyellow:"#dcdf7c",brightblue:"#3097c6",brightmagenta:"#d33061",brightcyan:"#f3dbb2",brightwhite:"#f4f4f4",background:"#191c27",selection_foreground:"#191c27",cursor:"#92805b",foreground:"#aea47a",selection_background:"#aea47a"},OV={black:"#292f33",color1:"#cb1e2d",green:"#edb8ac",yellow:"#b7ab9b",blue:"#2e78c2",magenta:"#c0236f",cyan:"#309186",white:"#eae3ce",brightblack:"#092028",brightred:"#d4605a",brightgreen:"#d4605a",brightyellow:"#a86671",brightblue:"#7c85c4",brightmagenta:"#5c5db2",brightcyan:"#819090",brightwhite:"#fcf4df",background:"#292f33",selection_foreground:"#292f33",cursor:"#d4605a",foreground:"#dbdae0",selection_background:"#dbdae0"},vV={black:"#321300",color1:"#b2270e",green:"#44a900",yellow:"#aa820c",blue:"#58859a",magenta:"#97363d",cyan:"#b25a1e",white:"#786b53",brightblack:"#433626",brightred:"#ed5d20",brightgreen:"#55f238",brightyellow:"#f2b732",brightblue:"#85cfed",brightmagenta:"#e14c5a",brightcyan:"#f07d14",brightwhite:"#ffc800",background:"#191919",selection_foreground:"#191919",cursor:"#fac814",foreground:"#786b53",selection_background:"#786b53"},EV={black:"#000000",color1:"#aa0000",green:"#00aa00",yellow:"#aa5500",blue:"#0000aa",magenta:"#aa00aa",cyan:"#00aaaa",white:"#aaaaaa",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#b8b8b8",foreground:"#aaaaaa",selection_background:"#aaaaaa"},yV={black:"#12131e",color1:"#dd7755",green:"#04dbb5",yellow:"#f2e7b7",blue:"#7aa5ff",magenta:"#bf9cf9",cyan:"#56d3c2",white:"#e4e3e9",brightblack:"#666699",brightred:"#ff92cd",brightgreen:"#01eac0",brightyellow:"#fffca8",brightblue:"#69c0fa",brightmagenta:"#c17ff8",brightcyan:"#8bfde1",brightwhite:"#f4f2f9",background:"#292a44",selection_foreground:"#292a44",cursor:"#b89bf9",foreground:"#e8e6ed",selection_background:"#e8e6ed",underline_color:"#596181",url_color:"#596181"},TV={black:"#000000",color1:"#f6188f",green:"#1ebb2b",yellow:"#fdf834",blue:"#2186ec",magenta:"#f85a21",cyan:"#12c3e2",white:"#ffffff",brightblack:"#000000",brightred:"#f841a0",brightgreen:"#25c141",brightyellow:"#fdf454",brightblue:"#2f9ded",brightmagenta:"#f97137",brightcyan:"#19cde6",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#19cde6",foreground:"#dad9c7",selection_background:"#dad9c7"},CV={black:"#000000",color1:"#ff5360",green:"#59d499",yellow:"#ffc531",blue:"#56c2ff",magenta:"#cf2f98",cyan:"#52eee5",white:"#ffffff",brightblack:"#000000",brightred:"#ff6363",brightgreen:"#59d499",brightyellow:"#ffc531",brightblue:"#56c2ff",brightmagenta:"#cf2f98",brightcyan:"#52eee5",brightwhite:"#ffffff",background:"#1a1a1a",selection_foreground:"#1a1a1a",cursor:"#cccccc",foreground:"#ffffff",selection_background:"#ffffff"},RV={black:"#212121",color1:"#c30771",green:"#10a778",yellow:"#a89c14",blue:"#008ec4",magenta:"#523c79",cyan:"#20a5ba",white:"#d9d9d9",brightblack:"#424242",brightred:"#fb007a",brightgreen:"#5fd7af",brightyellow:"#f3e430",brightblue:"#20bbfc",brightmagenta:"#6855de",brightcyan:"#4fb8cc",brightwhite:"#f1f1f1",background:"#212121",selection_foreground:"#212121",cursor:"#20bbfc",foreground:"#f1f1f1",selection_background:"#f1f1f1"},wV={black:"#014401",color1:"#ff2736",green:"#41a638",yellow:"#76a831",blue:"#2ec3b9",magenta:"#50a096",cyan:"#3ca078",white:"#e6fef2",brightblack:"#035c03",brightred:"#b4fa5c",brightgreen:"#aefb86",brightyellow:"#dafa87",brightblue:"#2efaeb",brightmagenta:"#50fafa",brightcyan:"#3cfac8",brightwhite:"#e0f1dc",background:"#2c2c2c",selection_foreground:"#2c2c2c",cursor:"#47fa6b",foreground:"#e0f1dc",selection_background:"#e0f1dc"},AV={black:"#010101",color1:"#f8b63f",green:"#7fb5e1",yellow:"#d6da25",blue:"#489e48",magenta:"#b296c6",cyan:"#f5bfd7",white:"#a8a49d",brightblack:"#726e6a",brightred:"#f8b63f",brightgreen:"#7fb5e1",brightyellow:"#d6da25",brightblue:"#489e48",brightmagenta:"#b296c6",brightcyan:"#f5bfd7",brightwhite:"#fefbea",background:"#010101",selection_foreground:"#010101",cursor:"#a8a49d",foreground:"#a8a49d",selection_background:"#a8a49d"},IV={black:"#090300",color1:"#883932",green:"#55a049",yellow:"#bfce72",blue:"#40318d",magenta:"#8b3f96",cyan:"#67b6bd",white:"#ffffff",brightblack:"#000000",brightred:"#883932",brightgreen:"#55a049",brightyellow:"#bfce72",brightblue:"#40318d",brightmagenta:"#8b3f96",brightcyan:"#67b6bd",brightwhite:"#f7f7f7",background:"#40318d",selection_foreground:"#40318d",cursor:"#7869c4",foreground:"#7869c4",selection_background:"#7869c4"},kV={black:"#2f2833",color1:"#fc644d",green:"#a5f69c",yellow:"#e9d7a5",blue:"#3b79c7",magenta:"#f92672",cyan:"#74d3de",white:"#d5ced9",brightblack:"#7e6c88",brightred:"#fc644d",brightgreen:"#a5f69c",brightyellow:"#e9d7a5",brightblue:"#3b79c7",brightmagenta:"#f92672",brightcyan:"#74d3de",brightwhite:"#ffffff",background:"#2f2833",selection_foreground:"#2f2833",cursor:"#d5ced9",foreground:"#d5ced9",selection_background:"#d5ced9"},NV={black:"#282c34",color1:"#e06c75",green:"#98c379",yellow:"#e5c07b",blue:"#61afef",magenta:"#c678dd",cyan:"#56b6c2",white:"#dcdfe4",brightblack:"#282c34",brightred:"#e06c75",brightgreen:"#98c379",brightyellow:"#e5c07b",brightblue:"#61afef",brightmagenta:"#c678dd",brightcyan:"#56b6c2",brightwhite:"#dcdfe4",background:"#282c34",selection_foreground:"#282c34",cursor:"#a3b3cc",foreground:"#dcdfe4",selection_background:"#dcdfe4"},DV={black:"#000000",color1:"#ff5555",green:"#50fa7b",yellow:"#f1fa8c",blue:"#bd93f9",magenta:"#ff79c6",cyan:"#8be9fd",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#50fa7b",brightyellow:"#f1fa8c",brightblue:"#bd93f9",brightmagenta:"#ff79c6",brightcyan:"#8be9fd",brightwhite:"#ffffff",background:"#1e1f29",selection_foreground:"#1e1f29",cursor:"#bbbbbb",foreground:"#f8f8f2",selection_background:"#f8f8f2"},xV={black:"#000000",color1:"#c13900",green:"#a4a900",yellow:"#caaf00",blue:"#bd6d00",magenta:"#fc5e00",cyan:"#f79500",white:"#ffc88a",brightblack:"#6a4f2a",brightred:"#ff8c68",brightgreen:"#f6ff40",brightyellow:"#ffe36e",brightblue:"#ffbe55",brightmagenta:"#fc874f",brightcyan:"#c69752",brightwhite:"#fafaff",background:"#262626",selection_foreground:"#262626",cursor:"#fc531d",foreground:"#ffcb83",selection_background:"#ffcb83"},MV={black:"#000000",color1:"#ff4d83",green:"#1f8c3b",yellow:"#1fc95b",blue:"#1dd3ee",magenta:"#8959a8",cyan:"#3e999f",white:"#ffffff",brightblack:"#000000",brightred:"#ff0021",brightgreen:"#1fc231",brightyellow:"#d5b807",brightblue:"#15a9fd",brightmagenta:"#8959a8",brightcyan:"#3e999f",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#4d4d4c",foreground:"#4d4d4c",selection_background:"#4d4d4c"},LV={black:"#230046",color1:"#7d1625",green:"#337e6f",yellow:"#7f6f49",blue:"#4f4a7f",magenta:"#5a3f7f",cyan:"#58777f",white:"#736e7d",brightblack:"#372d46",brightred:"#e05167",brightgreen:"#52e0c4",brightyellow:"#e0c386",brightblue:"#8e87e0",brightmagenta:"#a776e0",brightcyan:"#9ad4e0",brightwhite:"#8c91fa",background:"#050014",selection_foreground:"#050014",cursor:"#8c91fa",foreground:"#736e7d",selection_background:"#736e7d"},PV={black:"#626262",color1:"#ff8373",green:"#b4fb73",yellow:"#09b4bd",blue:"#fed300",magenta:"#ff90fe",cyan:"#d1d1fe",white:"#f1f1f1",brightblack:"#8f8f8f",brightred:"#ffc4be",brightgreen:"#d6fcba",brightyellow:"#fffed5",brightblue:"#f92883",brightmagenta:"#ffb2fe",brightcyan:"#e6e7fe",brightwhite:"#ffffff",background:"#030d18",selection_foreground:"#030d18",cursor:"#00ff9c",foreground:"#f106e3",selection_background:"#f106e3"},BV={black:"#000000",color1:"#ff0000",green:"#38de21",yellow:"#ffe50a",blue:"#1460d2",magenta:"#ff005d",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#f40e17",brightgreen:"#3bd01d",brightyellow:"#edc809",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#6ae3fa",brightwhite:"#ffffff",background:"#132738",selection_foreground:"#132738",cursor:"#f0cc09",foreground:"#ffffff",selection_background:"#ffffff"},YV={black:"#31363b",color1:"#ed1515",green:"#11d116",yellow:"#f67400",blue:"#1d99f3",magenta:"#9b59b6",cyan:"#1abc9c",white:"#eff0f1",brightblack:"#7f8c8d",brightred:"#c0392b",brightgreen:"#1cdc9a",brightyellow:"#fdbc4b",brightblue:"#3daee9",brightmagenta:"#8e44ad",brightcyan:"#16a085",brightwhite:"#fcfcfc",background:"#31363b",selection_foreground:"#31363b",cursor:"#eff0f1",foreground:"#eff0f1",selection_background:"#eff0f1"},FV={black:"#000000",color1:"#fd6209",green:"#41a83e",yellow:"#ffe862",blue:"#989898",magenta:"#f8f8f8",cyan:"#9df39f",white:"#e8e8e7",brightblack:"#323232",brightred:"#ff943b",brightgreen:"#73da70",brightyellow:"#ffff94",brightblue:"#cacaca",brightmagenta:"#ffffff",brightcyan:"#cfffd1",brightwhite:"#ffffff",background:"#245032",selection_foreground:"#245032",cursor:"#336442",foreground:"#f8f8f8",selection_background:"#f8f8f8"},UV={black:"#000000",color1:"#ff6c6b",green:"#98be65",yellow:"#ecbe7b",blue:"#a9a1e1",magenta:"#c678dd",cyan:"#51afef",white:"#bbc2cf",brightblack:"#000000",brightred:"#ff6655",brightgreen:"#99bb66",brightyellow:"#ecbe7b",brightblue:"#a9a1e1",brightmagenta:"#c678dd",brightcyan:"#51afef",brightwhite:"#bfbfbf",background:"#282c34",selection_foreground:"#282c34",cursor:"#51afef",foreground:"#bbc2cf",selection_background:"#bbc2cf"},$V={black:"#7d8b8f",color1:"#b23a52",green:"#789b6a",yellow:"#b9ac4a",blue:"#2a7fac",magenta:"#bd4f5a",cyan:"#44a799",white:"#d2d8d9",brightblack:"#888888",brightred:"#f24840",brightgreen:"#80c470",brightyellow:"#ffeb62",brightblue:"#4196ff",brightmagenta:"#fc5275",brightcyan:"#53cdbd",brightwhite:"#d2d8d9",background:"#2b2d2e",selection_foreground:"#2b2d2e",cursor:"#708284",foreground:"#d2d8d9",selection_background:"#d2d8d9"},GV={black:"#000000",color1:"#cd3131",green:"#05bc79",yellow:"#e5e512",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#0fa8cd",white:"#e5e5e5",brightblack:"#666666",brightred:"#cd3131",brightgreen:"#05bc79",brightyellow:"#e5e512",brightblue:"#2472c8",brightmagenta:"#bc3fbc",brightcyan:"#0fa8cd",brightwhite:"#e5e5e5",background:"#262a33",selection_foreground:"#262a33",cursor:"#f8f8f0",foreground:"#e5e5e5",selection_background:"#e5e5e5"},qV={black:"#e5ede6",color1:"#a8334c",green:"#567a30",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#202e18",brightblack:"#b3c6b6",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#415934",background:"#e5ede6",selection_foreground:"#e5ede6",cursor:"#202e18",foreground:"#202e18",selection_background:"#202e18"},QV={black:"#000000",color1:"#e24346",green:"#39b13a",yellow:"#dae145",blue:"#4261c5",magenta:"#f920fb",cyan:"#2abbd4",white:"#d0b8a3",brightblack:"#fefcfc",brightred:"#e97071",brightgreen:"#9cc090",brightyellow:"#ddda7a",brightblue:"#7b91d6",brightmagenta:"#f674ba",brightcyan:"#5ed1e5",brightwhite:"#d8c8bb",background:"#404040",selection_foreground:"#404040",cursor:"#30ff24",foreground:"#afdab6",selection_background:"#afdab6"},HV={black:"#000000",color1:"#de3e35",green:"#3f953a",yellow:"#d2b67c",blue:"#2f5af3",magenta:"#950095",cyan:"#3f953a",white:"#bbbbbb",brightblack:"#000000",brightred:"#de3e35",brightgreen:"#3f953a",brightyellow:"#d2b67c",brightblue:"#2f5af3",brightmagenta:"#a00095",brightcyan:"#3f953a",brightwhite:"#ffffff",background:"#f9f9f9",selection_foreground:"#f9f9f9",cursor:"#bbbbbb",foreground:"#2a2c33",selection_background:"#2a2c33"},VV={black:"#212121",color1:"#c30771",green:"#10a778",yellow:"#a89c14",blue:"#008ec4",magenta:"#523c79",cyan:"#20a5ba",white:"#d9d9d9",brightblack:"#424242",brightred:"#fb007a",brightgreen:"#5fd7af",brightyellow:"#f3e430",brightblue:"#20bbfc",brightmagenta:"#6855de",brightcyan:"#4fb8cc",brightwhite:"#f1f1f1",background:"#f1f1f1",selection_foreground:"#f1f1f1",cursor:"#20bbfc",foreground:"#424242",selection_background:"#424242"},zV={black:"#322931",color1:"#dd464c",green:"#8fc13e",yellow:"#fdcc59",blue:"#1290bf",magenta:"#c85e7c",cyan:"#149b93",white:"#b9b5b8",brightblack:"#797379",brightred:"#fd8b19",brightgreen:"#433b42",brightyellow:"#5c545b",brightblue:"#989498",brightmagenta:"#d5d3d5",brightcyan:"#b33508",brightwhite:"#ffffff",background:"#322931",selection_foreground:"#322931",cursor:"#b9b5b8",foreground:"#b9b5b8",selection_background:"#b9b5b8"},WV={black:"#000000",color1:"#b0425b",green:"#37a415",yellow:"#ad5c42",blue:"#564d9b",magenta:"#6c3ca1",cyan:"#808080",white:"#87799c",brightblack:"#5d3225",brightred:"#ff6388",brightgreen:"#29e620",brightyellow:"#f08161",brightblue:"#867aed",brightmagenta:"#a05eee",brightcyan:"#eaeaea",brightwhite:"#bfa3ff",background:"#1b1b23",selection_foreground:"#1b1b23",cursor:"#a063eb",foreground:"#877a9b",selection_background:"#877a9b"},XV={black:"#242526",color1:"#f8511b",green:"#565747",yellow:"#fa771d",blue:"#2c70b7",magenta:"#f02e4f",cyan:"#3ca1a6",white:"#adadad",brightblack:"#5fac6d",brightred:"#f74319",brightgreen:"#74ec4c",brightyellow:"#fdc325",brightblue:"#3393ca",brightmagenta:"#e75e4f",brightcyan:"#4fbce6",brightwhite:"#8c735b",background:"#1b1c1d",selection_foreground:"#1b1c1d",cursor:"#cdcdcd",foreground:"#adadad",selection_background:"#adadad"},KV={black:"#2e3436",color1:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#8ae234",brightyellow:"#fce94f",brightblue:"#729fcf",brightmagenta:"#ad7fa8",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#300a24",selection_foreground:"#300a24",cursor:"#bbbbbb",foreground:"#eeeeec",selection_background:"#eeeeec"},ZV={black:"#000000",color1:"#db4437",green:"#0f9d58",yellow:"#f4b400",blue:"#4285f4",magenta:"#db4437",cyan:"#4285f4",white:"#ffffff",brightblack:"#000000",brightred:"#db4437",brightgreen:"#0f9d58",brightyellow:"#f4b400",brightblue:"#4285f4",brightmagenta:"#4285f4",brightcyan:"#0f9d58",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000",underline_color:"#596181",url_color:"#596181"},jV={black:"#212121",color1:"#b7141f",green:"#457b24",yellow:"#f6981e",blue:"#134eb2",magenta:"#560088",cyan:"#0e717c",white:"#efefef",brightblack:"#424242",brightred:"#e83b3f",brightgreen:"#7aba3a",brightyellow:"#ffea2e",brightblue:"#54a4f3",brightmagenta:"#aa4dbc",brightcyan:"#26bbd1",brightwhite:"#d9d9d9",background:"#232322",selection_foreground:"#232322",cursor:"#16afca",foreground:"#e5e5e5",selection_background:"#e5e5e5"},JV={black:"#151515",color1:"#bc5653",green:"#909d63",yellow:"#ebc17a",blue:"#6a8799",magenta:"#b06698",cyan:"#c9dfff",white:"#d9d9d9",brightblack:"#636363",brightred:"#bc5653",brightgreen:"#a0ac77",brightyellow:"#ebc17a",brightblue:"#7eaac7",brightmagenta:"#b06698",brightcyan:"#acbbd0",brightwhite:"#f7f7f7",background:"#353a44",selection_foreground:"#353a44",cursor:"#d9d9d9",foreground:"#d9d9d9",selection_background:"#d9d9d9"},ez={black:"#223344",color1:"#aa1122",green:"#33aa11",yellow:"#ccaa22",blue:"#2255cc",magenta:"#7755aa",cyan:"#22bbdd",white:"#8899aa",brightblack:"#556677",brightred:"#ff1133",brightgreen:"#33ff11",brightyellow:"#ffdd33",brightblue:"#3377ff",brightmagenta:"#aa77ff",brightcyan:"#33ddff",brightwhite:"#bbccdd",background:"#071317",selection_foreground:"#071317",cursor:"#ddeeff",foreground:"#ddeeff",selection_background:"#ddeeff"},tz={black:"#001f0b",color1:"#15d00d",green:"#15d00d",yellow:"#15d00d",blue:"#15d00d",magenta:"#15d00d",cyan:"#15d00d",white:"#fafafa",brightblack:"#001510",brightred:"#19e20e",brightgreen:"#19e20e",brightyellow:"#19e20e",brightblue:"#19e20e",brightmagenta:"#19e20e",brightcyan:"#19e20e",brightwhite:"#fefefe",background:"#020f01",selection_foreground:"#020f01",cursor:"#15d00d",foreground:"#16b10e",selection_background:"#16b10e"},nz={black:"#000000",color1:"#800000",green:"#61ce3c",yellow:"#fbde2d",blue:"#253b76",magenta:"#ff0080",cyan:"#8da6ce",white:"#f8f8f8",brightblack:"#000000",brightred:"#800000",brightgreen:"#61ce3c",brightyellow:"#fbde2d",brightblue:"#253b76",brightmagenta:"#ff0080",brightcyan:"#8da6ce",brightwhite:"#f8f8f8",background:"#271f19",selection_foreground:"#271f19",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},rz={black:"#000000",color1:"#f07178",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#ffffff",brightblack:"#666666",brightred:"#f6a9ae",brightgreen:"#dbf1ba",brightyellow:"#ffdfa6",brightblue:"#b4ccff",brightmagenta:"#ddbdf2",brightcyan:"#b8eaff",brightwhite:"#999999",background:"#3e4251",selection_foreground:"#3e4251",cursor:"#ffcb6b",foreground:"#cccccc",selection_background:"#cccccc"},az={black:"#000000",color1:"#ff3045",green:"#5ffa74",yellow:"#fffc7e",blue:"#0208cb",magenta:"#f924e7",cyan:"#00fffc",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff5a5a",brightgreen:"#75ff88",brightyellow:"#fffd96",brightblue:"#3c40cb",brightmagenta:"#f15be5",brightcyan:"#88fffe",brightwhite:"#ffffff",background:"#14161a",selection_foreground:"#14161a",cursor:"#c7c7c7",foreground:"#00fffc",selection_background:"#00fffc"},iz={black:"#000000",color1:"#ff3030",green:"#559a70",yellow:"#ccac00",blue:"#0099cc",magenta:"#cc69c8",cyan:"#7ac4cc",white:"#bccccc",brightblack:"#000000",brightred:"#ff3030",brightgreen:"#559a70",brightyellow:"#ccac00",brightblue:"#0099cc",brightmagenta:"#cc69c8",brightcyan:"#7ac4cc",brightwhite:"#bccccc",background:"#303030",selection_foreground:"#303030",cursor:"#ffffff",foreground:"#afc2c2",selection_background:"#afc2c2"},oz={black:"#333333",color1:"#d23e08",green:"#54ca74",yellow:"#fff700",blue:"#2ab9ff",magenta:"#ff50da",cyan:"#1ef9f5",white:"#ddd0c4",brightblack:"#515151",brightred:"#ffb7b7",brightgreen:"#c1ffae",brightyellow:"#fcffb8",brightblue:"#8efff3",brightmagenta:"#ffa2ed",brightcyan:"#bcffc7",brightwhite:"#ffffff",background:"#141515",selection_foreground:"#141515",cursor:"#ffc663",foreground:"#ffffff",selection_background:"#ffffff"},sz={black:"#000000",color1:"#fd6209",green:"#41a83e",yellow:"#ffe862",blue:"#245032",magenta:"#f8f8f8",cyan:"#9df39f",white:"#ffffff",brightblack:"#323232",brightred:"#ff943b",brightgreen:"#73da70",brightyellow:"#ffff94",brightblue:"#568264",brightmagenta:"#ffffff",brightcyan:"#cfffd1",brightwhite:"#ffffff",background:"#0b2f20",selection_foreground:"#0b2f20",cursor:"#336442",foreground:"#f8f8f8",selection_background:"#f8f8f8"},lz={black:"#404040",color1:"#e3716e",green:"#819b69",yellow:"#b77e64",blue:"#6099c0",magenta:"#b279a7",cyan:"#66a5ad",white:"#f0e4cf",brightblack:"#625a5b",brightred:"#ec8685",brightgreen:"#8bae68",brightyellow:"#d68c67",brightblue:"#61abda",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#c0ab86",background:"#404040",selection_foreground:"#404040",cursor:"#f3eadb",foreground:"#f0e4cf",selection_background:"#f0e4cf"},cz={black:"#bccccd",color1:"#ff3030",green:"#559a70",yellow:"#ccac00",blue:"#0099cc",magenta:"#cc69c8",cyan:"#7ac4cc",white:"#000000",brightblack:"#ffffff",brightred:"#ff3030",brightgreen:"#559a70",brightyellow:"#ccac00",brightblue:"#0099cc",brightmagenta:"#cc69c8",brightcyan:"#7ac4cc",brightwhite:"#000000",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#afc2c2",selection_background:"#afc2c2"},uz={black:"#000000",color1:"#fc644d",green:"#7afde1",yellow:"#fff09b",blue:"#6c9bf5",magenta:"#ff4fa1",cyan:"#64e0ff",white:"#c0c9e5",brightblack:"#304b66",brightred:"#fc644d",brightgreen:"#7afde1",brightyellow:"#fff09b",brightblue:"#6c9bf5",brightmagenta:"#ff4fa1",brightcyan:"#64e0ff",brightwhite:"#ffffff",background:"#111e2a",selection_foreground:"#111e2a",cursor:"#ffffff",foreground:"#c0c9e5",selection_background:"#c0c9e5"},dz={black:"#4f4f4f",color1:"#ff6c60",green:"#a8ff60",yellow:"#ffffb6",blue:"#96cbfe",magenta:"#ff73fd",cyan:"#c6c5fe",white:"#eeeeee",brightblack:"#7c7c7c",brightred:"#ffb6b0",brightgreen:"#ceffac",brightyellow:"#ffffcc",brightblue:"#b5dcff",brightmagenta:"#ff9cfe",brightcyan:"#dfdffe",brightwhite:"#ffffff",background:"#0000a4",selection_foreground:"#0000a4",cursor:"#ffa560",foreground:"#ffff4e",selection_background:"#ffff4e"},hz={black:"#080808",color1:"#ff5f5f",green:"#87d7af",yellow:"#d7d787",blue:"#5fafd7",magenta:"#afafff",cyan:"#5fd7d7",white:"#dadada",brightblack:"#8a8a8a",brightred:"#d75f5f",brightgreen:"#afd7af",brightyellow:"#d7d7af",brightblue:"#87afd7",brightmagenta:"#afafd7",brightcyan:"#87d7d7",brightwhite:"#dadada",background:"#1c1c1c",selection_foreground:"#1c1c1c",cursor:"#eeeeee",foreground:"#d0d0d0",selection_background:"#d0d0d0",underline_color:"#783232",url_color:"#783232"},fz={black:"#232323",color1:"#ff000f",green:"#8ce10b",yellow:"#ffb900",blue:"#008df8",magenta:"#6d43a6",cyan:"#00d8eb",white:"#ffffff",brightblack:"#444444",brightred:"#ff2740",brightgreen:"#abe15b",brightyellow:"#ffd242",brightblue:"#0092ff",brightmagenta:"#9a5feb",brightcyan:"#67fff0",brightwhite:"#ffffff",background:"#0e1019",selection_foreground:"#0e1019",cursor:"#ff0018",foreground:"#fffaf4",selection_background:"#fffaf4"},mz={black:"#0a4c62",color1:"#99246e",green:"#5cb1b3",yellow:"#eab9a8",blue:"#90a5bd",magenta:"#9d54a7",cyan:"#7e83cc",white:"#f0e8d6",brightblack:"#201637",brightred:"#c87272",brightgreen:"#0a6c7e",brightyellow:"#7a3188",brightblue:"#39173d",brightmagenta:"#bc94b7",brightcyan:"#5e6071",brightwhite:"#0a6c7e",background:"#1c0c28",selection_foreground:"#1c0c28",cursor:"#fcfad6",foreground:"#babab9",selection_background:"#babab9",underline_color:"#59175a",url_color:"#59175a"},pz={black:"#878787",color1:"#ff6600",green:"#ccff04",yellow:"#ffcc00",blue:"#44b4cc",magenta:"#9933cc",cyan:"#44b4cc",white:"#f5f5f5",brightblack:"#555555",brightred:"#ff0000",brightgreen:"#00ff00",brightyellow:"#ffff00",brightblue:"#0000ff",brightmagenta:"#ff00ff",brightcyan:"#00ffff",brightwhite:"#e5e5e5",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},gz={black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#224fbc",selection_foreground:"#224fbc",cursor:"#7f7f7f",foreground:"#ffffff",selection_background:"#ffffff"},_z={black:"#3a3d43",color1:"#be3f48",green:"#879a3b",yellow:"#c5a635",blue:"#4f76a1",magenta:"#855c8d",cyan:"#578fa4",white:"#b9bcba",brightblack:"#888987",brightred:"#fb001f",brightgreen:"#0f722f",brightyellow:"#c47033",brightblue:"#186de3",brightmagenta:"#fb0067",brightcyan:"#2e706d",brightwhite:"#fdffb9",background:"#1f1f1f",selection_foreground:"#1f1f1f",cursor:"#f83e19",foreground:"#b9bcba",selection_background:"#b9bcba"},bz={black:"#929292",color1:"#e27373",green:"#94b979",yellow:"#ffba7b",blue:"#97bedc",magenta:"#e1c0fa",cyan:"#00988e",white:"#dedede",brightblack:"#bdbdbd",brightred:"#ffa1a1",brightgreen:"#bddeab",brightyellow:"#ffdca0",brightblue:"#b1d8f6",brightmagenta:"#fbdaff",brightcyan:"#1ab2a8",brightwhite:"#ffffff",background:"#121212",selection_foreground:"#121212",cursor:"#ffa560",foreground:"#dedede",selection_background:"#dedede"},Sz={black:"#000000",color1:"#cdaf95",green:"#a8ff60",yellow:"#bfbb1f",blue:"#75a5b0",magenta:"#ff73fd",cyan:"#5a647e",white:"#bfbfbf",brightblack:"#666666",brightred:"#eecbad",brightgreen:"#bcee68",brightyellow:"#e5e500",brightblue:"#86bdc9",brightmagenta:"#e500e5",brightcyan:"#8c9bc4",brightwhite:"#e5e5e5",background:"#2b2b2b",selection_foreground:"#2b2b2b",cursor:"#7f7f7f",foreground:"#ffffff",selection_background:"#ffffff"},Oz={black:"#302b2a",color1:"#a7463d",green:"#587744",yellow:"#9d602a",blue:"#485b98",magenta:"#864651",cyan:"#9c814f",white:"#c9c9c9",brightblack:"#4d4e48",brightred:"#aa000c",brightgreen:"#128c21",brightyellow:"#fc6a21",brightblue:"#7999f7",brightmagenta:"#fd8aa1",brightcyan:"#fad484",brightwhite:"#ffffff",background:"#1a1818",selection_foreground:"#1a1818",cursor:"#ffffff",foreground:"#c9c9c9",selection_background:"#c9c9c9"},vz={black:"#2e343c",color1:"#bd0f2f",green:"#35a770",yellow:"#fb9435",blue:"#1f5872",magenta:"#bd2523",cyan:"#778397",white:"#ffffff",brightblack:"#404a55",brightred:"#bd0f2f",brightgreen:"#49e998",brightyellow:"#fddf6e",brightblue:"#2a8bc1",brightmagenta:"#ea4727",brightcyan:"#a0b6d3",brightwhite:"#ffffff",background:"#0c1115",selection_foreground:"#0c1115",cursor:"#6c6c6c",foreground:"#ffffff",selection_background:"#ffffff"},Ez={black:"#0f191f",color1:"#de6e7c",green:"#90ff6b",yellow:"#b77e64",blue:"#8190d4",magenta:"#b279a7",cyan:"#66a5ad",white:"#c6d5cf",brightblack:"#263945",brightred:"#e8838f",brightgreen:"#a0ff85",brightyellow:"#d68c67",brightblue:"#92a0e2",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#98a39e",background:"#0f191f",selection_foreground:"#0f191f",cursor:"#ceddd7",foreground:"#c6d5cf",selection_background:"#c6d5cf"},yz={black:"#03073c",color1:"#c6004a",green:"#acf157",yellow:"#fecd5e",blue:"#525fb8",magenta:"#986f82",cyan:"#968763",white:"#ecf0fc",brightblack:"#6c5b30",brightred:"#da4b8a",brightgreen:"#dbffa9",brightyellow:"#fee6a9",brightblue:"#b2befa",brightmagenta:"#fda5cd",brightcyan:"#a5bd86",brightwhite:"#f6ffec",background:"#232537",selection_foreground:"#232537",cursor:"#fecd5e",foreground:"#ecf0fe",selection_background:"#ecf0fe"},Tz={black:"#000000",color1:"#a2686a",green:"#9aa56a",yellow:"#a3906a",blue:"#6b8fa3",magenta:"#6a71a3",cyan:"#6ba58f",white:"#99a3a2",brightblack:"#666c6c",brightred:"#dd5c60",brightgreen:"#bfdf55",brightyellow:"#deb360",brightblue:"#62b1df",brightmagenta:"#606edf",brightcyan:"#64e39c",brightwhite:"#d2e0de",background:"#242626",selection_foreground:"#242626",cursor:"#d2e0de",foreground:"#99a3a2",selection_background:"#99a3a2"},Cz={black:"#3b3750",color1:"#cf7b98",green:"#90a94b",yellow:"#6ebfc0",blue:"#576ea6",magenta:"#bc4f68",cyan:"#75a7d2",white:"#c3d3de",brightblack:"#a874ce",brightred:"#de90ab",brightgreen:"#bcdd61",brightyellow:"#87e9ea",brightblue:"#8c9fcd",brightmagenta:"#e16c87",brightcyan:"#b7c9ef",brightwhite:"#d5e5f1",background:"#262b33",selection_foreground:"#262b33",cursor:"#c3d3de",foreground:"#c3d3de",selection_background:"#c3d3de"},Rz={black:"#000000",color1:"#b12424",green:"#006b4f",yellow:"#f8a300",blue:"#138af2",magenta:"#9a1b6e",cyan:"#3eb8bf",white:"#ffffff",brightblack:"#000000",brightred:"#b12424",brightgreen:"#006b4f",brightyellow:"#f8a300",brightblue:"#138af2",brightmagenta:"#9a1b6e",brightcyan:"#3eb8bf",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},wz={black:"#000000",color1:"#f9555f",green:"#21b089",yellow:"#fef02a",blue:"#589df6",magenta:"#944d95",cyan:"#1f9ee7",white:"#bbbbbb",brightblack:"#555555",brightred:"#fa8c8f",brightgreen:"#35bb9a",brightyellow:"#ffff55",brightblue:"#589df6",brightmagenta:"#e75699",brightcyan:"#3979bc",brightwhite:"#ffffff",background:"#1d2837",selection_foreground:"#1d2837",cursor:"#bbbbbb",foreground:"#ffffff",selection_background:"#ffffff"},Az={black:"#4b4b4b",color1:"#e388a3",green:"#98bd99",yellow:"#ffdf9b",blue:"#97bdde",magenta:"#a5a6c5",cyan:"#6fbdbe",white:"#dddddd",brightblack:"#6c6465",brightred:"#eb99b1",brightgreen:"#8fcd92",brightyellow:"#ffe5b3",brightblue:"#a2c8e9",brightmagenta:"#b2b3da",brightcyan:"#6bcacb",brightwhite:"#a8a8a8",background:"#4b4b4b",selection_foreground:"#4b4b4b",cursor:"#e2e2e2",foreground:"#dddddd",selection_background:"#dddddd"},Iz={black:"#41444d",color1:"#fc2f52",green:"#25a45c",yellow:"#ff936a",blue:"#3476ff",magenta:"#7a82da",cyan:"#4483aa",white:"#cdd4e0",brightblack:"#8f9aae",brightred:"#ff6480",brightgreen:"#3fc56b",brightyellow:"#f9c859",brightblue:"#10b1fe",brightmagenta:"#ff78f8",brightcyan:"#5fb9bc",brightwhite:"#ffffff",background:"#282c34",selection_foreground:"#282c34",cursor:"#ffcc00",foreground:"#b9c0cb",selection_background:"#b9c0cb"},kz={black:"#022026",color1:"#b2302d",green:"#00a941",yellow:"#59819c",blue:"#459a86",magenta:"#00599d",cyan:"#5d7e19",white:"#405555",brightblack:"#384451",brightred:"#ff4242",brightgreen:"#2aea5e",brightyellow:"#8ed4fd",brightblue:"#61d5ba",brightmagenta:"#1298ff",brightcyan:"#98d028",brightwhite:"#58fbd6",background:"#011116",selection_foreground:"#011116",cursor:"#4afcd6",foreground:"#ffffff",selection_background:"#ffffff"},Nz={black:"#282828",color1:"#cc241d",green:"#98971a",yellow:"#d79921",blue:"#458588",magenta:"#b16286",cyan:"#689d6a",white:"#a89984",brightblack:"#928374",brightred:"#fb4934",brightgreen:"#b8bb26",brightyellow:"#fabd2f",brightblue:"#83a598",brightmagenta:"#d3869b",brightcyan:"#8ec07c",brightwhite:"#ebdbb2",background:"#282828",selection_foreground:"#282828",cursor:"#ebdbb2",foreground:"#ebdbb2",selection_background:"#ebdbb2"},Dz={black:"#000000",color1:"#bb0000",green:"#00bb00",yellow:"#e7b000",blue:"#0000a3",magenta:"#950062",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#bb0000",brightgreen:"#00bb00",brightyellow:"#e7b000",brightblue:"#0000bb",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#13773d",selection_foreground:"#13773d",cursor:"#8c2800",foreground:"#fff0a5",selection_background:"#fff0a5"},xz={black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#f5deb3",selection_foreground:"#f5deb3",cursor:"#c7c7c7",foreground:"#000000",selection_background:"#000000"},Mz={black:"#1b1d1e",color1:"#f92672",green:"#a6e22e",yellow:"#fd971f",blue:"#66d9ef",magenta:"#9e6ffe",cyan:"#5e7175",white:"#ccccc6",brightblack:"#505354",brightred:"#ff669d",brightgreen:"#beed5f",brightyellow:"#e6db74",brightblue:"#66d9ef",brightmagenta:"#9e6ffe",brightcyan:"#a3babf",brightwhite:"#f8f8f2",background:"#121212",selection_foreground:"#121212",cursor:"#bbbbbb",foreground:"#a0a0a0",selection_background:"#a0a0a0"},Lz={black:"#573d26",color1:"#be2d26",green:"#6ba18a",yellow:"#e99d2a",blue:"#5a86ad",magenta:"#ac80a6",cyan:"#74a6ad",white:"#e0dbb7",brightblack:"#9b6c4a",brightred:"#e84627",brightgreen:"#95d8ba",brightyellow:"#d0d150",brightblue:"#b8d3ed",brightmagenta:"#d19ecb",brightcyan:"#93cfd7",brightwhite:"#fff9d5",background:"#2a1f1d",selection_foreground:"#2a1f1d",cursor:"#573d26",foreground:"#e0dbb7",selection_background:"#e0dbb7"},Pz={black:"#2f2e2d",color1:"#a36666",green:"#90a57d",yellow:"#d7af87",blue:"#7fa5bd",magenta:"#c79ec4",cyan:"#8adbb4",white:"#d0d0d0",brightblack:"#4a4845",brightred:"#d78787",brightgreen:"#afbea2",brightyellow:"#e4c9af",brightblue:"#a1bdce",brightmagenta:"#d7beda",brightcyan:"#b1e7dd",brightwhite:"#efefef",background:"#1c1c1c",selection_foreground:"#1c1c1c",cursor:"#e4c9af",foreground:"#d0d0d0",selection_background:"#d0d0d0"},Bz={black:"#2c3f58",color1:"#be2d26",green:"#1a9172",yellow:"#db8e27",blue:"#325d96",magenta:"#8a5edc",cyan:"#35a08f",white:"#23d183",brightblack:"#336889",brightred:"#dd5944",brightgreen:"#31d07b",brightyellow:"#e7d84b",brightblue:"#34a6da",brightmagenta:"#ae6bdc",brightcyan:"#42c3ae",brightwhite:"#d5d5d5",background:"#24364b",selection_foreground:"#24364b",cursor:"#d5d5d5",foreground:"#31d07b",selection_background:"#31d07b"},Yz={black:"#000000",color1:"#ff7092",green:"#00fbac",yellow:"#fffa6a",blue:"#00bfff",magenta:"#df95ff",cyan:"#86cbfe",white:"#ffffff",brightblack:"#000000",brightred:"#ff8aa4",brightgreen:"#21f6bc",brightyellow:"#fff787",brightblue:"#1bccfd",brightmagenta:"#e6aefe",brightcyan:"#99d6fc",brightwhite:"#ffffff",background:"#332a57",selection_foreground:"#332a57",cursor:"#21f6bc",foreground:"#e5e5e5",selection_background:"#e5e5e5"},Fz={black:"#1f1f28",color1:"#e46a78",green:"#98bc6d",yellow:"#e5c283",blue:"#7eb3c9",magenta:"#957fb8",cyan:"#7eb3c9",white:"#ddd8bb",brightblack:"#3c3c51",brightred:"#ec818c",brightgreen:"#9ec967",brightyellow:"#f1c982",brightblue:"#7bc2df",brightmagenta:"#a98fd2",brightcyan:"#7bc2df",brightwhite:"#a8a48d",background:"#1f1f28",selection_foreground:"#1f1f28",cursor:"#e6e0c2",foreground:"#ddd8bb",selection_background:"#ddd8bb"},Uz={black:"#1b1b1b",color1:"#cc241d",green:"#98971a",yellow:"#d79921",blue:"#458588",magenta:"#b16286",cyan:"#689d6a",white:"#a89984",brightblack:"#928374",brightred:"#fb4934",brightgreen:"#b8bb26",brightyellow:"#fabd2f",brightblue:"#83a598",brightmagenta:"#d3869b",brightcyan:"#8ec07c",brightwhite:"#ebdbb2",background:"#1b1b1b",selection_foreground:"#1b1b1b",cursor:"#ebdbb2",foreground:"#ebdbb2",selection_background:"#ebdbb2"},$z={black:"#000000",color1:"#cd0000",green:"#00cd00",yellow:"#cdcd00",blue:"#1093f5",magenta:"#cd00cd",cyan:"#00cdcd",white:"#faebd7",brightblack:"#404040",brightred:"#ff0000",brightgreen:"#00ff00",brightyellow:"#ffff00",brightblue:"#11b5f6",brightmagenta:"#ff00ff",brightcyan:"#00ffff",brightwhite:"#ffffff",background:"#111416",selection_foreground:"#111416",cursor:"#bbbbbb",foreground:"#eeeeec",selection_background:"#eeeeec"},Gz={black:"#000000",color1:"#ee2b2a",green:"#40a33f",yellow:"#ffea2e",blue:"#1e80f0",magenta:"#8800a0",cyan:"#16afca",white:"#a4a4a4",brightblack:"#777777",brightred:"#dc5c60",brightgreen:"#70be71",brightyellow:"#fff163",brightblue:"#54a4f3",brightmagenta:"#aa4dbc",brightcyan:"#42c7da",brightwhite:"#ffffff",background:"#1c262b",selection_foreground:"#1c262b",cursor:"#b3b8c3",foreground:"#c2c8d7",selection_background:"#c2c8d7"},qz={black:"#000000",color1:"#b64c00",green:"#7c8b16",yellow:"#d3bd26",blue:"#616bb0",magenta:"#8c5a90",cyan:"#916c25",white:"#cac29a",brightblack:"#5e5219",brightred:"#ff9149",brightgreen:"#b2ca3b",brightyellow:"#ffe54a",brightblue:"#acb8ff",brightmagenta:"#ffa0ff",brightcyan:"#ffbc51",brightwhite:"#fed698",background:"#1d1908",selection_foreground:"#1d1908",cursor:"#d3ba30",foreground:"#cac296",selection_background:"#cac296"},Qz={black:"#050505",color1:"#e9897c",green:"#b6377d",yellow:"#ecebbe",blue:"#a9cdeb",magenta:"#75507b",cyan:"#c9caec",white:"#f2f2f2",brightblack:"#141414",brightred:"#f99286",brightgreen:"#c3f786",brightyellow:"#fcfbcc",brightblue:"#b6defb",brightmagenta:"#ad7fa8",brightcyan:"#d7d9fc",brightwhite:"#e2e2e2",background:"#1a1a1a",selection_foreground:"#1a1a1a",cursor:"#fcfbcc",foreground:"#acacab",selection_background:"#acacab"},Hz={black:"#13a10e",color1:"#13a10e",green:"#13a10e",yellow:"#13a10e",blue:"#13a10e",magenta:"#13a10e",cyan:"#13a10e",white:"#13a10e",brightblack:"#16ba10",brightred:"#16ba10",brightgreen:"#16ba10",brightyellow:"#16ba10",brightblue:"#16ba10",brightmagenta:"#16ba10",brightcyan:"#16ba10",brightwhite:"#16ba10",background:"#000000",selection_foreground:"#000000",cursor:"#13a10e",foreground:"#13a10e",selection_background:"#13a10e"},Vz={black:"#000000",color1:"#ff4242",green:"#74af68",yellow:"#ffad29",blue:"#338f86",magenta:"#9414e6",cyan:"#23d7d7",white:"#e2e2e2",brightblack:"#3f5648",brightred:"#ff3242",brightgreen:"#74cd68",brightyellow:"#ffb929",brightblue:"#23d7d7",brightmagenta:"#ff37ff",brightcyan:"#00ede1",brightwhite:"#ffffff",background:"#141e43",selection_foreground:"#141e43",cursor:"#43d58e",foreground:"#e1e1e1",selection_background:"#e1e1e1"},zz={black:"#535178",color1:"#ef6487",green:"#5eca89",yellow:"#fdd877",blue:"#65aef7",magenta:"#aa7ff0",cyan:"#43c1be",white:"#ffffff",brightblack:"#535178",brightred:"#ef6487",brightgreen:"#5eca89",brightyellow:"#fdd877",brightblue:"#65aef7",brightmagenta:"#aa7ff0",brightcyan:"#43c1be",brightwhite:"#ffffff",background:"#29283b",selection_foreground:"#29283b",cursor:"#b3b0d6",foreground:"#b3b0d6",selection_background:"#b3b0d6"},Wz={black:"#1c1917",color1:"#de6e7c",green:"#819b69",yellow:"#b77e64",blue:"#6099c0",magenta:"#b279a7",cyan:"#66a5ad",white:"#b4bdc3",brightblack:"#403833",brightred:"#e8838f",brightgreen:"#8bae68",brightyellow:"#d68c67",brightblue:"#61abda",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#888f94",background:"#1c1917",selection_foreground:"#1c1917",cursor:"#c4cacf",foreground:"#b4bdc3",selection_background:"#b4bdc3"},Xz={black:"#000000",color1:"#e52222",green:"#a6e32d",yellow:"#fc951e",blue:"#c48dff",magenta:"#fa2573",cyan:"#67d9f0",white:"#f2f2f2",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Kz={black:"#191919",color1:"#de6e7c",green:"#819b69",yellow:"#b77e64",blue:"#6099c0",magenta:"#b279a7",cyan:"#66a5ad",white:"#bbbbbb",brightblack:"#3d3839",brightred:"#e8838f",brightgreen:"#8bae68",brightyellow:"#d68c67",brightblue:"#61abda",brightmagenta:"#cf86c1",brightcyan:"#65b8c1",brightwhite:"#8e8e8e",background:"#191919",selection_foreground:"#191919",cursor:"#c9c9c9",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Zz={black:"#000000",color1:"#aa3731",green:"#448c27",yellow:"#cb9000",blue:"#325cc0",magenta:"#7a3e9d",cyan:"#0083b2",white:"#f7f7f7",brightblack:"#777777",brightred:"#f05050",brightgreen:"#60cb00",brightyellow:"#ffbc5d",brightblue:"#007acc",brightmagenta:"#e64ce6",brightcyan:"#00aacb",brightwhite:"#f7f7f7",background:"#f7f7f7",selection_foreground:"#f7f7f7",cursor:"#007acc",foreground:"#000000",selection_background:"#000000"},jz={black:"#000000",color1:"#ff3333",green:"#b8cc52",yellow:"#e7c547",blue:"#36a3d9",magenta:"#f07178",cyan:"#95e6cb",white:"#ffffff",brightblack:"#323232",brightred:"#ff6565",brightgreen:"#eafe84",brightyellow:"#fff779",brightblue:"#68d5ff",brightmagenta:"#ffa3aa",brightcyan:"#c7fffd",brightwhite:"#ffffff",background:"#0f1419",selection_foreground:"#0f1419",cursor:"#f29718",foreground:"#e6e1cf",selection_background:"#e6e1cf"},Jz={black:"#000000",color1:"#fd6209",green:"#41a83e",yellow:"#ffe862",blue:"#245032",magenta:"#f8f8f8",cyan:"#9df39f",white:"#ffffff",brightblack:"#323232",brightred:"#ff943b",brightgreen:"#73da70",brightyellow:"#ffff94",brightblue:"#568264",brightmagenta:"#ffffff",brightcyan:"#cfffd1",brightwhite:"#ffffff",background:"#051f14",selection_foreground:"#051f14",cursor:"#ffcc00",foreground:"#dadedc",selection_background:"#dadedc"},eW={black:"#000000",color1:"#d52370",green:"#41af1a",yellow:"#bc7053",blue:"#6964ab",magenta:"#c71fbf",cyan:"#939393",white:"#998eac",brightblack:"#786d69",brightred:"#f41d99",brightgreen:"#22e529",brightyellow:"#f59574",brightblue:"#9892f1",brightmagenta:"#e90cdd",brightcyan:"#eeeeee",brightwhite:"#cbb6ff",background:"#18131e",selection_foreground:"#18131e",cursor:"#ff65fd",foreground:"#dd7bdc",selection_background:"#dd7bdc"},tW={black:"#435b67",color1:"#fc3841",green:"#5cf19e",yellow:"#fed032",blue:"#37b6ff",magenta:"#fc226e",cyan:"#59ffd1",white:"#ffffff",brightblack:"#a1b0b8",brightred:"#fc746d",brightgreen:"#adf7be",brightyellow:"#fee16c",brightblue:"#70cfff",brightmagenta:"#fc669b",brightcyan:"#9affe6",brightwhite:"#ffffff",background:"#1d262a",selection_foreground:"#1d262a",cursor:"#eaeaea",foreground:"#e7ebed",selection_background:"#e7ebed"},nW={black:"#323232",color1:"#c22832",green:"#8ec43d",yellow:"#e0c64f",blue:"#43a5d5",magenta:"#8b57b5",cyan:"#8ec43d",white:"#eeeeee",brightblack:"#323232",brightred:"#c22832",brightgreen:"#8ec43d",brightyellow:"#e0c64f",brightblue:"#43a5d5",brightmagenta:"#8b57b5",brightcyan:"#8ec43d",brightwhite:"#ffffff",background:"#111213",selection_foreground:"#111213",cursor:"#e3bf21",foreground:"#cacecd",selection_background:"#cacecd"},rW={black:"#000000",color1:"#c37372",green:"#72c373",yellow:"#c2c372",blue:"#7372c3",magenta:"#c372c2",cyan:"#72c2c3",white:"#d9d9d9",brightblack:"#323232",brightred:"#dbaaaa",brightgreen:"#aadbaa",brightyellow:"#dadbaa",brightblue:"#aaaadb",brightmagenta:"#dbaada",brightcyan:"#aadadb",brightwhite:"#ffffff",background:"#29262f",selection_foreground:"#29262f",cursor:"#d9e6f2",foreground:"#d9e6f2",selection_background:"#d9e6f2"},aW={black:"#141228",color1:"#ff5458",green:"#62d196",yellow:"#ffb378",blue:"#65b2ff",magenta:"#906cff",cyan:"#63f2f1",white:"#a6b3cc",brightblack:"#565575",brightred:"#ff8080",brightgreen:"#95ffa4",brightyellow:"#ffe9aa",brightblue:"#91ddff",brightmagenta:"#c991e1",brightcyan:"#aaffe4",brightwhite:"#cbe3e7",background:"#1e1c31",selection_foreground:"#1e1c31",cursor:"#fbfcfc",foreground:"#cbe1e7",selection_background:"#cbe1e7"},iW={black:"#383a42",color1:"#e45649",green:"#50a14f",yellow:"#c18401",blue:"#0184bc",magenta:"#a626a4",cyan:"#0997b3",white:"#fafafa",brightblack:"#4f525e",brightred:"#e06c75",brightgreen:"#98c379",brightyellow:"#e5c07b",brightblue:"#61afef",brightmagenta:"#c678dd",brightcyan:"#56b6c2",brightwhite:"#ffffff",background:"#fafafa",selection_foreground:"#fafafa",cursor:"#bfceff",foreground:"#383a42",selection_background:"#383a42"},oW={black:"#121418",color1:"#c94234",green:"#85c54c",yellow:"#f5ae2e",blue:"#1398b9",magenta:"#d0633d",cyan:"#509552",white:"#e5c6aa",brightblack:"#675f54",brightred:"#ff645a",brightgreen:"#98e036",brightyellow:"#e0d561",brightblue:"#5fdaff",brightmagenta:"#ff9269",brightcyan:"#84f088",brightwhite:"#f6f7ec",background:"#292520",selection_foreground:"#292520",cursor:"#f6f7ec",foreground:"#e5c7a9",selection_background:"#e5c7a9"},sW={black:"#002831",color1:"#e63853",green:"#5eb83c",yellow:"#a57706",blue:"#359ddf",magenta:"#d75cff",cyan:"#4b73a2",white:"#dcdcdc",brightblack:"#001e27",brightred:"#e1003f",brightgreen:"#1d9000",brightyellow:"#cd9409",brightblue:"#006fc0",brightmagenta:"#a200da",brightcyan:"#005794",brightwhite:"#e2e2e2",background:"#0e1011",selection_foreground:"#0e1011",cursor:"#708284",foreground:"#7c8fa4",selection_background:"#7c8fa4"},lW={black:"#011627",color1:"#ff9999",green:"#85cc95",yellow:"#ffd700",blue:"#7fb5ff",magenta:"#ddb3ff",cyan:"#21c7a8",white:"#ffffff",brightblack:"#575656",brightred:"#ff9999",brightgreen:"#85cc95",brightyellow:"#ffd700",brightblue:"#7fb5ff",brightmagenta:"#ddb3ff",brightcyan:"#85cc95",brightwhite:"#ffffff",background:"#1b2738",selection_foreground:"#1b2738",cursor:"#ddb3ff",foreground:"#a6b2c0",selection_background:"#a6b2c0"},cW={black:"#000000",color1:"#da4939",green:"#519f50",yellow:"#ffd24a",blue:"#6d9cbe",magenta:"#d0d0ff",cyan:"#6e9cbe",white:"#ffffff",brightblack:"#323232",brightred:"#ff7b6b",brightgreen:"#83d182",brightyellow:"#ffff7c",brightblue:"#9fcef0",brightmagenta:"#ffffff",brightcyan:"#a0cef0",brightwhite:"#ffffff",background:"#2b2b2b",selection_foreground:"#2b2b2b",cursor:"#ffffff",foreground:"#e6e1dc",selection_background:"#e6e1dc"},uW={black:"#241f2b",color1:"#91284c",green:"#23801c",yellow:"#b49d27",blue:"#6580b0",magenta:"#674d96",cyan:"#8aaabe",white:"#524966",brightblack:"#312d3d",brightred:"#d5356c",brightgreen:"#2cd946",brightyellow:"#fde83b",brightblue:"#90baf9",brightmagenta:"#a479e3",brightcyan:"#acd4eb",brightwhite:"#9e8cbd",background:"#100815",selection_foreground:"#100815",cursor:"#524966",foreground:"#514968",selection_background:"#514968"},dW={black:"#000000",color1:"#ff5370",green:"#c3e88d",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#89ddff",white:"#ffffff",brightblack:"#545454",brightred:"#ff5370",brightgreen:"#c3e88d",brightyellow:"#ffcb6b",brightblue:"#82aaff",brightmagenta:"#c792ea",brightcyan:"#89ddff",brightwhite:"#ffffff",background:"#212121",selection_foreground:"#212121",cursor:"#ffffff",foreground:"#eeffff",selection_background:"#eeffff",underline_color:"#596181",url_color:"#596181"},hW={black:"#323232",color1:"#d25252",green:"#7fe173",yellow:"#ffc66d",blue:"#4099ff",magenta:"#f680ff",cyan:"#bed6ff",white:"#eeeeec",brightblack:"#535353",brightred:"#f07070",brightgreen:"#9dff91",brightyellow:"#ffe48b",brightblue:"#5eb7f7",brightmagenta:"#ff9dff",brightcyan:"#dcf4ff",brightwhite:"#ffffff",background:"#323232",selection_foreground:"#323232",cursor:"#d6d6d6",foreground:"#ffffff",selection_background:"#ffffff"},fW={black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#000000",selection_foreground:"#000000",cursor:"#23ff18",foreground:"#00ff00",selection_background:"#00ff00"},mW={black:"#202746",color1:"#c94922",green:"#ac9739",yellow:"#c08b30",blue:"#3d8fd1",magenta:"#6679cc",cyan:"#22a2c9",white:"#979db4",brightblack:"#6b7394",brightred:"#c76b29",brightgreen:"#293256",brightyellow:"#5e6687",brightblue:"#898ea4",brightmagenta:"#dfe2f1",brightcyan:"#9c637a",brightwhite:"#f5f7ff",background:"#202746",selection_foreground:"#202746",cursor:"#979db4",foreground:"#979db4",selection_background:"#979db4"},pW={black:"#000000",color1:"#aa1717",green:"#18b218",yellow:"#ebae1f",blue:"#2323a5",magenta:"#ad1edc",cyan:"#42b0c8",white:"#c8c1c1",brightblack:"#7b716e",brightred:"#ff4141",brightgreen:"#5fff5f",brightyellow:"#ffff55",brightblue:"#4b4bff",brightmagenta:"#ff54ff",brightcyan:"#69ffff",brightwhite:"#ffffff",background:"#060606",selection_foreground:"#060606",cursor:"#c8c1c1",foreground:"#c8c1c1",selection_background:"#c8c1c1"},gW={black:"#222222",color1:"#e2a8bf",green:"#81d778",yellow:"#c4c9c0",blue:"#264b49",magenta:"#a481d3",cyan:"#15ab9c",white:"#02c5e0",brightblack:"#ffffff",brightred:"#ffcdd9",brightgreen:"#beffa8",brightyellow:"#d0ccca",brightblue:"#7ab0d2",brightmagenta:"#c5a7d9",brightcyan:"#8cdfe0",brightwhite:"#e0e0e0",background:"#222222",selection_foreground:"#222222",cursor:"#87d3c4",foreground:"#35b1d2",selection_background:"#35b1d2"},_W={black:"#0e101a",color1:"#e03600",green:"#5dcd97",yellow:"#e39500",blue:"#00a3cb",magenta:"#795ccc",cyan:"#00a3cb",white:"#ebefc0",brightblack:"#2b2f46",brightred:"#ff4821",brightgreen:"#58db9e",brightyellow:"#f6a100",brightblue:"#00b4e0",brightmagenta:"#b3a1e6",brightcyan:"#00b4e0",brightwhite:"#b3b692",background:"#0e101a",selection_foreground:"#0e101a",cursor:"#edf2c2",foreground:"#ebefc0",selection_background:"#ebefc0"},bW={black:"#4d4d4d",color1:"#c70031",green:"#29cf13",yellow:"#d8e30e",blue:"#3449d1",magenta:"#8400ff",cyan:"#0798ab",white:"#e2d1e3",brightblack:"#5a5a5a",brightred:"#f01578",brightgreen:"#6ce05c",brightyellow:"#f3f79e",brightblue:"#97a4f7",brightmagenta:"#c495f0",brightcyan:"#68f2e0",brightwhite:"#ffffff",background:"#0e100a",selection_foreground:"#0e100a",cursor:"#9fda9c",foreground:"#f7f7f7",selection_background:"#f7f7f7"},SW={black:"#080808",color1:"#ff8373",green:"#00c172",yellow:"#d2a700",blue:"#0071cf",magenta:"#ff90fe",cyan:"#6bffdd",white:"#f1f1f1",brightblack:"#2e2e2e",brightred:"#ffc4be",brightgreen:"#d6fcba",brightyellow:"#fffed5",brightblue:"#c2e3ff",brightmagenta:"#ffb2fe",brightcyan:"#e6e7fe",brightwhite:"#ffffff",background:"#151144",selection_foreground:"#151144",cursor:"#00ff9c",foreground:"#00ff92",selection_background:"#00ff92"},OW={black:"#000000",color1:"#fd5ff1",green:"#87c38a",yellow:"#ffd7b1",blue:"#85befd",magenta:"#b9b6fc",cyan:"#85befd",white:"#e0e0e0",brightblack:"#000000",brightred:"#fd5ff1",brightgreen:"#94fa36",brightyellow:"#f5ffa8",brightblue:"#96cbfe",brightmagenta:"#b9b6fc",brightcyan:"#85befd",brightwhite:"#e0e0e0",background:"#161719",selection_foreground:"#161719",cursor:"#d0d0d0",foreground:"#c5c8c6",selection_background:"#c5c8c6"},vW={black:"#2a2e33",color1:"#b84d51",green:"#b3bf5a",yellow:"#e4b55e",blue:"#6e90b0",magenta:"#a17eac",cyan:"#7fbfb4",white:"#b5b9b6",brightblack:"#1d1f22",brightred:"#8d2e32",brightgreen:"#798431",brightyellow:"#e58a50",brightblue:"#4b6b88",brightmagenta:"#6e5079",brightcyan:"#4d7b74",brightwhite:"#5a626a",background:"#161719",selection_foreground:"#161719",cursor:"#b7bcba",foreground:"#b7bcba",selection_background:"#b7bcba"},EW={black:"#1b1d1e",color1:"#e60813",green:"#e22928",yellow:"#e24756",blue:"#2c3fff",magenta:"#2435db",cyan:"#3256ff",white:"#fffef6",brightblack:"#505354",brightred:"#ff0325",brightgreen:"#ff3338",brightyellow:"#fe3a35",brightblue:"#1d50ff",brightmagenta:"#747cff",brightcyan:"#6184ff",brightwhite:"#fffff9",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#2c3fff",foreground:"#e3e3e3",selection_background:"#e3e3e3"},yW={black:"#1f0000",color1:"#b00d0d",green:"#b00d0d",yellow:"#b00d0d",blue:"#b00d0d",magenta:"#b00d0d",cyan:"#b00d0d",white:"#fafafa",brightblack:"#150000",brightred:"#ff1111",brightgreen:"#ff1010",brightyellow:"#ff1010",brightblue:"#ff1010",brightmagenta:"#ff1010",brightcyan:"#ff1010",brightwhite:"#fefefe",background:"#200101",selection_foreground:"#200101",cursor:"#b00d0d",foreground:"#b10e0e",selection_background:"#b10e0e"},TW={black:"#4d4d4d",color1:"#ff2b2b",green:"#98fb98",yellow:"#f0e68c",blue:"#cd853f",magenta:"#ffdead",cyan:"#ffa0a0",white:"#f5deb3",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#87ceff",brightmagenta:"#ff55ff",brightcyan:"#ffd700",brightwhite:"#ffffff",background:"#333333",selection_foreground:"#333333",cursor:"#00ff00",foreground:"#ffffff",selection_background:"#ffffff"},CW={black:"#000000",color1:"#b84131",green:"#7da900",yellow:"#c4a500",blue:"#62a3c4",magenta:"#ba8acc",cyan:"#207383",white:"#a1a1a1",brightblack:"#7a7a7a",brightred:"#d6837c",brightgreen:"#c4f137",brightyellow:"#fee14d",brightblue:"#8dcff0",brightmagenta:"#f79aff",brightcyan:"#6ad9cf",brightwhite:"#f7f7f7",background:"#1b1b1b",selection_foreground:"#1b1b1b",cursor:"#bbbbbb",foreground:"#f7f7f7",selection_background:"#f7f7f7"},RW={black:"#000000",color1:"#cc0000",green:"#009600",yellow:"#d06b00",blue:"#0000cc",magenta:"#cc00cc",cyan:"#0087cc",white:"#cccccc",brightblack:"#808080",brightred:"#cc0000",brightgreen:"#009600",brightyellow:"#d06b00",brightblue:"#0000cc",brightmagenta:"#cc00cc",brightcyan:"#0087cc",brightwhite:"#ffffff",background:"#dfdbc3",selection_foreground:"#dfdbc3",cursor:"#73635a",foreground:"#3b2322",selection_background:"#3b2322"},wW={black:"#141414",color1:"#c06d44",green:"#afb97a",yellow:"#c2a86c",blue:"#44474a",magenta:"#b4be7c",cyan:"#778385",white:"#ffffd4",brightblack:"#262626",brightred:"#de7c4c",brightgreen:"#ccd88c",brightyellow:"#e2c47e",brightblue:"#5a5e62",brightmagenta:"#d0dc8e",brightcyan:"#8a989b",brightwhite:"#ffffd4",background:"#141414",selection_foreground:"#141414",cursor:"#ffffff",foreground:"#ffffd4",selection_background:"#ffffd4"},AW={black:"#353535",color1:"#e74669",green:"#89d287",yellow:"#dab853",blue:"#449fd0",magenta:"#da62dc",cyan:"#65aaaf",white:"#b4b4b4",brightblack:"#535353",brightred:"#e4859b",brightgreen:"#a3cca2",brightyellow:"#e1e487",brightblue:"#6fbce2",brightmagenta:"#e586e7",brightcyan:"#96dcdb",brightwhite:"#dfdfdf",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#c8c8c8",selection_background:"#c8c8c8"},IW={black:"#000000",color1:"#ec5f66",green:"#99c794",yellow:"#f9ae58",blue:"#6699cc",magenta:"#c695c6",cyan:"#5fb4b4",white:"#f7f7f7",brightblack:"#333333",brightred:"#f97b58",brightgreen:"#acd1a8",brightyellow:"#fac761",brightblue:"#85add6",brightmagenta:"#d8b6d8",brightcyan:"#82c4c4",brightwhite:"#ffffff",background:"#343d46",selection_foreground:"#343d46",cursor:"#fcbb6a",foreground:"#d8dee9",selection_background:"#d8dee9"},kW={black:"#2a2a2a",color1:"#ff0000",green:"#79ff0f",yellow:"#e7bf00",blue:"#396bd7",magenta:"#b449be",cyan:"#66ccff",white:"#bbbbbb",brightblack:"#666666",brightred:"#ff0080",brightgreen:"#66ff66",brightyellow:"#f3d64e",brightblue:"#709aed",brightmagenta:"#db67e6",brightcyan:"#7adff2",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#4d4d4d",foreground:"#f2f2f2",selection_background:"#f2f2f2"},NW={black:"#191918",color1:"#b34538",green:"#587744",yellow:"#d08949",blue:"#206ec5",magenta:"#864651",cyan:"#ac9166",white:"#f1eee7",brightblack:"#2c2b2a",brightred:"#b33323",brightgreen:"#42824a",brightyellow:"#c75a22",brightblue:"#5389c5",brightmagenta:"#e795a5",brightcyan:"#ebc587",brightwhite:"#ffffff",background:"#141414",selection_foreground:"#141414",cursor:"#c9c9c9",foreground:"#c9c9c9",selection_background:"#c9c9c9"},DW={black:"#3e3e3e",color1:"#970b16",green:"#07962a",yellow:"#f8eec7",blue:"#003e8a",magenta:"#e94691",cyan:"#89d1ec",white:"#ffffff",brightblack:"#666666",brightred:"#de0000",brightgreen:"#87d5a2",brightyellow:"#f1d007",brightblue:"#2e6cba",brightmagenta:"#ffa29f",brightcyan:"#1cfafe",brightwhite:"#ffffff",background:"#f4f4f4",selection_foreground:"#f4f4f4",cursor:"#3f3f3f",foreground:"#3e3e3e",selection_background:"#3e3e3e"},xW={black:"#212121",color1:"#b7141f",green:"#457b24",yellow:"#f6981e",blue:"#134eb2",magenta:"#560088",cyan:"#0e717c",white:"#efefef",brightblack:"#424242",brightred:"#e83b3f",brightgreen:"#7aba3a",brightyellow:"#ffea2e",brightblue:"#54a4f3",brightmagenta:"#aa4dbc",brightcyan:"#26bbd1",brightwhite:"#d9d9d9",background:"#eaeaea",selection_foreground:"#eaeaea",cursor:"#16afca",foreground:"#232322",selection_background:"#232322"},MW={black:"#0c0c0c",color1:"#a80f20",green:"#bafc8b",yellow:"#eedf4b",blue:"#145fcd",magenta:"#ff36a2",cyan:"#6bd1bc",white:"#e2d7e1",brightblack:"#434343",brightred:"#d91329",brightgreen:"#d3ffaf",brightyellow:"#ffef50",brightblue:"#0075ea",brightmagenta:"#fdd5e5",brightcyan:"#79ecd5",brightwhite:"#fff3fe",background:"#ff8cd9",selection_foreground:"#ff8cd9",cursor:"#bafc8b",foreground:"#0b0b0b",selection_background:"#0b0b0b",underline_color:"#38a276",url_color:"#38a276"},LW={black:"#242728",color1:"#ff0090",green:"#b6ff00",yellow:"#fff727",blue:"#47e0fb",magenta:"#d731ff",cyan:"#0effbb",white:"#e1e1e1",brightblack:"#636667",brightred:"#fb58b4",brightgreen:"#deff8c",brightyellow:"#ebe087",brightblue:"#7fecff",brightmagenta:"#e681ff",brightcyan:"#69fcd3",brightwhite:"#f9f9f5",background:"#242728",selection_foreground:"#242728",cursor:"#c1c1c1",foreground:"#c1c1c1",selection_background:"#c1c1c1"},PW={black:"#34373e",color1:"#e06383",green:"#7ebebd",yellow:"#cccccc",blue:"#a6c1e0",magenta:"#e1c1ee",cyan:"#5b94ab",white:"#ababab",brightblack:"#434750",brightred:"#fa7193",brightgreen:"#8fd7d6",brightyellow:"#d1dfff",brightblue:"#b2cff0",brightmagenta:"#efccfd",brightcyan:"#69abc5",brightwhite:"#d3d3d3",background:"#282b33",selection_foreground:"#282b33",cursor:"#7ebebd",foreground:"#c6c6c6",selection_background:"#c6c6c6"},BW={black:"#f0f0ca",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#353535",brightblack:"#c6c6a3",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#5c5c5c",background:"#f0f0ca",selection_foreground:"#f0f0ca",cursor:"#353535",foreground:"#353535",selection_background:"#353535"},YW={black:"#000000",color1:"#ff3333",green:"#86b300",yellow:"#f29718",blue:"#41a6d9",magenta:"#f07178",cyan:"#4dbf99",white:"#ffffff",brightblack:"#323232",brightred:"#ff6565",brightgreen:"#b8e532",brightyellow:"#ffc94a",brightblue:"#73d8ff",brightmagenta:"#ffa3aa",brightcyan:"#7ff1cb",brightwhite:"#ffffff",background:"#fafafa",selection_foreground:"#fafafa",cursor:"#ff6a00",foreground:"#5c6773",selection_background:"#5c6773"},FW={black:"#333333",color1:"#da2700",green:"#12c258",yellow:"#ffc656",blue:"#518bfc",magenta:"#e37bd9",cyan:"#63fad5",white:"#bab2b2",brightblack:"#777777",brightred:"#ffb9b9",brightgreen:"#e3f6aa",brightyellow:"#ffddaa",brightblue:"#b3e8f3",brightmagenta:"#cbbaf9",brightcyan:"#bcffc7",brightwhite:"#efefef",background:"#201f1e",selection_foreground:"#201f1e",cursor:"#7a1c1c",foreground:"#eee4d9",selection_background:"#eee4d9",underline_color:"#596181",url_color:"#596181"},UW={black:"#1d1d19",color1:"#f18339",green:"#9fd364",yellow:"#f4ef6d",blue:"#5096be",magenta:"#695abc",cyan:"#d63865",white:"#ffffff",brightblack:"#1d1d19",brightred:"#d22a24",brightgreen:"#a7d42c",brightyellow:"#ff8949",brightblue:"#61b9d0",brightmagenta:"#695abc",brightcyan:"#d63865",brightwhite:"#ffffff",background:"#1d1f21",selection_foreground:"#1d1f21",cursor:"#708284",foreground:"#b8dbef",selection_background:"#b8dbef"},$W={black:"#121212",color1:"#fa2573",green:"#98e123",yellow:"#dfd460",blue:"#1080d0",magenta:"#8700ff",cyan:"#43a8d0",white:"#bbbbbb",brightblack:"#555555",brightred:"#f6669d",brightgreen:"#b1e05f",brightyellow:"#fff26d",brightblue:"#00afff",brightmagenta:"#af87ff",brightcyan:"#51ceff",brightwhite:"#ffffff",background:"#121212",selection_foreground:"#121212",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},GW={black:"#383838",color1:"#a95551",green:"#666666",yellow:"#a98051",blue:"#657d3e",magenta:"#767676",cyan:"#c9c9c9",white:"#d0b8a3",brightblack:"#474747",brightred:"#a97775",brightgreen:"#8c8c8c",brightyellow:"#a99175",brightblue:"#98bd5e",brightmagenta:"#a3a3a3",brightcyan:"#dcdcdc",brightwhite:"#d8c8bb",background:"#222222",selection_foreground:"#222222",cursor:"#aa9175",foreground:"#a0a0a0",selection_background:"#a0a0a0"},qW={black:"#e2e2e2",color1:"#dc5284",green:"#628562",yellow:"#c48562",blue:"#0084a3",magenta:"#896788",cyan:"#008586",white:"#555555",brightblack:"#bfbabb",brightred:"#be3c6d",brightgreen:"#487249",brightyellow:"#a76b48",brightblue:"#006f89",brightmagenta:"#7f4c7e",brightcyan:"#006f70",brightwhite:"#777777",background:"#e2e2e2",selection_foreground:"#e2e2e2",cursor:"#555555",foreground:"#555555",selection_background:"#555555"},QW={black:"#353535",color1:"#d25252",green:"#a5c261",yellow:"#ffc66d",blue:"#6c99bb",magenta:"#d197d9",cyan:"#bed6ff",white:"#eeeeec",brightblack:"#535353",brightred:"#f00c0c",brightgreen:"#c2e075",brightyellow:"#e1e48b",brightblue:"#8ab7d9",brightmagenta:"#efb5f7",brightcyan:"#dcf4ff",brightwhite:"#ffffff",background:"#323232",selection_foreground:"#323232",cursor:"#d6d6d6",foreground:"#ffffff",selection_background:"#ffffff"},HW={black:"#000000",color1:"#e8341c",green:"#68c256",yellow:"#f2d42c",blue:"#1c98e8",magenta:"#8e69c9",cyan:"#1c98e8",white:"#bababa",brightblack:"#000000",brightred:"#e05a4f",brightgreen:"#77b869",brightyellow:"#efd64b",brightblue:"#387cd3",brightmagenta:"#957bbe",brightcyan:"#3d97e2",brightwhite:"#bababa",background:"#222324",selection_foreground:"#222324",cursor:"#bbbbbb",foreground:"#bababa",selection_background:"#bababa"},VW={black:"#000000",color1:"#f8282a",green:"#328a5d",yellow:"#fa701d",blue:"#135cd0",magenta:"#9f00bd",cyan:"#33c3c1",white:"#b3b3b3",brightblack:"#555753",brightred:"#fb0416",brightgreen:"#2cc631",brightyellow:"#fdd727",brightblue:"#1670ff",brightmagenta:"#e900b0",brightcyan:"#3ad5ce",brightwhite:"#eeeeec",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#6fd3fc",foreground:"#262626",selection_background:"#262626"},zW={black:"#1b1d1e",color1:"#e6dc44",green:"#c8be46",yellow:"#f4fd22",blue:"#737174",magenta:"#747271",cyan:"#62605f",white:"#c6c5bf",brightblack:"#505354",brightred:"#fff78e",brightgreen:"#fff27d",brightyellow:"#feed6c",brightblue:"#919495",brightmagenta:"#9a9a9d",brightcyan:"#a3a3a6",brightwhite:"#dadbd6",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#fcef0c",foreground:"#6f6f6f",selection_background:"#6f6f6f"},WW={black:"#333333",color1:"#f8818e",green:"#92d3a2",yellow:"#1a8e63",blue:"#8ed0ce",magenta:"#5e468c",cyan:"#31658c",white:"#e2d8cd",brightblack:"#3d3d3d",brightred:"#fb3d66",brightgreen:"#6bb48d",brightyellow:"#30c85a",brightblue:"#39a7a2",brightmagenta:"#7e62b3",brightcyan:"#6096bf",brightwhite:"#e2d8cd",background:"#051519",selection_foreground:"#051519",cursor:"#9e9ecb",foreground:"#e2d8cd",selection_background:"#e2d8cd"},XW={black:"#241b30",color1:"#e60a70",green:"#00986c",yellow:"#adad3e",blue:"#6e29ad",magenta:"#b300ad",cyan:"#00b0b1",white:"#b9b1bc",brightblack:"#7f7094",brightred:"#e60a70",brightgreen:"#0ae4a4",brightyellow:"#f9f972",brightblue:"#aa54f9",brightmagenta:"#ff00f6",brightcyan:"#00fbfd",brightwhite:"#f2f2e3",background:"#241b30",selection_foreground:"#241b30",cursor:"#f2f2e3",foreground:"#f2f2e3",selection_background:"#f2f2e3"},KW={black:"#080200",color1:"#fa5e5b",green:"#16c98d",yellow:"#ffc83f",blue:"#288ad6",magenta:"#d34590",cyan:"#28ddde",white:"#e7e7e7",brightblack:"#6f6b68",brightred:"#fa5e5b",brightgreen:"#16c98d",brightyellow:"#feef6d",brightblue:"#278ad6",brightmagenta:"#d34590",brightcyan:"#27dede",brightwhite:"#ffffff",background:"#2c3643",selection_foreground:"#2c3643",cursor:"#b4b1b1",foreground:"#ffffff",selection_background:"#ffffff"},ZW={black:"#000000",color1:"#ac2e31",green:"#31ac61",yellow:"#ac4300",blue:"#2d57ac",magenta:"#b08528",cyan:"#1fa6ac",white:"#8a8eac",brightblack:"#5b3725",brightred:"#ff3d48",brightgreen:"#3bff99",brightyellow:"#ff5e1e",brightblue:"#4488ff",brightmagenta:"#ffc21d",brightcyan:"#1ffaff",brightwhite:"#5b6ea7",background:"#222125",selection_foreground:"#222125",cursor:"#5b6ea7",foreground:"#8a8dae",selection_background:"#8a8dae"},jW={black:"#000000",color1:"#ff3030",green:"#559a70",yellow:"#ccac00",blue:"#0099cc",magenta:"#cc69c8",cyan:"#7ac4cc",white:"#bccccc",brightblack:"#000000",brightred:"#ff3030",brightgreen:"#559a70",brightyellow:"#ccac00",brightblue:"#0099cc",brightmagenta:"#cc69c8",brightcyan:"#7ac4cc",brightwhite:"#bccccc",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#afc2c2",selection_background:"#afc2c2"},JW={black:"#012026",color1:"#b2302d",green:"#00a941",yellow:"#5e8baa",blue:"#449a86",magenta:"#00599d",cyan:"#5d7e19",white:"#405555",brightblack:"#384451",brightred:"#ff4242",brightgreen:"#2aea5e",brightyellow:"#8ed4fd",brightblue:"#61d5ba",brightmagenta:"#1298ff",brightcyan:"#98d028",brightwhite:"#58fbd6",background:"#001015",selection_foreground:"#001015",cursor:"#4afcd6",foreground:"#405555",selection_background:"#405555"},eX={black:"#1d1a1e",color1:"#ff5b82",green:"#47d7a1",yellow:"#e8e562",blue:"#5db4ee",magenta:"#da6cda",cyan:"#57e9eb",white:"#ededed",brightblack:"#1d1a1e",brightred:"#ff5b82",brightgreen:"#47d7a1",brightyellow:"#e8e562",brightblue:"#5db4ee",brightmagenta:"#da6cda",brightcyan:"#57e9eb",brightwhite:"#ededed",background:"#1d1a1e",selection_foreground:"#1d1a1e",cursor:"#c7c7c7",foreground:"#efecec",selection_background:"#efecec"},tX={black:"#000000",color1:"#d6262b",green:"#919c00",yellow:"#be8a13",blue:"#4699a3",magenta:"#8d4331",cyan:"#da8213",white:"#ddc265",brightblack:"#7f6a55",brightred:"#e55a1c",brightgreen:"#bfc65a",brightyellow:"#ffcb1b",brightblue:"#7cc9cf",brightmagenta:"#d26349",brightcyan:"#e6a96b",brightwhite:"#ffeaa3",background:"#251200",selection_foreground:"#251200",cursor:"#e5591c",foreground:"#dec165",selection_background:"#dec165"},nX={black:"#000000",color1:"#fc4346",green:"#50fb7c",yellow:"#f0fb8c",blue:"#49baff",magenta:"#fc4cb4",cyan:"#8be9fe",white:"#ededec",brightblack:"#555555",brightred:"#fc4346",brightgreen:"#50fb7c",brightyellow:"#f0fb8c",brightblue:"#49baff",brightmagenta:"#fc4cb4",brightcyan:"#8be9fe",brightwhite:"#ededec",background:"#1e1f29",selection_foreground:"#1e1f29",cursor:"#e4e4e4",foreground:"#ebece6",selection_background:"#ebece6"},rX={black:"#151515",color1:"#ac4142",green:"#7e8e50",yellow:"#e5b567",blue:"#6c99bb",magenta:"#9f4e85",cyan:"#7dd6cf",white:"#d0d0d0",brightblack:"#505050",brightred:"#ac4142",brightgreen:"#7e8e50",brightyellow:"#e5b567",brightblue:"#6c99bb",brightmagenta:"#9f4e85",brightcyan:"#7dd6cf",brightwhite:"#f5f5f5",background:"#212121",selection_foreground:"#212121",cursor:"#d0d0d0",foreground:"#d0d0d0",selection_background:"#d0d0d0"},aX={black:"#333333",color1:"#8c4665",green:"#287373",yellow:"#7c7c99",blue:"#395573",magenta:"#5e468c",cyan:"#31658c",white:"#899ca1",brightblack:"#3d3d3d",brightred:"#bf4d80",brightgreen:"#53a6a6",brightyellow:"#9e9ecb",brightblue:"#477ab3",brightmagenta:"#7e62b3",brightcyan:"#6096bf",brightwhite:"#c0c0c0",background:"#101010",selection_foreground:"#101010",cursor:"#9e9ecb",foreground:"#999993",selection_background:"#999993"},iX={black:"#000000",color1:"#c82829",green:"#718c00",yellow:"#eab700",blue:"#4271ae",magenta:"#8959a8",cyan:"#3e999f",white:"#ffffff",brightblack:"#000000",brightred:"#c82829",brightgreen:"#718c00",brightyellow:"#eab700",brightblue:"#4271ae",brightmagenta:"#8959a8",brightcyan:"#3e999f",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#4d4d4c",foreground:"#4d4d4c",selection_background:"#4d4d4c"},oX={black:"#572100",color1:"#ba3934",green:"#91773f",yellow:"#b55600",blue:"#5f63b4",magenta:"#a17c7b",cyan:"#8faea9",white:"#af9a91",brightblack:"#4e4b61",brightred:"#d9443f",brightgreen:"#d6b04e",brightyellow:"#f66813",brightblue:"#8086ef",brightmagenta:"#e2c2bb",brightcyan:"#a4dce7",brightwhite:"#d2c7a9",background:"#121214",selection_foreground:"#121214",cursor:"#af9a91",foreground:"#af9a91",selection_background:"#af9a91"},sX={black:"#575757",color1:"#ff1b00",green:"#a5e055",yellow:"#fbe74a",blue:"#496487",magenta:"#fd5ff1",cyan:"#86e9fe",white:"#cbcccb",brightblack:"#262626",brightred:"#d51d00",brightgreen:"#a5df55",brightyellow:"#fbe84a",brightblue:"#89beff",brightmagenta:"#c001c1",brightcyan:"#86eafe",brightwhite:"#dbdbdb",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#dbdbdb",selection_background:"#dbdbdb"},lX={black:"#191919",color1:"#bf091d",green:"#3d9751",yellow:"#f6bb34",blue:"#17b2e0",magenta:"#7830b0",cyan:"#8bd2ed",white:"#ffffff",brightblack:"#191919",brightred:"#bf091d",brightgreen:"#3d9751",brightyellow:"#f6bb34",brightblue:"#17b2e0",brightmagenta:"#7830b0",brightcyan:"#8bd2ed",brightwhite:"#ffffff",background:"#262c35",selection_foreground:"#262c35",cursor:"#d9002f",foreground:"#ebebeb",selection_background:"#ebebeb"},cX={black:"#040404",color1:"#d84a33",green:"#5da602",yellow:"#eebb6e",blue:"#417ab3",magenta:"#e5c499",cyan:"#bdcfe5",white:"#dbded8",brightblack:"#685656",brightred:"#d76b42",brightgreen:"#99b52c",brightyellow:"#ffb670",brightblue:"#97d7ef",brightmagenta:"#aa7900",brightcyan:"#bdcfe5",brightwhite:"#e4d5c7",background:"#040404",selection_foreground:"#040404",cursor:"#feffff",foreground:"#feffff",selection_background:"#feffff"},uX={black:"#040303",color1:"#f92672",green:"#c2ffdf",yellow:"#e6c000",blue:"#c2ffdf",magenta:"#ffb8d1",cyan:"#c5a3ff",white:"#f8f8f0",brightblack:"#6090cb",brightred:"#ff857f",brightgreen:"#c2ffdf",brightyellow:"#ffea00",brightblue:"#c2ffdf",brightmagenta:"#ffb8d1",brightcyan:"#c5a3ff",brightwhite:"#f8f8f0",background:"#5a5475",selection_foreground:"#5a5475",cursor:"#f8f8f0",foreground:"#f8f8f2",selection_background:"#f8f8f2"},dX={black:"#15161e",color1:"#f7768e",green:"#9ece6a",yellow:"#e0af68",blue:"#7aa2f7",magenta:"#bb9af7",cyan:"#7dcfff",white:"#a9b1d6",brightblack:"#414868",brightred:"#f7768e",brightgreen:"#9ece6a",brightyellow:"#e0af68",brightblue:"#7aa2f7",brightmagenta:"#bb9af7",brightcyan:"#7dcfff",brightwhite:"#c0caf5",background:"#1a1b26",selection_foreground:"#1a1b26",cursor:"#c0caf5",foreground:"#c0caf5",selection_background:"#c0caf5"},hX={black:"#343935",color1:"#cf3f61",green:"#7bb75b",yellow:"#e9b32a",blue:"#4c9ad4",magenta:"#a57fc4",cyan:"#389aad",white:"#fafaf6",brightblack:"#595b59",brightred:"#d18fa6",brightgreen:"#767f2c",brightyellow:"#78592f",brightblue:"#135979",brightmagenta:"#604291",brightcyan:"#76bbca",brightwhite:"#b2b5ae",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#edcf4f",foreground:"#f7f6ec",selection_background:"#f7f6ec"},fX={black:"#1f1f1f",color1:"#f81118",green:"#2dc55e",yellow:"#ecba0f",blue:"#2a84d2",magenta:"#4e5ab7",cyan:"#1081d6",white:"#d6dbe5",brightblack:"#d6dbe5",brightred:"#de352e",brightgreen:"#1dd361",brightyellow:"#f3bd09",brightblue:"#1081d6",brightmagenta:"#5350b9",brightcyan:"#0f7ddb",brightwhite:"#ffffff",background:"#131313",selection_foreground:"#131313",cursor:"#b9b9b9",foreground:"#d6dbe5",selection_background:"#d6dbe5"},mX={black:"#000000",color1:"#9f0000",green:"#008b00",yellow:"#ffd000",blue:"#0081ff",magenta:"#bc00ca",cyan:"#008b8b",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff0000",brightgreen:"#00ee00",brightyellow:"#ffff00",brightblue:"#0000ff",brightmagenta:"#ff00ff",brightcyan:"#00cdcd",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#00a595",selection_background:"#00a595"},pX={black:"#202746",color1:"#c94922",green:"#ac9739",yellow:"#c08b30",blue:"#3d8fd1",magenta:"#6679cc",cyan:"#22a2c9",white:"#979db4",brightblack:"#6b7394",brightred:"#c76b29",brightgreen:"#73ad43",brightyellow:"#5e6687",brightblue:"#898ea4",brightmagenta:"#dfe2f1",brightcyan:"#9c637a",brightwhite:"#f5f7ff",background:"#132638",selection_foreground:"#132638",cursor:"#979db4",foreground:"#ede4e4",selection_background:"#ede4e4"},gX={black:"#010921",color1:"#10b6ff",green:"#10b6ff",yellow:"#10b6ff",blue:"#10b6ff",magenta:"#10b6ff",cyan:"#10b6ff",white:"#fafafa",brightblack:"#080117",brightred:"#00b3f7",brightgreen:"#00b3f7",brightyellow:"#00b3f7",brightblue:"#00b3f7",brightmagenta:"#00b3f7",brightcyan:"#00b3f7",brightwhite:"#fefefe",background:"#010515",selection_foreground:"#010515",cursor:"#10b6ff",foreground:"#11b7ff",selection_background:"#11b7ff"},_X={black:"#091013",color1:"#006536",green:"#6fa64c",yellow:"#7e8000",blue:"#2c9a84",magenta:"#452d53",cyan:"#114d53",white:"#006536",brightblack:"#333333",brightred:"#00733d",brightgreen:"#90d762",brightyellow:"#e2e500",brightblue:"#46d8b8",brightmagenta:"#4a3059",brightcyan:"#12545a",brightwhite:"#006536",background:"#070c0e",selection_foreground:"#070c0e",cursor:"#9fa86e",foreground:"#3e5715",selection_background:"#3e5715",underline_color:"#302c2c",url_color:"#302c2c"},bX={black:"#1d1d1d",color1:"#cda074",green:"#9e744d",yellow:"#fecf75",blue:"#720102",magenta:"#734c4d",cyan:"#979797",white:"#ffffce",brightblack:"#000000",brightred:"#fecea0",brightgreen:"#cc734d",brightyellow:"#fd9f4d",brightblue:"#cb4a05",brightmagenta:"#4e739f",brightcyan:"#fed04d",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#ffffce",selection_background:"#ffffce"},SX={black:"#3d352a",color1:"#cd5c5c",green:"#86af80",yellow:"#e8ae5b",blue:"#6495ed",magenta:"#deb887",cyan:"#b0c4de",white:"#bbaa99",brightblack:"#554444",brightred:"#cc5533",brightgreen:"#88aa22",brightyellow:"#ffa75d",brightblue:"#87ceeb",brightmagenta:"#996600",brightcyan:"#b0c4de",brightwhite:"#ddccbb",background:"#1c1c1c",selection_foreground:"#1c1c1c",cursor:"#e2bbef",foreground:"#ddeedd",selection_background:"#ddeedd"},OX={black:"#050404",color1:"#bd0013",green:"#4ab118",yellow:"#e7741e",blue:"#0f4ac6",magenta:"#665993",cyan:"#70a598",white:"#f8dcc0",brightblack:"#4e7cbf",brightred:"#fc5f5a",brightgreen:"#9eff6e",brightyellow:"#efc11a",brightblue:"#1997c6",brightmagenta:"#9b5953",brightcyan:"#c8faf4",brightwhite:"#f6f5fb",background:"#1f1d45",selection_foreground:"#1f1d45",cursor:"#efbf38",foreground:"#f8dcc0",selection_background:"#f8dcc0"},vX={black:"#351b0e",color1:"#9b291c",green:"#636232",yellow:"#c36e28",blue:"#515c5d",magenta:"#9b1d29",cyan:"#588056",white:"#f7d75c",brightblack:"#874228",brightred:"#ff4331",brightgreen:"#b4b264",brightyellow:"#ff9566",brightblue:"#9eb2b4",brightmagenta:"#ff5b6a",brightcyan:"#8acd8f",brightwhite:"#ffe598",background:"#120b0d",selection_foreground:"#120b0d",cursor:"#c46c32",foreground:"#f7d66a",selection_background:"#f7d66a"},EX={black:"#000000",color1:"#d70005",green:"#1cd915",yellow:"#d9bd26",blue:"#5665ff",magenta:"#b052da",cyan:"#50d2da",white:"#e0e0e0",brightblack:"#535353",brightred:"#fb0007",brightgreen:"#22ff18",brightyellow:"#fedc2b",brightblue:"#9fa9ff",brightmagenta:"#e09aff",brightcyan:"#8df9ff",brightwhite:"#ffffff",background:"#090909",selection_foreground:"#090909",cursor:"#d0d0d0",foreground:"#cdcdcd",selection_background:"#cdcdcd"},yX={black:"#000000",color1:"#ff615a",green:"#b1e969",yellow:"#ebd99c",blue:"#5da9f6",magenta:"#e86aff",cyan:"#82fff7",white:"#dedacf",brightblack:"#313131",brightred:"#f58c80",brightgreen:"#ddf88f",brightyellow:"#eee5b2",brightblue:"#a5c7ff",brightmagenta:"#ddaaff",brightcyan:"#b7fff9",brightwhite:"#ffffff",background:"#171717",selection_foreground:"#171717",cursor:"#bbbbbb",foreground:"#dedacf",selection_background:"#dedacf"},TX={black:"#000000",color1:"#b04b57",green:"#87b379",yellow:"#e5c179",blue:"#7d8fa4",magenta:"#a47996",cyan:"#85a7a5",white:"#b3b8c3",brightblack:"#000000",brightred:"#b04b57",brightgreen:"#87b379",brightyellow:"#e5c179",brightblue:"#7d8fa4",brightmagenta:"#a47996",brightcyan:"#85a7a5",brightwhite:"#ffffff",background:"#20242d",selection_foreground:"#20242d",cursor:"#b3b8c3",foreground:"#b3b8c3",selection_background:"#b3b8c3"},CX={black:"#f0edec",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#2c363c",brightblack:"#cfc1ba",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#4f5e68",background:"#f0edec",selection_foreground:"#f0edec",cursor:"#2c363c",foreground:"#2c363c",selection_background:"#2c363c"},RX={black:"#232a2d",color1:"#e57474",green:"#8ccf7e",yellow:"#e5c76b",blue:"#67b0e8",magenta:"#c47fd5",cyan:"#6cbfbf",white:"#b3b9b8",brightblack:"#2d3437",brightred:"#ef7e7e",brightgreen:"#96d988",brightyellow:"#f4d67a",brightblue:"#71baf2",brightmagenta:"#ce89df",brightcyan:"#67cbe7",brightwhite:"#bdc3c2",background:"#141b1e",selection_foreground:"#141b1e",cursor:"#dadada",foreground:"#dadada",selection_background:"#dadada"},wX={black:"#4d4d4d",color1:"#705050",green:"#60b48a",yellow:"#f0dfaf",blue:"#506070",magenta:"#dc8cc3",cyan:"#8cd0d3",white:"#dcdccc",brightblack:"#709080",brightred:"#dca3a3",brightgreen:"#c3bf9f",brightyellow:"#e0cf9f",brightblue:"#94bff3",brightmagenta:"#ec93d3",brightcyan:"#93e0e3",brightwhite:"#ffffff",background:"#3f3f3f",selection_foreground:"#3f3f3f",cursor:"#73635a",foreground:"#dcdccc",selection_background:"#dcdccc"},AX={black:"#282a36",color1:"#f37f97",green:"#5adecd",yellow:"#f2a272",blue:"#8897f4",magenta:"#c574dd",cyan:"#79e6f3",white:"#fdfdfd",brightblack:"#414458",brightred:"#ff4971",brightgreen:"#18e3c8",brightyellow:"#ff8037",brightblue:"#556fff",brightmagenta:"#b043d1",brightcyan:"#3fdcee",brightwhite:"#bebec1",background:"#1d1f28",selection_foreground:"#1d1f28",cursor:"#c574dd",foreground:"#fdfdfd",selection_background:"#fdfdfd"},IX={black:"#1c1c1c",color1:"#d68686",green:"#aed686",yellow:"#d7af87",blue:"#86aed6",magenta:"#d6aed6",cyan:"#8adbb4",white:"#d0d0d0",brightblack:"#1c1c1c",brightred:"#d68686",brightgreen:"#aed686",brightyellow:"#e4c9af",brightblue:"#86aed6",brightmagenta:"#d6aed6",brightcyan:"#b1e7dd",brightwhite:"#efefef",background:"#262626",selection_foreground:"#262626",cursor:"#e4c9af",foreground:"#d0d0d0",selection_background:"#d0d0d0"},kX={black:"#4f4f4f",color1:"#fa6c60",green:"#a8ff60",yellow:"#fffeb7",blue:"#96cafe",magenta:"#fa73fd",cyan:"#c6c5fe",white:"#efedef",brightblack:"#7b7b7b",brightred:"#fcb6b0",brightgreen:"#cfffab",brightyellow:"#ffffcc",brightblue:"#b5dcff",brightmagenta:"#fb9cfe",brightcyan:"#e0e0fe",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#808080",foreground:"#f1f1f1",selection_background:"#f1f1f1"},NX={black:"#091013",color1:"#002e18",green:"#6fa64c",yellow:"#595900",blue:"#00cb6b",magenta:"#412a4d",cyan:"#125459",white:"#002e19",brightblack:"#333333",brightred:"#00381d",brightgreen:"#90d762",brightyellow:"#e2e500",brightblue:"#00ff87",brightmagenta:"#412a4d",brightcyan:"#176c73",brightwhite:"#00381e",background:"#070c0e",selection_foreground:"#070c0e",cursor:"#373a26",foreground:"#28380d",selection_background:"#28380d",underline_color:"#302c2c",url_color:"#302c2c"},DX={black:"#000000",color1:"#cc5555",green:"#55cc55",yellow:"#cdcd55",blue:"#5555cc",magenta:"#cc55cc",cyan:"#7acaca",white:"#cccccc",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#53ae71",foreground:"#b3b3b3",selection_background:"#b3b3b3"},xX={black:"#0f191c",color1:"#23755a",green:"#82d967",yellow:"#ffd700",blue:"#3f5242",magenta:"#409931",cyan:"#50b45a",white:"#507350",brightblack:"#688060",brightred:"#2fc079",brightgreen:"#90d762",brightyellow:"#faff00",brightblue:"#4f7e7e",brightmagenta:"#11ff25",brightcyan:"#c1ff8a",brightwhite:"#678c61",background:"#0f191c",selection_foreground:"#0f191c",cursor:"#384545",foreground:"#426644",selection_background:"#426644",underline_color:"#302c2c",url_color:"#302c2c"},MX={black:"#253045",color1:"#ee5577",green:"#55ee77",yellow:"#ffdd88",blue:"#5588ff",magenta:"#ff77cc",cyan:"#44eeee",white:"#f5f5da",brightblack:"#405570",brightred:"#ee6655",brightgreen:"#99ee77",brightyellow:"#ffff77",brightblue:"#77bbff",brightmagenta:"#aa88ff",brightcyan:"#55ffbb",brightwhite:"#ffffee",background:"#202535",selection_foreground:"#202535",cursor:"#ccced0",foreground:"#ccced0",selection_background:"#ccced0"},LX={black:"#141414",color1:"#ff5555",green:"#98ec65",yellow:"#ffcc33",blue:"#00aaff",magenta:"#aa88ff",cyan:"#88ddff",white:"#cccccc",brightblack:"#414141",brightred:"#ff8888",brightgreen:"#b6f292",brightyellow:"#ffd966",brightblue:"#33bbff",brightmagenta:"#cebbff",brightcyan:"#bbecff",brightwhite:"#ffffff",background:"#111111",selection_foreground:"#111111",cursor:"#fcdc08",foreground:"#777777",selection_background:"#777777"},PX={black:"#2c3941",color1:"#865f5b",green:"#66907d",yellow:"#b1a990",blue:"#6a8e95",magenta:"#b18a73",cyan:"#88b2ac",white:"#ececec",brightblack:"#5d7079",brightred:"#865f5b",brightgreen:"#66907d",brightyellow:"#b1a990",brightblue:"#6a8e95",brightmagenta:"#b18a73",brightcyan:"#88b2ac",brightwhite:"#ececec",background:"#2c3941",selection_foreground:"#2c3941",cursor:"#ececec",foreground:"#ececec",selection_background:"#ececec"},BX={black:"#222d3f",color1:"#a82320",green:"#32a548",yellow:"#e58d11",blue:"#3167ac",magenta:"#781aa0",cyan:"#2c9370",white:"#b0b6ba",brightblack:"#212c3c",brightred:"#d4312e",brightgreen:"#2d9440",brightyellow:"#e5be0c",brightblue:"#3c7dd2",brightmagenta:"#8230a7",brightcyan:"#35b387",brightwhite:"#e7eced",background:"#002240",selection_foreground:"#002240",cursor:"#e5be0c",foreground:"#2cc55d",selection_background:"#2cc55d"},YX={black:"#242424",color1:"#d71c15",green:"#5aa513",yellow:"#fdb40c",blue:"#063b8c",magenta:"#e40038",cyan:"#2595e1",white:"#efefef",brightblack:"#4b4b4b",brightred:"#fc1c18",brightgreen:"#6bc219",brightyellow:"#fec80e",brightblue:"#0955ff",brightmagenta:"#fb0050",brightcyan:"#3ea8fc",brightwhite:"#8c00ec",background:"#181818",selection_foreground:"#181818",cursor:"#bbbbbb",foreground:"#efefef",selection_background:"#efefef"},FX={black:"#2b1b1d",color1:"#91002b",green:"#579524",yellow:"#ab311b",blue:"#8c87b0",magenta:"#692f50",cyan:"#e8a866",white:"#68525a",brightblack:"#3d2b2e",brightred:"#c5255d",brightgreen:"#8dff57",brightyellow:"#c8381d",brightblue:"#cfc9ff",brightmagenta:"#fc6cba",brightcyan:"#ffceaf",brightwhite:"#b0949d",background:"#150707",selection_foreground:"#150707",cursor:"#68525a",foreground:"#68525a",selection_background:"#68525a"},UX={black:"#373a41",color1:"#d52753",green:"#23974a",yellow:"#df631c",blue:"#275fe4",magenta:"#823ff1",cyan:"#27618d",white:"#babbc2",brightblack:"#676a77",brightred:"#ff6480",brightgreen:"#3cbc66",brightyellow:"#c5a332",brightblue:"#0099e1",brightmagenta:"#ce33c0",brightcyan:"#6d93bb",brightwhite:"#d3d3d3",background:"#f9f9f9",selection_foreground:"#f9f9f9",cursor:"#f32759",foreground:"#373a41",selection_background:"#373a41"},$X={black:"#000000",color1:"#b87a7a",green:"#7ab87a",yellow:"#b8b87a",blue:"#7a7ab8",magenta:"#b87ab8",cyan:"#7ab8b8",white:"#d9d9d9",brightblack:"#262626",brightred:"#dbbdbd",brightgreen:"#bddbbd",brightyellow:"#dbdbbd",brightblue:"#bdbddb",brightmagenta:"#dbbddb",brightcyan:"#bddbdb",brightwhite:"#ffffff",background:"#0d1926",selection_foreground:"#0d1926",cursor:"#d9e6f2",foreground:"#d9e6f2",selection_background:"#d9e6f2"},GX={black:"#eeeeee",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#353535",brightblack:"#c6c3c3",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#5c5c5c",background:"#eeeeee",selection_foreground:"#eeeeee",cursor:"#353535",foreground:"#353535",selection_background:"#353535"},qX={black:"#000000",color1:"#d00e18",green:"#138034",yellow:"#ffcb3e",blue:"#006bb3",magenta:"#6b2775",cyan:"#384564",white:"#ededed",brightblack:"#5d504a",brightred:"#f07e18",brightgreen:"#b1d130",brightyellow:"#fff120",brightblue:"#4fc2fd",brightmagenta:"#de0071",brightcyan:"#5d504a",brightwhite:"#ffffff",background:"#222225",selection_foreground:"#222225",cursor:"#e0d9b9",foreground:"#ededed",selection_background:"#ededed"},QX={black:"#2d283f",color1:"#ed2261",green:"#1fa91b",yellow:"#8ddc20",blue:"#487df4",magenta:"#8d35c9",cyan:"#3bdeed",white:"#9e9ea0",brightblack:"#59516a",brightred:"#f0729a",brightgreen:"#53aa5e",brightyellow:"#b2dc87",brightblue:"#a9bcec",brightmagenta:"#ad81c2",brightcyan:"#9de3eb",brightwhite:"#a288f7",background:"#171423",selection_foreground:"#171423",cursor:"#a288f7",foreground:"#9f9fa1",selection_background:"#9f9fa1"},HX={black:"#23252b",color1:"#b54036",green:"#5ab977",yellow:"#deb566",blue:"#6a7c93",magenta:"#a4799d",cyan:"#3f94a8",white:"#e6e8ef",brightblack:"#23252b",brightred:"#b54036",brightgreen:"#5ab977",brightyellow:"#deb566",brightblue:"#6a7c93",brightmagenta:"#a4799d",brightcyan:"#3f94a8",brightwhite:"#ebedf2",background:"#1c1e22",selection_foreground:"#1c1e22",cursor:"#f6f7ec",foreground:"#e6e8ef",selection_background:"#e6e8ef"},VX={black:"#23262e",color1:"#f0266f",green:"#8fd46d",yellow:"#ffe66d",blue:"#0321d7",magenta:"#ee5d43",cyan:"#03d6b8",white:"#c74ded",brightblack:"#292e38",brightred:"#f92672",brightgreen:"#8fd46d",brightyellow:"#ffe66d",brightblue:"#03d6b8",brightmagenta:"#ee5d43",brightcyan:"#03d6b8",brightwhite:"#c74ded",background:"#23262e",selection_foreground:"#23262e",cursor:"#ee5d43",foreground:"#ffca28",selection_background:"#ffca28",underline_color:"#596181",url_color:"#596181"},zX={black:"#000000",color1:"#dc322f",green:"#56db3a",yellow:"#ff8400",blue:"#0084d4",magenta:"#b729d9",cyan:"#ccccff",white:"#ffffff",brightblack:"#1b1d21",brightred:"#dc322f",brightgreen:"#56db3a",brightyellow:"#ff8400",brightblue:"#0084d4",brightmagenta:"#b729d9",brightcyan:"#ccccff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#dc322f",foreground:"#ffffff",selection_background:"#ffffff"},WX={black:"#112616",color1:"#7f2b27",green:"#2f7e25",yellow:"#717f24",blue:"#2f6a7f",magenta:"#47587f",cyan:"#327f77",white:"#647d75",brightblack:"#3c4812",brightred:"#e08009",brightgreen:"#18e000",brightyellow:"#bde000",brightblue:"#00aae0",brightmagenta:"#0058e0",brightcyan:"#00e0c4",brightwhite:"#73fa91",background:"#0f1610",selection_foreground:"#0f1610",cursor:"#73fa91",foreground:"#637d75",selection_background:"#637d75"},XX={black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#2009db",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#000000",selection_foreground:"#000000",cursor:"#4d4d4d",foreground:"#f2f2f2",selection_background:"#f2f2f2"},KX={black:"#17384c",color1:"#d15123",green:"#027c9b",yellow:"#fca02f",blue:"#1e4950",magenta:"#68d4f1",cyan:"#50a3b5",white:"#deb88d",brightblack:"#434b53",brightred:"#d48678",brightgreen:"#628d98",brightyellow:"#fdd39f",brightblue:"#1bbcdd",brightmagenta:"#bbe3ee",brightcyan:"#87acb4",brightwhite:"#fee4ce",background:"#09141b",selection_foreground:"#09141b",cursor:"#fca02f",foreground:"#deb88d",selection_background:"#deb88d"},ZX={black:"#0a0520",color1:"#ff796d",green:"#99b481",yellow:"#efdfac",blue:"#66d9ef",magenta:"#e78fcd",cyan:"#ba8cff",white:"#ffba81",brightblack:"#100b23",brightred:"#f99f92",brightgreen:"#b4be8f",brightyellow:"#f2e9bf",brightblue:"#79daed",brightmagenta:"#ba91d4",brightcyan:"#a0a0d6",brightwhite:"#b9aed3",background:"#2a1a4a",selection_foreground:"#2a1a4a",cursor:"#c7c7c7",foreground:"#ece7fa",selection_background:"#ece7fa"},jX={black:"#f0edec",color1:"#a8334c",green:"#4f6c31",yellow:"#944927",blue:"#286486",magenta:"#88507d",cyan:"#3b8992",white:"#2c363c",brightblack:"#cfc1ba",brightred:"#94253e",brightgreen:"#3f5a22",brightyellow:"#803d1c",brightblue:"#1d5573",brightmagenta:"#7b3b70",brightcyan:"#2b747c",brightwhite:"#4f5e68",background:"#f0edec",selection_foreground:"#f0edec",cursor:"#2c363c",foreground:"#2c363c",selection_background:"#2c363c"},JX={black:"#000000",color1:"#ff4242",green:"#74af68",yellow:"#ffad29",blue:"#338f86",magenta:"#9414e6",cyan:"#23d7d7",white:"#e1e1e0",brightblack:"#555555",brightred:"#ff3242",brightgreen:"#74cd68",brightyellow:"#ffb929",brightblue:"#23d7d7",brightmagenta:"#ff37ff",brightcyan:"#00ede1",brightwhite:"#ffffff",background:"#2d3743",selection_foreground:"#2d3743",cursor:"#000000",foreground:"#e1e1e0",selection_background:"#e1e1e0"},eK={black:"#000507",color1:"#d94085",green:"#2ab250",yellow:"#ffd16f",blue:"#883cdc",magenta:"#ececec",cyan:"#c1b8b7",white:"#fff8de",brightblack:"#009cc9",brightred:"#da6bac",brightgreen:"#f4dca5",brightyellow:"#eac066",brightblue:"#308cba",brightmagenta:"#ae636b",brightcyan:"#ff919d",brightwhite:"#e4838d",background:"#1f1726",selection_foreground:"#1f1726",cursor:"#dd00ff",foreground:"#dafaff",selection_background:"#dafaff"},tK={black:"#585f6d",color1:"#d95360",green:"#5ab977",yellow:"#dfb563",blue:"#4d89c4",magenta:"#d55119",cyan:"#44a8b6",white:"#e6e5ff",brightblack:"#585f6d",brightred:"#d95360",brightgreen:"#5ab977",brightyellow:"#dfb563",brightblue:"#4c89c5",brightmagenta:"#d55119",brightcyan:"#44a8b6",brightwhite:"#e6e5ff",background:"#1e2027",selection_foreground:"#1e2027",cursor:"#f6f7ec",foreground:"#9ba2b2",selection_background:"#9ba2b2"},nK={black:"#6e5346",color1:"#e35b00",green:"#5cab96",yellow:"#e3cd7b",blue:"#0f548b",magenta:"#e35b00",cyan:"#06afc7",white:"#f0f1ce",brightblack:"#684c31",brightred:"#ff8a3a",brightgreen:"#aecab8",brightyellow:"#ffc878",brightblue:"#67a0ce",brightmagenta:"#ff8a3a",brightcyan:"#83a7b4",brightwhite:"#fefff1",background:"#0a1e24",selection_foreground:"#0a1e24",cursor:"#708284",foreground:"#ecf0c1",selection_background:"#ecf0c1"},Zi={"Tomorrow Night Burns":{black:"#252525",color1:"#832e31",green:"#a63c40",yellow:"#d3494e",blue:"#fc595f",magenta:"#df9395",cyan:"#ba8586",white:"#f5f5f5",brightblack:"#5d6f71",brightred:"#832e31",brightgreen:"#a63c40",brightyellow:"#d2494e",brightblue:"#fc595f",brightmagenta:"#df9395",brightcyan:"#ba8586",brightwhite:"#f5f5f5",background:"#151515",selection_foreground:"#151515",cursor:"#ff443e",foreground:"#a1b0b8",selection_background:"#a1b0b8"},Floraverse:cV,MaterialOcean:uV,Vaughn:dV,nord:hV,Subliminal:fV,"3024 Day":{black:"#090300",color1:"#db2d20",green:"#01a252",yellow:"#fded02",blue:"#01a0e4",magenta:"#a16a94",cyan:"#b5e4f4",white:"#a5a2a2",brightblack:"#5c5855",brightred:"#e8bbd0",brightgreen:"#3a3432",brightyellow:"#4a4543",brightblue:"#807d7c",brightmagenta:"#d6d5d4",brightcyan:"#cdab53",brightwhite:"#f7f7f7",background:"#f7f7f7",selection_foreground:"#f7f7f7",cursor:"#4a4543",foreground:"#4a4543",selection_background:"#4a4543"},idea:mV,"Solarized Dark Higher Contrast":{black:"#002831",color1:"#d11c24",green:"#6cbe6c",yellow:"#a57706",blue:"#2176c7",magenta:"#c61c6f",cyan:"#259286",white:"#eae3cb",brightblack:"#006488",brightred:"#f5163b",brightgreen:"#51ef84",brightyellow:"#b27e28",brightblue:"#178ec8",brightmagenta:"#e24d8e",brightcyan:"#00b39e",brightwhite:"#fcf4dc",background:"#001e27",selection_foreground:"#001e27",cursor:"#f34b00",foreground:"#9cc2c3",selection_background:"#9cc2c3"},"Doom Peacock":{black:"#1c1f24",color1:"#cb4b16",green:"#26a6a6",yellow:"#bcd42a",blue:"#2a6cc6",magenta:"#a9a1e1",cyan:"#5699af",white:"#ede0ce",brightblack:"#2b2a27",brightred:"#ff5d38",brightgreen:"#98be65",brightyellow:"#e6f972",brightblue:"#51afef",brightmagenta:"#c678dd",brightcyan:"#46d9ff",brightwhite:"#dfdfdf",background:"#2b2a27",selection_foreground:"#2b2a27",cursor:"#9c9c9d",foreground:"#ede0ce",selection_background:"#ede0ce"},UltraDark:pV,BlueDolphin:gV,"catppuccin-frappe":{black:"#51576d",color1:"#e78284",green:"#a6d189",yellow:"#e5c890",blue:"#8caaee",magenta:"#f4b8e4",cyan:"#81c8be",white:"#b5bfe2",brightblack:"#626880",brightred:"#e78284",brightgreen:"#a6d189",brightyellow:"#e5c890",brightblue:"#8caaee",brightmagenta:"#f4b8e4",brightcyan:"#81c8be",brightwhite:"#a5adce",background:"#303446",selection_foreground:"#303446",cursor:"#f2d5cf",foreground:"#c6d0f5",selection_background:"#c6d0f5"},"Belafonte Night":{black:"#20111b",color1:"#be100e",green:"#858162",yellow:"#eaa549",blue:"#426a79",magenta:"#97522c",cyan:"#989a9c",white:"#968c83",brightblack:"#5e5252",brightred:"#be100e",brightgreen:"#858162",brightyellow:"#eaa549",brightblue:"#426a79",brightmagenta:"#97522c",brightcyan:"#989a9c",brightwhite:"#d5ccba",background:"#20111b",selection_foreground:"#20111b",cursor:"#968c83",foreground:"#968c83",selection_background:"#968c83"},Obsidian:_V,Elemental:bV,"Gruvbox Light":{black:"#fbf1c7",color1:"#9d0006",green:"#79740e",yellow:"#b57614",blue:"#076678",magenta:"#8f3f71",cyan:"#427b58",white:"#3c3836",brightblack:"#9d8374",brightred:"#cc241d",brightgreen:"#98971a",brightyellow:"#d79921",brightblue:"#458588",brightmagenta:"#b16186",brightcyan:"#689d69",brightwhite:"#7c6f64",background:"#fbf1c7",selection_foreground:"#fbf1c7",cursor:"#282828",foreground:"#282828",selection_background:"#282828"},Ciapre:SV,"Dracula+":{black:"#21222c",color1:"#ff5555",green:"#50fa7b",yellow:"#ffcb6b",blue:"#82aaff",magenta:"#c792ea",cyan:"#8be9fd",white:"#f8f8f2",brightblack:"#545454",brightred:"#ff6e6e",brightgreen:"#69ff94",brightyellow:"#ffcb6b",brightblue:"#d6acff",brightmagenta:"#ff92df",brightcyan:"#a4ffff",brightwhite:"#f8f8f2",background:"#212121",selection_foreground:"#212121",cursor:"#eceff4",foreground:"#f8f8f2",selection_background:"#f8f8f2"},Fideloper:OV,"Hopscotch.256":{black:"#322931",color1:"#dd464c",green:"#8fc13e",yellow:"#fdcc59",blue:"#1290bf",magenta:"#c85e7c",cyan:"#149b93",white:"#b9b5b8",brightblack:"#797379",brightred:"#dd464c",brightgreen:"#8fc13e",brightyellow:"#fdcc59",brightblue:"#1290bf",brightmagenta:"#c85e7c",brightcyan:"#149b93",brightwhite:"#ffffff",background:"#322931",selection_foreground:"#322931",cursor:"#b9b5b8",foreground:"#b9b5b8",selection_background:"#b9b5b8"},"Duotone Dark":{black:"#1f1d27",color1:"#d9393e",green:"#2dcd73",yellow:"#d9b76e",blue:"#ffc284",magenta:"#de8d40",cyan:"#2488ff",white:"#b7a1ff",brightblack:"#353147",brightred:"#d9393e",brightgreen:"#2dcd73",brightyellow:"#d9b76e",brightblue:"#ffc284",brightmagenta:"#de8d40",brightcyan:"#2488ff",brightwhite:"#eae5ff",background:"#1f1d27",selection_foreground:"#1f1d27",cursor:"#ff9839",foreground:"#b7a1ff",selection_background:"#b7a1ff"},Treehouse:vV,CGA:EV,rebecca:yV,synthwave:TV,Raycast_Dark:CV,PencilDark:RV,IC_Green_PPL:wV,"Dark Pastel":{black:"#000000",color1:"#ff5555",green:"#55ff55",yellow:"#ffff55",blue:"#5555ff",magenta:"#ff55ff",cyan:"#55ffff",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#ffffff",selection_background:"#ffffff"},Harper:AV,C64:IV,Calamity:kV,"The Hulk":{black:"#1b1d1e",color1:"#269d1b",green:"#13ce30",yellow:"#63e457",blue:"#2525f5",magenta:"#641f74",cyan:"#378ca9",white:"#d9d8d1",brightblack:"#505354",brightred:"#8dff2a",brightgreen:"#48ff77",brightyellow:"#3afe16",brightblue:"#506b95",brightmagenta:"#72589d",brightcyan:"#4085a6",brightwhite:"#e5e6e1",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#16b61b",foreground:"#b5b5b5",selection_background:"#b5b5b5"},OneHalfDark:NV,Dracula:DV,IC_Orange_PPL:xV,Spring:MV,Lavandula:LV,Laser:PV,Cobalt2:BV,"iTerm2 Solarized Dark":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#002b36",selection_foreground:"#002b36",cursor:"#839496",foreground:"#839496",selection_background:"#839496"},Breeze:YV,DjangoSmooth:FV,DoomOne:UV,"rose-pine":{black:"#26233a",color1:"#eb6f92",green:"#9ccfd8",yellow:"#f6c177",blue:"#31748f",magenta:"#c4a7e7",cyan:"#ebbcba",white:"#e0def4",brightblack:"#6e6a86",brightred:"#eb6f92",brightgreen:"#9ccfd8",brightyellow:"#f6c177",brightblue:"#31748f",brightmagenta:"#c4a7e7",brightcyan:"#ebbcba",brightwhite:"#e0def4",background:"#191724",selection_foreground:"#191724",cursor:"#e0def4",foreground:"#e0def4",selection_background:"#e0def4"},Chalk:$V,Andromeda:GV,neobones_light:qV,WarmNeon:QV,AtomOneLight:HV,PencilLight:VV,Hopscotch:zV,Urple:WV,FrontEndDelight:XV,Ubuntu:KV,"Solarized Darcula":{black:"#25292a",color1:"#f24840",green:"#629655",yellow:"#b68800",blue:"#2075c7",magenta:"#797fd4",cyan:"#15968d",white:"#d2d8d9",brightblack:"#25292a",brightred:"#f24840",brightgreen:"#629655",brightyellow:"#b68800",brightblue:"#2075c7",brightmagenta:"#797fd4",brightcyan:"#15968d",brightwhite:"#d2d8d9",background:"#3d3f41",selection_foreground:"#3d3f41",cursor:"#708284",foreground:"#d2d8d9",selection_background:"#d2d8d9"},"Oceanic-Next":{black:"#121c21",color1:"#e44754",green:"#89bd82",yellow:"#f7bd51",blue:"#5486c0",magenta:"#b77eb8",cyan:"#50a5a4",white:"#ffffff",brightblack:"#52606b",brightred:"#e44754",brightgreen:"#89bd82",brightyellow:"#f7bd51",brightblue:"#5486c0",brightmagenta:"#b77eb8",brightcyan:"#50a5a4",brightwhite:"#ffffff",background:"#121b21",selection_foreground:"#121b21",cursor:"#b3b8c3",foreground:"#b3b8c3",selection_background:"#b3b8c3"},primary:ZV,MaterialDark:jV,Relaxed:JV,Galizur:ez,"Tomorrow Night Blue":{black:"#000000",color1:"#ff9da4",green:"#d1f1a9",yellow:"#ffeead",blue:"#bbdaff",magenta:"#ebbbff",cyan:"#99ffff",white:"#ffffff",brightblack:"#000000",brightred:"#ff9da4",brightgreen:"#d1f1a9",brightyellow:"#ffeead",brightblue:"#bbdaff",brightmagenta:"#ebbbff",brightcyan:"#99ffff",brightwhite:"#ffffff",background:"#002451",selection_foreground:"#002451",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},HaX0R_GR33N:tz,"Dark+":{black:"#000000",color1:"#cd3131",green:"#0dbc79",yellow:"#e5e510",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#11a8cd",white:"#e5e5e5",brightblack:"#666666",brightred:"#f14c4c",brightgreen:"#23d18b",brightyellow:"#f5f543",brightblue:"#3b8eea",brightmagenta:"#d670d6",brightcyan:"#29b8db",brightwhite:"#e5e5e5",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#ffffff",foreground:"#cccccc",selection_background:"#cccccc"},Neopolitan:nz,"Red Alert":{black:"#000000",color1:"#d62e4e",green:"#71be6b",yellow:"#beb86b",blue:"#489bee",magenta:"#e979d7",cyan:"#6bbeb8",white:"#d6d6d6",brightblack:"#262626",brightred:"#e02553",brightgreen:"#aff08c",brightyellow:"#dfddb7",brightblue:"#65aaf1",brightmagenta:"#ddb7df",brightcyan:"#b7dfdd",brightwhite:"#ffffff",background:"#762423",selection_foreground:"#762423",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},"rose-pine-dawn":{black:"#f2e9e1",color1:"#b4637a",green:"#56949f",yellow:"#ea9d34",blue:"#286983",magenta:"#907aa9",cyan:"#d7827e",white:"#575279",brightblack:"#9893a5",brightred:"#b4637a",brightgreen:"#56949f",brightyellow:"#ea9d34",brightblue:"#286983",brightmagenta:"#907aa9",brightcyan:"#d7827e",brightwhite:"#575279",background:"#faf4ed",selection_foreground:"#faf4ed",cursor:"#575279",foreground:"#575279",selection_background:"#575279"},PaleNightHC:rz,Neon:az,"Rouge 2":{black:"#5d5d6b",color1:"#c6797e",green:"#969e92",yellow:"#dbcdab",blue:"#6e94b9",magenta:"#4c4e78",cyan:"#8ab6c1",white:"#e8e8ea",brightblack:"#616274",brightred:"#c6797e",brightgreen:"#e6dcc4",brightyellow:"#e6dcc4",brightblue:"#98b3cd",brightmagenta:"#8283a1",brightcyan:"#abcbd3",brightwhite:"#e8e8ea",background:"#17182b",selection_foreground:"#17182b",cursor:"#969e92",foreground:"#a2a3aa",selection_background:"#a2a3aa"},LiquidCarbon:iz,niji:oz,"Tango Half Adapted":{black:"#000000",color1:"#ff0000",green:"#4cc300",yellow:"#e2c000",blue:"#008ef6",magenta:"#a96cb3",cyan:"#00bdc3",white:"#e0e5db",brightblack:"#797d76",brightred:"#ff0013",brightgreen:"#8af600",brightyellow:"#ffec00",brightblue:"#76bfff",brightmagenta:"#d898d1",brightcyan:"#00f6fa",brightwhite:"#f4f4f2",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Django:sz,zenburned:lz,LiquidCarbonTransparentInverse:cz,"Builtin Tango Light":{black:"#000000",color1:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#8ae234",brightyellow:"#fce94f",brightblue:"#729fcf",brightmagenta:"#ad7fa8",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Rapture:uz,Borland:dz,Guezwhoz:hz,Argonaut:fz,"Monokai Remastered":{black:"#1a1a1a",color1:"#f4005f",green:"#98e024",yellow:"#fd971f",blue:"#9d65ff",magenta:"#f4005f",cyan:"#58d1eb",white:"#c4c5b5",brightblack:"#625e4c",brightred:"#f4005f",brightgreen:"#98e024",brightyellow:"#e0d561",brightblue:"#9d65ff",brightmagenta:"#f4005f",brightcyan:"#58d1eb",brightwhite:"#f6f6ef",background:"#0c0c0c",selection_foreground:"#0c0c0c",cursor:"#fc971f",foreground:"#d9d9d9",selection_background:"#d9d9d9"},BlueBerryPie:mz,"GitHub Dark":{black:"#000000",color1:"#f78166",green:"#56d364",yellow:"#e3b341",blue:"#6ca4f8",magenta:"#db61a2",cyan:"#2b7489",white:"#ffffff",brightblack:"#4d4d4d",brightred:"#f78166",brightgreen:"#56d364",brightyellow:"#e3b341",brightblue:"#6ca4f8",brightmagenta:"#db61a2",brightcyan:"#2b7489",brightwhite:"#ffffff",background:"#101216",selection_foreground:"#101216",cursor:"#c9d1d9",foreground:"#8b949e",selection_background:"#8b949e"},VibrantInk:pz,"catppuccin-macchiato":{black:"#494d64",color1:"#ed8796",green:"#a6da95",yellow:"#eed49f",blue:"#8aadf4",magenta:"#f5bde6",cyan:"#8bd5ca",white:"#b8c0e0",brightblack:"#5b6078",brightred:"#ed8796",brightgreen:"#a6da95",brightyellow:"#eed49f",brightblue:"#8aadf4",brightmagenta:"#f5bde6",brightcyan:"#8bd5ca",brightwhite:"#a5adcb",background:"#24273a",selection_foreground:"#24273a",cursor:"#f4dbd6",foreground:"#cad3f5",selection_background:"#cad3f5"},Ocean:gz,DimmedMonokai:_z,"Piatto Light":{black:"#414141",color1:"#b23771",green:"#66781e",yellow:"#cd6f34",blue:"#3c5ea8",magenta:"#a454b2",cyan:"#66781e",white:"#ffffff",brightblack:"#3f3f3f",brightred:"#db3365",brightgreen:"#829429",brightyellow:"#cd6f34",brightblue:"#3c5ea8",brightmagenta:"#a454b2",brightcyan:"#829429",brightwhite:"#f2f2f2",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#5e77c8",foreground:"#414141",selection_background:"#414141"},"Builtin Dark":{black:"#000000",color1:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Jellybeans:bz,"iceberg-dark":{black:"#1e2132",color1:"#e27878",green:"#b4be82",yellow:"#e2a478",blue:"#84a0c6",magenta:"#a093c7",cyan:"#89b8c2",white:"#c6c8d1",brightblack:"#6b7089",brightred:"#e98989",brightgreen:"#c0ca8e",brightyellow:"#e9b189",brightblue:"#91acd1",brightmagenta:"#ada0d3",brightcyan:"#95c4ce",brightwhite:"#d2d4de",background:"#161821",selection_foreground:"#161821",cursor:"#c6c8d1",foreground:"#c6c8d1",selection_background:"#c6c8d1"},Rippedcasts:Sz,Sundried:Oz,Glacier:vz,neobones_dark:Ez,FishTank:yz,SoftServer:Tz,jubi:Cz,"Builtin Solarized Dark":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#002b36",selection_foreground:"#002b36",cursor:"#839496",foreground:"#839496",selection_background:"#839496"},Raycast_Light:Rz,Galaxy:wz,"rose-pine-moon":{black:"#393552",color1:"#eb6f92",green:"#9ccfd8",yellow:"#f6c177",blue:"#3e8fb0",magenta:"#c4a7e7",cyan:"#ea9a97",white:"#e0def4",brightblack:"#6e6a86",brightred:"#eb6f92",brightgreen:"#9ccfd8",brightyellow:"#f6c177",brightblue:"#3e8fb0",brightmagenta:"#c4a7e7",brightcyan:"#ea9a97",brightwhite:"#e0def4",background:"#232136",selection_foreground:"#232136",cursor:"#e0def4",foreground:"#e0def4",selection_background:"#e0def4"},seoulbones_dark:Az,BlulocoDark:Iz,"Overnight Slumber":{black:"#0a1222",color1:"#ffa7c4",green:"#85cc95",yellow:"#ffcb8b",blue:"#8dabe1",magenta:"#c792eb",cyan:"#78ccf0",white:"#ffffff",brightblack:"#575656",brightred:"#ffa7c4",brightgreen:"#85cc95",brightyellow:"#ffcb8b",brightblue:"#8dabe1",brightmagenta:"#c792eb",brightcyan:"#ffa7c4",brightwhite:"#ffffff",background:"#0e1729",selection_foreground:"#0e1729",cursor:"#ffa7c4",foreground:"#ced2d6",selection_background:"#ced2d6"},"Tinacious Design (Dark)":{black:"#1d1d26",color1:"#ff3399",green:"#00d364",yellow:"#ffcc66",blue:"#00cbff",magenta:"#cc66ff",cyan:"#00ceca",white:"#cbcbf0",brightblack:"#636667",brightred:"#ff2f92",brightgreen:"#00d364",brightyellow:"#ffd479",brightblue:"#00cbff",brightmagenta:"#d783ff",brightcyan:"#00d5d4",brightwhite:"#d5d6f3",background:"#1d1d26",selection_foreground:"#1d1d26",cursor:"#cbcbf0",foreground:"#cbcbf0",selection_background:"#cbcbf0"},"tokyonight-day":{black:"#e9e9ed",color1:"#f52a65",green:"#587539",yellow:"#8c6c3e",blue:"#2e7de9",magenta:"#9854f1",cyan:"#007197",white:"#6172b0",brightblack:"#a1a6c5",brightred:"#f52a65",brightgreen:"#587539",brightyellow:"#8c6c3e",brightblue:"#2e7de9",brightmagenta:"#9854f1",brightcyan:"#007197",brightwhite:"#3760bf",background:"#e1e2e7",selection_foreground:"#e1e2e7",cursor:"#3760bf",foreground:"#3760bf",selection_background:"#3760bf"},UnderTheSea:kz,"Man Page":{black:"#000000",color1:"#cc0000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#cccccc",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#fef49c",selection_foreground:"#fef49c",cursor:"#7f7f7f",foreground:"#000000",selection_background:"#000000"},GruvboxDark:Nz,Grass:Dz,coffee_theme:xz,"catppuccin-mocha":{black:"#45475a",color1:"#f38ba8",green:"#a6e3a1",yellow:"#f9e2af",blue:"#89b4fa",magenta:"#f5c2e7",cyan:"#94e2d5",white:"#bac2de",brightblack:"#585b70",brightred:"#f38ba8",brightgreen:"#a6e3a1",brightyellow:"#f9e2af",brightblue:"#89b4fa",brightmagenta:"#f5c2e7",brightcyan:"#94e2d5",brightwhite:"#a6adc8",background:"#1e1e2e",selection_foreground:"#1e1e2e",cursor:"#f5e0dc",foreground:"#cdd6f4",selection_background:"#cdd6f4"},Hardcore:Mz,"Pro Light":{black:"#000000",color1:"#e5492b",green:"#50d148",yellow:"#c6c440",blue:"#3b75ff",magenta:"#ed66e8",cyan:"#4ed2de",white:"#dcdcdc",brightblack:"#9f9f9f",brightred:"#ff6640",brightgreen:"#61ef57",brightyellow:"#f2f156",brightblue:"#0082ff",brightmagenta:"#ff7eff",brightcyan:"#61f7f8",brightwhite:"#f2f2f2",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#4d4d4d",foreground:"#191919",selection_background:"#191919"},BirdsOfParadise:Lz,Pnevma:Pz,ToyChest:Bz,cyberpunk:Yz,"Blue Matrix":{black:"#101116",color1:"#ff5680",green:"#00ff9c",yellow:"#fffc58",blue:"#00b0ff",magenta:"#d57bff",cyan:"#76c1ff",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#d682ec",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#101116",selection_foreground:"#101116",cursor:"#76ff9f",foreground:"#00a2ff",selection_background:"#00a2ff"},"NightLion v2":{black:"#4c4c4c",color1:"#bb0000",green:"#04f623",yellow:"#f3f167",blue:"#64d0f0",magenta:"#ce6fdb",cyan:"#00dadf",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#7df71d",brightyellow:"#ffff55",brightblue:"#62cbe8",brightmagenta:"#ff9bf5",brightcyan:"#00ccd8",brightwhite:"#ffffff",background:"#171717",selection_foreground:"#171717",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},kanagawabones:Fz,"Later This Evening":{black:"#2b2b2b",color1:"#d45a60",green:"#afba67",yellow:"#e5d289",blue:"#a0bad6",magenta:"#c092d6",cyan:"#91bfb7",white:"#3c3d3d",brightblack:"#454747",brightred:"#d3232f",brightgreen:"#aabb39",brightyellow:"#e5be39",brightblue:"#6699d6",brightmagenta:"#ab53d6",brightcyan:"#5fc0ae",brightwhite:"#c1c2c2",background:"#222222",selection_foreground:"#222222",cursor:"#424242",foreground:"#959595",selection_background:"#959595"},GruvboxDarkHard:Uz,Abernathy:$z,OceanicMaterial:Gz,Medallion:qz,Square:Qz,Retro:Hz,Pandora:Vz,"Cobalt Neon":{black:"#142631",color1:"#ff2320",green:"#3ba5ff",yellow:"#e9e75c",blue:"#8ff586",magenta:"#781aa0",cyan:"#8ff586",white:"#ba46b2",brightblack:"#fff688",brightred:"#d4312e",brightgreen:"#8ff586",brightyellow:"#e9f06d",brightblue:"#3c7dd2",brightmagenta:"#8230a7",brightcyan:"#6cbc67",brightwhite:"#8ff586",background:"#142838",selection_foreground:"#142838",cursor:"#c4206f",foreground:"#8ff586",selection_background:"#8ff586"},"nord-light":{black:"#3b4252",color1:"#bf616a",green:"#a3be8c",yellow:"#ebcb8b",blue:"#81a1c1",magenta:"#b48ead",cyan:"#88c0d0",white:"#d8dee9",brightblack:"#4c566a",brightred:"#bf616a",brightgreen:"#a3be8c",brightyellow:"#ebcb8b",brightblue:"#81a1c1",brightmagenta:"#b48ead",brightcyan:"#8fbcbb",brightwhite:"#eceff4",background:"#e5e9f0",selection_foreground:"#e5e9f0",cursor:"#88c0d0",foreground:"#414858",selection_background:"#414858"},Whimsy:zz,zenbones_dark:Wz,Mathias:Xz,zenwritten_dark:Kz,Alabaster:Zz,ayu:jz,DjangoRebornAgain:Jz,Sakura:eW,MaterialDesignColors:tW,Seti:nW,"Banana Blueberry":{black:"#17141f",color1:"#ff6b7f",green:"#00bd9c",yellow:"#e6c62f",blue:"#22e8df",magenta:"#dc396a",cyan:"#56b6c2",white:"#f1f1f1",brightblack:"#495162",brightred:"#fe9ea1",brightgreen:"#98c379",brightyellow:"#f9e46b",brightblue:"#91fff4",brightmagenta:"#da70d6",brightcyan:"#bcf3ff",brightwhite:"#ffffff",background:"#191323",selection_foreground:"#191323",cursor:"#e07d13",foreground:"#cccccc",selection_background:"#cccccc"},"SpaceGray Eighties":{black:"#15171c",color1:"#ec5f67",green:"#81a764",yellow:"#fec254",blue:"#5486c0",magenta:"#bf83c1",cyan:"#57c2c1",white:"#efece7",brightblack:"#555555",brightred:"#ff6973",brightgreen:"#93d493",brightyellow:"#ffd256",brightblue:"#4d84d1",brightmagenta:"#ff55ff",brightcyan:"#83e9e4",brightwhite:"#ffffff",background:"#222222",selection_foreground:"#222222",cursor:"#bbbbbb",foreground:"#bdbaae",selection_background:"#bdbaae"},Chalkboard:rW,"flexoki-dark":{black:"#1c1b1a",color1:"#d14d41",green:"#879a39",yellow:"#d0a215",blue:"#4385be",magenta:"#ce5d97",cyan:"#3aa99f",white:"#b7b5ac",brightblack:"#575653",brightred:"#d14d41",brightgreen:"#879a39",brightyellow:"#d0a215",brightblue:"#4385be",brightmagenta:"#ce5d97",brightcyan:"#3aa99f",brightwhite:"#cecdc3",background:"#1c1b1a",selection_foreground:"#1c1b1a",cursor:"#cecdc3",foreground:"#cecdc3",selection_background:"#cecdc3"},ChallengerDeep:aW,"iTerm2 Smoooooth":{black:"#14191e",color1:"#b43c2a",green:"#00c200",yellow:"#c7c400",blue:"#2744c7",magenta:"#c040be",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#dd7975",brightgreen:"#58e790",brightyellow:"#ece100",brightblue:"#a7abf2",brightmagenta:"#e17ee1",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#15191f",selection_foreground:"#15191f",cursor:"#ffffff",foreground:"#dcdcdc",selection_background:"#dcdcdc"},OneHalfLight:iW,Earthsong:oW,FirefoxDev:sW,Mirage:lW,Broadcast:cW,"Grey-green":{black:"#000000",color1:"#fe1414",green:"#74ff00",yellow:"#f1ff01",blue:"#00deff",magenta:"#ff00f0",cyan:"#00ffbc",white:"#ffffff",brightblack:"#666666",brightred:"#ff3939",brightgreen:"#00ff44",brightyellow:"#ffd100",brightblue:"#00afff",brightmagenta:"#ff008a",brightcyan:"#00ffd3",brightwhite:"#f5ecec",background:"#002a1a",selection_foreground:"#002a1a",cursor:"#fff400",foreground:"#ffffff",selection_background:"#ffffff"},"Night Owlish Light":{black:"#011627",color1:"#d3423e",green:"#2aa298",yellow:"#daaa01",blue:"#4876d6",magenta:"#403f53",cyan:"#08916a",white:"#7a8181",brightblack:"#7a8181",brightred:"#f76e6e",brightgreen:"#49d0c5",brightyellow:"#dac26b",brightblue:"#5ca7e4",brightmagenta:"#697098",brightcyan:"#00c990",brightwhite:"#989fb1",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#403f53",foreground:"#403f53",selection_background:"#403f53"},"Hipster Green":{black:"#000000",color1:"#b6214a",green:"#00a600",yellow:"#bfbf00",blue:"#246eb2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#86a93e",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#100b05",selection_foreground:"#100b05",cursor:"#23ff18",foreground:"#84c138",selection_background:"#84c138"},Royal:uW,MaterialDarker:dW,"midnight-in-mojave":{black:"#1e1e1e",color1:"#ff453a",green:"#32d74b",yellow:"#ffd60a",blue:"#0a84ff",magenta:"#bf5af2",cyan:"#5ac8fa",white:"#ffffff",brightblack:"#1e1e1e",brightred:"#ff453a",brightgreen:"#32d74b",brightyellow:"#ffd60a",brightblue:"#0a84ff",brightmagenta:"#bf5af2",brightcyan:"#5ac8fa",brightwhite:"#ffffff",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#32d74b",foreground:"#ffffff",selection_background:"#ffffff"},idleToes:hW,"Builtin Pastel Dark":{black:"#4f4f4f",color1:"#ff6c60",green:"#a8ff60",yellow:"#ffffb6",blue:"#96cbfe",magenta:"#ff73fd",cyan:"#c6c5fe",white:"#eeeeee",brightblack:"#7c7c7c",brightred:"#ffb6b0",brightgreen:"#ceffac",brightyellow:"#ffffcc",brightblue:"#b5dcff",brightmagenta:"#ff9cfe",brightcyan:"#dfdffe",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#ffa560",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Homebrew:fW,AtelierSulphurpool:mW,Konsolas:pW,Slate:gW,"Scarlet Protocol":{black:"#101116",color1:"#ff0051",green:"#00dc84",yellow:"#faf945",blue:"#0271b6",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#bd35ec",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#1c153d",selection_foreground:"#1c153d",cursor:"#76ff9f",foreground:"#e41951",selection_background:"#e41951"},"Monokai Soda":{black:"#1a1a1a",color1:"#f4005f",green:"#98e024",yellow:"#fa8419",blue:"#9d65ff",magenta:"#f4005f",cyan:"#58d1eb",white:"#c4c5b5",brightblack:"#625e4c",brightred:"#f4005f",brightgreen:"#98e024",brightyellow:"#e0d561",brightblue:"#9d65ff",brightmagenta:"#f4005f",brightcyan:"#58d1eb",brightwhite:"#f6f6ef",background:"#1a1a1a",selection_foreground:"#1a1a1a",cursor:"#f6f7ec",foreground:"#c4c5b5",selection_background:"#c4c5b5"},duckbones:_W,"Paraiso Dark":{black:"#2f1e2e",color1:"#ef6155",green:"#48b685",yellow:"#fec418",blue:"#06b6ef",magenta:"#815ba4",cyan:"#5bc4bf",white:"#a39e9b",brightblack:"#776e71",brightred:"#ef6155",brightgreen:"#48b685",brightyellow:"#fec418",brightblue:"#06b6ef",brightmagenta:"#815ba4",brightcyan:"#5bc4bf",brightwhite:"#e7e9db",background:"#2f1e2e",selection_foreground:"#2f1e2e",cursor:"#a39e9b",foreground:"#a39e9b",selection_background:"#a39e9b"},Kibble:bW,"Seafoam Pastel":{black:"#757575",color1:"#825d4d",green:"#728c62",yellow:"#ada16d",blue:"#4d7b82",magenta:"#8a7267",cyan:"#729494",white:"#e0e0e0",brightblack:"#8a8a8a",brightred:"#cf937a",brightgreen:"#98d9aa",brightyellow:"#fae79d",brightblue:"#7ac3cf",brightmagenta:"#d6b2a1",brightcyan:"#ade0e0",brightwhite:"#e0e0e0",background:"#243435",selection_foreground:"#243435",cursor:"#57647a",foreground:"#d4e7d4",selection_background:"#d4e7d4"},Cyberdyne:SW,Atom:OW,Hybrid:vW,"Tomorrow Night Eighties":{black:"#000000",color1:"#f2777a",green:"#99cc99",yellow:"#ffcc66",blue:"#6699cc",magenta:"#cc99cc",cyan:"#66cccc",white:"#ffffff",brightblack:"#000000",brightred:"#f2777a",brightgreen:"#99cc99",brightyellow:"#ffcc66",brightblue:"#6699cc",brightmagenta:"#cc99cc",brightcyan:"#66cccc",brightwhite:"#ffffff",background:"#2d2d2d",selection_foreground:"#2d2d2d",cursor:"#cccccc",foreground:"#cccccc",selection_background:"#cccccc"},"Builtin Solarized Light":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#fdf6e3",selection_foreground:"#fdf6e3",cursor:"#657b83",foreground:"#657b83",selection_background:"#657b83"},"Thayer Bright":{black:"#1b1d1e",color1:"#f92672",green:"#4df840",yellow:"#f4fd22",blue:"#2757d6",magenta:"#8c54fe",cyan:"#38c8b5",white:"#ccccc6",brightblack:"#505354",brightred:"#ff5995",brightgreen:"#b6e354",brightyellow:"#feed6c",brightblue:"#3f78ff",brightmagenta:"#9e6ffe",brightcyan:"#23cfd5",brightwhite:"#f8f8f2",background:"#1b1d1e",selection_foreground:"#1b1d1e",cursor:"#fc971f",foreground:"#f8f8f8",selection_background:"#f8f8f8"},"JetBrains Darcula":{black:"#000000",color1:"#fa5355",green:"#126e00",yellow:"#c2c300",blue:"#4581eb",magenta:"#fa54ff",cyan:"#33c2c1",white:"#adadad",brightblack:"#555555",brightred:"#fb7172",brightgreen:"#67ff4f",brightyellow:"#ffff00",brightblue:"#6d9df1",brightmagenta:"#fb82ff",brightcyan:"#60d3d1",brightwhite:"#eeeeee",background:"#202020",selection_foreground:"#202020",cursor:"#ffffff",foreground:"#adadad",selection_background:"#adadad"},Spiderman:EW,HaX0R_R3D:yW,Desert:TW,"NightLion v1":{black:"#4c4c4c",color1:"#bb0000",green:"#5fde8f",yellow:"#f3f167",blue:"#276bd8",magenta:"#bb00bb",cyan:"#00dadf",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#bbbbbb",foreground:"#bbbbbb",selection_background:"#bbbbbb"},Smyck:CW,"Popping and Locking":{black:"#1d2021",color1:"#cc241d",green:"#98971a",yellow:"#d79921",blue:"#458588",magenta:"#b16286",cyan:"#689d6a",white:"#a89984",brightblack:"#928374",brightred:"#f42c3e",brightgreen:"#b8bb26",brightyellow:"#fabd2f",brightblue:"#99c6ca",brightmagenta:"#d3869b",brightcyan:"#7ec16e",brightwhite:"#ebdbb2",background:"#181921",selection_foreground:"#181921",cursor:"#c7c7c7",foreground:"#ebdbb2",selection_background:"#ebdbb2",underline_color:"#596181",url_color:"#596181"},Novel:RW,"Purple Rain":{black:"#000000",color1:"#ff260e",green:"#9be205",yellow:"#ffc400",blue:"#00a2fa",magenta:"#815bb5",cyan:"#00deef",white:"#ffffff",brightblack:"#565656",brightred:"#ff4250",brightgreen:"#b8e36e",brightyellow:"#ffd852",brightblue:"#00a6ff",brightmagenta:"#ac7bf0",brightcyan:"#74fdf3",brightwhite:"#ffffff",background:"#21084a",selection_foreground:"#21084a",cursor:"#ff271d",foreground:"#fffbf6",selection_background:"#fffbf6"},Twilight:wW,"catppuccin-latte":{black:"#5c5f77",color1:"#d20f39",green:"#40a02b",yellow:"#df8e1d",blue:"#1e66f5",magenta:"#ea76cb",cyan:"#179299",white:"#acb0be",brightblack:"#6c6f85",brightred:"#d20f39",brightgreen:"#40a02b",brightyellow:"#df8e1d",brightblue:"#1e66f5",brightmagenta:"#ea76cb",brightcyan:"#179299",brightwhite:"#bcc0cc",background:"#eff1f5",selection_foreground:"#eff1f5",cursor:"#dc8a78",foreground:"#4c4f69",selection_background:"#4c4f69"},Peppermint:AW,"tokyonight-storm":{black:"#1d202f",color1:"#f7768e",green:"#9ece6a",yellow:"#e0af68",blue:"#7aa2f7",magenta:"#bb9af7",cyan:"#7dcfff",white:"#a9b1d6",brightblack:"#414868",brightred:"#f7768e",brightgreen:"#9ece6a",brightyellow:"#e0af68",brightblue:"#7aa2f7",brightmagenta:"#bb9af7",brightcyan:"#7dcfff",brightwhite:"#c0caf5",background:"#24283b",selection_foreground:"#24283b",cursor:"#c0caf5",foreground:"#c0caf5",selection_background:"#c0caf5"},Mariana:IW,PaulMillr:kW,"Violet Light":{black:"#56595c",color1:"#c94c22",green:"#85981c",yellow:"#b4881d",blue:"#2e8bce",magenta:"#d13a82",cyan:"#32a198",white:"#d3d0c9",brightblack:"#45484b",brightred:"#bd3613",brightgreen:"#738a04",brightyellow:"#a57705",brightblue:"#2176c7",brightmagenta:"#c61c6f",brightcyan:"#259286",brightwhite:"#c9c6bd",background:"#fcf4dc",selection_foreground:"#fcf4dc",cursor:"#536870",foreground:"#536870",selection_background:"#536870"},Hacktober:NW,Github:DW,Material:xW,"Bright Lights":{black:"#191919",color1:"#ff355b",green:"#b7e876",yellow:"#ffc251",blue:"#76d4ff",magenta:"#ba76e7",cyan:"#6cbfb5",white:"#c2c8d7",brightblack:"#191919",brightred:"#ff355b",brightgreen:"#b7e876",brightyellow:"#ffc251",brightblue:"#76d5ff",brightmagenta:"#ba76e7",brightcyan:"#6cbfb5",brightwhite:"#c2c8d7",background:"#191919",selection_foreground:"#191919",cursor:"#f34b00",foreground:"#b3c9d7",selection_background:"#b3c9d7"},Unikitty:MW,UltraViolent:LW,"Solarized Dark - Patched":{black:"#002831",color1:"#d11c24",green:"#738a05",yellow:"#a57706",blue:"#2176c7",magenta:"#c61c6f",cyan:"#259286",white:"#eae3cb",brightblack:"#475b62",brightred:"#bd3613",brightgreen:"#475b62",brightyellow:"#536870",brightblue:"#708284",brightmagenta:"#5956ba",brightcyan:"#819090",brightwhite:"#fcf4dc",background:"#001e27",selection_foreground:"#001e27",cursor:"#708284",foreground:"#708284",selection_background:"#708284"},wilmersdorf:PW,"Red Sands":{black:"#000000",color1:"#ff3f00",green:"#00bb00",yellow:"#e7b000",blue:"#0072ff",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#bb0000",brightgreen:"#00bb00",brightyellow:"#e7b000",brightblue:"#0072ae",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#7a251e",selection_foreground:"#7a251e",cursor:"#ffffff",foreground:"#d7c9a7",selection_background:"#d7c9a7"},"Lab Fox":{black:"#2e2e2e",color1:"#fc6d26",green:"#3eb383",yellow:"#fca121",blue:"#db3b21",magenta:"#380d75",cyan:"#6e49cb",white:"#ffffff",brightblack:"#464646",brightred:"#ff6517",brightgreen:"#53eaa8",brightyellow:"#fca013",brightblue:"#db501f",brightmagenta:"#441090",brightcyan:"#7d53e7",brightwhite:"#ffffff",background:"#2e2e2e",selection_foreground:"#2e2e2e",cursor:"#7f7f7f",foreground:"#ffffff",selection_background:"#ffffff"},vimbones:BW,"Ayu Mirage":{black:"#191e2a",color1:"#ed8274",green:"#a6cc70",yellow:"#fad07b",blue:"#6dcbfa",magenta:"#cfbafa",cyan:"#90e1c6",white:"#c7c7c7",brightblack:"#686868",brightred:"#f28779",brightgreen:"#bae67e",brightyellow:"#ffd580",brightblue:"#73d0ff",brightmagenta:"#d4bfff",brightcyan:"#95e6cb",brightwhite:"#ffffff",background:"#1f2430",selection_foreground:"#1f2430",cursor:"#ffcc66",foreground:"#cbccc6",selection_background:"#cbccc6"},ayu_light:YW,arcoiris:FW,Flatland:UW,Molokai:$W,N0tch2k:GW,seoulbones_light:qW,"flexoki-light":{black:"#100f0f",color1:"#af3029",green:"#66800b",yellow:"#ad8301",blue:"#205ea6",magenta:"#a02f6f",cyan:"#24837b",white:"#f2f0e5",brightblack:"#575653",brightred:"#d14d41",brightgreen:"#879a39",brightyellow:"#d0a215",brightblue:"#4385be",brightmagenta:"#ce5d97",brightcyan:"#3aa99f",brightwhite:"#fffcf0",background:"#fffcf0",selection_foreground:"#fffcf0",cursor:"#100f0f",foreground:"#100f0f",selection_background:"#100f0f"},Espresso:QW,Darkside:HW,"Tango Adapted":{black:"#000000",color1:"#ff0000",green:"#59d600",yellow:"#f0cb00",blue:"#00a2ff",magenta:"#c17ecc",cyan:"#00d0d6",white:"#e6ebe1",brightblack:"#8f928b",brightred:"#ff0013",brightgreen:"#93ff00",brightyellow:"#fff121",brightblue:"#88c9ff",brightmagenta:"#e9a7e1",brightcyan:"#00feff",brightwhite:"#f6f6f4",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},CLRS:VW,Batman:zW,ForestBlue:WW,SynthwaveAlpha:XW,"Operator Mono Dark":{black:"#5a5a5a",color1:"#ca372d",green:"#4d7b3a",yellow:"#d4d697",blue:"#4387cf",magenta:"#b86cb4",cyan:"#72d5c6",white:"#ced4cd",brightblack:"#9a9b99",brightred:"#c37d62",brightgreen:"#83d0a2",brightyellow:"#fdfdc5",brightblue:"#89d3f6",brightmagenta:"#ff2c7a",brightcyan:"#82eada",brightwhite:"#fdfdf6",background:"#191919",selection_foreground:"#191919",cursor:"#fcdc08",foreground:"#c3cac2",selection_background:"#c3cac2"},"Espresso Libre":{black:"#000000",color1:"#cc0000",green:"#1a921c",yellow:"#f0e53a",blue:"#0066ff",magenta:"#c5656b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#9aff87",brightyellow:"#fffb5c",brightblue:"#43a8ed",brightmagenta:"#ff818a",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#2a211c",selection_foreground:"#2a211c",cursor:"#ffffff",foreground:"#b8a898",selection_background:"#b8a898"},"Belafonte Day":{black:"#20111b",color1:"#be100e",green:"#858162",yellow:"#eaa549",blue:"#426a79",magenta:"#97522c",cyan:"#989a9c",white:"#968c83",brightblack:"#5e5252",brightred:"#be100e",brightgreen:"#858162",brightyellow:"#eaa549",brightblue:"#426a79",brightmagenta:"#97522c",brightcyan:"#989a9c",brightwhite:"#d5ccba",background:"#d5ccba",selection_foreground:"#d5ccba",cursor:"#45373c",foreground:"#45373c",selection_background:"#45373c"},"Terminal Basic":{black:"#000000",color1:"#990000",green:"#00a600",yellow:"#999900",blue:"#0000b2",magenta:"#b200b2",cyan:"#00a6b2",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#00d900",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#7f7f7f",foreground:"#000000",selection_background:"#000000"},Chester:KW,Ollie:ZW,"Apple Classic":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#2c2b2b",selection_foreground:"#2c2b2b",cursor:"#c7c7c7",foreground:"#d5a200",selection_background:"#d5a200"},LiquidCarbonTransparent:jW,Shaman:JW,"Violet Dark":{black:"#56595c",color1:"#c94c22",green:"#85981c",yellow:"#b4881d",blue:"#2e8bce",magenta:"#d13a82",cyan:"#32a198",white:"#c9c6bd",brightblack:"#45484b",brightred:"#bd3613",brightgreen:"#738a04",brightyellow:"#a57705",brightblue:"#2176c7",brightmagenta:"#c61c6f",brightcyan:"#259286",brightwhite:"#c9c6bd",background:"#1c1d1f",selection_foreground:"#1c1d1f",cursor:"#708284",foreground:"#708284",selection_background:"#708284"},Kolorit:eX,FunForrest:tX,Snazzy:nX,Afterglow:rX,Wryan:aX,Tomorrow:iX,"Tinacious Design (Light)":{black:"#1d1d26",color1:"#ff3399",green:"#00d364",yellow:"#ffcc66",blue:"#00cbff",magenta:"#cc66ff",cyan:"#00ceca",white:"#cbcbf0",brightblack:"#636667",brightred:"#ff2f92",brightgreen:"#00d364",brightyellow:"#ffd479",brightblue:"#00cbff",brightmagenta:"#d783ff",brightcyan:"#00d5d4",brightwhite:"#d5d6f3",background:"#f8f8ff",selection_foreground:"#f8f8ff",cursor:"#cbcbf0",foreground:"#1d1d26",selection_background:"#1d1d26"},"Aardvark Blue":{black:"#191919",color1:"#aa342e",green:"#4b8c0f",yellow:"#dbba00",blue:"#1370d3",magenta:"#c43ac3",cyan:"#008eb0",white:"#bebebe",brightblack:"#454545",brightred:"#f05b50",brightgreen:"#95dc55",brightyellow:"#ffe763",brightblue:"#60a4ec",brightmagenta:"#e26be2",brightcyan:"#60b6cb",brightwhite:"#f7f7f7",background:"#102040",selection_foreground:"#102040",cursor:"#007acc",foreground:"#dddddd",selection_background:"#dddddd",underline_color:"#38a276",url_color:"#38a276"},"iceberg-light":{black:"#dcdfe7",color1:"#cc517a",green:"#668e3d",yellow:"#c57339",blue:"#2d539e",magenta:"#7759b4",cyan:"#3f83a6",white:"#33374c",brightblack:"#8389a3",brightred:"#cc3768",brightgreen:"#598030",brightyellow:"#b6662d",brightblue:"#22478e",brightmagenta:"#6845ad",brightcyan:"#327698",brightwhite:"#262a3f",background:"#e8e9ec",selection_foreground:"#e8e9ec",cursor:"#33374c",foreground:"#33374c",selection_background:"#33374c"},SleepyHollow:oX,"synthwave-everything":{black:"#fefefe",color1:"#f97e72",green:"#72f1b8",yellow:"#fede5d",blue:"#6d77b3",magenta:"#c792ea",cyan:"#f772e0",white:"#fefefe",brightblack:"#fefefe",brightred:"#f88414",brightgreen:"#72f1b8",brightyellow:"#fff951",brightblue:"#36f9f6",brightmagenta:"#e1acff",brightcyan:"#f92aad",brightwhite:"#fefefe",background:"#2a2139",selection_foreground:"#2a2139",cursor:"#72f1b8",foreground:"#f0eff1",selection_background:"#f0eff1"},Hurtado:sX,DotGov:lX,Adventure:cX,Fairyfloss:uX,tokyonight:dX,"iTerm2 Light Background":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},"iTerm2 Tango Light":{black:"#000000",color1:"#d81e00",green:"#5ea702",yellow:"#cfae00",blue:"#427ab3",magenta:"#89658e",cyan:"#00a7aa",white:"#dbded8",brightblack:"#686a66",brightred:"#f54235",brightgreen:"#99e343",brightyellow:"#fdeb61",brightblue:"#84b0d8",brightmagenta:"#bc94b7",brightcyan:"#37e6e8",brightwhite:"#f1f1f0",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Japanesque:hX,Brogrammer:fX,"Nocturnal Winter":{black:"#4d4d4d",color1:"#f12d52",green:"#09cd7e",yellow:"#f5f17a",blue:"#3182e0",magenta:"#ff2b6d",cyan:"#09c87a",white:"#fcfcfc",brightblack:"#808080",brightred:"#f16d86",brightgreen:"#0ae78d",brightyellow:"#fffc67",brightblue:"#6096ff",brightmagenta:"#ff78a2",brightcyan:"#0ae78d",brightwhite:"#ffffff",background:"#0d0d17",selection_foreground:"#0d0d17",cursor:"#e6e5e5",foreground:"#e6e5e5",selection_background:"#e6e5e5"},ENCOM:mX,Hivacruz:pX,HaX0R_BLUE:gX,darkmatrix:_X,Fahrenheit:bX,Arthur:SX,"Jackie Brown":{black:"#2c1d16",color1:"#ef5734",green:"#2baf2b",yellow:"#bebf00",blue:"#246eb2",magenta:"#d05ec1",cyan:"#00acee",white:"#bfbfbf",brightblack:"#666666",brightred:"#e50000",brightgreen:"#86a93e",brightyellow:"#e5e500",brightblue:"#0000ff",brightmagenta:"#e500e5",brightcyan:"#00e5e5",brightwhite:"#e5e5e5",background:"#2c1d16",selection_foreground:"#2c1d16",cursor:"#23ff18",foreground:"#ffcc2f",selection_background:"#ffcc2f"},"iTerm2 Pastel Dark Background":{black:"#626262",color1:"#ff8373",green:"#b4fb73",yellow:"#fffdc3",blue:"#a5d5fe",magenta:"#ff90fe",cyan:"#d1d1fe",white:"#f1f1f1",brightblack:"#8f8f8f",brightred:"#ffc4be",brightgreen:"#d6fcba",brightyellow:"#fffed5",brightblue:"#c2e3ff",brightmagenta:"#ffb2fe",brightcyan:"#e6e6fe",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#ffb473",foreground:"#c7c7c7",selection_background:"#c7c7c7"},AdventureTime:OX,MonaLisa:vX,deep:EX,"Apple System Colors":{black:"#1a1a1a",color1:"#cc372e",green:"#26a439",yellow:"#cdac08",blue:"#0869cb",magenta:"#9647bf",cyan:"#479ec2",white:"#98989d",brightblack:"#464646",brightred:"#ff453a",brightgreen:"#32d74b",brightyellow:"#ffd60a",brightblue:"#0a84ff",brightmagenta:"#bf5af2",brightcyan:"#76d6ff",brightwhite:"#ffffff",background:"#1e1e1e",selection_foreground:"#1e1e1e",cursor:"#98989d",foreground:"#ffffff",selection_background:"#ffffff"},Wombat:yX,"Monokai Vivid":{black:"#121212",color1:"#fa2934",green:"#98e123",yellow:"#fff30a",blue:"#0443ff",magenta:"#f800f8",cyan:"#01b6ed",white:"#ffffff",brightblack:"#838383",brightred:"#f6669d",brightgreen:"#b1e05f",brightyellow:"#fff26d",brightblue:"#0443ff",brightmagenta:"#f200f6",brightcyan:"#51ceff",brightwhite:"#ffffff",background:"#121212",selection_foreground:"#121212",cursor:"#fb0007",foreground:"#f9f9f9",selection_background:"#f9f9f9"},SpaceGray:TX,zenbones_light:CX,Everblush:RX,Zenburn:wX,"3024 Night":{black:"#090300",color1:"#db2d20",green:"#01a252",yellow:"#fded02",blue:"#01a0e4",magenta:"#a16a94",cyan:"#b5e4f4",white:"#a5a2a2",brightblack:"#5c5855",brightred:"#e8bbd0",brightgreen:"#3a3432",brightyellow:"#4a4543",brightblue:"#807d7c",brightmagenta:"#d6d5d4",brightcyan:"#cdab53",brightwhite:"#f7f7f7",background:"#090300",selection_foreground:"#090300",cursor:"#a5a2a2",foreground:"#a5a2a2",selection_background:"#a5a2a2"},lovelace:AX,Teerb:IX,IR_Black:kX,"Tomorrow Night":{black:"#000000",color1:"#cc6666",green:"#b5bd68",yellow:"#f0c674",blue:"#81a2be",magenta:"#b294bb",cyan:"#8abeb7",white:"#ffffff",brightblack:"#000000",brightred:"#cc6666",brightgreen:"#b5bd68",brightyellow:"#f0c674",brightblue:"#81a2be",brightmagenta:"#b294bb",brightcyan:"#8abeb7",brightwhite:"#ffffff",background:"#1d1f21",selection_foreground:"#1d1f21",cursor:"#c5c8c6",foreground:"#c5c8c6",selection_background:"#c5c8c6"},darkermatrix:NX,Wez:DX,matrix:xX,Sublette:MX,Framer:LX,Ryuuko:PX,Flat:BX,"Builtin Tango Dark":{black:"#000000",color1:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightblack:"#555753",brightred:"#ef2929",brightgreen:"#8ae234",brightyellow:"#fce94f",brightblue:"#729fcf",brightmagenta:"#ad7fa8",brightcyan:"#34e2e2",brightwhite:"#eeeeec",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},"SpaceGray Eighties Dull":{black:"#15171c",color1:"#b24a56",green:"#92b477",yellow:"#c6735a",blue:"#7c8fa5",magenta:"#a5789e",cyan:"#80cdcb",white:"#b3b8c3",brightblack:"#555555",brightred:"#ec5f67",brightgreen:"#89e986",brightyellow:"#fec254",brightblue:"#5486c0",brightmagenta:"#bf83c1",brightcyan:"#58c2c1",brightwhite:"#ffffff",background:"#222222",selection_foreground:"#222222",cursor:"#bbbbbb",foreground:"#c9c6bc",selection_background:"#c9c6bc"},"iTerm2 Dark Background":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#0225c7",magenta:"#ca30c7",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#c7c7c7",foreground:"#c7c7c7",selection_background:"#c7c7c7"},Elementary:YX,CrayonPonyFish:FX,"iTerm2 Default":{black:"#000000",color1:"#c91b00",green:"#00c200",yellow:"#c7c400",blue:"#2225c4",magenta:"#ca30c7",cyan:"#00c5c7",white:"#ffffff",brightblack:"#686868",brightred:"#ff6e67",brightgreen:"#5ffa68",brightyellow:"#fffc67",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#60fdff",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#e5e5e5",foreground:"#ffffff",selection_background:"#ffffff"},BlulocoLight:UX,Blazer:$X,zenwritten_light:GX,"shades-of-purple":{black:"#000000",color1:"#d90429",green:"#3ad900",yellow:"#ffe700",blue:"#6943ff",magenta:"#ff2c70",cyan:"#00c5c7",white:"#c7c7c7",brightblack:"#686868",brightred:"#f92a1c",brightgreen:"#43d426",brightyellow:"#f1d000",brightblue:"#6871ff",brightmagenta:"#ff77ff",brightcyan:"#79e8fb",brightwhite:"#ffffff",background:"#1e1d40",selection_foreground:"#1e1d40",cursor:"#fad000",foreground:"#ffffff",selection_background:"#ffffff"},"Builtin Light":{black:"#000000",color1:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#bb00bb",cyan:"#00bbbb",white:"#bbbbbb",brightblack:"#555555",brightred:"#ff5555",brightgreen:"#55ff55",brightyellow:"#ffff55",brightblue:"#5555ff",brightmagenta:"#ff55ff",brightcyan:"#55ffff",brightwhite:"#ffffff",background:"#ffffff",selection_foreground:"#ffffff",cursor:"#000000",foreground:"#000000",selection_background:"#000000"},Highway:qX,Grape:QX,"iTerm2 Solarized Light":{black:"#073642",color1:"#dc322f",green:"#859900",yellow:"#b58900",blue:"#268bd2",magenta:"#d33682",cyan:"#2aa198",white:"#eee8d5",brightblack:"#002b36",brightred:"#cb4b16",brightgreen:"#586e75",brightyellow:"#657b83",brightblue:"#839496",brightmagenta:"#6c71c4",brightcyan:"#93a1a1",brightwhite:"#fdf6e3",background:"#fdf6e3",selection_foreground:"#fdf6e3",cursor:"#657b83",foreground:"#657b83",selection_background:"#657b83"},Neutron:HX,Aurora:VX,Symfonic:zX,"iTerm2 Tango Dark":{black:"#000000",color1:"#d81e00",green:"#5ea702",yellow:"#cfae00",blue:"#427ab3",magenta:"#89658e",cyan:"#00a7aa",white:"#dbded8",brightblack:"#686a66",brightred:"#f54235",brightgreen:"#99e343",brightyellow:"#fdeb61",brightblue:"#84b0d8",brightmagenta:"#bc94b7",brightcyan:"#37e6e8",brightwhite:"#f1f1f0",background:"#000000",selection_foreground:"#000000",cursor:"#ffffff",foreground:"#ffffff",selection_background:"#ffffff"},AlienBlood:WX,Pro:XX,"Tomorrow Night Bright":{black:"#000000",color1:"#d54e53",green:"#b9ca4a",yellow:"#e7c547",blue:"#7aa6da",magenta:"#c397d8",cyan:"#70c0b1",white:"#ffffff",brightblack:"#000000",brightred:"#d54e53",brightgreen:"#b9ca4a",brightyellow:"#e7c547",brightblue:"#7aa6da",brightmagenta:"#c397d8",brightcyan:"#70c0b1",brightwhite:"#ffffff",background:"#000000",selection_foreground:"#000000",cursor:"#eaeaea",foreground:"#eaeaea",selection_background:"#eaeaea"},"Red Planet":{black:"#202020",color1:"#8c3432",green:"#728271",yellow:"#e8bf6a",blue:"#69819e",magenta:"#896492",cyan:"#5b8390",white:"#b9aa99",brightblack:"#676767",brightred:"#b55242",brightgreen:"#869985",brightyellow:"#ebeb91",brightblue:"#60827e",brightmagenta:"#de4974",brightcyan:"#38add8",brightwhite:"#d6bfb8",background:"#222222",selection_foreground:"#222222",cursor:"#c2b790",foreground:"#c2b790",selection_background:"#c2b790"},SeaShells:KX,purplepeter:ZX,zenbones:jX,Misterioso:JX,WildCherry:eK,Firewatch:tK,Spacedust:nK};class rK{constructor(e,t){T(this,"api");T(this,"settings");T(this,"midiAccess",null);T(this,"midiOutputs",[]);T(this,"currentOutputIndex",0);T(this,"scheduledNotes",{});T(this,"midiInputs",[]);T(this,"currentInputIndex");T(this,"bufferLength",512);T(this,"noteInputBuffer",[]);T(this,"ccInputBuffer",[]);T(this,"activeNotes",[]);T(this,"stickyNotes",[]);T(this,"lastNote");T(this,"lastCC",{});T(this,"lastNoteInChannel",{});T(this,"lastCCInChannel",{});T(this,"midiClockInputIndex");T(this,"midiClockInput");T(this,"lastTimestamp",0);T(this,"midiClockDelta",0);T(this,"lastBPM");T(this,"roundedBPM",0);T(this,"clockBuffer",[]);T(this,"clockBufferLength",24);T(this,"clockTicks",0);T(this,"clockErrorCount",0);T(this,"skipOnError",0);this.api=e,this.settings=t,this.lastBPM=e.tempo(),this.roundedBPM=this.lastBPM,this.initializeMidiAccess()}async initializeMidiAccess(){try{this.midiAccess=await navigator.requestMIDIAccess(),this.midiOutputs=Array.from(this.midiAccess.outputs.values()),this.midiOutputs.length===0&&(console.warn("No MIDI outputs available."),this.currentOutputIndex=-1),this.midiInputs=Array.from(this.midiAccess.inputs.values()),this.midiInputs.length===0?console.warn("No MIDI inputs available."):this.updateInputSelects()}catch(e){console.error("Failed to initialize MIDI:",e)}}getCurrentMidiPort(){return this.midiOutputs.length>0&&this.currentOutputIndex>=0&&this.currentOutputIndex0&&this.currentOutputIndex>=0&&this.currentOutputIndex0){const e=document.getElementById("midi-clock-input"),t=document.getElementById("default-midi-input");e.innerHTML="",t.innerHTML="";const n=document.createElement("option");n.value="-1",n.text="Internal",e.appendChild(n);const a=document.createElement("option");if(a.value="-1",a.text="None",t.appendChild(a),this.midiInputs.forEach((i,o)=>{const s=document.createElement("option");s.value=o.toString(),s.text=i.name||o.toString(),e.appendChild(s),t.appendChild(s.cloneNode(!0))}),this.settings.midi_clock_input){const i=this.getMidiInputIndex(this.settings.midi_clock_input);e.value=i.toString(),i>0&&(this.midiClockInput=this.midiInputs[i],this.registerMidiInputListener(i))}else e.value="-1";if(this.settings.default_midi_input){const i=this.getMidiInputIndex(this.settings.default_midi_input);t.value=i.toString(),i>0&&(this.currentInputIndex=i,this.registerMidiInputListener(i))}else t.value="-1";e.addEventListener("change",i=>{const o=i.target.value;if(o==="-1")this.midiClockInput&&this.midiClockInputIndex!=this.currentInputIndex&&(this.midiClockInput.onmidimessage=null),this.midiClockInput=void 0,this.settings.midi_clock_input=void 0;else{const s=parseInt(o);this.midiClockInputIndex=s,this.midiClockInput&&this.midiClockInputIndex!=this.currentInputIndex&&(this.midiClockInput.onmidimessage=null),this.midiClockInput=this.midiInputs[s],this.registerMidiInputListener(s),this.settings.midi_clock_input=this.midiClockInput.name||void 0}}),t.addEventListener("change",i=>{const o=i.target.value;o==="-1"?(this.currentInputIndex&&this.currentInputIndex!=this.midiClockInputIndex&&this.unregisterMidiInputListener(this.currentInputIndex),this.currentInputIndex=void 0,this.settings.default_midi_input=void 0):(this.currentInputIndex&&this.currentInputIndex!=this.midiClockInputIndex&&this.unregisterMidiInputListener(this.currentInputIndex),this.currentInputIndex=parseInt(o),this.registerMidiInputListener(this.currentInputIndex),this.settings.default_midi_input=this.midiInputs[this.currentInputIndex].name||void 0)})}}registerMidiInputListener(e){if(e!==void 0){const t=this.midiInputs[e];t&&!t.onmidimessage&&(t.onmidimessage=n=>{const a=n;if(t.name===this.settings.midi_clock_input&&(a.data[0]===248?this.skipOnError>0?this.skipOnError-=1:this.onMidiClock(n.timeStamp):a.data[0]===250?(console.log("MIDI start received"),this.api.stop(),this.api.play()):a.data[0]===252?(console.log("MIDI stop received"),this.api.pause()):a.data[0]===251?(console.log("MIDI continue received"),this.api.play()):a.data[0]===254&&console.log("MIDI active sensing received")),t.name===this.settings.default_midi_input){if(a.data[0]>=144&&a.data[0]<=159){const i=a.data[0]-144+1,o=a.data[1],s=a.data[2];this.lastNote={note:o,velocity:s,channel:i,timestamp:n.timeStamp},this.lastNoteInChannel[i]={note:o,velocity:s,channel:i,timestamp:n.timeStamp},this.settings.midi_channels_scripts&&this.api.script(i),this.pushToMidiInputBuffer({note:o,velocity:s,channel:i,timestamp:n.timeStamp}),this.activeNotes.push({note:o,velocity:s,channel:i,timestamp:n.timeStamp}),this.removeFromStickyNotes(o,i)||this.stickyNotes.push({note:o,velocity:s,channel:i,timestamp:n.timeStamp})}if(a.data[0]>=128&&a.data[0]<=143){const i=a.data[0]-128+1,o=a.data[1];this.removeFromActiveNotes(o,i)}if(a.data[0]>=176&&a.data[0]<=191){const i=a.data[0]-176+1,o=a.data[1],s=a.data[2];this.lastCC[o]=s,this.lastCCInChannel[i]?this.lastCCInChannel[i][o]=s:(this.lastCCInChannel[i]={},this.lastCCInChannel[i][o]=s),this.pushToMidiCCBuffer({control:o,value:s,channel:i,timestamp:n.timeStamp})}}})}}removeFromActiveNotes(e,t){const n=this.activeNotes.findIndex(a=>a.note===e&&a.channel===t);n>=0&&this.activeNotes.splice(n,1)}removeFromStickyNotes(e,t){const n=this.stickyNotes.findIndex(a=>a.note===e&&a.channel===t);return n>=0?(this.stickyNotes.splice(n,1),!0):!1}stickyNotesFromChannel(e){return this.stickyNotes.filter(t=>t.channel===e)}activeNotesFromChannel(e){return this.activeNotes.filter(t=>t.channel===e)}killActiveNotes(){this.activeNotes=[]}killActiveNotesFromChannel(e){this.activeNotes=this.activeNotes.filter(t=>t.channel!==e)}pushToMidiInputBuffer(e){this.noteInputBuffer.push(e),this.noteInputBuffer.length>this.bufferLength&&this.noteInputBuffer.shift()}pushToMidiCCBuffer(e){this.ccInputBuffer.push(e),this.ccInputBuffer.length>this.bufferLength&&this.ccInputBuffer.shift()}findNoteFromBufferInChannel(e){const t=this.noteInputBuffer.findIndex(n=>n.channel===e);if(t>=0){const n=this.noteInputBuffer[t];return this.noteInputBuffer.splice(t,1),n}else return}findCCFromBufferInChannel(e){const t=this.ccInputBuffer.findIndex(n=>n.channel===e);if(t>=0){const n=this.ccInputBuffer[t];return this.ccInputBuffer.splice(t,1),n}else return}unregisterMidiInputListener(e){if(e!==void 0){const t=this.midiInputs[e];t&&(t.onmidimessage=null)}}onMidiClock(e){if(this.clockTicks+=1,this.lastTimestamp>0)if(this.lastTimestamp===e)this.clockErrorCount+=1;else if(this.clockErrorCount>0)console.log("Timestamp error count: ",this.clockErrorCount),console.log("Current timestamp: ",e),console.log("Last timestamp: ",this.lastTimestamp),console.log("Last delta: ",this.midiClockDelta),console.log("Current delta: ",e-this.lastTimestamp),console.log("BPMs",this.clockBuffer),this.clockErrorCount=0,this.skipOnError=this.settings.midi_clock_ppqn/4,e=0;else{this.midiClockDelta=e-this.lastTimestamp,this.lastBPM=60*(1e3/this.midiClockDelta/this.settings.midi_clock_ppqn),this.clockBuffer.push(this.lastBPM),this.clockBuffer.length>this.clockBufferLength&&this.clockBuffer.shift();const t=this.estimatedBPM();t!==this.roundedBPM&&(console.log("Estimated BPM: ",t),this.api.tempo(t),this.roundedBPM=t)}this.lastTimestamp=e}estimatedBPM(){const e=this.clockBuffer.reduce((t,n)=>t+n);return Math.round(e/this.clockBuffer.length)}sendMidiClock(){if(!this.midiClockInput){const e=this.midiOutputs[this.currentOutputIndex];e&&e.send([248])}}switchMidiOutput(e){const t=this.getMidiOutputIndex(e);return t!==-1?(this.currentOutputIndex=t,!0):!1}getMidiOutputIndex(e){if(typeof e=="number")return e<0||e>=this.midiOutputs.length?(console.error(`Invalid MIDI output index. Index must be in the range 0-${this.midiOutputs.length-1}.`),this.currentOutputIndex):e;{const t=this.midiOutputs.findIndex(n=>n.name===e);return t!==-1?t:(console.error(`MIDI output "${e}" not found.`),this.currentOutputIndex)}}getMidiInputIndex(e){if(typeof e=="number")return e<0||e>=this.midiInputs.length?(console.error(`Invalid MIDI input index. Index must be in the range 0-${this.midiInputs.length-1}.`),-1):e;{const t=this.midiInputs.findIndex(n=>n.name===e);return t!==-1?t:(console.error(`MIDI input "${e}" not found.`),-1)}}listMidiOutputs(){let e="Available MIDI Outputs: ";return this.midiOutputs.forEach((t,n)=>{e+=`(${n+1}) ${t.name} `}),e}sendMidiNote(e,t,n,a,i=this.currentOutputIndex,o=void 0){typeof i=="string"&&(i=this.getMidiOutputIndex(i));const s=this.midiOutputs[i];if(e=Math.min(Math.max(e,0),127),s){const l=[144+t,e,n],c=[128+t,e,0];s.send(l),o&&this.sendPitchBend(o,t,i);const u=setTimeout(()=>{s.send(c),o&&this.sendPitchBend(8192,t,i),delete this.scheduledNotes[e]},(a-.02)*1e3);this.scheduledNotes[e]=u}else console.error("MIDI output not available.")}sendMidiOn(e,t,n,a=this.currentOutputIndex){typeof a=="string"&&(a=this.getMidiOutputIndex(a));const i=this.midiOutputs[a];if(e=Math.min(Math.max(e,0),127),i){const o=[144+t,e,n];i.send(o)}else console.error("MIDI output not available.")}sendMidiOff(e,t,n=this.currentOutputIndex){typeof n=="string"&&(n=this.getMidiOutputIndex(n));const a=this.midiOutputs[n];if(e=Math.min(Math.max(e,0),127),a){const i=[128+t,e,0];a.send(i)}else console.error("MIDI output not available.")}sendAllNotesOff(e,t=this.currentOutputIndex){typeof t=="string"&&(t=this.getMidiOutputIndex(t));const n=this.midiOutputs[t];if(n){const a=[176+e,123,0];n.send(a)}else console.error("MIDI output not available.")}sendAllSoundOff(e,t=this.currentOutputIndex){typeof t=="string"&&(t=this.getMidiOutputIndex(t));const n=this.midiOutputs[t];if(n){const a=[176+e,120,0];n.send(a)}else console.error("MIDI output not available.")}sendSysExMessage(e){const t=this.midiOutputs[this.currentOutputIndex];t?t.send(e):console.error("MIDI output not available.")}sendPitchBend(e,t,n=this.currentOutputIndex){(e<0||e>16383)&&console.error("Invalid pitch bend value. Value must be in the range 0-16383."),(t<0||t>15)&&console.error("Invalid MIDI channel. Channel must be in the range 0-15."),typeof n=="string"&&(n=this.getMidiOutputIndex(n));const a=this.midiOutputs[n];if(a){const i=e&127,o=e>>7&127;a.send([224|t,i,o])}else console.error("MIDI output not available.")}sendProgramChange(e,t){const n=this.midiOutputs[this.currentOutputIndex];n?n.send([192+t,e]):console.error("MIDI output not available.")}sendMidiControlChange(e,t,n){const a=this.midiOutputs[this.currentOutputIndex];a?a.send([176+n,e,t]):console.error("MIDI output not available.")}panic(){const e=this.midiOutputs[this.currentOutputIndex];if(e){for(const t in this.scheduledNotes){const n=this.scheduledNotes[t];clearTimeout(n),e.send([128,parseInt(t),0])}this.scheduledNotes={}}else console.error("MIDI output not available.")}}class aK{constructor(e,t,n){T(this,"min");T(this,"max");T(this,"wrap");T(this,"position");this.min=e,this.max=t,this.wrap=n,this.position=0}step(){const e=Math.floor(Math.random()*3)-1;this.position+=e,this.wrap?this.position>this.max?this.position=this.min:this.positionthis.max&&(this.position=this.max)}getPosition(){return this.position}toggleWrap(e){this.wrap=e}}const sl=class sl{constructor(){T(this,"_fallbackMethod",()=>sl.createSkipProxy());T(this,"out",()=>{})}};T(sl,"createSkipProxy",()=>{const e=new sl;return new Proxy(e,{get(t,n,a){return typeof t[n]>"u"?t._fallbackMethod:t[n]},set(t,n,a,i){return!1}})});let rs=sl;class Dl{constructor(e){T(this,"seedValue");T(this,"randomGen",Math.random);T(this,"app");T(this,"values",{});T(this,"evenbar",e=>this.app.clock.time_position.bar%2===0?this.modify(e):this);T(this,"even",e=>this.app.clock.time_position.beat%2===0?this.modify(e):this);T(this,"odd",e=>this.app.clock.time_position.beat%2!==0?this.modify(e):this);T(this,"odds",(e,t)=>this.randomGen()this);T(this,"almostNever",e=>this.odds(.025,e));T(this,"rarely",e=>this.odds(.1,e));T(this,"scarcely",e=>this.odds(.25,e));T(this,"sometimes",e=>this.odds(.5,e));T(this,"often",e=>this.odds(.75,e));T(this,"frequently",e=>this.odds(.9,e));T(this,"almostAlways",e=>this.odds(.985,e));T(this,"always",e=>this.modify(e));T(this,"modify",e=>e(this));T(this,"seed",e=>(this.seedValue=e.toString(),this.randomGen=this.app.api.localSeededRandom(this.seedValue),this));T(this,"clear",()=>(this.app.api.clearLocalSeed(this.seedValue),this));T(this,"apply",e=>this.modify(e).update());T(this,"mod",e=>(this.values.originalPitch=Vl(this.values.originalPitch,e),this.update()));T(this,"noteLength",(e,...t)=>(t.length>0&&(e=Array.isArray(e)?e.concat(t):[e,...t]),Array.isArray(e)?this.values.dur=e.map(n=>this.app.clock.convertPulseToSecond(n*4*this.app.clock.ppqn)):this.values.dur=this.app.clock.convertPulseToSecond(e*4*this.app.clock.ppqn),this.current&&(e=Array.isArray(e)?e[this.index%e.length]:e,this.current.duration=e),this));T(this,"processSound",e=>{if(Array.isArray(e)&&typeof e[0]=="string"){const t=[],n=[];return e.forEach(a=>{const i=a.split(":");t.push(i[0]),i[1]&&n.push(parseInt(i[1]))}),{s:t,n:n.length>0?n:void 0,dur:this.app.clock.convertPulseToSecond(this.app.clock.ppqn)}}else{if(typeof e=="object")return{dur:this.app.clock.convertPulseToSecond(this.app.clock.ppqn),...e};if(e.includes(":")){const t=e.split(":"),n=t[0],a=parseInt(t[1]);return{s:n,n:a,dur:this.app.clock.convertPulseToSecond(this.app.clock.ppqn)}}else return{s:e,dur:.5}}});this.app=e,this.app.api.currentSeed&&(this.randomGen=this.app.api.randomGen)}}class Aw extends Dl{constructor(t){super(t);T(this,"pitch",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.pitch=t,this.values.originalPitch=t,this.defaultPitchKeyScale(),this.update()));T(this,"pc",this.pitch);T(this,"octave",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.paramOctave=t,this.values.key&&(this.values.pitch||this.values.pitch===0)&&this.values.parsedScale?this.update():this));T(this,"key",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.key=t,(this.values.pitch||this.values.pitch===0)&&this.values.parsedScale?this.update():this));T(this,"scale",(t,...n)=>(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),typeof t=="string"||typeof t=="number"?this.values.parsedScale=Yn(t):Array.isArray(t)&&(this.values.parsedScale=t.map(a=>Yn(a))),this.defaultPitchKeyScale(),this.update()));T(this,"steps",this.semitones);T(this,"note",(t,...n)=>{if(typeof t=="string"){const a=aa(t);return this.updateValue("note",[a,...n].flat(1/0))}else return typeof t==null||t==null?new rs:this.updateValue("note",[t,...n].flat(1/0))});T(this,"chord",(t,...n)=>{if(typeof t=="string"){const a=sH(t);return this.updateValue("note",a)}else{const a=[t,...n].flat(1/0);return this.updateValue("note",a)}});T(this,"invert",(t=0)=>{if(t===0)return this;if(this.values.note){let n=[...this.values.note];n=t<0?[...n].reverse():n;for(let a=0;a(typeof t=="string"?n&&n.length>0?this.app.api.log([t,...n].map(a=>this.values[a])):this.app.api.log(this.values[t]):this.app.api.log([...t,...n].map(a=>this.values[a])),this));T(this,"draw",t=>(t(this.values,this.app.interface.drawings.getContext("2d")),this));T(this,"clear",()=>(this.app.api.clear(),this));T(this,"freq",(t,...n)=>{if(n.length>0&&(t=Array.isArray(t)?t.concat(n):[t,...n]),this.values.freq=t,Array.isArray(t)){this.values.note=[],this.values.bend=[];for(const a of t){const i=EE(a);i%1!==0?(this.values.note.push(Math.floor(i)),this.values.bend.push(Zg(i)[1])):this.values.note.push(i)}this.values.bend.length===0&&delete this.values.bend}else{const a=EE(t);a%1!==0?(this.values.note=Math.floor(a),this.values.bend=Zg(a)[1]):this.values.note=a}return this});T(this,"update",()=>this);T(this,"cue",t=>(this.app.api.cue(t),this));T(this,"runChain",()=>("chainAll"in this&&typeof this.chainAll=="function"&&(this.values=this.chainAll().values),this))}defaultPitchKeyScale(){this.values.key||(this.values.key=60),this.values.pitch||this.values.pitch===0||(this.values.pitch=0),this.values.parsedScale||(this.values.parsedScale=Yn("major"))}semitones(t,...n){const a=typeof t=="number"?[t,...n]:t;return this.values.parsedScale=Yn(a),this.defaultPitchKeyScale(),this.update()}cents(t,...n){const a=typeof t=="number"?[t,...n]:t;return this.values.parsedScale=Yn(ns(a)),this.defaultPitchKeyScale(),this.update()}ratios(t,...n){const a=typeof t=="number"?[t,...n]:t;return this.values.parsedScale=Yn(Ew(a)),this.defaultPitchKeyScale(),this.update()}edo(t,n=new Array(t).fill(1)){return this.values.parsedScale=rH(t,n),this.defaultPitchKeyScale(),this.update()}updateValue(t,n){return n==null?this:(this.values[t]=n,this)}}function ol(r,e){const t={...r};e.forEach(i=>{Array.isArray(t[i])&&!Array.isArray(t[i][0])&&(t[i]=[t[i]])});const n=Object.entries(t).reduce((i,[o,s])=>{const l=Array.isArray(s)?s.length:1;return i.maxLength=Math.max(i.maxLength,l),i.keys.push(o),i},{keys:[],maxLength:0}),a=[];for(let i=0;i{const a={...n,...e};return Object.keys(a).forEach(i=>{t[i]||(t[i]=[]),t[i].push(a[i])}),t},{})}function Fi(r){return Array.isArray(r)&&r.length===1?r[0]:r}function Iw(r,e){return Object.fromEntries(Object.entries(r).filter(([t])=>e.includes(t)))}const oi=r=>typeof r=="bigint"?Number(r):r,kw=r=>Object.prototype.toString.call(r)==="[object Generator]",iK=r=>Object.prototype.toString.call(r)==="[object GeneratorFunction]",Iu=class Iu extends Aw{constructor(t,n){super(n);T(this,"nudge");T(this,"sound");T(this,"modify",t=>{const n=t(this);return n instanceof Object?n:(t(this.values),this.update())});T(this,"update",()=>{const t=Iw(this.values,["key","pitch","originalPitch","parsedScale","addedOctave","octave","paramOctave"]),n=ol(t,["parsedScale"]);n.forEach(i=>{const o=O_(i.key||"C4",i.originalPitch||i.pitch||0,i.parsedScale||i.scale||"MAJOR",(i.paramOctave||0)+(i.addedOctave||0));i.note=o.note,i.freq=Nl(o.note),i.pitch=o.pitch,i.octave=o.octave});const a=Cu(n);return this.values.note=Fi(a.note),this.values.freq=Fi(a.freq),this.values.pitch=Fi(a.pitch),this.values.octave=Fi(a.octave),this.values.pitchOctave=Fi(a.pitchOctave),this});T(this,"out",t=>{this.runChain(),t&&(this.values.orbit=t);const n=ol(this.values,["parsedScale"]);for(const a of n){const i=a;i.freq&&delete i.note,rD(i,this.nudge-this.app.clock.deviation,i.dur)}});T(this,"osc",t=>{t&&(this.values.orbit=t);const n=ol(this.values,["parsedScale"]);for(const a of n){const i=a;let o="address"in a?a.address:"/topos";o=o!=null&&o.startsWith("/")?o:"/"+o;let s="port"in a?a.port:57120;i.freq&&delete i.note,$C({address:o,port:s,args:a,timetag:Math.round(Date.now()+(this.nudge-this.app.clock.deviation))})}});this.app=n,this.nudge=n.dough_nudge/100;for(const[a,i]of Object.entries(Iu.methodMap))if(typeof i=="object"&&Symbol.iterator in Object(i))for(const o of i)this[o]=s=>this.updateValue(i[0],s);else this[a]=(...o)=>i(this,...o);this.values=this.processSound(t)}};T(Iu,"methodMap",{volume:["volume","vol"],zrand:["zrand","zr"],curve:["curve"],bank:["bank"],slide:["slide","sld"],deltaSlide:["deltaSlide","dslide"],pitchJump:["pitchJump","pj"],pitchJumpTime:["pitchJumpTime","pjt"],lfo:["lfo"],znoise:["znoise"],address:["address","add"],port:["port"],noise:["noise"],zmod:["zmod"],zcrush:["zcrush"],zdelay:["zdelay"],sustainVolume:["sustainVolume"],tremolo:["tremolo"],dur:["dur"],zzfx:["zzfx"],fmi:["fmi"],fmh:["fmh"],fmenv:["fmenv"],fmattack:["fmattack","fmatk"],fmdecay:["fmdecay","fmdec"],fmsustain:["fmsustain","fmsus"],fmrelease:["fmrelease","fmrel"],fmvelocity:["fmvelocity","fmvel"],fmwave:["fmwave","fmw"],phaser:["phaser","phas"],phaserDepth:["phaserDepth","phasdepth"],phaserSweep:["phaserSweep","phassweep"],phaserCenter:["phaserCenter","phascenter"],fmadsr:function(t,n,a,i,o){return t.updateValue("fmattack",n),t.updateValue("fmdecay",a),t.updateValue("fmsustain",i),t.updateValue("fmrelease",o),t},fmad:function(t,n,a){return t.updateValue("fmattack",n),t.updateValue("fmdecay",a),t},ftype:["ftype"],fanchor:["fanchor"],attack:["attack","atk"],decay:["decay","dec"],sustain:["sustain","sus"],release:["release","rel"],adsr:function(t,n,a,i,o){return t.updateValue("attack",n),t.updateValue("decay",a),t.updateValue("sustain",i),t.updateValue("release",o),t},ad:function(t,n,a){return t.updateValue("attack",n),t.updateValue("decay",a),t.updateValue("sustain",0),t.updateValue("release",0),t},scope:function(t){return t.updateValue("analyze",!0),t},debug:function(t,n){return t.updateValue("debug",!0),n&&t.updateValue("debugFunction",n),t},lpenv:["lpenv","lpe"],lpattack:["lpattack","lpa"],lpdecay:["lpdecay","lpd"],lpsustain:["lpsustain","lps"],lprelease:["lprelease","lpr"],cutoff:function(t,n,a){return t.updateValue("cutoff",n),a&&t.updateValue("resonance",a),t},lpf:function(t,n,a){return t.updateValue("cutoff",n),a&&t.updateValue("resonance",a),t},resonance:function(t,n){return n>=0&&n<=1&&t.updateValue("resonance",50*n),t},lpadsr:function(t,n,a,i,o,s){return t.updateValue("lpenv",n),t.updateValue("lpattack",a),t.updateValue("lpdecay",i),t.updateValue("lpsustain",o),t.updateValue("lprelease",s),t},lpad:function(t,n,a,i){return t.updateValue("lpenv",n),t.updateValue("lpattack",a),t.updateValue("lpdecay",i),t.updateValue("lpsustain",0),t.updateValue("lprelease",0),t},hpenv:["hpenv","hpe"],hpattack:["hpattack","hpa"],hpdecay:["hpdecay","hpd"],hpsustain:["hpsustain","hpsus"],hprelease:["hprelease","hpr"],hcutoff:function(t,n,a){return t.updateValue("hcutoff",n),a&&t.updateValue("hresonance",a),t},hpf:function(t,n,a){return t.updateValue("hcutoff",n),a&&t.updateValue("hresonance",a),t},hpq:function(t,n){return t.updateValue("hresonance",n),t},hpadsr:function(t,n,a,i,o,s){return t.updateValue("hpenv",n),t.updateValue("hpattack",a),t.updateValue("hpdecay",i),t.updateValue("hpsustain",o),t.updateValue("hprelease",s),t},hpad:function(t,n,a,i){return t.updateValue("hpenv",n),t.updateValue("hpattack",a),t.updateValue("hpdecay",i),t.updateValue("hpsustain",0),t.updateValue("hprelease",0),t},bpenv:["bpenv","bpe"],bpattack:["bpattack","bpa"],bpdecay:["bpdecay","bpd"],bpsustain:["bpsustain","bps"],bprelease:["bprelease","bpr"],bandf:function(t,n,a){return t.updateValue("bandf",n),a&&t.updateValue("bandq",a),t},bpf:function(t,n,a){return t.updateValue("bandf",n),a&&t.updateValue("bandq",a),t},bandq:["bandq","bpq"],bpadsr:function(t,n,a,i,o,s){return t.updateValue("bpenv",n),t.updateValue("bpattack",a),t.updateValue("bpdecay",i),t.updateValue("bpsustain",o),t.updateValue("bprelease",s),t},bpad:function(t,n,a,i){return t.updateValue("bpenv",n),t.updateValue("bpattack",a),t.updateValue("bpdecay",i),t.updateValue("bpsustain",0),t.updateValue("bprelease",0),t},vib:["vib"],vibmod:["vibmod"],fm:function(t,n){if(typeof n=="number")t.values.fmi=n;else{let a=n.split(":");t.values.fmi=parseFloat(a[0]),a.length>1&&(t.values.fmh=parseFloat(a[1]))}return t},loop:["loop"],loopBegin:["loopBegin","loopb"],loopEnd:["loopEnd","loope"],begin:["begin"],end:["end"],gain:["gain"],dbgain:function(t,n){return t.updateValue("gain",Math.min(Math.pow(10,n/20),10)),t},db:function(t,n){return t.updateValue("gain",Math.min(Math.pow(10,n/20),10)),t},velocity:["velocity","vel"],pan:["pan"],cut:["cut"],clip:["clip"],n:["n"],speed:["speed","spd"],coarse:["coarse"],crush:["crush"],shape:["shape"],vowel:["vowel","vow"],delay:["delay","del"],delayfeedback:["delayfeedback","delayfb"],delaytime:["delaytime","delayt"],orbit:["orbit","o"],room:["room","rm"],roomfade:["roomfade","rfade"],roomlp:["roomlp","rlp"],roomdim:["roomdim","rdim"],sound:["s","sound"],size:function(t,n){return t.updateValue("roomsize",n),t},sz:function(t,n){return t.updateValue("roomsize",n),t},comp:["comp","compressor","cmp"],ratio:function(t,n){return t.updateValue("compressorRatio",n),t},knee:function(t,n){return t.updateValue("compressorKnee",n),t},compAttack:function(t,n){return t.updateValue("compressorAttack",n),t},compRelease:function(t,n){return t.updateValue("compressorRelease",n),t},stretch:function(t,n){return t.updateValue("unit","c"),t.updateValue("speed",1/n),t.updateValue("cut",n),t}});let xl=Iu;class Jg extends Aw{constructor(t,n){super(n);T(this,"midiConnection");T(this,"sustain",t=>(this.values.sustain=t,this));T(this,"velocity",t=>(this.values.velocity=t,this));T(this,"channel",t=>(this.values.channel=t,this));T(this,"port",t=>(typeof t=="string"?this.values.port=this.midiConnection.getMidiOutputIndex(t):Array.isArray(t)&&(this.values.port=t.map(n=>typeof n=="string"?this.midiConnection.getMidiOutputIndex(n):n)),this));T(this,"add",t=>(this.values.note+=t,this));T(this,"modify",t=>{const n=t(this);return n instanceof Object?n:(t(this.values),this.update())});T(this,"bend",t=>(this.values.bend=t,this));T(this,"random",(t=0,n=127)=>(t=Math.min(Math.max(t,0),127),n=Math.min(Math.max(n,0),127),this.values.note=Math.floor(this.randomGen()*(n-t+1))+t,this));T(this,"update",()=>{const t=Iw(this.values,["key","pitch","originalPitch","parsedScale","addedOctave"]),n=ol(t,["parsedScale"]);n.forEach(i=>{const o=O_(i.key||"C4",i.originalPitch||i.pitch||0,i.parsedScale||i.scale||"MAJOR",i.addedOctave||0);i.note=o.note,i.pitch=o.pitch,i.octave=o.octave});const a=Cu(n);return this.values.note=Fi(a.note),a.bend&&(this.values.bend=Fi(a.bend)),this});T(this,"out",t=>{function n(i,o){const s=o.channel?o.channel:0,l=o.velocity?o.velocity:100,c=o.note?o.note:60,u=o.sustain?o.sustain*i.app.clock.pulse_duration*i.app.api.ppqn():i.app.clock.pulse_duration*i.app.api.ppqn(),h=o.bend?o.bend:void 0,p=o.port?i.midiConnection.getMidiOutputIndex(o.port):i.midiConnection.getCurrentMidiPortIndex()||0;i.midiConnection.sendMidiNote(c,s,l,u,p,h)}this.runChain(),t&&this.channel(t),ol(this.values,["parsedScale"]).forEach(i=>{n(this,i)})});this.app=n,this.values=t,this.midiConnection=n.api.MidiConnection}}const Us=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Nw=new Set,e0=typeof process=="object"&&process?process:{},Dw=(r,e,t,n)=>{typeof e0.emitWarning=="function"?e0.emitWarning(r,e,t,n):console.error(`[${t}] ${e}: ${r}`)};let Ru=globalThis.AbortController,yE=globalThis.AbortSignal;var AE;if(typeof Ru>"u"){yE=class{constructor(){T(this,"onabort");T(this,"_onabort",[]);T(this,"reason");T(this,"aborted",!1)}addEventListener(n,a){this._onabort.push(a)}},Ru=class{constructor(){T(this,"signal",new yE);e()}abort(n){var a,i;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(i=(a=this.signal).onabort)==null||i.call(a,n)}}};let r=((AE=e0.env)==null?void 0:AE.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{r&&(r=!1,Dw("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const oK=r=>!Nw.has(r),si=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),xw=r=>si(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?$c:null:null;class $c extends Array{constructor(e){super(e),this.fill(0)}}var Fo;const Ui=class Ui{constructor(e,t){T(this,"heap");T(this,"length");if(!K(Ui,Fo))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}static create(e){const t=xw(e);if(!t)return[];Je(Ui,Fo,!0);const n=new Ui(e,t);return Je(Ui,Fo,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Fo=new WeakMap,ct(Ui,Fo,!1);let t0=Ui;var Hr,dr,Vr,zr,Uo,pn,Wr,gn,Wt,ot,Vn,hr,Pn,yn,Xr,Tn,La,Pa,Kr,Zr,mi,zn,Ml,r0,Hi,Ba,Ll,fr,ku,Mw,Vi,$o,Pl,ha,li,fa,ci,Bl,a0,Go,Gc,qo,qc,qt,Zt,Yl,i0,zi,Xs;const N_=class N_{constructor(e){ct(this,Ml);ct(this,ku);ct(this,ha);ct(this,fa);ct(this,Bl);ct(this,Go);ct(this,qo);ct(this,qt);ct(this,Yl);ct(this,zi);ct(this,Hr,void 0);ct(this,dr,void 0);ct(this,Vr,void 0);ct(this,zr,void 0);ct(this,Uo,void 0);T(this,"ttl");T(this,"ttlResolution");T(this,"ttlAutopurge");T(this,"updateAgeOnGet");T(this,"updateAgeOnHas");T(this,"allowStale");T(this,"noDisposeOnSet");T(this,"noUpdateTTL");T(this,"maxEntrySize");T(this,"sizeCalculation");T(this,"noDeleteOnFetchRejection");T(this,"noDeleteOnStaleGet");T(this,"allowStaleOnFetchAbort");T(this,"allowStaleOnFetchRejection");T(this,"ignoreFetchAbort");ct(this,pn,void 0);ct(this,Wr,void 0);ct(this,gn,void 0);ct(this,Wt,void 0);ct(this,ot,void 0);ct(this,Vn,void 0);ct(this,hr,void 0);ct(this,Pn,void 0);ct(this,yn,void 0);ct(this,Xr,void 0);ct(this,Tn,void 0);ct(this,La,void 0);ct(this,Pa,void 0);ct(this,Kr,void 0);ct(this,Zr,void 0);ct(this,mi,void 0);ct(this,zn,void 0);ct(this,Hi,()=>{});ct(this,Ba,()=>{});ct(this,Ll,()=>{});ct(this,fr,()=>!1);ct(this,Vi,e=>{});ct(this,$o,(e,t,n)=>{});ct(this,Pl,(e,t,n,a)=>{if(n||a)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});const{max:t=0,ttl:n,ttlResolution:a=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:s,allowStale:l,dispose:c,disposeAfter:u,noDisposeOnSet:h,noUpdateTTL:p,maxSize:_=0,maxEntrySize:b=0,sizeCalculation:A,fetchMethod:I,noDeleteOnFetchRejection:M,noDeleteOnStaleGet:U,allowStaleOnFetchRejection:V,allowStaleOnFetchAbort:m,ignoreFetchAbort:O}=e;if(t!==0&&!si(t))throw new TypeError("max option must be a nonnegative integer");const S=t?xw(t):Array;if(!S)throw new Error("invalid max value: "+t);if(Je(this,Hr,t),Je(this,dr,_),this.maxEntrySize=b||K(this,dr),this.sizeCalculation=A,this.sizeCalculation){if(!K(this,dr)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(I!==void 0&&typeof I!="function")throw new TypeError("fetchMethod must be a function if specified");if(Je(this,Uo,I),Je(this,mi,!!I),Je(this,gn,new Map),Je(this,Wt,new Array(t).fill(void 0)),Je(this,ot,new Array(t).fill(void 0)),Je(this,Vn,new S(t)),Je(this,hr,new S(t)),Je(this,Pn,0),Je(this,yn,0),Je(this,Xr,t0.create(t)),Je(this,pn,0),Je(this,Wr,0),typeof c=="function"&&Je(this,Vr,c),typeof u=="function"?(Je(this,zr,u),Je(this,Tn,[])):(Je(this,zr,void 0),Je(this,Tn,void 0)),Je(this,Zr,!!K(this,Vr)),Je(this,zn,!!K(this,zr)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!M,this.allowStaleOnFetchRejection=!!V,this.allowStaleOnFetchAbort=!!m,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(K(this,dr)!==0&&!si(K(this,dr)))throw new TypeError("maxSize must be a positive integer if specified");if(!si(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");We(this,ku,Mw).call(this)}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!U,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!s,this.ttlResolution=si(a)||a===0?a:1,this.ttlAutopurge=!!i,this.ttl=n||0,this.ttl){if(!si(this.ttl))throw new TypeError("ttl must be a positive integer if specified");We(this,Ml,r0).call(this)}if(K(this,Hr)===0&&this.ttl===0&&K(this,dr)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!K(this,Hr)&&!K(this,dr)){const k="LRU_CACHE_UNBOUNDED";oK(k)&&(Nw.add(k),Dw("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",k,N_))}}static unsafeExposeInternals(e){return{starts:K(e,Pa),ttls:K(e,Kr),sizes:K(e,La),keyMap:K(e,gn),keyList:K(e,Wt),valList:K(e,ot),next:K(e,Vn),prev:K(e,hr),get head(){return K(e,Pn)},get tail(){return K(e,yn)},free:K(e,Xr),isBackgroundFetch:t=>{var n;return We(n=e,qt,Zt).call(n,t)},backgroundFetch:(t,n,a,i)=>{var o;return We(o=e,qo,qc).call(o,t,n,a,i)},moveToTail:t=>{var n;return We(n=e,zi,Xs).call(n,t)},indexes:t=>{var n;return We(n=e,ha,li).call(n,t)},rindexes:t=>{var n;return We(n=e,fa,ci).call(n,t)},isStale:t=>{var n;return K(n=e,fr).call(n,t)}}}get max(){return K(this,Hr)}get maxSize(){return K(this,dr)}get calculatedSize(){return K(this,Wr)}get size(){return K(this,pn)}get fetchMethod(){return K(this,Uo)}get dispose(){return K(this,Vr)}get disposeAfter(){return K(this,zr)}getRemainingTTL(e){return K(this,gn).has(e)?1/0:0}*entries(){for(const e of We(this,ha,li).call(this))K(this,ot)[e]!==void 0&&K(this,Wt)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield[K(this,Wt)[e],K(this,ot)[e]])}*rentries(){for(const e of We(this,fa,ci).call(this))K(this,ot)[e]!==void 0&&K(this,Wt)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield[K(this,Wt)[e],K(this,ot)[e]])}*keys(){for(const e of We(this,ha,li).call(this)){const t=K(this,Wt)[e];t!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield t)}}*rkeys(){for(const e of We(this,fa,ci).call(this)){const t=K(this,Wt)[e];t!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield t)}}*values(){for(const e of We(this,ha,li).call(this))K(this,ot)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield K(this,ot)[e])}*rvalues(){for(const e of We(this,fa,ci).call(this))K(this,ot)[e]!==void 0&&!We(this,qt,Zt).call(this,K(this,ot)[e])&&(yield K(this,ot)[e])}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const n of We(this,ha,li).call(this)){const a=K(this,ot)[n],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;if(i!==void 0&&e(i,K(this,Wt)[n],this))return this.get(K(this,Wt)[n],t)}}forEach(e,t=this){for(const n of We(this,ha,li).call(this)){const a=K(this,ot)[n],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;i!==void 0&&e.call(t,i,K(this,Wt)[n],this)}}rforEach(e,t=this){for(const n of We(this,fa,ci).call(this)){const a=K(this,ot)[n],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;i!==void 0&&e.call(t,i,K(this,Wt)[n],this)}}purgeStale(){let e=!1;for(const t of We(this,fa,ci).call(this,{allowStale:!0}))K(this,fr).call(this,t)&&(this.delete(K(this,Wt)[t]),e=!0);return e}dump(){const e=[];for(const t of We(this,ha,li).call(this,{allowStale:!0})){const n=K(this,Wt)[t],a=K(this,ot)[t],i=We(this,qt,Zt).call(this,a)?a.__staleWhileFetching:a;if(i===void 0||n===void 0)continue;const o={value:i};if(K(this,Kr)&&K(this,Pa)){o.ttl=K(this,Kr)[t];const s=Us.now()-K(this,Pa)[t];o.start=Math.floor(Date.now()-s)}K(this,La)&&(o.size=K(this,La)[t]),e.unshift([n,o])}return e}load(e){this.clear();for(const[t,n]of e){if(n.start){const a=Date.now()-n.start;n.start=Us.now()-a}this.set(t,n.value,n)}}set(e,t,n={}){var p,_,b,A,I;if(t===void 0)return this.delete(e),this;const{ttl:a=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:s=this.sizeCalculation,status:l}=n;let{noUpdateTTL:c=this.noUpdateTTL}=n;const u=K(this,Pl).call(this,e,t,n.size||0,s);if(this.maxEntrySize&&u>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let h=K(this,pn)===0?void 0:K(this,gn).get(e);if(h===void 0)h=K(this,pn)===0?K(this,yn):K(this,Xr).length!==0?K(this,Xr).pop():K(this,pn)===K(this,Hr)?We(this,Go,Gc).call(this,!1):K(this,pn),K(this,Wt)[h]=e,K(this,ot)[h]=t,K(this,gn).set(e,h),K(this,Vn)[K(this,yn)]=h,K(this,hr)[h]=K(this,yn),Je(this,yn,h),ec(this,pn)._++,K(this,$o).call(this,h,u,l),l&&(l.set="add"),c=!1;else{We(this,zi,Xs).call(this,h);const M=K(this,ot)[h];if(t!==M){if(K(this,mi)&&We(this,qt,Zt).call(this,M)){M.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:U}=M;U!==void 0&&!o&&(K(this,Zr)&&((p=K(this,Vr))==null||p.call(this,U,e,"set")),K(this,zn)&&((_=K(this,Tn))==null||_.push([U,e,"set"])))}else o||(K(this,Zr)&&((b=K(this,Vr))==null||b.call(this,M,e,"set")),K(this,zn)&&((A=K(this,Tn))==null||A.push([M,e,"set"])));if(K(this,Vi).call(this,h),K(this,$o).call(this,h,u,l),K(this,ot)[h]=t,l){l.set="replace";const U=M&&We(this,qt,Zt).call(this,M)?M.__staleWhileFetching:M;U!==void 0&&(l.oldValue=U)}}else l&&(l.set="update")}if(a!==0&&!K(this,Kr)&&We(this,Ml,r0).call(this),K(this,Kr)&&(c||K(this,Ll).call(this,h,a,i),l&&K(this,Ba).call(this,l,h)),!o&&K(this,zn)&&K(this,Tn)){const M=K(this,Tn);let U;for(;U=M==null?void 0:M.shift();)(I=K(this,zr))==null||I.call(this,...U)}return this}pop(){var e;try{for(;K(this,pn);){const t=K(this,ot)[K(this,Pn)];if(We(this,Go,Gc).call(this,!0),We(this,qt,Zt).call(this,t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(K(this,zn)&&K(this,Tn)){const t=K(this,Tn);let n;for(;n=t==null?void 0:t.shift();)(e=K(this,zr))==null||e.call(this,...n)}}}has(e,t={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:a}=t,i=K(this,gn).get(e);if(i!==void 0){const o=K(this,ot)[i];if(We(this,qt,Zt).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(K(this,fr).call(this,i))a&&(a.has="stale",K(this,Ba).call(this,a,i));else return n&&K(this,Hi).call(this,i),a&&(a.has="hit",K(this,Ba).call(this,a,i)),!0}else a&&(a.has="miss");return!1}peek(e,t={}){const{allowStale:n=this.allowStale}=t,a=K(this,gn).get(e);if(a!==void 0&&(n||!K(this,fr).call(this,a))){const i=K(this,ot)[a];return We(this,qt,Zt).call(this,i)?i.__staleWhileFetching:i}}async fetch(e,t={}){const{allowStale:n=this.allowStale,updateAgeOnGet:a=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:_=this.ignoreFetchAbort,allowStaleOnFetchAbort:b=this.allowStaleOnFetchAbort,context:A,forceRefresh:I=!1,status:M,signal:U}=t;if(!K(this,mi))return M&&(M.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:a,noDeleteOnStaleGet:i,status:M});const V={allowStale:n,updateAgeOnGet:a,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:s,size:l,sizeCalculation:c,noUpdateTTL:u,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:b,ignoreFetchAbort:_,status:M,signal:U};let m=K(this,gn).get(e);if(m===void 0){M&&(M.fetch="miss");const O=We(this,qo,qc).call(this,e,m,V,A);return O.__returned=O}else{const O=K(this,ot)[m];if(We(this,qt,Zt).call(this,O)){const Y=n&&O.__staleWhileFetching!==void 0;return M&&(M.fetch="inflight",Y&&(M.returnedStale=!0)),Y?O.__staleWhileFetching:O.__returned=O}const S=K(this,fr).call(this,m);if(!I&&!S)return M&&(M.fetch="hit"),We(this,zi,Xs).call(this,m),a&&K(this,Hi).call(this,m),M&&K(this,Ba).call(this,M,m),O;const k=We(this,qo,qc).call(this,e,m,V,A),F=k.__staleWhileFetching!==void 0&&n;return M&&(M.fetch=S?"stale":"refresh",F&&S&&(M.returnedStale=!0)),F?k.__staleWhileFetching:k.__returned=k}}get(e,t={}){const{allowStale:n=this.allowStale,updateAgeOnGet:a=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=t,s=K(this,gn).get(e);if(s!==void 0){const l=K(this,ot)[s],c=We(this,qt,Zt).call(this,l);return o&&K(this,Ba).call(this,o,s),K(this,fr).call(this,s)?(o&&(o.get="stale"),c?(o&&n&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?l.__staleWhileFetching:void 0):(i||this.delete(e),o&&n&&(o.returnedStale=!0),n?l:void 0)):(o&&(o.get="hit"),c?l.__staleWhileFetching:(We(this,zi,Xs).call(this,s),a&&K(this,Hi).call(this,s),l))}else o&&(o.get="miss")}delete(e){var n,a,i,o;let t=!1;if(K(this,pn)!==0){const s=K(this,gn).get(e);if(s!==void 0)if(t=!0,K(this,pn)===1)this.clear();else{K(this,Vi).call(this,s);const l=K(this,ot)[s];We(this,qt,Zt).call(this,l)?l.__abortController.abort(new Error("deleted")):(K(this,Zr)||K(this,zn))&&(K(this,Zr)&&((n=K(this,Vr))==null||n.call(this,l,e,"delete")),K(this,zn)&&((a=K(this,Tn))==null||a.push([l,e,"delete"]))),K(this,gn).delete(e),K(this,Wt)[s]=void 0,K(this,ot)[s]=void 0,s===K(this,yn)?Je(this,yn,K(this,hr)[s]):s===K(this,Pn)?Je(this,Pn,K(this,Vn)[s]):(K(this,Vn)[K(this,hr)[s]]=K(this,Vn)[s],K(this,hr)[K(this,Vn)[s]]=K(this,hr)[s]),ec(this,pn)._--,K(this,Xr).push(s)}}if(K(this,zn)&&((i=K(this,Tn))!=null&&i.length)){const s=K(this,Tn);let l;for(;l=s==null?void 0:s.shift();)(o=K(this,zr))==null||o.call(this,...l)}return t}clear(){var e,t,n;for(const a of We(this,fa,ci).call(this,{allowStale:!0})){const i=K(this,ot)[a];if(We(this,qt,Zt).call(this,i))i.__abortController.abort(new Error("deleted"));else{const o=K(this,Wt)[a];K(this,Zr)&&((e=K(this,Vr))==null||e.call(this,i,o,"delete")),K(this,zn)&&((t=K(this,Tn))==null||t.push([i,o,"delete"]))}}if(K(this,gn).clear(),K(this,ot).fill(void 0),K(this,Wt).fill(void 0),K(this,Kr)&&K(this,Pa)&&(K(this,Kr).fill(0),K(this,Pa).fill(0)),K(this,La)&&K(this,La).fill(0),Je(this,Pn,0),Je(this,yn,0),K(this,Xr).length=0,Je(this,Wr,0),Je(this,pn,0),K(this,zn)&&K(this,Tn)){const a=K(this,Tn);let i;for(;i=a==null?void 0:a.shift();)(n=K(this,zr))==null||n.call(this,...i)}}};Hr=new WeakMap,dr=new WeakMap,Vr=new WeakMap,zr=new WeakMap,Uo=new WeakMap,pn=new WeakMap,Wr=new WeakMap,gn=new WeakMap,Wt=new WeakMap,ot=new WeakMap,Vn=new WeakMap,hr=new WeakMap,Pn=new WeakMap,yn=new WeakMap,Xr=new WeakMap,Tn=new WeakMap,La=new WeakMap,Pa=new WeakMap,Kr=new WeakMap,Zr=new WeakMap,mi=new WeakMap,zn=new WeakMap,Ml=new WeakSet,r0=function(){const e=new $c(K(this,Hr)),t=new $c(K(this,Hr));Je(this,Kr,e),Je(this,Pa,t),Je(this,Ll,(i,o,s=Us.now())=>{if(t[i]=o!==0?s:0,e[i]=o,o!==0&&this.ttlAutopurge){const l=setTimeout(()=>{K(this,fr).call(this,i)&&this.delete(K(this,Wt)[i])},o+1);l.unref&&l.unref()}}),Je(this,Hi,i=>{t[i]=e[i]!==0?Us.now():0}),Je(this,Ba,(i,o)=>{if(e[o]){const s=e[o],l=t[o];i.ttl=s,i.start=l,i.now=n||a();const c=i.now-l;i.remainingTTL=s-c}});let n=0;const a=()=>{const i=Us.now();if(this.ttlResolution>0){n=i;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return i};this.getRemainingTTL=i=>{const o=K(this,gn).get(i);if(o===void 0)return 0;const s=e[o],l=t[o];if(s===0||l===0)return 1/0;const c=(n||a())-l;return s-c},Je(this,fr,i=>e[i]!==0&&t[i]!==0&&(n||a())-t[i]>e[i])},Hi=new WeakMap,Ba=new WeakMap,Ll=new WeakMap,fr=new WeakMap,ku=new WeakSet,Mw=function(){const e=new $c(K(this,Hr));Je(this,Wr,0),Je(this,La,e),Je(this,Vi,t=>{Je(this,Wr,K(this,Wr)-e[t]),e[t]=0}),Je(this,Pl,(t,n,a,i)=>{if(We(this,qt,Zt).call(this,n))return 0;if(!si(a))if(i){if(typeof i!="function")throw new TypeError("sizeCalculation must be a function");if(a=i(n,t),!si(a))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return a}),Je(this,$o,(t,n,a)=>{if(e[t]=n,K(this,dr)){const i=K(this,dr)-e[t];for(;K(this,Wr)>i;)We(this,Go,Gc).call(this,!0)}Je(this,Wr,K(this,Wr)+e[t]),a&&(a.entrySize=n,a.totalCalculatedSize=K(this,Wr))})},Vi=new WeakMap,$o=new WeakMap,Pl=new WeakMap,ha=new WeakSet,li=function*({allowStale:e=this.allowStale}={}){if(K(this,pn))for(let t=K(this,yn);!(!We(this,Bl,a0).call(this,t)||((e||!K(this,fr).call(this,t))&&(yield t),t===K(this,Pn)));)t=K(this,hr)[t]},fa=new WeakSet,ci=function*({allowStale:e=this.allowStale}={}){if(K(this,pn))for(let t=K(this,Pn);!(!We(this,Bl,a0).call(this,t)||((e||!K(this,fr).call(this,t))&&(yield t),t===K(this,yn)));)t=K(this,Vn)[t]},Bl=new WeakSet,a0=function(e){return e!==void 0&&K(this,gn).get(K(this,Wt)[e])===e},Go=new WeakSet,Gc=function(e){var i,o;const t=K(this,Pn),n=K(this,Wt)[t],a=K(this,ot)[t];return K(this,mi)&&We(this,qt,Zt).call(this,a)?a.__abortController.abort(new Error("evicted")):(K(this,Zr)||K(this,zn))&&(K(this,Zr)&&((i=K(this,Vr))==null||i.call(this,a,n,"evict")),K(this,zn)&&((o=K(this,Tn))==null||o.push([a,n,"evict"]))),K(this,Vi).call(this,t),e&&(K(this,Wt)[t]=void 0,K(this,ot)[t]=void 0,K(this,Xr).push(t)),K(this,pn)===1?(Je(this,Pn,Je(this,yn,0)),K(this,Xr).length=0):Je(this,Pn,K(this,Vn)[t]),K(this,gn).delete(n),ec(this,pn)._--,t},qo=new WeakSet,qc=function(e,t,n,a){const i=t===void 0?void 0:K(this,ot)[t];if(We(this,qt,Zt).call(this,i))return i;const o=new Ru,{signal:s}=n;s==null||s.addEventListener("abort",()=>o.abort(s.reason),{signal:o.signal});const l={signal:o.signal,options:n,context:a},c=(A,I=!1)=>{const{aborted:M}=o.signal,U=n.ignoreFetchAbort&&A!==void 0;if(n.status&&(M&&!I?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,U&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),M&&!U&&!I)return h(o.signal.reason);const V=_;return K(this,ot)[t]===_&&(A===void 0?V.__staleWhileFetching?K(this,ot)[t]=V.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,A,l.options))),A},u=A=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=A),h(A)),h=A=>{const{aborted:I}=o.signal,M=I&&n.allowStaleOnFetchAbort,U=M||n.allowStaleOnFetchRejection,V=U||n.noDeleteOnFetchRejection,m=_;if(K(this,ot)[t]===_&&(!V||m.__staleWhileFetching===void 0?this.delete(e):M||(K(this,ot)[t]=m.__staleWhileFetching)),U)return n.status&&m.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw A},p=(A,I)=>{var U;const M=(U=K(this,Uo))==null?void 0:U.call(this,e,i,l);M&&M instanceof Promise&&M.then(V=>A(V===void 0?void 0:V),I),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(A(void 0),n.allowStaleOnFetchAbort&&(A=V=>c(V,!0)))})};n.status&&(n.status.fetchDispatched=!0);const _=new Promise(p).then(c,u),b=Object.assign(_,{__abortController:o,__staleWhileFetching:i,__returned:void 0});return t===void 0?(this.set(e,b,{...l.options,status:void 0}),t=K(this,gn).get(e)):K(this,ot)[t]=b,b},qt=new WeakSet,Zt=function(e){if(!K(this,mi))return!1;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof Ru},Yl=new WeakSet,i0=function(e,t){K(this,hr)[t]=e,K(this,Vn)[e]=t},zi=new WeakSet,Xs=function(e){e!==K(this,yn)&&(e===K(this,Pn)?Je(this,Pn,K(this,Vn)[e]):We(this,Yl,i0).call(this,K(this,hr)[e],K(this,Vn)[e]),We(this,Yl,i0).call(this,K(this,yn),e),Je(this,yn,e))};let n0=N_;const ll=class ll extends Dl{constructor(t,n){super(n);T(this,"_fallbackMethod",()=>ll.createRestProxy(this.values.noteLength,this.app));T(this,"out",()=>{});this.values.noteLength=t}};T(ll,"createRestProxy",(t,n)=>{const a=new ll(t,n);return new Proxy(a,{get(i,o,s){return typeof i[o]>"u"?i._fallbackMethod:i[o]},set(i,o,s,l){return!1}})});let wu=ll;class TE extends Dl{constructor(t,n,a,i="",o=0){super(a);T(this,"input");T(this,"ziffers");T(this,"initCallTime",0);T(this,"startCallTime",0);T(this,"lastCallTime",0);T(this,"waitTime",0);T(this,"cueName");T(this,"played",!1);T(this,"current");T(this,"retro",!1);T(this,"index",-1);T(this,"zid","");T(this,"options",{});T(this,"skipIndex",0);T(this,"next",()=>(this.current=this.ziffers.next(),this.played=!0,this.current));T(this,"pulseToSecond",t=>this.app.clock.convertPulseToSecond(t));T(this,"firstRun",()=>this.notStarted());T(this,"atTheBeginning",()=>this.skipIndex===0&&this.ziffers.index<=0);T(this,"origin",()=>this.app.clock.pulses_since_origin+1);T(this,"pulse",()=>this.app.clock.time_position.pulse);T(this,"beat",()=>this.app.clock.time_position.beat);T(this,"nextBeat",()=>this.app.clock.next_beat_in_ticks);T(this,"nextBeatInTicks",()=>this.app.clock.next_beat_in_ticks);T(this,"areWeThereYet",()=>{this.app.clock.pulses_since_origin=0&&this.origin()>=this.waitTime&&(this.pulse()===0||this.origin()>=this.nextBeatInTicks()),n=this.current&&this.waitTime>=0&&this.pulseToSecond(this.origin())>=this.pulseToSecond(this.lastCallTime)+this.pulseToSecond(this.current.duration*4*this.app.clock.ppqn)&&this.origin()>=this.waitTime,a=t||n;return this.skipIndex=a?0:this.skipIndex+1,this.index=a?this.index+1:this.index,a&&this.notStarted()&&(this.initCallTime=this.app.clock.pulses_since_origin),this.atTheBeginning()&&(this.startCallTime=this.app.clock.pulses_since_origin),a});T(this,"powerTower",this.powerTowers);T(this,"octaTowers",this.octaTower);T(this,"boretz",this.boretzRegions);T(this,"weitzmann",this.weitzmannRegions);T(this,"lead",()=>this.voiceleading());T(this,"invert",t=>(this.atTheBeginning()&&this.ziffers.invert(t),this));T(this,"out",()=>{});if(this.app=a,this.options=n,typeof t=="string")this.input=t,this.ziffers=new _i(t,n);else if(typeof t=="number")this.input=t,this.ziffers=_i.fromNumber(t,n);else if(kw(t))this.ziffers=_i.fromGenerator(t,n),this.input=this.ziffers.input;else throw new Error("Invalid input");o&&(this.waitTime=o),this.zid=i}updatePattern(t,n){const a=this.ziffers.index,i=new _i(t,n);return i.values.length>0?(this.ziffers=i,this.ziffers.update(),this.ziffers.index=a,this.input=t,this.options=n,!0):!1}isValid(){return this.ziffers.values.length>0}reset(){this.initCallTime=0,this.startCallTime=0,this.lastCallTime=0,this.waitTime=0,this.index=0,this.skipIndex=0,this.played=!1,this.skipIndex=0,this.ziffers.reset()}get ticks(){return this.ziffers.duration*4*this.app.clock.ppqn}nextEndTime(){return this.startCallTime+this.ticks}updateLastCallTime(){(this.notStarted()||this.played)&&(this.lastCallTime=this.app.clock.pulses_since_origin,this.played=!1)}notStarted(){return this.ziffers.notStarted()}checkCue(){this.ziffers.atLast()&&this.cueName&&this.app.api.cueTimes[this.cueName]&&(delete this.app.api.cueTimes[this.cueName],this.cueName=void 0,this.waitTime=-1)}sound(t){if(this.areWeThereYet()){this.checkCue();const n=this.next(),a=this.app.clock.convertPulseToSecond(n.duration*4*this.app.clock.ppqn);if(n instanceof Yt){let i=n.getExisting("freq","note","pitch","originalPitch","key","scale","octave","pitchOctave","addedOctave","parsedScale");return n.sound&&(t=n.sound),t?i={...i,...this.processSound(t)}:i.s="sine",n.soundIndex&&(i.n=n.soundIndex),i.dur=a,new xl(i,this.app)}else if(n instanceof Bt){const i=n.pitches.map(l=>l.getExisting("freq","note","pitch","originalPitch","key","scale","octave","pitchOctave","addedOctave","parsedScale"));let o={dur:a};t?o={...o,...this.processSound(t)}:o.s="sine";let s=Cu(i,o);return new xl(s,this.app)}else if(n instanceof Kg)return wu.createRestProxy(n.duration,this.app)}else return rs.createSkipProxy()}midi(t=void 0){if(this.areWeThereYet()){this.checkCue();const n=this.next(),a=n.getExisting("note","pitch","originalPitch","bend","key","scale","octave","pitchOctave","addedOctave","parsedScale");if(n instanceof Yt){n.soundIndex&&(a.channel=n.soundIndex);const i=new Jg(a,this.app);return t?i.note(t):i}else{if(n instanceof Kg)return wu.createRestProxy(n.duration,this.app);if(n instanceof Bt){const i=n.midiChord(),o=Cu(i);return new Jg(o,this.app)}}}else return rs.createSkipProxy()}scale(t){return this.atTheBeginning()&&this.ziffers.scale(t),this}semitones(t,...n){return t=typeof t=="number"?[t,...n]:t,this.atTheBeginning()&&this.ziffers.semitones(t),this}cents(t,...n){return t=typeof t=="number"?[t,...n]:t,this.atTheBeginning()&&this.ziffers.cents(t),this}ratios(t,...n){return t=typeof t=="number"?[t,...n]:t,this.atTheBeginning()&&this.ziffers.ratios(t),this}edo(t,n=new Array(t).fill(1)){return this.atTheBeginning()&&this.ziffers.edo(t,n),this}key(t){return this.atTheBeginning()&&this.ziffers.key(t),this}octave(t){return this.atTheBeginning()&&this.ziffers.octave(t),this}tonnetz(t,n=[3,4,5]){return this.atTheBeginning()&&this.ziffers.tonnetz(t,n),this}triadTonnetz(t,n=[3,4,5]){return this.atTheBeginning()&&this.ziffers.triadTonnetz(t,n),this}tetraTonnetz(t,n=[3,4,5]){return this.atTheBeginning()&&this.ziffers.tetraTonnetz(t,n),this}octaCycle(t=[3,4,5],n=4){return this.atTheBeginning()&&this.ziffers.octaCycle(t,n),this}hexaCycle(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.hexaCycle(t,n),this}enneaCycle(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.enneaCycle(t,n),this}cubeDance(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.cubeDance(t,n),this}powerTowers(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.powerTowers(t,n),this}octaTower(t=[3,4,5],n=3){return this.atTheBeginning()&&this.ziffers.octaTower(t,n),this}boretzRegions(t=[3,4,5]){return this.atTheBeginning()&&this.ziffers.boretzRegions(t),this}weitzmannRegions(t=[3,4,5]){return this.atTheBeginning()&&this.ziffers.weitzmannRegions(t),this}shuffle(){return this.atTheBeginning()&&this.ziffers.shuffle(),this}deal(t=this.ziffers.values.length){return this.atTheBeginning()&&this.ziffers.deal(t),this}from(t){return this.atTheBeginning()&&this.ziffers.from(t),this}to(t){return this.atTheBeginning()&&this.ziffers.to(t),this}between(t,n){return this.atTheBeginning()&&this.ziffers.between(t,n+1),this}at(t,...n){return this.atTheBeginning()&&this.ziffers.at(t,...n),this}keep(){return this.ziffers.setRedo(0),this}repeat(t){return this.ziffers.setRedo(t<0?0:t),this}every(t){return this.atTheBeginning()&&this.ziffers.every(t),this}tonnetzChord(t){return this.atTheBeginning()&&this.ziffers.tonnetzChords(t),this}voiceleading(){return this.atTheBeginning()&&this.ziffers.lead(),this}arpeggio(t,...n){return typeof t=="number"&&(t=[t,...n]),this.atTheBeginning()&&this.ziffers.arpeggio(t),this}retrograde(){return this.atTheBeginning()&&this.ziffers.retrograde(),this}rotate(t=1){return this.atTheBeginning()&&this.ziffers.rotate(t+Vl(this.ziffers.cycleIndex,this.ziffers.evaluated.length)),this}listen(t){if(typeof t=="string"){const n=this.app.api.cueTimes[t];return this.cueName=t,n&&this.app.clock.pulses_since_origin<=n?this.waitTime=n:this.waitTime=-1,this}}wait(t){if(typeof t=="string"){const n=this.app.api.cueTimes[t];return this.cueName=t,n&&this.app.clock.pulses_since_origin<=n?this.waitTime=n:this.atTheBeginning()&&(this.waitTime=-1),this}if(this.atTheBeginning()){if(typeof t=="function"){const n=this.app.api.patternCache.get(t.name);return n&&(this.waitTime=n.nextEndTime()),this}else if(typeof t=="number")return this.waitTime=this.origin()+Math.ceil(t*4*this.app.clock.ppqn),this}return this}sync(t,n=!0){if(typeof t=="string"&&n){if(n){const a=this.app.api.cueTimes[t];a?this.waitTime=a:this.waitTime=-1}return this}if(this.atTheBeginning()&&this.notStarted()&&this.app.clock.pulses_since_origin>0){const i=typeof t=="function"?t.name:t,o=this.app.api.patternCache.get(i);if(o){const s=o.ziffers.duration,l=o.startCallTime,c=s*4*this.app.clock.ppqn;this.waitTime=l+c}}return this}log(t,...n){return this.app.api.log(this.ziffers.evaluated.map(a=>Object.values(a.getExisting(t,...n))).join(" ")),this}}const sK=r=>r[0]==="{"&&r[r.length-1]==="}",$s=(r,e)=>{if(sK(r)){const t=JSON.parse(r);return JSON.stringify({...t,...e})}else return JSON.stringify({...e,text:r})},lK=r=>{String.prototype.speak=function(){const e=JSON.parse(this.valueOf());new Lw({...e,text:e.text}).speak().then(()=>{}).catch(t=>{console.log("Error speaking:",t)})},String.prototype.rate=function(e){return $s(this.valueOf(),{rate:e})},String.prototype.pitch=function(e){return $s(this.valueOf(),{pitch:e})},String.prototype.lang=function(e){return $s(this.valueOf(),{lang:e})},String.prototype.volume=function(e){return $s(this.valueOf(),{volume:e})},String.prototype.voice=function(e){return $s(this.valueOf(),{voice:e})},String.prototype.z=function(e={}){return r.z(this.valueOf(),e)},String.prototype.z0=function(e={}){return r.z0(this.valueOf(),e)},String.prototype.z1=function(e={}){return r.z1(this.valueOf(),e)},String.prototype.z2=function(e={}){return r.z2(this.valueOf(),e)},String.prototype.z3=function(e={}){return r.z3(this.valueOf(),e)},String.prototype.z4=function(e={}){return r.z4(this.valueOf(),e)},String.prototype.z5=function(e={}){return r.z5(this.valueOf(),e)},String.prototype.z6=function(e={}){return r.z6(this.valueOf(),e)},String.prototype.z7=function(e={}){return r.z7(this.valueOf(),e)},String.prototype.z8=function(e={}){return r.z8(this.valueOf(),e)},String.prototype.z9=function(e={}){return r.z9(this.valueOf(),e)},String.prototype.z10=function(e={}){return r.z10(this.valueOf(),e)},String.prototype.z11=function(e={}){return r.z11(this.valueOf(),e)},String.prototype.z12=function(e={}){return r.z12(this.valueOf(),e)},String.prototype.z13=function(e={}){return r.z13(this.valueOf(),e)},String.prototype.z14=function(e={}){return r.z14(this.valueOf(),e)},String.prototype.z15=function(e={}){return r.z15(this.valueOf(),e)},String.prototype.z16=function(e={}){return r.z16(this.valueOf(),e)},String.prototype.note=function(){try{return parseInt(this.valueOf())}catch{return aa(this.valueOf())}}};let Up;class Lw{constructor(e){T(this,"speak",()=>new Promise((e,t)=>{if(this.options.text){const n=window.speechSynthesis;n.speaking&&n.cancel();const a=new SpeechSynthesisUtterance(this.options.text);a.rate=this.options.rate||1,a.pitch=this.options.pitch||1,a.volume=this.options.volume||1,this.options.voice&&(a.voice=n.getVoices()[this.options.voice]),this.options.lang&&(this.options.lang.length===2?a.lang=`${this.options.lang}-${this.options.lang.toUpperCase()}`:this.options.lang.length===5?a.lang=this.options.lang:a.lang="en-US"),a.onend=()=>{e()},a.onerror=i=>{t(i)},n.speaking?(n.cancel(),Up&&clearTimeout(Up),Up=setTimeout(()=>{n.speak(a)},200)):n.speak(a)}else t("No text provided")}));this.options=e}}const cK=["AJKPercusyn/ajkpercusyn-bd/Bassdrum.wav"],uK=["AJKPercusyn/ajkpercusyn-cb/Cowbell.wav","AJKPercusyn/ajkpercusyn-cb/Snarepop.wav"],dK=["AJKPercusyn/ajkpercusyn-ht/Tom.wav"],hK=["AJKPercusyn/ajkpercusyn-sd/Noise.wav"],fK=["AkaiLinn/akailinn-bd/Bassdrum.wav"],mK=["AkaiLinn/akailinn-cb/Cowbell.wav"],pK=["AkaiLinn/akailinn-cp/Clap.wav"],gK=["AkaiLinn/akailinn-cr/Crash.wav"],_K=["AkaiLinn/akailinn-hh/Closed Hat.wav"],bK=["AkaiLinn/akailinn-ht/Tom H.wav"],SK=["AkaiLinn/akailinn-lt/Tom L.wav"],OK=["AkaiLinn/akailinn-mt/Tom M.wav"],vK=["AkaiLinn/akailinn-oh/Open Hat.wav"],EK=["AkaiLinn/akailinn-rd/Ride.wav"],yK=["AkaiLinn/akailinn-sd/SD.wav"],TK=["AkaiLinn/akailinn-sh/Shuffle.wav"],CK=["AkaiLinn/akailinn-tb/Tambourin.wav"],RK=["AkaiMPC60/akaimpc60-bd/0 Bassdrum.wav","AkaiMPC60/akaimpc60-bd/Bassdrum Gated.wav"],wK=["AkaiMPC60/akaimpc60-cp/Clap.wav"],AK=["AkaiMPC60/akaimpc60-cr/Crash.wav"],IK=["AkaiMPC60/akaimpc60-hh/Closed Hat.wav"],kK=["AkaiMPC60/akaimpc60-ht/Tom H.wav"],NK=["AkaiMPC60/akaimpc60-lt/Tom L.wav"],DK=["AkaiMPC60/akaimpc60-misc/Bass.wav","AkaiMPC60/akaimpc60-misc/Electric Piano.wav"],xK=["AkaiMPC60/akaimpc60-mt/Tom M.wav"],MK=["AkaiMPC60/akaimpc60-oh/Open Hat.wav"],LK=["AkaiMPC60/akaimpc60-perc/Bongo.wav","AkaiMPC60/akaimpc60-perc/Click.wav","AkaiMPC60/akaimpc60-perc/Conga H.wav","AkaiMPC60/akaimpc60-perc/Conga L.wav","AkaiMPC60/akaimpc60-perc/Timbale.wav"],PK=["AkaiMPC60/akaimpc60-rd/Ride.wav"],BK=["AkaiMPC60/akaimpc60-rim/Rim Gated.wav"],YK=["AkaiMPC60/akaimpc60-sd/Snare 1.wav","AkaiMPC60/akaimpc60-sd/Snare 2.wav","AkaiMPC60/akaimpc60-sd/Snare 3.wav"],FK=["AkaiXR10/akaixr10-bd/Bassdrum-01.wav","AkaiXR10/akaixr10-bd/Bassdrum-02.wav","AkaiXR10/akaixr10-bd/Bassdrum-03.wav","AkaiXR10/akaixr10-bd/Bassdrum-04.wav","AkaiXR10/akaixr10-bd/Bassdrum-05.wav","AkaiXR10/akaixr10-bd/Bassdrum-06.wav","AkaiXR10/akaixr10-bd/Bassdrum-07.wav","AkaiXR10/akaixr10-bd/Bassdrum-08.wav","AkaiXR10/akaixr10-bd/Bassdrum-09.wav","AkaiXR10/akaixr10-bd/Bassdrum-10.wav"],UK=["AkaiXR10/akaixr10-cb/Cowbell.wav"],$K=["AkaiXR10/akaixr10-cp/Clap.wav"],GK=["AkaiXR10/akaixr10-cr/Crash-01.wav","AkaiXR10/akaixr10-cr/Crash-02.wav","AkaiXR10/akaixr10-cr/Crash-03.wav"],qK=["AkaiXR10/akaixr10-hh/Hat Closed.wav","AkaiXR10/akaixr10-hh/Hat Middle.wav"],QK=["AkaiXR10/akaixr10-ht/Tom H-02.wav"],HK=["AkaiXR10/akaixr10-lt/Tom L-01.wav","AkaiXR10/akaixr10-lt/Tom L-02.wav"],VK=["AkaiXR10/akaixr10-misc/Hit.wav","AkaiXR10/akaixr10-misc/Slap Bass.wav","AkaiXR10/akaixr10-misc/Square Kick-01.wav","AkaiXR10/akaixr10-misc/Square Kick-02.wav"],zK=["AkaiXR10/akaixr10-mt/Tom M-01.wav","AkaiXR10/akaixr10-mt/Tom M-02.wav"],WK=["AkaiXR10/akaixr10-oh/Hat Open.wav"],XK=["AkaiXR10/akaixr10-perc/Agogo.wav","AkaiXR10/akaixr10-perc/Claves.wav","AkaiXR10/akaixr10-perc/Conga-01.wav","AkaiXR10/akaixr10-perc/Conga-02.wav","AkaiXR10/akaixr10-perc/Conga-03.wav","AkaiXR10/akaixr10-perc/Conga-04.wav","AkaiXR10/akaixr10-perc/Fingersanp.wav","AkaiXR10/akaixr10-perc/Guiro-01.wav","AkaiXR10/akaixr10-perc/Guirro-02.wav","AkaiXR10/akaixr10-perc/Timbale H.wav","AkaiXR10/akaixr10-perc/Timbale L.wav","AkaiXR10/akaixr10-perc/Toma H-01.wav","AkaiXR10/akaixr10-perc/Triangle.wav","AkaiXR10/akaixr10-perc/Vibrator.wav","AkaiXR10/akaixr10-perc/Whistle.wav"],KK=["AkaiXR10/akaixr10-rd/Ride.wav"],ZK=["AkaiXR10/akaixr10-rim/Rim Shot-01.wav","AkaiXR10/akaixr10-rim/Rim Shot-02.wav"],jK=["AkaiXR10/akaixr10-sd/Snaredrum-01.wav","AkaiXR10/akaixr10-sd/Snaredrum-02.wav","AkaiXR10/akaixr10-sd/Snaredrum-03.wav","AkaiXR10/akaixr10-sd/Snaredrum-04.wav","AkaiXR10/akaixr10-sd/Snaredrum-05.wav","AkaiXR10/akaixr10-sd/Snaredrum-06.wav","AkaiXR10/akaixr10-sd/Snaredrum-07.wav","AkaiXR10/akaixr10-sd/Snaredrum-08.wav","AkaiXR10/akaixr10-sd/Snaredrum-09.wav","AkaiXR10/akaixr10-sd/Snaredrum-10.wav"],JK=["AkaiXR10/akaixr10-sh/Cabasa.wav"],eZ=["AkaiXR10/akaixr10-tb/Tambourine.wav"],tZ=["AlesisHR16/alesishr16-bd/Bassdrum.wav"],nZ=["AlesisHR16/alesishr16-cp/Clap.wav"],rZ=["AlesisHR16/alesishr16-hh/Closed Hat.wav"],aZ=["AlesisHR16/alesishr16-ht/Tom-2.wav"],iZ=["AlesisHR16/alesishr16-lt/Tom-1.wav"],oZ=["AlesisHR16/alesishr16-oh/Open Hat.wav"],sZ=["AlesisHR16/alesishr16-perc/Agogo Bell.wav","AlesisHR16/alesishr16-perc/Claves.wav","AlesisHR16/alesishr16-perc/Conga H.wav","AlesisHR16/alesishr16-perc/Conga L.wav","AlesisHR16/alesishr16-perc/Timbale.wav","AlesisHR16/alesishr16-perc/Triangle.wav","AlesisHR16/alesishr16-perc/Wood Block H.wav","AlesisHR16/alesishr16-perc/Wood Block L.wav"],lZ=["AlesisHR16/alesishr16-rim/Rim.wav"],cZ=["AlesisHR16/alesishr16-sd/Snaredrum.wav"],uZ=["AlesisHR16/alesishr16-sh/Cabasa.wav","AlesisHR16/alesishr16-sh/Maracas.wav","AlesisHR16/alesishr16-sh/Shaker.wav"],dZ=["AlesisSR16/alesissr16-bd/Bassdrum-01.wav","AlesisSR16/alesissr16-bd/Bassdrum-02.wav","AlesisSR16/alesissr16-bd/Bassdrum-03.wav","AlesisSR16/alesissr16-bd/Bassdrum-04.wav","AlesisSR16/alesissr16-bd/Bassdrum-05.wav","AlesisSR16/alesissr16-bd/Bassdrum-06.wav","AlesisSR16/alesissr16-bd/Bassdrum-07.wav","AlesisSR16/alesissr16-bd/Bassdrum-08.wav","AlesisSR16/alesissr16-bd/Bassdrum-09.wav","AlesisSR16/alesissr16-bd/Bassdrum-10.wav","AlesisSR16/alesissr16-bd/Bassdrum-11.wav","AlesisSR16/alesissr16-bd/Bassdrum-12.wav","AlesisSR16/alesissr16-bd/Bassdrum-13.wav"],hZ=["AlesisSR16/alesissr16-cb/Cowbell.wav"],fZ=["AlesisSR16/alesissr16-cp/Clap.wav"],mZ=["AlesisSR16/alesissr16-cr/Crash-01.wav","AlesisSR16/alesissr16-cr/Crash-02.wav"],pZ=["AlesisSR16/alesissr16-hh/Hat Closed-01.wav","AlesisSR16/alesissr16-hh/Hat Closed-02.wav","AlesisSR16/alesissr16-hh/Hat Closed-03.wav"],gZ=["AlesisSR16/alesissr16-misc/Hit.wav","AlesisSR16/alesissr16-misc/Metal.wav","AlesisSR16/alesissr16-misc/Synth Cymbal.wav"],_Z=["AlesisSR16/alesissr16-oh/Hat Open-01.wav","AlesisSR16/alesissr16-oh/Hat Open-02.wav","AlesisSR16/alesissr16-oh/Hat Open-03.wav","AlesisSR16/alesissr16-oh/Hat Reverse.wav"],bZ=["AlesisSR16/alesissr16-perc/Block.wav","AlesisSR16/alesissr16-perc/Bongo.wav","AlesisSR16/alesissr16-perc/Congo.wav","AlesisSR16/alesissr16-perc/Finger.wav","AlesisSR16/alesissr16-perc/Guiro.wav","AlesisSR16/alesissr16-perc/Timbale.wav","AlesisSR16/alesissr16-perc/Triangle.wav"],SZ=["AlesisSR16/alesissr16-rd/Ride-01.wav","AlesisSR16/alesissr16-rd/Ride-02.wav","AlesisSR16/alesissr16-rd/Ride-03.wav"],OZ=["AlesisSR16/alesissr16-rim/Rim.wav"],vZ=["AlesisSR16/alesissr16-sd/Snaredrum-01.wav","AlesisSR16/alesissr16-sd/Snaredrum-02.wav","AlesisSR16/alesissr16-sd/Snaredrum-03.wav","AlesisSR16/alesissr16-sd/Snaredrum-04.wav","AlesisSR16/alesissr16-sd/Snaredrum-05.wav","AlesisSR16/alesissr16-sd/Snaredrum-06.wav","AlesisSR16/alesissr16-sd/Snaredrum-07.wav","AlesisSR16/alesissr16-sd/Snaredrum-08.wav","AlesisSR16/alesissr16-sd/Snaredrum-09.wav","AlesisSR16/alesissr16-sd/Snaredrum-10.wav","AlesisSR16/alesissr16-sd/Snaredrum-11.wav","AlesisSR16/alesissr16-sd/Snaredrum-12.wav"],EZ=["AlesisSR16/alesissr16-sh/Shaker.wav"],yZ=["AlesisSR16/alesissr16-tb/Tamb.wav"],TZ=["BossDR110/bossdr110-bd/Bassdrum.wav"],CZ=["BossDR110/bossdr110-cp/Clap.wav"],RZ=["BossDR110/bossdr110-cr/Crash.wav"],wZ=["BossDR110/bossdr110-hh/Hat Closed.wav"],AZ=["BossDR110/bossdr110-oh/Hat Open.wav"],IZ=["BossDR110/bossdr110-rd/Ride.wav"],kZ=["BossDR110/bossdr110-sd/Snaredrum.wav"],NZ=["BossDR220/bossdr220-bd/Bassdrum.wav"],DZ=["BossDR220/bossdr220-cp/Clap.wav"],xZ=["BossDR220/bossdr220-cr/Crash.wav"],MZ=["BossDR220/bossdr220-hh/Hat Closed.wav"],LZ=["BossDR220/bossdr220-ht/Tom H.wav"],PZ=["BossDR220/bossdr220-lt/Tom L.wav"],BZ=["BossDR220/bossdr220-mt/Tom M.wav"],YZ=["BossDR220/bossdr220-oh/Hat Open.wav"],FZ=["BossDR220/bossdr220-perc/Clave.wav"],UZ=["BossDR220/bossdr220-rd/Ride.wav"],$Z=["BossDR220/bossdr220-sd/Snaredrum.wav"],GZ=["BossDR55/bossdr55-bd/Bassdrum-01.wav","BossDR55/bossdr55-bd/Bassdrum-02.wav"],qZ=["BossDR55/bossdr55-hh/Hihat1.wav","BossDR55/bossdr55-hh/Hihat2.wav"],QZ=["BossDR55/bossdr55-rim/Rimshot.wav"],HZ=["BossDR55/bossdr55-sd/Snaredrum-01.wav","BossDR55/bossdr55-sd/Snaredrum-02.wav","BossDR55/bossdr55-sd/Snaredrum-03.wav","BossDR55/bossdr55-sd/Snaredrum-05.wav","BossDR55/bossdr55-sd/Snaredrum-06.wav","BossDR55/bossdr55-sd/Snaredrum-07.wav","BossDR55/bossdr55-sd/Snaredrum-08.wav","BossDR55/bossdr55-sd/Snaredrum-09.wav"],VZ=["BossDR550/bossdr550-bd/Bassdrum-01.wav","BossDR550/bossdr550-bd/Bassdrum-02.wav","BossDR550/bossdr550-bd/Bassdrum-03.wav","BossDR550/bossdr550-bd/Bassdrum-04.wav","BossDR550/bossdr550-bd/Bassdrum-05.wav"],zZ=["BossDR550/bossdr550-cb/Cowbell-01.wav","BossDR550/bossdr550-cb/Cowbell-02.wav"],WZ=["BossDR550/bossdr550-cp/Clap.wav"],XZ=["BossDR550/bossdr550-cr/Crash.wav"],KZ=["BossDR550/bossdr550-hh/Hat Closed-01.wav","BossDR550/bossdr550-hh/Hat Closed-02.wav"],ZZ=["BossDR550/bossdr550-ht/Tom H-01.wav","BossDR550/bossdr550-ht/Tom H-02.wav","BossDR550/bossdr550-ht/Tom H-03.wav"],jZ=["BossDR550/bossdr550-lt/Tom L-01.wav","BossDR550/bossdr550-lt/Tom L-02.wav","BossDR550/bossdr550-lt/Tom L-03.wav"],JZ=["BossDR550/bossdr550-misc/Hi Q.wav","BossDR550/bossdr550-misc/Srcatch-01.wav","BossDR550/bossdr550-misc/Srcatch-02.wav"],ej=["BossDR550/bossdr550-mt/Tom M-01.wav","BossDR550/bossdr550-mt/Tom M-02.wav"],tj=["BossDR550/bossdr550-oh/Hat Open-01.wav","BossDR550/bossdr550-oh/Hat Open-02.wav"],nj=["BossDR550/bossdr550-perc/Agogo H.wav","BossDR550/bossdr550-perc/Agogo L.wav","BossDR550/bossdr550-perc/Bongo H.wav","BossDR550/bossdr550-perc/Bongo L.wav","BossDR550/bossdr550-perc/Claves.wav","BossDR550/bossdr550-perc/Conga H.wav","BossDR550/bossdr550-perc/Conga L.wav","BossDR550/bossdr550-perc/Conga S.wav","BossDR550/bossdr550-perc/Timbale H.wav","BossDR550/bossdr550-perc/Timbale L.wav","BossDR550/bossdr550-perc/Whistle.wav"],rj=["BossDR550/bossdr550-rd/Ride-01.wav","BossDR550/bossdr550-rd/Ride-02.wav"],aj=["BossDR550/bossdr550-rim/Rim Shot.wav"],ij=["BossDR550/bossdr550-sd/Snaredrum-01.wav","BossDR550/bossdr550-sd/Snaredrum-02.wav","BossDR550/bossdr550-sd/Snaredrum-03.wav","BossDR550/bossdr550-sd/Snaredrum-04.wav","BossDR550/bossdr550-sd/Snaredrum-05.wav","BossDR550/bossdr550-sd/Snaredrum-06.wav"],oj=["BossDR550/bossdr550-sh/Cabasa-01.wav","BossDR550/bossdr550-sh/Cabasa-02.wav"],sj=["BossDR550/bossdr550-tb/Tambourine.wav"],lj=["CasioRZ1/casiorz1-bd/Bassdrum.wav"],cj=["CasioRZ1/casiorz1-cb/Cowbell.wav"],uj=["CasioRZ1/casiorz1-cp/Clap.wav"],dj=["CasioRZ1/casiorz1-cr/Crash.wav"],hj=["CasioRZ1/casiorz1-hh/Hat Closed.wav"],fj=["CasioRZ1/casiorz1-ht/Tom H.wav"],mj=["CasioRZ1/casiorz1-lt/Tom L.wav"],pj=["CasioRZ1/casiorz1-mt/Tom M.wav"],gj=["CasioRZ1/casiorz1-rd/Hat Open.wav","CasioRZ1/casiorz1-rd/Ride.wav"],_j=["CasioRZ1/casiorz1-rim/Rim Shot.wav"],bj=["CasioRZ1/casiorz1-sd/0Snaredrum.wav"],Sj=["CasioSK1/casiosk1-bd/Bassdrum.wav"],Oj=["CasioSK1/casiosk1-hh/Hat Closed.wav"],vj=["CasioSK1/casiosk1-ht/Tom H.wav"],Ej=["CasioSK1/casiosk1-mt/Tom L.wav"],yj=["CasioSK1/casiosk1-oh/Hat Open.wav"],Tj=["CasioSK1/casiosk1-sd/Snaredrum.wav"],Cj=["CasioVL1/casiovl1-bd/Bassdrum.wav"],Rj=["CasioVL1/casiovl1-hh/Hi Hat.wav"],wj=["CasioVL1/casiovl1-sd/Snaredrum-01.wav"],Aj=["DoepferMS404/doepferms404-bd/0Bassdrum.wav","DoepferMS404/doepferms404-bd/Bassdrum Reverse.wav"],Ij=["DoepferMS404/doepferms404-hh/Hat Closed.wav"],kj=["DoepferMS404/doepferms404-lt/Tom.wav"],Nj=["DoepferMS404/doepferms404-oh/Hat Open.wav"],Dj=["DoepferMS404/doepferms404-sd/Snaredrum.wav"],xj=["EmuDrumulator/emudrumulator-bd/Bassdrum.wav"],Mj=["EmuDrumulator/emudrumulator-cb/Cowbell.wav"],Lj=["EmuDrumulator/emudrumulator-cp/Clap.wav"],Pj=["EmuDrumulator/emudrumulator-cr/Cymbal.wav"],Bj=["EmuDrumulator/emudrumulator-hh/Hat Closed.wav"],Yj=["EmuDrumulator/emudrumulator-ht/Tom H.wav"],Fj=["EmuDrumulator/emudrumulator-lt/Tom L.wav"],Uj=["EmuDrumulator/emudrumulator-mt/Tom M.wav"],$j=["EmuDrumulator/emudrumulator-oh/Hat Open.wav"],Gj=["EmuDrumulator/emudrumulator-perc/Claves.wav"],qj=["EmuDrumulator/emudrumulator-rim/Rim Shot.wav"],Qj=["EmuDrumulator/emudrumulator-sd/0Snaredrum.wav"],Hj=["EmuModular/emumodular-bd/Bassdrum-01.wav","EmuModular/emumodular-bd/Bassdrum-02.wav"],Vj=["EmuModular/emumodular-misc/EmuPong.wav"],zj=["EmuModular/emumodular-perc/Flick-02.wav","EmuModular/emumodular-perc/Flick01.wav"],Wj=["EmuSP12/emusp12-bd/Bassdrum-01.wav","EmuSP12/emusp12-bd/Bassdrum-02.wav","EmuSP12/emusp12-bd/Bassdrum-03.wav","EmuSP12/emusp12-bd/Bassdrum-04.wav","EmuSP12/emusp12-bd/Bassdrum-05.wav","EmuSP12/emusp12-bd/Bassdrum-06.wav","EmuSP12/emusp12-bd/Bassdrum-07.wav","EmuSP12/emusp12-bd/Bassdrum-08.wav","EmuSP12/emusp12-bd/Bassdrum-09.wav","EmuSP12/emusp12-bd/Bassdrum-10.wav","EmuSP12/emusp12-bd/Bassdrum-11.wav","EmuSP12/emusp12-bd/Bassdrum-12.wav","EmuSP12/emusp12-bd/Bassdrum-13.wav","EmuSP12/emusp12-bd/Bassdrum-14.wav"],Xj=["EmuSP12/emusp12-cb/Cowbell.wav"],Kj=["EmuSP12/emusp12-cp/Clap.wav"],Zj=["EmuSP12/emusp12-cr/Crash.wav"],jj=["EmuSP12/emusp12-hh/Hat Closed-01.wav","EmuSP12/emusp12-hh/Hat Closed-02.wav"],Jj=["EmuSP12/emusp12-ht/Tom H-01.wav","EmuSP12/emusp12-ht/Tom H-02.wav","EmuSP12/emusp12-ht/Tom H-03.wav","EmuSP12/emusp12-ht/Tom H-04.wav","EmuSP12/emusp12-ht/Tom H-05.wav","EmuSP12/emusp12-ht/Tom H-06.wav"],eJ=["EmuSP12/emusp12-lt/Tom L-01.wav","EmuSP12/emusp12-lt/Tom L-02.wav","EmuSP12/emusp12-lt/Tom L-03.wav","EmuSP12/emusp12-lt/Tom L-04.wav","EmuSP12/emusp12-lt/Tom L-05.wav","EmuSP12/emusp12-lt/Tom L-06.wav"],tJ=["EmuSP12/emusp12-misc/Metal-01.wav","EmuSP12/emusp12-misc/Metal-02.wav","EmuSP12/emusp12-misc/Metal-03.wav","EmuSP12/emusp12-misc/Scratch.wav","EmuSP12/emusp12-misc/Shot-01.wav","EmuSP12/emusp12-misc/Shot-02.wav","EmuSP12/emusp12-misc/Shot-03.wav"],nJ=["EmuSP12/emusp12-mt/Tom M-01.wav","EmuSP12/emusp12-mt/Tom M-02.wav","EmuSP12/emusp12-mt/Tom M-03.wav","EmuSP12/emusp12-mt/Tom M-05.wav"],rJ=["EmuSP12/emusp12-oh/Hhopen1.wav"],aJ=["EmuSP12/emusp12-perc/Blow1.wav"],iJ=["EmuSP12/emusp12-rd/Ride.wav"],oJ=["EmuSP12/emusp12-rim/zRim Shot-01.wav","EmuSP12/emusp12-rim/zRim Shot-02.wav"],sJ=["EmuSP12/emusp12-sd/Snaredrum-01.wav","EmuSP12/emusp12-sd/Snaredrum-02.wav","EmuSP12/emusp12-sd/Snaredrum-03.wav","EmuSP12/emusp12-sd/Snaredrum-04.wav","EmuSP12/emusp12-sd/Snaredrum-05.wav","EmuSP12/emusp12-sd/Snaredrum-06.wav","EmuSP12/emusp12-sd/Snaredrum-07.wav","EmuSP12/emusp12-sd/Snaredrum-08.wav","EmuSP12/emusp12-sd/Snaredrum-09.wav","EmuSP12/emusp12-sd/Snaredrum-10.wav","EmuSP12/emusp12-sd/Snaredrum-11.wav","EmuSP12/emusp12-sd/Snaredrum-12.wav","EmuSP12/emusp12-sd/Snaredrum-13.wav","EmuSP12/emusp12-sd/Snaredrum-14.wav","EmuSP12/emusp12-sd/Snaredrum-15.wav","EmuSP12/emusp12-sd/Snaredrum-16.wav","EmuSP12/emusp12-sd/Snaredrum-17.wav","EmuSP12/emusp12-sd/Snaredrum-18.wav","EmuSP12/emusp12-sd/Snaredrum-19.wav","EmuSP12/emusp12-sd/Snaredrum-20.wav","EmuSP12/emusp12-sd/Snaredrum-21.wav"],lJ=["KorgDDM110/korgddm110-bd/Bassdrum.wav"],cJ=["KorgDDM110/korgddm110-cp/Clap.wav"],uJ=["KorgDDM110/korgddm110-cr/Crash.wav"],dJ=["KorgDDM110/korgddm110-hh/Hat Closed.wav"],hJ=["KorgDDM110/korgddm110-ht/Tom H.wav","KorgDDM110/korgddm110-ht/Tom-01.wav"],fJ=["KorgDDM110/korgddm110-lt/Tom L.wav","KorgDDM110/korgddm110-lt/Tom-02.wav"],mJ=["KorgDDM110/korgddm110-oh/Hat Open.wav"],pJ=["KorgDDM110/korgddm110-rim/Rim Shot.wav"],gJ=["KorgDDM110/korgddm110-sd/0Snaredrum.wav"],_J=["KorgKPR77/korgkpr77-bd/Bassdrum.wav"],bJ=["KorgKPR77/korgkpr77-cp/Clap.wav"],SJ=["KorgKPR77/korgkpr77-hh/Hat Closed.wav"],OJ=["KorgKPR77/korgkpr77-oh/Hat Open.wav"],vJ=["KorgKPR77/korgkpr77-sd/Snaredrum.wav"],EJ=["KorgKR55/korgkr55-bd/Bassdrum.wav"],yJ=["KorgKR55/korgkr55-cb/Cowbell.wav"],TJ=["KorgKR55/korgkr55-cr/Cymbal.wav"],CJ=["KorgKR55/korgkr55-hh/Hat Closed.wav"],RJ=["KorgKR55/korgkr55-ht/Tom.wav"],wJ=["KorgKR55/korgkr55-oh/Hat Open.wav"],AJ=["KorgKR55/korgkr55-perc/Claves.wav","KorgKR55/korgkr55-perc/Conga.wav"],IJ=["KorgKR55/korgkr55-rim/Rim Shot.wav"],kJ=["KorgKR55/korgkr55-sd/0Snaredrum.wav"],NJ=["KorgKRZ/korgkrz-bd/Bassdrum.wav"],DJ=["KorgKRZ/korgkrz-cr/Crash.wav"],xJ=["KorgKRZ/korgkrz-fx/FX-01.wav","KorgKRZ/korgkrz-fx/FX-02.wav"],MJ=["KorgKRZ/korgkrz-hh/Hat Closed.wav"],LJ=["KorgKRZ/korgkrz-ht/Tom-02.wav"],PJ=["KorgKRZ/korgkrz-lt/Tom-01.wav"],BJ=["KorgKRZ/korgkrz-misc/Bell.wav"],YJ=["KorgKRZ/korgkrz-oh/Hat Open.wav"],FJ=["KorgKRZ/korgkrz-rd/Ride.wav"],UJ=["KorgKRZ/korgkrz-sd/Snaredrum-01.wav","KorgKRZ/korgkrz-sd/Snaredrum-02.wav"],$J=["KorgM1/korgm1-bd/Bassdrum-01.wav","KorgM1/korgm1-bd/Bassdrum-02.wav","KorgM1/korgm1-bd/Bassdrum-03.wav"],GJ=["KorgM1/korgm1-cb/Cowbel.wav"],qJ=["KorgM1/korgm1-cp/Clap.wav"],QJ=["KorgM1/korgm1-cr/Crash.wav"],HJ=["KorgM1/korgm1-hh/Hat Closed-01.wav","KorgM1/korgm1-hh/Hat Closed-02.wav"],VJ=["KorgM1/korgm1-ht/Tom-02.wav","KorgM1/korgm1-ht/Tom-03.wav"],zJ=["KorgM1/korgm1-misc/Belrng.wav","KorgM1/korgm1-misc/Drop.wav","KorgM1/korgm1-misc/Flexttone.wav","KorgM1/korgm1-misc/Hammer.wav","KorgM1/korgm1-misc/Metal.wav","KorgM1/korgm1-misc/Metronome-01.wav","KorgM1/korgm1-misc/Metronome-02.wav","KorgM1/korgm1-misc/Pole.wav","KorgM1/korgm1-misc/Scratch.wav","KorgM1/korgm1-misc/Snap.wav","KorgM1/korgm1-misc/Tubalar Bell-01.wav","KorgM1/korgm1-misc/Tubalar Bell-02.wav","KorgM1/korgm1-misc/Tubalar Bell-03.wav","KorgM1/korgm1-misc/Tubalar Bell-04.wav","KorgM1/korgm1-misc/Whiplash.wav","KorgM1/korgm1-misc/Windbells.wav"],WJ=["KorgM1/korgm1-mt/Tom-01.wav"],XJ=["KorgM1/korgm1-oh/Hat Open-01.wav","KorgM1/korgm1-oh/Hat Open-02.wav"],KJ=["KorgM1/korgm1-perc/Conga-01.wav","KorgM1/korgm1-perc/Conga-02.wav","KorgM1/korgm1-perc/Hit.wav","KorgM1/korgm1-perc/Pluck.wav","KorgM1/korgm1-perc/Timbale-01.wav","KorgM1/korgm1-perc/Timbale-02.wav","KorgM1/korgm1-perc/Woodblock.wav"],ZJ=["KorgM1/korgm1-rd/Ride.wav"],jJ=["KorgM1/korgm1-rim/Snaredrum-side.wav"],JJ=["KorgM1/korgm1-sd/Snaredrum-01.wav","KorgM1/korgm1-sd/Snaredrum-02.wav","KorgM1/korgm1-sd/Snaredrum-03.wav","KorgM1/korgm1-sd/Snaredrum-04.wav"],eee=["KorgM1/korgm1-sh/Shakers.wav"],tee=["KorgM1/korgm1-tb/Tambourine.wav"],nee=["KorgMinipops/korgminipops-bd/Bassdrum-01.wav","KorgMinipops/korgminipops-bd/Bassdrum-02.wav","KorgMinipops/korgminipops-bd/Bassdrum-03.wav","KorgMinipops/korgminipops-bd/Bassdrum-04.wav","KorgMinipops/korgminipops-bd/Bassdrum-05.wav","KorgMinipops/korgminipops-bd/Bassdrum-06.wav","KorgMinipops/korgminipops-bd/Bassdrum-07.wav"],ree=["KorgMinipops/korgminipops-hh/Hat Closed-01.wav","KorgMinipops/korgminipops-hh/Hat Closed-02.wav","KorgMinipops/korgminipops-hh/Hat Closed-03.wav","KorgMinipops/korgminipops-hh/Hat Closed-04.wav"],aee=["KorgMinipops/korgminipops-misc/Tom-01.wav","KorgMinipops/korgminipops-misc/Tom-02.wav","KorgMinipops/korgminipops-misc/Woodblock-01.wav","KorgMinipops/korgminipops-misc/Woodblock-02.wav"],iee=["KorgMinipops/korgminipops-oh/Hat Open-01.wav","KorgMinipops/korgminipops-oh/Hat Open-02.wav","KorgMinipops/korgminipops-oh/Hat Open-03.wav","KorgMinipops/korgminipops-oh/Hat Open-04.wav"],oee=["KorgMinipops/korgminipops-sd/Snaredrum-01.wav","KorgMinipops/korgminipops-sd/Snaredrum-02.wav","KorgMinipops/korgminipops-sd/Snaredrum-03.wav","KorgMinipops/korgminipops-sd/Snaredrum-04.wav","KorgMinipops/korgminipops-sd/Snaredrum-05.wav","KorgMinipops/korgminipops-sd/Snaredrum-06.wav","KorgMinipops/korgminipops-sd/Snaredrum-07.wav","KorgMinipops/korgminipops-sd/Snaredrum-08.wav","KorgMinipops/korgminipops-sd/Snaredrum-09.wav","KorgMinipops/korgminipops-sd/Snaredrum-10.wav","KorgMinipops/korgminipops-sd/Snaredrum-11.wav","KorgMinipops/korgminipops-sd/Snaredrum-12.wav","KorgMinipops/korgminipops-sd/Snaredrum-13.wav"],see=["KorgPoly800/korgpoly800-bd/Bassdrum-01.wav","KorgPoly800/korgpoly800-bd/Bassdrum-02.wav","KorgPoly800/korgpoly800-bd/Bassdrum-03.wav","KorgPoly800/korgpoly800-bd/Bassdrum-04.wav"],lee=["KorgT3/korgt3-bd/Bassdrum-01.wav","KorgT3/korgt3-bd/Bassdrum-02.wav","KorgT3/korgt3-bd/Bassdrum-03.wav","KorgT3/korgt3-bd/Bassdrum-04.wav","KorgT3/korgt3-bd/Bassdrum-05.wav"],cee=["KorgT3/korgt3-cp/Clap.wav"],uee=["KorgT3/korgt3-hh/Hat Closed-01.wav","KorgT3/korgt3-hh/Hat Closed-02.wav"],dee=["KorgT3/korgt3-misc/Bell-02.wav","KorgT3/korgt3-misc/Bell01.wav","KorgT3/korgt3-misc/Click.wav","KorgT3/korgt3-misc/Tubular Bell.wav"],hee=["KorgT3/korgt3-oh/Hat Open-01.wav","KorgT3/korgt3-oh/Hat Open-02.wav"],fee=["KorgT3/korgt3-perc/Blocks.wav","KorgT3/korgt3-perc/Conga.wav","KorgT3/korgt3-perc/Hit.wav","KorgT3/korgt3-perc/Stick.wav"],mee=["KorgT3/korgt3-rim/Rim shot.wav"],pee=["KorgT3/korgt3-sd/Snaredrum-01.wav","KorgT3/korgt3-sd/Snaredrum-02.wav","KorgT3/korgt3-sd/Snaredrum-03.wav","KorgT3/korgt3-sd/Snaredrum-04.wav","KorgT3/korgt3-sd/Snaredrum-05.wav"],gee=["KorgT3/korgt3-sh/Shaker-01.wav","KorgT3/korgt3-sh/Shaker-02.wav","KorgT3/korgt3-sh/zCabasa.wav"],_ee=["Linn9000/linn9000-bd/BAssdrum.wav"],bee=["Linn9000/linn9000-cb/Cowbell-01.wav","Linn9000/linn9000-cb/Cowbell-02.wav"],See=["Linn9000/linn9000-cr/Crash-01.wav","Linn9000/linn9000-cr/Crash-02.wav"],Oee=["Linn9000/linn9000-hh/Hat Closed.wav"],vee=["Linn9000/linn9000-ht/Tom-01.wav","Linn9000/linn9000-ht/Tom-02.wav"],Eee=["Linn9000/linn9000-lt/Tom-04.wav","Linn9000/linn9000-lt/Tom-05.wav"],yee=["Linn9000/linn9000-mt/Tom-03.wav"],Tee=["Linn9000/linn9000-oh/Hat Open.wav"],Cee=["Linn9000/linn9000-perc/Conga H.wav","Linn9000/linn9000-perc/Conga L.wav","Linn9000/linn9000-perc/Conga M.wav"],Ree=["Linn9000/linn9000-rd/Crash-03.wav","Linn9000/linn9000-rd/Ping.wav"],wee=["Linn9000/linn9000-rim/Rim Shot.wav"],Aee=["Linn9000/linn9000-sd/0Snaredrum.wav"],Iee=["Linn9000/linn9000-tb/Tambourine.wav"],kee=["LinnDrum/linndrum-bd/Bassdrum.wav"],Nee=["LinnDrum/linndrum-cb/Cowbell.wav"],Dee=["LinnDrum/linndrum-cp/Clap.wav"],xee=["LinnDrum/linndrum-cr/Crash.wav"],Mee=["LinnDrum/linndrum-hh/Hat Closed-01.wav","LinnDrum/linndrum-hh/Hat Closed-02.wav","LinnDrum/linndrum-hh/Hat Closed-03.wav"],Lee=["LinnDrum/linndrum-ht/Tom H-01.wav","LinnDrum/linndrum-ht/Tom H-02.wav"],Pee=["LinnDrum/linndrum-lt/Tom L-01.wav","LinnDrum/linndrum-lt/Tom L-02.wav"],Bee=["LinnDrum/linndrum-mt/Tom M-01.wav"],Yee=["LinnDrum/linndrum-oh/Hat Open.wav"],Fee=["LinnDrum/linndrum-perc/Conga H-01.wav","LinnDrum/linndrum-perc/Conga H-02.wav","LinnDrum/linndrum-perc/Conga L-01.wav","LinnDrum/linndrum-perc/Conga L-02.wav","LinnDrum/linndrum-perc/Conga M-01.wav","LinnDrum/linndrum-perc/Conga M-02.wav"],Uee=["LinnDrum/linndrum-rd/Ride.wav"],$ee=["LinnDrum/linndrum-rim/Sidestick-01.wav","LinnDrum/linndrum-rim/Sidestick-02.wav","LinnDrum/linndrum-rim/Sidestick-03.wav"],Gee=["LinnDrum/linndrum-sd/0Snarderum-01.wav","LinnDrum/linndrum-sd/0Snarderum-02.wav","LinnDrum/linndrum-sd/0Snarderum-03.wav"],qee=["LinnDrum/linndrum-sh/Cabasa.wav"],Qee=["LinnDrum/linndrum-tb/Tambourine.wav"],Hee=["LinnLM1/linnlm1-bd/LM-1_BD_1_TL.wav","LinnLM1/linnlm1-bd/LM-1_BD_2_TL.wav","LinnLM1/linnlm1-bd/LM-1_BD_3_TL.wav","LinnLM1/linnlm1-bd/LM-1_BD_4_TL.wav"],Vee=["LinnLM1/linnlm1-cb/LM-1_COWBELL_TL.wav"],zee=["LinnLM1/linnlm1-cp/LM-1_CLAP_1_TL.wav"],Wee=["LinnLM1/linnlm1-hh/LM-1_HH_1_TL.wav"],Xee=["LinnLM1/linnlm1-ht/LM-1_Tom_2_TL.wav"],Kee=["LinnLM1/linnlm1-lt/LM-1_Tom_1_TL.wav"],Zee=["LinnLM1/linnlm1-oh/LM-1_HH_2_TL.wav"],jee=["LinnLM1/linnlm1-perc/LM-1_BONGO_1_TL.wav","LinnLM1/linnlm1-perc/LM-1_BONGO_2_TL.wav","LinnLM1/linnlm1-perc/LM-1_WOODBLOCK_TL.wav"],Jee=["LinnLM1/linnlm1-rim/LM-1_RIMSHOT_1_TL.wav"],ete=["LinnLM1/linnlm1-sd/LM-1_SD_1_TL.wav"],tte=["LinnLM1/linnlm1-sh/LM-1_SHAKER_1_TL.wav"],nte=["LinnLM1/linnlm1-tb/LM-1_TAMB_TL.wav"],rte=["LinnLM2/linnlm2-bd/LM-2_BD_1_TL.wav","LinnLM2/linnlm2-bd/LM-2_BD_2_TL.wav","LinnLM2/linnlm2-bd/LM-2_BD_3_TL.wav","LinnLM2/linnlm2-bd/LM-2_BD_4_TL.wav"],ate=["LinnLM2/linnlm2-cb/LM-2_COWBELL_1_TL.wav"],ite=["LinnLM2/linnlm2-cp/LM-2_CLAP_1_TL.wav"],ote=["LinnLM2/linnlm2-cr/LM-2_CRASH_1_TL.wav"],ste=["LinnLM2/linnlm2-hh/LM-2_HH_1_TL.wav","LinnLM2/linnlm2-hh/LM-2_HH_2_TL.wav"],lte=["LinnLM2/linnlm2-ht/LM-2_TOM_1_TL.wav"],cte=["LinnLM2/linnlm2-lt/LM-2_TOM_3_TL.wav"],ute=["LinnLM2/linnlm2-mt/LM-2_TOM_2_TL.wav"],dte=["LinnLM2/linnlm2-oh/LM-2_OPEN_HH_2_TL.wav","LinnLM2/linnlm2-oh/LM-2_OPEN_HH_TL.wav"],hte=["LinnLM2/linnlm2-rd/LM-2_RIDE_1_TL.wav"],fte=["LinnLM2/linnlm2-rim/LM-2_RIMSHOT_1_TL.wav","LinnLM2/linnlm2-rim/LM-2_RIMSHOT_2_TL.wav"],mte=["LinnLM2/linnlm2-sd/LM-2_SD_1_TL.wav","LinnLM2/linnlm2-sd/LM-2_SD_2_TL.wav","LinnLM2/linnlm2-sd/LM-2_SD_3_TL.wav","LinnLM2/linnlm2-sd/LM-2_SD_4_TL.wav"],pte=["LinnLM2/linnlm2-sh/LM-2_SHAKER_1_TL.wav"],gte=["LinnLM2/linnlm2-tb/LM-2_TAMB_1_TL.wav"],_te=["MFB512/mfb512-bd/Bassdrum.wav"],bte=["MFB512/mfb512-cp/Clap.wav"],Ste=["MFB512/mfb512-cr/Crash.wav"],Ote=["MFB512/mfb512-hh/Hat Closed.wav"],vte=["MFB512/mfb512-ht/Tom H.wav"],Ete=["MFB512/mfb512-lt/Tom L.wav"],yte=["MFB512/mfb512-mt/Tom M.wav"],Tte=["MFB512/mfb512-oh/Hat Open.wav"],Cte=["MFB512/mfb512-sd/Snaredrum.wav"],Rte=["MPC1000/mpc1000-bd/MPC1000_808BD_TL.wav","MPC1000/mpc1000-bd/MPC1000_909BD_TL.wav","MPC1000/mpc1000-bd/MPC1000_DB-BD2_TL.wav","MPC1000/mpc1000-bd/MPC1000_HH-BD_TL.wav","MPC1000/mpc1000-bd/MPC1000_HOUSEBD_TL.wav"],wte=["MPC1000/mpc1000-cp/MPC1000_CLAP_TL.wav"],Ate=["MPC1000/mpc1000-hh/MPC1000_808HH1_TL.wav","MPC1000/mpc1000-hh/MPC1000_808HH2_TL.wav","MPC1000/mpc1000-hh/MPC1000_909CHH_TL.wav","MPC1000/mpc1000-hh/MPC1000_HHCHH1_TL.wav"],Ite=["MPC1000/mpc1000-oh/MPC1000_909OHH_TL.wav"],kte=["MPC1000/mpc1000-perc/MPC1000_HHPERC_TL.wav"],Nte=["MPC1000/mpc1000-sd/MPC1000_808SD_TL.wav","MPC1000/mpc1000-sd/MPC1000_909SD_TL.wav","MPC1000/mpc1000-sd/MPC1000_DB-SN_TL.wav","MPC1000/mpc1000-sd/MPC1000_HH-SN_TL.wav"],Dte=["MPC1000/mpc1000-sh/MPC1000_808MRC_TL.wav"],xte=["MoogConcertMateMG1/moogconcertmatemg1-bd/Bassdrum-01.wav","MoogConcertMateMG1/moogconcertmatemg1-bd/Bassdrum-02.wav","MoogConcertMateMG1/moogconcertmatemg1-bd/Bassdrum-03.wav"],Mte=["MoogConcertMateMG1/moogconcertmatemg1-sd/Snaredrum-1.wav","MoogConcertMateMG1/moogconcertmatemg1-sd/Snaredrum-2.wav"],Lte=["OberheimDMX/oberheimdmx--perc/Timbale H.wav","OberheimDMX/oberheimdmx--perc/Timbale L.wav","OberheimDMX/oberheimdmx--perc/Timbale M.wav"],Pte=["OberheimDMX/oberheimdmx-bd/Bassdrum-01.wav","OberheimDMX/oberheimdmx-bd/Bassdrum-02.wav","OberheimDMX/oberheimdmx-bd/Bassdrum-03.wav"],Bte=["OberheimDMX/oberheimdmx-cp/Clap.wav"],Yte=["OberheimDMX/oberheimdmx-cr/Crash.wav"],Fte=["OberheimDMX/oberheimdmx-hh/Hat Closed.wav"],Ute=["OberheimDMX/oberheimdmx-ht/Tom H.wav"],$te=["OberheimDMX/oberheimdmx-lt/Tom L.wav"],Gte=["OberheimDMX/oberheimdmx-mt/Tom M.wav"],qte=["OberheimDMX/oberheimdmx-oh/Hat Open.wav"],Qte=["OberheimDMX/oberheimdmx-rd/Ride.wav"],Hte=["OberheimDMX/oberheimdmx-rim/Rim Shot.wav"],Vte=["OberheimDMX/oberheimdmx-sd/Snaredrum-01.wav","OberheimDMX/oberheimdmx-sd/Snaredrum-02.wav","OberheimDMX/oberheimdmx-sd/Snaredrum-03.wav"],zte=["OberheimDMX/oberheimdmx-sh/Cabasa.wav"],Wte=["OberheimDMX/oberheimdmx-tb/Tamborine.wav"],Xte=["RhodesPolaris/rhodespolaris-bd/Bassdrum-01.wav","RhodesPolaris/rhodespolaris-bd/Bassdrum-02.wav","RhodesPolaris/rhodespolaris-bd/Bassdrum-03.wav","RhodesPolaris/rhodespolaris-bd/Bassdrum-04.wav"],Kte=["RhodesPolaris/rhodespolaris-misc/Noise-1.wav","RhodesPolaris/rhodespolaris-misc/Noise-2.wav","RhodesPolaris/rhodespolaris-misc/Noise-3.wav","RhodesPolaris/rhodespolaris-misc/Noise-4.wav"],Zte=["RhodesPolaris/rhodespolaris-sd/Snaredrum-01.wav","RhodesPolaris/rhodespolaris-sd/Snaredrum-02.wav","RhodesPolaris/rhodespolaris-sd/Snaredrum-03.wav","RhodesPolaris/rhodespolaris-sd/Snaredrum-04.wav"],jte=["RhythmAce/rhythmace-bd/Bassdrum-01.wav","RhythmAce/rhythmace-bd/Bassdrum-02.wav","RhythmAce/rhythmace-bd/Bassdrum-03.wav"],Jte=["RhythmAce/rhythmace-hh/Hat Closed.wav"],ene=["RhythmAce/rhythmace-ht/Tom H.wav"],tne=["RhythmAce/rhythmace-lt/Tom L.wav"],nne=["RhythmAce/rhythmace-oh/Hat Open.wav"],rne=["RhythmAce/rhythmace-perc/Clave.wav","RhythmAce/rhythmace-perc/Click.wav","RhythmAce/rhythmace-perc/Percussion-01.wav","RhythmAce/rhythmace-perc/Percussion-02.wav","RhythmAce/rhythmace-perc/Percussion-03.wav","RhythmAce/rhythmace-perc/Percussion-04.wav"],ane=["RhythmAce/rhythmace-sd/Snaredrum-01.wav","RhythmAce/rhythmace-sd/Snaredrum-02.wav","RhythmAce/rhythmace-sd/Snaredrum-03.wav"],ine=["RolandCompurhythm1000/rolandcompurhythm1000-bd/Bassdrum.wav"],one=["RolandCompurhythm1000/rolandcompurhythm1000-cb/Cowbell.wav"],sne=["RolandCompurhythm1000/rolandcompurhythm1000-cp/Clap.wav"],lne=["RolandCompurhythm1000/rolandcompurhythm1000-cr/Crash.wav"],cne=["RolandCompurhythm1000/rolandcompurhythm1000-hh/Hat Closed.wav"],une=["RolandCompurhythm1000/rolandcompurhythm1000-ht/Tom H.wav"],dne=["RolandCompurhythm1000/rolandcompurhythm1000-lt/Tom L.wav"],hne=["RolandCompurhythm1000/rolandcompurhythm1000-mt/Tom M.wav"],fne=["RolandCompurhythm1000/rolandcompurhythm1000-oh/Hat Open.wav"],mne=["RolandCompurhythm1000/rolandcompurhythm1000-perc/Conga H.wav","RolandCompurhythm1000/rolandcompurhythm1000-perc/Conga L.wav","RolandCompurhythm1000/rolandcompurhythm1000-perc/Timbale.wav"],pne=["RolandCompurhythm1000/rolandcompurhythm1000-rd/Ride.wav"],gne=["RolandCompurhythm1000/rolandcompurhythm1000-rim/Rimshot.wav"],_ne=["RolandCompurhythm1000/rolandcompurhythm1000-sd/Snaredrum.wav"],bne=["RolandCompurhythm78/rolandcompurhythm78-bd/Bassdrum.wav"],Sne=["RolandCompurhythm78/rolandcompurhythm78-cb/Cowbell.wav"],One=["RolandCompurhythm78/rolandcompurhythm78-hh/Hat Closed-01.wav","RolandCompurhythm78/rolandcompurhythm78-hh/Hat Closed-02.wav"],vne=["RolandCompurhythm78/rolandcompurhythm78-misc/Quid-01.wav","RolandCompurhythm78/rolandcompurhythm78-misc/Quid-02.wav","RolandCompurhythm78/rolandcompurhythm78-misc/Quid-03.wav","RolandCompurhythm78/rolandcompurhythm78-misc/Quid-04.wav"],Ene=["RolandCompurhythm78/rolandcompurhythm78-oh/Hat Open-01.wav","RolandCompurhythm78/rolandcompurhythm78-oh/Hat Open-02.wav"],yne=["RolandCompurhythm78/rolandcompurhythm78-perc/Conga H.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Conga L.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Conga M.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Hit.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-01.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-02.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-03.wav","RolandCompurhythm78/rolandcompurhythm78-perc/Woodblock-04.wav"],Tne=["RolandCompurhythm78/rolandcompurhythm78-sd/Snaredrum.wav"],Cne=["RolandCompurhythm78/rolandcompurhythm78-tb/Tambourine.wav"],Rne=["RolandCompurhythm8000/rolandcompurhythm8000-bd/Bassdrum.wav"],wne=["RolandCompurhythm8000/rolandcompurhythm8000-cb/Cowbell.wav"],Ane=["RolandCompurhythm8000/rolandcompurhythm8000-cp/Clap.wav"],Ine=["RolandCompurhythm8000/rolandcompurhythm8000-cr/Cymball.wav"],kne=["RolandCompurhythm8000/rolandcompurhythm8000-hh/Hat Closed.wav"],Nne=["RolandCompurhythm8000/rolandcompurhythm8000-ht/Tom H.wav"],Dne=["RolandCompurhythm8000/rolandcompurhythm8000-lt/Tom L.wav"],xne=["RolandCompurhythm8000/rolandcompurhythm8000-mt/Tom M.wav"],Mne=["RolandCompurhythm8000/rolandcompurhythm8000-oh/Hat Open.wav"],Lne=["RolandCompurhythm8000/rolandcompurhythm8000-perc/Claves.wav","RolandCompurhythm8000/rolandcompurhythm8000-perc/Cr8kmcng.wav"],Pne=["RolandCompurhythm8000/rolandcompurhythm8000-rim/Rimshot.wav"],Bne=["RolandCompurhythm8000/rolandcompurhythm8000-sd/Snarderum.wav"],Yne=["RolandD110/rolandd110-bd/Bassdrum.wav"],Fne=["RolandD110/rolandd110-cb/Cowbell H.wav","RolandD110/rolandd110-cb/Cowbell L.wav"],Une=["RolandD110/rolandd110-cr/Crash.wav"],$ne=["RolandD110/rolandd110-hh/Hat Closed.wav"],Gne=["RolandD110/rolandd110-lt/Tom.wav"],qne=["RolandD110/rolandd110-oh/Hat Open.wav","RolandD110/rolandd110-oh/Hat Pedal.wav"],Qne=["RolandD110/rolandd110-perc/Bongo.wav","RolandD110/rolandd110-perc/Conga.wav","RolandD110/rolandd110-perc/Woodblock.wav"],Hne=["RolandD110/rolandd110-rd/Ride.wav"],Vne=["RolandD110/rolandd110-rim/Rimshot.wav"],zne=["RolandD110/rolandd110-sd/Snaredrum-01.wav","RolandD110/rolandd110-sd/Snaredrum-02.wav","RolandD110/rolandd110-sd/Snaredrum-03.wav"],Wne=["RolandD110/rolandd110-sh/Cabasa.wav"],Xne=["RolandD110/rolandd110-tb/Tambourine.wav"],Kne=["RolandD70/rolandd70-bd/Bassdrum-01.wav","RolandD70/rolandd70-bd/Bassdrum-02.wav","RolandD70/rolandd70-bd/Bassdrum-03.wav","RolandD70/rolandd70-bd/Bassdrum-04.wav"],Zne=["RolandD70/rolandd70-cb/Cowbell.wav"],jne=["RolandD70/rolandd70-cp/Clap.wav"],Jne=["RolandD70/rolandd70-cr/Crash.wav"],ere=["RolandD70/rolandd70-hh/Hat Closed.wav"],tre=["RolandD70/rolandd70-lt/Tom-02.wav"],nre=["RolandD70/rolandd70-mt/Tom.-01.wav"],rre=["RolandD70/rolandd70-oh/Hat Open.wav"],are=["RolandD70/rolandd70-perc/Sticks.wav"],ire=["RolandD70/rolandd70-rd/Ride.wav"],ore=["RolandD70/rolandd70-rim/Rim Shot.wav"],sre=["RolandD70/rolandd70-sd/Snaredrum-01.wav","RolandD70/rolandd70-sd/Snaredrum-02.wav","RolandD70/rolandd70-sd/Snaredrum-03.wav","RolandD70/rolandd70-sd/Snaredrum-04.wav","RolandD70/rolandd70-sd/Snaredrum-05.wav"],lre=["RolandD70/rolandd70-sh/Cabasa.wav"],cre=["RolandDDR30/rolandddr30-bd/Bassdrum-01.wav","RolandDDR30/rolandddr30-bd/Bassdrum-02.wav","RolandDDR30/rolandddr30-bd/Bassdrum-03.wav","RolandDDR30/rolandddr30-bd/Bassdrum-04.wav","RolandDDR30/rolandddr30-bd/Bassdrum-05.wav","RolandDDR30/rolandddr30-bd/Bassdrum-06.wav","RolandDDR30/rolandddr30-bd/Bassdrum-07.wav","RolandDDR30/rolandddr30-bd/Bassdrum-08.wav"],ure=["RolandDDR30/rolandddr30-ht/Tom-01.wav","RolandDDR30/rolandddr30-ht/Tom-03.wav","RolandDDR30/rolandddr30-ht/Tom-05.wav","RolandDDR30/rolandddr30-ht/Tom-07.wav"],dre=["RolandDDR30/rolandddr30-lt/Tom-02.wav","RolandDDR30/rolandddr30-lt/Tom-04.wav","RolandDDR30/rolandddr30-lt/Tom-06.wav","RolandDDR30/rolandddr30-lt/Tom-08.wav"],hre=["RolandDDR30/rolandddr30-sd/Snaredrum-01.wav","RolandDDR30/rolandddr30-sd/Snaredrum-02.wav","RolandDDR30/rolandddr30-sd/Snaredrum-03.wav","RolandDDR30/rolandddr30-sd/Snaredrum-04.wav","RolandDDR30/rolandddr30-sd/Snaredrum-05.wav","RolandDDR30/rolandddr30-sd/Snaredrum-06.wav","RolandDDR30/rolandddr30-sd/Snaredrum-07.wav","RolandDDR30/rolandddr30-sd/Snaredrum-08.wav"],fre=["RolandJD990/rolandjd990-bd/Bryt-kck.wav","RolandJD990/rolandjd990-bd/Butt-kck.wav","RolandJD990/rolandjd990-bd/Gate-kck.wav","RolandJD990/rolandjd990-bd/Indstr-k.wav","RolandJD990/rolandjd990-bd/Mach-kck.wav","RolandJD990/rolandjd990-bd/Mondo-k.wav","RolandJD990/rolandjd990-bd/Room-kck.wav","RolandJD990/rolandjd990-bd/Smash-k.wav","RolandJD990/rolandjd990-bd/Solid-k.wav","RolandJD990/rolandjd990-bd/Tekno-k.wav"],mre=["RolandJD990/rolandjd990-cb/Cowbell.wav"],pre=["RolandJD990/rolandjd990-cp/Dance-cl.wav"],gre=["RolandJD990/rolandjd990-cr/Crsh-cym.wav"],_re=["RolandJD990/rolandjd990-hh/Chh_1.wav","RolandJD990/rolandjd990-hh/Chh_2.wav","RolandJD990/rolandjd990-hh/Lite-ch1.wav","RolandJD990/rolandjd990-hh/Lite-ch2.wav"],bre=["RolandJD990/rolandjd990-ht/Rim-tom1.wav"],Sre=["RolandJD990/rolandjd990-lt/Blast-tm.wav","RolandJD990/rolandjd990-lt/Boosh-tm.wav","RolandJD990/rolandjd990-lt/E-tom.wav","RolandJD990/rolandjd990-lt/Power_tm.wav","RolandJD990/rolandjd990-lt/Rim-tom4.wav"],Ore=["RolandJD990/rolandjd990-misc/Crystal.wav","RolandJD990/rolandjd990-misc/Digibels.wav","RolandJD990/rolandjd990-misc/Digichim.wav","RolandJD990/rolandjd990-misc/Fingbell.wav","RolandJD990/rolandjd990-misc/Gamelan.wav","RolandJD990/rolandjd990-misc/Kalimba.wav","RolandJD990/rolandjd990-misc/Marimwav.wav","RolandJD990/rolandjd990-misc/Org_bell.wav","RolandJD990/rolandjd990-misc/Plink.wav","RolandJD990/rolandjd990-misc/Plunk.wav","RolandJD990/rolandjd990-misc/Vibes.wav","RolandJD990/rolandjd990-misc/Xylo.wav"],vre=["RolandJD990/rolandjd990-mt/Rim-tom2.wav","RolandJD990/rolandjd990-mt/Rim-tom3.wav"],Ere=["RolandJD990/rolandjd990-oh/Lite-ohh.wav","RolandJD990/rolandjd990-oh/Ohh.wav"],yre=["RolandJD990/rolandjd990-perc/Agogo_bl.wav","RolandJD990/rolandjd990-perc/Bottlhit.wav","RolandJD990/rolandjd990-perc/Rattles.wav","RolandJD990/rolandjd990-perc/Sm_metal.wav","RolandJD990/rolandjd990-perc/Snaps.wav","RolandJD990/rolandjd990-perc/Woodcrak.wav"],Tre=["RolandJD990/rolandjd990-rd/Ride_cym.wav"],Cre=["RolandJD990/rolandjd990-sd/90's-sd.wav","RolandJD990/rolandjd990-sd/Attack_s.wav","RolandJD990/rolandjd990-sd/Bigshots.wav","RolandJD990/rolandjd990-sd/Combo-sd.wav","RolandJD990/rolandjd990-sd/Dance-s1.wav","RolandJD990/rolandjd990-sd/Dance-s2.wav","RolandJD990/rolandjd990-sd/Disco-sd.wav","RolandJD990/rolandjd990-sd/Hard-sd.wav","RolandJD990/rolandjd990-sd/Hiphop-s.wav","RolandJD990/rolandjd990-sd/House-sd.wav","RolandJD990/rolandjd990-sd/Power_sd.wav","RolandJD990/rolandjd990-sd/Rap-sd.wav","RolandJD990/rolandjd990-sd/Splat-sd.wav","RolandJD990/rolandjd990-sd/Swing-sd.wav","RolandJD990/rolandjd990-sd/Video-sd.wav"],Rre=["RolandJD990/rolandjd990-tb/Tambourn.wav"],wre=["RolandMC202/rolandmc202-bd/Bassdrum-01.wav","RolandMC202/rolandmc202-bd/Bassdrum-02.wav","RolandMC202/rolandmc202-bd/Bassdrum-03.wav","RolandMC202/rolandmc202-bd/Bassdrum-04.wav","RolandMC202/rolandmc202-bd/Bassdrum-05.wav"],Are=["RolandMC202/rolandmc202-ht/Tom H-02.wav","RolandMC202/rolandmc202-ht/Tom H-03.wav","RolandMC202/rolandmc202-ht/Tom H-04.wav"],Ire=["RolandMC202/rolandmc202-perc/Click.wav"],kre=["RolandMC303/rolandmc303-bd/606bd1.wav","RolandMC303/rolandmc303-bd/606bd2.wav","RolandMC303/rolandmc303-bd/606bd3.wav","RolandMC303/rolandmc303-bd/Afrofeet.wav","RolandMC303/rolandmc303-bd/Blipbd.wav","RolandMC303/rolandmc303-bd/Cavebd.wav","RolandMC303/rolandmc303-bd/Cavebd2.wav","RolandMC303/rolandmc303-bd/Distbd1.wav","RolandMC303/rolandmc303-bd/Distbd2.wav","RolandMC303/rolandmc303-bd/Distbd3.wav","RolandMC303/rolandmc303-bd/Drybd1.wav","RolandMC303/rolandmc303-bd/Drybd2.wav","RolandMC303/rolandmc303-bd/Drybd3.wav","RolandMC303/rolandmc303-bd/Elecbd.wav","RolandMC303/rolandmc303-bd/Jnglebd2.wav","RolandMC303/rolandmc303-bd/Junglebd.wav"],Nre=["RolandMC303/rolandmc303-cb/78cowbel.wav","RolandMC303/rolandmc303-cb/Cowbell.wav"],Dre=["RolandMC303/rolandmc303-cp/707clap.wav","RolandMC303/rolandmc303-cp/Hardclap.wav","RolandMC303/rolandmc303-cp/Hc2clap.wav","RolandMC303/rolandmc303-cp/Hipclap1.wav","RolandMC303/rolandmc303-cp/Rapclap1.wav","RolandMC303/rolandmc303-cp/Rapclap2.wav","RolandMC303/rolandmc303-cp/Realclap.wav","RolandMC303/rolandmc303-cp/Shakecla.wav"],xre=["RolandMC303/rolandmc303-fx/Hrtbeat.wav","RolandMC303/rolandmc303-fx/Whitnoiz.wav"],Mre=["RolandMC303/rolandmc303-hh/606ch.wav","RolandMC303/rolandmc303-hh/707ch.wav","RolandMC303/rolandmc303-hh/78ch.wav","RolandMC303/rolandmc303-hh/Realch1.wav","RolandMC303/rolandmc303-hh/Realch2.wav","RolandMC303/rolandmc303-hh/Roomch.wav"],Lre=["RolandMC303/rolandmc303-ht/78hitom.wav","RolandMC303/rolandmc303-ht/Achitom1.wav","RolandMC303/rolandmc303-ht/Achitom2.wav","RolandMC303/rolandmc303-ht/Lechito1.wav","RolandMC303/rolandmc303-ht/Lechito2.wav"],Pre=["RolandMC303/rolandmc303-lt/78lotom.wav","RolandMC303/rolandmc303-lt/Aclotom1.wav","RolandMC303/rolandmc303-lt/Aclotom2.wav","RolandMC303/rolandmc303-lt/Lecloto2.wav","RolandMC303/rolandmc303-lt/Losyntht.wav"],Bre=["RolandMC303/rolandmc303-misc/Asiangon.wav","RolandMC303/rolandmc303-misc/Fnkygost.wav","RolandMC303/rolandmc303-misc/Fxsd1.wav","RolandMC303/rolandmc303-misc/Fxsd2.wav","RolandMC303/rolandmc303-misc/Mgblip1.wav","RolandMC303/rolandmc303-misc/Mutecuic.wav","RolandMC303/rolandmc303-misc/Opencuic.wav","RolandMC303/rolandmc303-misc/Slap.wav"],Yre=["RolandMC303/rolandmc303-mt/78midtom.wav","RolandMC303/rolandmc303-mt/Acmidtm2.wav","RolandMC303/rolandmc303-mt/Acmidtom.wav","RolandMC303/rolandmc303-mt/Lecmidt1.wav","RolandMC303/rolandmc303-mt/Lecmidt2.wav","RolandMC303/rolandmc303-mt/Midsynth.wav"],Fre=["RolandMC303/rolandmc303-oh/707oh.wav","RolandMC303/rolandmc303-oh/78oh.wav","RolandMC303/rolandmc303-oh/Realoh1.wav","RolandMC303/rolandmc303-oh/Realoh2.wav","RolandMC303/rolandmc303-oh/Roomoh.wav"],Ure=["RolandMC303/rolandmc303-perc/78guiro.wav","RolandMC303/rolandmc303-perc/78metalb.wav","RolandMC303/rolandmc303-perc/Bamboosd.wav","RolandMC303/rolandmc303-perc/Bamboost.wav","RolandMC303/rolandmc303-perc/Brushswi.wav","RolandMC303/rolandmc303-perc/Claves.wav","RolandMC303/rolandmc303-perc/Elechibo.wav","RolandMC303/rolandmc303-perc/Eleclobo.wav","RolandMC303/rolandmc303-perc/Elecloto.wav","RolandMC303/rolandmc303-perc/Fingersn.wav","RolandMC303/rolandmc303-perc/Hiagogo.wav","RolandMC303/rolandmc303-perc/Hibamboo.wav","RolandMC303/rolandmc303-perc/Hibongoo.wav","RolandMC303/rolandmc303-perc/Hicongao.wav","RolandMC303/rolandmc303-perc/Hicongas.wav","RolandMC303/rolandmc303-perc/Hihyoshi.wav","RolandMC303/rolandmc303-perc/Hisyntht.wav","RolandMC303/rolandmc303-perc/Hitimbal.wav","RolandMC303/rolandmc303-perc/Hiwoodbl.wav","RolandMC303/rolandmc303-perc/Loagogo.wav","RolandMC303/rolandmc303-perc/Lobamboo.wav","RolandMC303/rolandmc303-perc/Lobongoo.wav","RolandMC303/rolandmc303-perc/Locongao.wav","RolandMC303/rolandmc303-perc/Lohyoshi.wav","RolandMC303/rolandmc303-perc/Longguir.wav","RolandMC303/rolandmc303-perc/Longwhis.wav","RolandMC303/rolandmc303-perc/Lotimbal.wav","RolandMC303/rolandmc303-perc/Lowoodbl.wav","RolandMC303/rolandmc303-perc/Mutepand.wav","RolandMC303/rolandmc303-perc/Mutesurd.wav","RolandMC303/rolandmc303-perc/Mutetria.wav","RolandMC303/rolandmc303-perc/Openpand.wav","RolandMC303/rolandmc303-perc/Opensurd.wav","RolandMC303/rolandmc303-perc/Opentria.wav","RolandMC303/rolandmc303-perc/Shortgui.wav","RolandMC303/rolandmc303-perc/Shortwhi.wav","RolandMC303/rolandmc303-perc/Tablabay.wav","RolandMC303/rolandmc303-perc/Udo.wav","RolandMC303/rolandmc303-perc/Vibrasla.wav"],$re=["RolandMC303/rolandmc303-rd/Ridecym2.wav","RolandMC303/rolandmc303-rd/Ridecymb.wav"],Gre=["RolandMC303/rolandmc303-rim/Rimsd1.wav","RolandMC303/rolandmc303-rim/Rimsd2.wav","RolandMC303/rolandmc303-rim/Rimshot.wav","RolandMC303/rolandmc303-rim/Tinyrim2.wav","RolandMC303/rolandmc303-rim/Tinyrim3.wav","RolandMC303/rolandmc303-rim/Tinyrim4.wav"],qre=["RolandMC303/rolandmc303-sd/606sd1.wav","RolandMC303/rolandmc303-sd/606sd2.wav","RolandMC303/rolandmc303-sd/606sd3.wav","RolandMC303/rolandmc303-sd/78sd.wav","RolandMC303/rolandmc303-sd/80809sd.wav","RolandMC303/rolandmc303-sd/Brushslp.wav","RolandMC303/rolandmc303-sd/Brushtap.wav","RolandMC303/rolandmc303-sd/Clipsd1.wav","RolandMC303/rolandmc303-sd/Clipsd2.wav","RolandMC303/rolandmc303-sd/Drysd1.wav","RolandMC303/rolandmc303-sd/Drysd2.wav","RolandMC303/rolandmc303-sd/Elecsd1.wav","RolandMC303/rolandmc303-sd/Funkysd1.wav","RolandMC303/rolandmc303-sd/Funkysd2.wav","RolandMC303/rolandmc303-sd/Hardsd1.wav","RolandMC303/rolandmc303-sd/Hypersd1.wav","RolandMC303/rolandmc303-sd/Hypersd2.wav","RolandMC303/rolandmc303-sd/Jnglesd1.wav","RolandMC303/rolandmc303-sd/Jnglesd2.wav","RolandMC303/rolandmc303-sd/Jnglesd3.wav","RolandMC303/rolandmc303-sd/Jnglesd4.wav","RolandMC303/rolandmc303-sd/Midbambo.wav","RolandMC303/rolandmc303-sd/Rapsd.wav","RolandMC303/rolandmc303-sd/Tambsd1.wav","RolandMC303/rolandmc303-sd/Tightsd.wav","RolandMC303/rolandmc303-sd/Tinysd.wav"],Qre=["RolandMC303/rolandmc303-sh/626shake.wav","RolandMC303/rolandmc303-sh/Cabasado.wav","RolandMC303/rolandmc303-sh/Cabasaup.wav","RolandMC303/rolandmc303-sh/Maracas.wav","RolandMC303/rolandmc303-sh/Realph1.wav","RolandMC303/rolandmc303-sh/Realph2.wav","RolandMC303/rolandmc303-sh/Shaker.wav"],Hre=["RolandMC303/rolandmc303-tb/78tamb.wav","RolandMC303/rolandmc303-tb/Hittamb.wav","RolandMC303/rolandmc303-tb/Jngletam.wav","RolandMC303/rolandmc303-tb/Shaketam.wav","RolandMC303/rolandmc303-tb/Tambouri.wav"],Vre=["RolandMT32/rolandmt32-bd/Bassdrum.wav"],zre=["RolandMT32/rolandmt32-cb/Cowbell.wav"],Wre=["RolandMT32/rolandmt32-cp/Clap.wav"],Xre=["RolandMT32/rolandmt32-cr/Crash.wav"],Kre=["RolandMT32/rolandmt32-hh/Hat Closed.wav"],Zre=["RolandMT32/rolandmt32-ht/Tom H.wav"],jre=["RolandMT32/rolandmt32-lt/Tom L.wav"],Jre=["RolandMT32/rolandmt32-mt/Tom M.wav"],eae=["RolandMT32/rolandmt32-oh/Hat Open-01.wav","RolandMT32/rolandmt32-oh/Hat Open-02.wav"],tae=["RolandMT32/rolandmt32-perc/Agogo H.wav","RolandMT32/rolandmt32-perc/Agogo L.wav","RolandMT32/rolandmt32-perc/Bongo H.wav","RolandMT32/rolandmt32-perc/Bongo L.wav","RolandMT32/rolandmt32-perc/Claves.wav","RolandMT32/rolandmt32-perc/Conga H.wav","RolandMT32/rolandmt32-perc/Conga L.wav","RolandMT32/rolandmt32-perc/Conga Muted H.wav","RolandMT32/rolandmt32-perc/Quijada.wav","RolandMT32/rolandmt32-perc/Timbale H.wav","RolandMT32/rolandmt32-perc/Timbale L.wav","RolandMT32/rolandmt32-perc/Whistle Short.wav","RolandMT32/rolandmt32-perc/Whistle.wav"],nae=["RolandMT32/rolandmt32-rd/Ride.wav"],rae=["RolandMT32/rolandmt32-rim/RimShot.wav"],aae=["RolandMT32/rolandmt32-sd/Snaredrum-01.wav","RolandMT32/rolandmt32-sd/Snaredrum-02.wav"],iae=["RolandMT32/rolandmt32-sh/Cabasa.wav","RolandMT32/rolandmt32-sh/Maracas.wav"],oae=["RolandMT32/rolandmt32-tb/Tambourine.wav"],sae=["RolandR8/rolandr8-bd/Bassdrum-01.wav","RolandR8/rolandr8-bd/Bassdrum-02.wav","RolandR8/rolandr8-bd/Bassdrum-03.wav","RolandR8/rolandr8-bd/Bassdrum-04.wav","RolandR8/rolandr8-bd/Bassdrum-05.wav","RolandR8/rolandr8-bd/Bassdrum-06.wav","RolandR8/rolandr8-bd/Bassdrum-07.wav"],lae=["RolandR8/rolandr8-cb/Cowbell.wav"],cae=["RolandR8/rolandr8-cp/Clap.wav"],uae=["RolandR8/rolandr8-cr/Crash.wav"],dae=["RolandR8/rolandr8-hh/Hat Closed.wav","RolandR8/rolandr8-hh/Hat Pedal.wav"],hae=["RolandR8/rolandr8-ht/Tom H-01.wav","RolandR8/rolandr8-ht/Tom H-02.wav","RolandR8/rolandr8-ht/Tom H-03.wav","RolandR8/rolandr8-ht/Tom H-04.wav"],fae=["RolandR8/rolandr8-lt/Tom L-01.wav","RolandR8/rolandr8-lt/Tom L-02.wav","RolandR8/rolandr8-lt/Tom L-03.wav","RolandR8/rolandr8-lt/Tom L-04.wav"],mae=["RolandR8/rolandr8-mt/Tom M-01.wav","RolandR8/rolandr8-mt/Tom M-02.wav","RolandR8/rolandr8-mt/Tom M-03.wav","RolandR8/rolandr8-mt/Tom M-04.wav"],pae=["RolandR8/rolandr8-oh/Hat Open.wav"],gae=["RolandR8/rolandr8-perc/Bell-01.wav","RolandR8/rolandr8-perc/Bell-02.wav","RolandR8/rolandr8-perc/Bongo H.wav","RolandR8/rolandr8-perc/Bongo L.wav","RolandR8/rolandr8-perc/Conga.wav","RolandR8/rolandr8-perc/Metal.wav","RolandR8/rolandr8-perc/Whistle.wav","RolandR8/rolandr8-perc/Wood Block.wav"],_ae=["RolandR8/rolandr8-rd/Ride-01.wav","RolandR8/rolandr8-rd/Ride-02.wav"],bae=["RolandR8/rolandr8-rim/Rimshot1.wav","RolandR8/rolandr8-rim/Rimshot2.wav"],Sae=["RolandR8/rolandr8-sd/Snaredrum-01.wav","RolandR8/rolandr8-sd/Snaredrum-02.wav","RolandR8/rolandr8-sd/Snaredrum-03.wav","RolandR8/rolandr8-sd/Snaredrum-04.wav","RolandR8/rolandr8-sd/Snaredrum-05.wav","RolandR8/rolandr8-sd/Snaredrum-06.wav","RolandR8/rolandr8-sd/Snaredrum-07.wav","RolandR8/rolandr8-sd/Snaredrum-08.wav","RolandR8/rolandr8-sd/Snaredrum-09.wav","RolandR8/rolandr8-sd/Snaredrum-10.wav","RolandR8/rolandr8-sd/Snaredrum-11.wav","RolandR8/rolandr8-sd/Snaredrum-12.wav"],Oae=["RolandR8/rolandr8-sh/Cabasa1.wav","RolandR8/rolandr8-sh/Cabasa2.wav"],vae=["RolandR8/rolandr8-tb/Tambourine.wav"],Eae=["RolandS50/rolands50-bd/Bassdrum-01.wav","RolandS50/rolands50-bd/Bassdrum-02.wav","RolandS50/rolands50-bd/Bassdrum-03.wav","RolandS50/rolands50-bd/Bassdrum-04.wav"],yae=["RolandS50/rolands50-cb/Cowbell.wav"],Tae=["RolandS50/rolands50-cp/Clap.wav"],Cae=["RolandS50/rolands50-cr/China.wav","RolandS50/rolands50-cr/Crash.wav"],Rae=["RolandS50/rolands50-ht/Tom-01.wav"],wae=["RolandS50/rolands50-lt/Tom-03.wav","RolandS50/rolands50-lt/Tom-04.wav"],Aae=["RolandS50/rolands50-misc/Cuica-01.wav","RolandS50/rolands50-misc/Cuica-02.wav","RolandS50/rolands50-misc/Cuical-01.wav","RolandS50/rolands50-misc/Cuical-02.wav","RolandS50/rolands50-misc/Gong.wav","RolandS50/rolands50-misc/Tria-2.wav"],Iae=["RolandS50/rolands50-mt/Tom-02.wav"],kae=["RolandS50/rolands50-oh/Hihat.wav"],Nae=["RolandS50/rolands50-perc/Agogo-01.wav","RolandS50/rolands50-perc/Agogo-02.wav","RolandS50/rolands50-perc/Bongo.wav","RolandS50/rolands50-perc/Claves-01.wav","RolandS50/rolands50-perc/Claves-02.wav","RolandS50/rolands50-perc/Conga-01.wav","RolandS50/rolands50-perc/Conga-02.wav","RolandS50/rolands50-perc/Conga-03.wav","RolandS50/rolands50-perc/Qijada.wav","RolandS50/rolands50-perc/Timbale H.wav","RolandS50/rolands50-perc/Timbale L.wav","RolandS50/rolands50-perc/Tria-1.wav","RolandS50/rolands50-perc/Wblk.wav","RolandS50/rolands50-perc/Whstl.wav"],Dae=["RolandS50/rolands50-rd/Ride.wav"],xae=["RolandS50/rolands50-sd/Snaredrum-01.wav","RolandS50/rolands50-sd/Snaredrum-02.wav","RolandS50/rolands50-sd/Snaredrum-03.wav"],Mae=["RolandS50/rolands50-sh/Cabasa-01.wav","RolandS50/rolands50-sh/Cabasa-02.wav","RolandS50/rolands50-sh/Maracas-01.wav","RolandS50/rolands50-sh/Maracas-02.wav"],Lae=["RolandS50/rolands50-tb/Tambourine-01.wav","RolandS50/rolands50-tb/Tambourine-02.wav"],Pae=["RolandSH09/rolandsh09-bd/Bassdrum-01.wav","RolandSH09/rolandsh09-bd/Bassdrum-02.wav","RolandSH09/rolandsh09-bd/Bassdrum-03.wav","RolandSH09/rolandsh09-bd/Bassdrum-04.wav","RolandSH09/rolandsh09-bd/Bassdrum-05.wav","RolandSH09/rolandsh09-bd/Bassdrum-06.wav","RolandSH09/rolandsh09-bd/Bassdrum-07.wav","RolandSH09/rolandsh09-bd/Bassdrum-08.wav","RolandSH09/rolandsh09-bd/Bassdrum-09.wav","RolandSH09/rolandsh09-bd/Bassdrum-10.wav","RolandSH09/rolandsh09-bd/Bassdrum-11.wav","RolandSH09/rolandsh09-bd/Bassdrum-12.wav","RolandSH09/rolandsh09-bd/Bassdrum-13.wav","RolandSH09/rolandsh09-bd/Bassdrum-14.wav","RolandSH09/rolandsh09-bd/Bassdrum-15.wav","RolandSH09/rolandsh09-bd/Bassdrum-16.wav","RolandSH09/rolandsh09-bd/Bassdrum-17.wav","RolandSH09/rolandsh09-bd/Bassdrum-18.wav","RolandSH09/rolandsh09-bd/Bassdrum-19.wav","RolandSH09/rolandsh09-bd/Bassdrum-20.wav","RolandSH09/rolandsh09-bd/Bassdrum-21.wav","RolandSH09/rolandsh09-bd/Bassdrum-22.wav","RolandSH09/rolandsh09-bd/Bassdrum-23.wav","RolandSH09/rolandsh09-bd/Bassdrum-24.wav","RolandSH09/rolandsh09-bd/Bassdrum-25.wav","RolandSH09/rolandsh09-bd/Bassdrum-26.wav","RolandSH09/rolandsh09-bd/Bassdrum-27.wav","RolandSH09/rolandsh09-bd/Bassdrum-28.wav","RolandSH09/rolandsh09-bd/Bassdrum-29.wav","RolandSH09/rolandsh09-bd/Bassdrum-30.wav","RolandSH09/rolandsh09-bd/Bassdrum-31.wav","RolandSH09/rolandsh09-bd/Bassdrum-32.wav","RolandSH09/rolandsh09-bd/Bassdrum-33.wav","RolandSH09/rolandsh09-bd/Bassdrum-34.wav","RolandSH09/rolandsh09-bd/Bassdrum-35.wav","RolandSH09/rolandsh09-bd/Bassdrum-36.wav","RolandSH09/rolandsh09-bd/Bassdrum-37.wav","RolandSH09/rolandsh09-bd/Bassdrum-38.wav","RolandSH09/rolandsh09-bd/Bassdrum-39.wav","RolandSH09/rolandsh09-bd/Bassdrum-40.wav","RolandSH09/rolandsh09-bd/Bassdrum-41.wav","RolandSH09/rolandsh09-bd/Bassdrum-42.wav","RolandSH09/rolandsh09-bd/Bassdrum-43.wav"],Bae=["RolandSystem100/rolandsystem100-bd/Bassdrum-01.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-02.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-03.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-04.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-05.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-06.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-07.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-08.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-09.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-10.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-11.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-12.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-13.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-14.wav","RolandSystem100/rolandsystem100-bd/Bassdrum-15.wav"],Yae=["RolandSystem100/rolandsystem100-hh/Hat Closed-01.wav","RolandSystem100/rolandsystem100-hh/Hat Closed-02.wav"],Fae=["RolandSystem100/rolandsystem100-misc/Tock.wav","RolandSystem100/rolandsystem100-misc/Triangle.wav"],Uae=["RolandSystem100/rolandsystem100-oh/Hat Open-01.wav","RolandSystem100/rolandsystem100-oh/Hat Open-02.wav","RolandSystem100/rolandsystem100-oh/Hat Open-03.wav"],$ae=["RolandSystem100/rolandsystem100-perc/Bell.wav","RolandSystem100/rolandsystem100-perc/Click-01.wav","RolandSystem100/rolandsystem100-perc/Click-02.wav","RolandSystem100/rolandsystem100-perc/Click-03.wav","RolandSystem100/rolandsystem100-perc/Click-04.wav","RolandSystem100/rolandsystem100-perc/Click-05.wav","RolandSystem100/rolandsystem100-perc/Click-06.wav","RolandSystem100/rolandsystem100-perc/Pling-01.wav","RolandSystem100/rolandsystem100-perc/Pling-02.wav","RolandSystem100/rolandsystem100-perc/Pling-03.wav","RolandSystem100/rolandsystem100-perc/Plopp-01.wav","RolandSystem100/rolandsystem100-perc/Plopp-02.wav","RolandSystem100/rolandsystem100-perc/Plopp-03.wav","RolandSystem100/rolandsystem100-perc/Plopp-04.wav","RolandSystem100/rolandsystem100-perc/Plopp-05.wav","RolandSystem100/rolandsystem100-perc/Plopp-06.wav","RolandSystem100/rolandsystem100-perc/Plopp-07.wav","RolandSystem100/rolandsystem100-perc/Plopp-08.wav","RolandSystem100/rolandsystem100-perc/Plopp-09.wav"],Gae=["RolandSystem100/rolandsystem100-sd/Snaredrum-01.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-02.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-03.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-04.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-05.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-06.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-07.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-08.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-09.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-10.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-11.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-12.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-14.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-15.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-16.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-17.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-18.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-19.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-20.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-21.wav","RolandSystem100/rolandsystem100-sd/Snaredrum-22.wav"],qae=["RolandTR505/rolandtr505-bd/Bassdrum.wav"],Qae=["RolandTR505/rolandtr505-cb/Cowbell H.wav","RolandTR505/rolandtr505-cb/Cowbell L.wav"],Hae=["RolandTR505/rolandtr505-cp/Clap.wav"],Vae=["RolandTR505/rolandtr505-cr/Crash.wav"],zae=["RolandTR505/rolandtr505-hh/Hat Closed.wav"],Wae=["RolandTR505/rolandtr505-ht/Tom H.wav"],Xae=["RolandTR505/rolandtr505-lt/Tom L.wav"],Kae=["RolandTR505/rolandtr505-mt/Tom M.wav"],Zae=["RolandTR505/rolandtr505-oh/Hat Open.wav"],jae=["RolandTR505/rolandtr505-perc/Conga H.wav","RolandTR505/rolandtr505-perc/Conga L.wav","RolandTR505/rolandtr505-perc/Timbale.wav"],Jae=["RolandTR505/rolandtr505-rd/Ride.wav"],eie=["RolandTR505/rolandtr505-rim/Rimshot.wav"],tie=["RolandTR505/rolandtr505-sd/Snaredrum.wav"],nie=["RolandTR606/rolandtr606-bd/Bassdrum.wav"],rie=["RolandTR606/rolandtr606-cr/Cymbal.wav"],aie=["RolandTR606/rolandtr606-hh/Hat Closed.wav"],iie=["RolandTR606/rolandtr606-ht/Tom H.wav"],oie=["RolandTR606/rolandtr606-lt/Tom L.wav"],sie=["RolandTR606/rolandtr606-oh/Hat Open.wav"],lie=["RolandTR606/rolandtr606-sd/Snaredrum.wav"],cie=["RolandTR626/rolandtr626-bd/Bassdrum-01.wav","RolandTR626/rolandtr626-bd/Bassdrum-02.wav"],uie=["RolandTR626/rolandtr626-cb/Cowbell.wav"],die=["RolandTR626/rolandtr626-cp/Clap.wav"],hie=["RolandTR626/rolandtr626-cr/Crash.wav","RolandTR626/rolandtr626-cr/zChina.wav"],fie=["RolandTR626/rolandtr626-hh/Hat Closed.wav"],mie=["RolandTR626/rolandtr626-ht/Tom H-01.wav","RolandTR626/rolandtr626-ht/Tom H-02.wav"],pie=["RolandTR626/rolandtr626-lt/Tom L-01.wav","RolandTR626/rolandtr626-lt/Tom L-02.wav"],gie=["RolandTR626/rolandtr626-mt/Tom M-01.wav","RolandTR626/rolandtr626-mt/Tom M-02.wav"],_ie=["RolandTR626/rolandtr626-oh/Hat Open.wav"],bie=["RolandTR626/rolandtr626-perc/Agogo H.wav","RolandTR626/rolandtr626-perc/Agogo L.wav","RolandTR626/rolandtr626-perc/Clave.wav","RolandTR626/rolandtr626-perc/Conga H.wav","RolandTR626/rolandtr626-perc/Conga L.wav","RolandTR626/rolandtr626-perc/Conga M.wav","RolandTR626/rolandtr626-perc/Timbale H.wav","RolandTR626/rolandtr626-perc/Timbale L.wav"],Sie=["RolandTR626/rolandtr626-rd/Ride-01.wav","RolandTR626/rolandtr626-rd/Ride-02.wav"],Oie=["RolandTR626/rolandtr626-rim/Rimshot.wav"],vie=["RolandTR626/rolandtr626-sd/Snaredrum-01.wav","RolandTR626/rolandtr626-sd/Snaredrum-02.wav","RolandTR626/rolandtr626-sd/Snaredrum-03.wav"],Eie=["RolandTR626/rolandtr626-sh/Shaker.wav"],yie=["RolandTR626/rolandtr626-tb/Tambourine.wav"],Tie=["RolandTR707/rolandtr707-bd/Bassdrum-01.wav","RolandTR707/rolandtr707-bd/Bassdrum-02.wav"],Cie=["RolandTR707/rolandtr707-cb/Cowbell.wav"],Rie=["RolandTR707/rolandtr707-cp/Clap.wav"],wie=["RolandTR707/rolandtr707-cr/Crash.wav"],Aie=["RolandTR707/rolandtr707-hh/Hat Closed.wav"],Iie=["RolandTR707/rolandtr707-ht/Tom H.wav"],kie=["RolandTR707/rolandtr707-lt/Tom L.wav"],Nie=["RolandTR707/rolandtr707-mt/Tom M.wav"],Die=["RolandTR707/rolandtr707-oh/Hat Open.wav"],xie=["RolandTR707/rolandtr707-rim/Rimshot.wav"],Mie=["RolandTR707/rolandtr707-sd/Snaredrum-01.wav","RolandTR707/rolandtr707-sd/Snaredrum-02.wav"],Lie=["RolandTR707/rolandtr707-tb/Tambourine.wav"],Pie=["RolandTR727/rolandtr727-perc/Agogo H.wav","RolandTR727/rolandtr727-perc/Agogo L.wav","RolandTR727/rolandtr727-perc/Bongo H.wav","RolandTR727/rolandtr727-perc/Bongo L.wav","RolandTR727/rolandtr727-perc/Conga L.wav","RolandTR727/rolandtr727-perc/Quijada.wav","RolandTR727/rolandtr727-perc/Star-chimes.wav","RolandTR727/rolandtr727-perc/Timbale H.wav","RolandTR727/rolandtr727-perc/Timbale L.wav","RolandTR727/rolandtr727-perc/Whistle.wav"],Bie=["RolandTR727/rolandtr727-sh/Cabasa.wav","RolandTR727/rolandtr727-sh/Maracas.wav"],Yie=["RolandTR808/rolandtr808-bd/BD0000.WAV","RolandTR808/rolandtr808-bd/BD0010.WAV","RolandTR808/rolandtr808-bd/BD0025.WAV","RolandTR808/rolandtr808-bd/BD0050.WAV","RolandTR808/rolandtr808-bd/BD0075.WAV","RolandTR808/rolandtr808-bd/BD1000.WAV","RolandTR808/rolandtr808-bd/BD1010.WAV","RolandTR808/rolandtr808-bd/BD1025.WAV","RolandTR808/rolandtr808-bd/BD1050.WAV","RolandTR808/rolandtr808-bd/BD1075.WAV","RolandTR808/rolandtr808-bd/BD2500.WAV","RolandTR808/rolandtr808-bd/BD2510.WAV","RolandTR808/rolandtr808-bd/BD2525.WAV","RolandTR808/rolandtr808-bd/BD2550.WAV","RolandTR808/rolandtr808-bd/BD2575.WAV","RolandTR808/rolandtr808-bd/BD5000.WAV","RolandTR808/rolandtr808-bd/BD5010.WAV","RolandTR808/rolandtr808-bd/BD5025.WAV","RolandTR808/rolandtr808-bd/BD5050.WAV","RolandTR808/rolandtr808-bd/BD5075.WAV","RolandTR808/rolandtr808-bd/BD7500.WAV","RolandTR808/rolandtr808-bd/BD7510.WAV","RolandTR808/rolandtr808-bd/BD7525.WAV","RolandTR808/rolandtr808-bd/BD7550.WAV","RolandTR808/rolandtr808-bd/BD7575.WAV"],Fie=["RolandTR808/rolandtr808-cb/CB.WAV","RolandTR808/rolandtr808-cb/Cowbell.wav"],Uie=["RolandTR808/rolandtr808-cp/cp0.wav","RolandTR808/rolandtr808-cp/cp1.wav","RolandTR808/rolandtr808-cp/cp2.wav","RolandTR808/rolandtr808-cp/cp3.wav","RolandTR808/rolandtr808-cp/cp4.WAV"],$ie=["RolandTR808/rolandtr808-cr/CY0000.WAV","RolandTR808/rolandtr808-cr/CY0010.WAV","RolandTR808/rolandtr808-cr/CY0025.WAV","RolandTR808/rolandtr808-cr/CY0050.WAV","RolandTR808/rolandtr808-cr/CY0075.WAV","RolandTR808/rolandtr808-cr/CY1000.WAV","RolandTR808/rolandtr808-cr/CY1010.WAV","RolandTR808/rolandtr808-cr/CY1025.WAV","RolandTR808/rolandtr808-cr/CY1050.WAV","RolandTR808/rolandtr808-cr/CY1075.WAV","RolandTR808/rolandtr808-cr/CY2500.WAV","RolandTR808/rolandtr808-cr/CY2510.WAV","RolandTR808/rolandtr808-cr/CY2525.WAV","RolandTR808/rolandtr808-cr/CY2550.WAV","RolandTR808/rolandtr808-cr/CY2575.WAV","RolandTR808/rolandtr808-cr/CY5000.WAV","RolandTR808/rolandtr808-cr/CY5010.WAV","RolandTR808/rolandtr808-cr/CY5025.WAV","RolandTR808/rolandtr808-cr/CY5050.WAV","RolandTR808/rolandtr808-cr/CY5075.WAV","RolandTR808/rolandtr808-cr/CY7500.WAV","RolandTR808/rolandtr808-cr/CY7510.WAV","RolandTR808/rolandtr808-cr/CY7525.WAV","RolandTR808/rolandtr808-cr/CY7550.WAV","RolandTR808/rolandtr808-cr/CY7575.WAV"],Gie=["RolandTR808/rolandtr808-hh/CH.WAV"],qie=["RolandTR808/rolandtr808-ht/HT00.WAV","RolandTR808/rolandtr808-ht/HT10.WAV","RolandTR808/rolandtr808-ht/HT25.WAV","RolandTR808/rolandtr808-ht/HT50.WAV","RolandTR808/rolandtr808-ht/HT75.WAV"],Qie=["RolandTR808/rolandtr808-lt/LT00.WAV","RolandTR808/rolandtr808-lt/LT10.WAV","RolandTR808/rolandtr808-lt/LT25.WAV","RolandTR808/rolandtr808-lt/LT50.WAV","RolandTR808/rolandtr808-lt/LT75.WAV"],Hie=["RolandTR808/rolandtr808-mt/MT00.WAV","RolandTR808/rolandtr808-mt/MT10.WAV","RolandTR808/rolandtr808-mt/MT25.WAV","RolandTR808/rolandtr808-mt/MT50.WAV","RolandTR808/rolandtr808-mt/MT75.WAV"],Vie=["RolandTR808/rolandtr808-oh/OH00.WAV","RolandTR808/rolandtr808-oh/OH10.WAV","RolandTR808/rolandtr808-oh/OH25.WAV","RolandTR808/rolandtr808-oh/OH50.WAV","RolandTR808/rolandtr808-oh/OH75.WAV"],zie=["RolandTR808/rolandtr808-perc/CL.WAV","RolandTR808/rolandtr808-perc/HC00.WAV","RolandTR808/rolandtr808-perc/HC10.WAV","RolandTR808/rolandtr808-perc/HC25.WAV","RolandTR808/rolandtr808-perc/HC50.WAV","RolandTR808/rolandtr808-perc/HC75.WAV","RolandTR808/rolandtr808-perc/LC00.WAV","RolandTR808/rolandtr808-perc/LC10.WAV","RolandTR808/rolandtr808-perc/LC25.WAV","RolandTR808/rolandtr808-perc/LC50.WAV","RolandTR808/rolandtr808-perc/LC75.WAV","RolandTR808/rolandtr808-perc/MC00.WAV","RolandTR808/rolandtr808-perc/MC10.WAV","RolandTR808/rolandtr808-perc/MC25.WAV","RolandTR808/rolandtr808-perc/MC50.WAV","RolandTR808/rolandtr808-perc/MC75.WAV"],Wie=["RolandTR808/rolandtr808-rim/RS.WAV"],Xie=["RolandTR808/rolandtr808-sd/SD0000.WAV","RolandTR808/rolandtr808-sd/SD0010.WAV","RolandTR808/rolandtr808-sd/SD0025.WAV","RolandTR808/rolandtr808-sd/SD0050.WAV","RolandTR808/rolandtr808-sd/SD0075.WAV","RolandTR808/rolandtr808-sd/SD1000.WAV","RolandTR808/rolandtr808-sd/SD1010.WAV","RolandTR808/rolandtr808-sd/SD1025.WAV","RolandTR808/rolandtr808-sd/SD1050.WAV","RolandTR808/rolandtr808-sd/SD1075.WAV","RolandTR808/rolandtr808-sd/SD2500.WAV","RolandTR808/rolandtr808-sd/SD2510.WAV","RolandTR808/rolandtr808-sd/SD2525.WAV","RolandTR808/rolandtr808-sd/SD2550.WAV","RolandTR808/rolandtr808-sd/SD2575.WAV","RolandTR808/rolandtr808-sd/SD5000.WAV","RolandTR808/rolandtr808-sd/SD5010.WAV","RolandTR808/rolandtr808-sd/SD5025.WAV","RolandTR808/rolandtr808-sd/SD5050.WAV","RolandTR808/rolandtr808-sd/SD5075.WAV","RolandTR808/rolandtr808-sd/SD7500.WAV","RolandTR808/rolandtr808-sd/SD7510.WAV","RolandTR808/rolandtr808-sd/SD7525.WAV","RolandTR808/rolandtr808-sd/SD7550.WAV","RolandTR808/rolandtr808-sd/SD7575.WAV"],Kie=["RolandTR808/rolandtr808-sh/Cabasa.wav","RolandTR808/rolandtr808-sh/MA.WAV"],Zie=["RolandTR909/rolandtr909-bd/Bassdrum-01.wav","RolandTR909/rolandtr909-bd/Bassdrum-02.wav","RolandTR909/rolandtr909-bd/Bassdrum-03.wav","RolandTR909/rolandtr909-bd/Bassdrum-04.wav"],jie=["RolandTR909/rolandtr909-cp/Clap.wav","RolandTR909/rolandtr909-cp/cp01.wav","RolandTR909/rolandtr909-cp/cp02.wav","RolandTR909/rolandtr909-cp/cp03.wav","RolandTR909/rolandtr909-cp/cp04.wav"],Jie=["RolandTR909/rolandtr909-cr/Crash.wav","RolandTR909/rolandtr909-cr/cr01.wav","RolandTR909/rolandtr909-cr/cr02.wav","RolandTR909/rolandtr909-cr/cr03.wav","RolandTR909/rolandtr909-cr/cr04.wav"],eoe=["RolandTR909/rolandtr909-hh/hh01.wav","RolandTR909/rolandtr909-hh/hh02.wav","RolandTR909/rolandtr909-hh/hh03.wav","RolandTR909/rolandtr909-hh/hh04.wav"],toe=["RolandTR909/rolandtr909-ht/Tom H.wav","RolandTR909/rolandtr909-ht/ht01.wav","RolandTR909/rolandtr909-ht/ht02.wav","RolandTR909/rolandtr909-ht/ht03.wav","RolandTR909/rolandtr909-ht/ht04.wav","RolandTR909/rolandtr909-ht/ht05.wav","RolandTR909/rolandtr909-ht/ht06.wav","RolandTR909/rolandtr909-ht/ht07.wav","RolandTR909/rolandtr909-ht/ht08.wav"],noe=["RolandTR909/rolandtr909-lt/Tom L.wav","RolandTR909/rolandtr909-lt/lt01.wav","RolandTR909/rolandtr909-lt/lt02.wav","RolandTR909/rolandtr909-lt/lt03.wav","RolandTR909/rolandtr909-lt/lt04.wav","RolandTR909/rolandtr909-lt/lt05.wav","RolandTR909/rolandtr909-lt/lt06.wav","RolandTR909/rolandtr909-lt/lt07.wav","RolandTR909/rolandtr909-lt/lt08.wav"],roe=["RolandTR909/rolandtr909-mt/Tom M.wav","RolandTR909/rolandtr909-mt/mt01.wav","RolandTR909/rolandtr909-mt/mt02.wav","RolandTR909/rolandtr909-mt/mt03.wav","RolandTR909/rolandtr909-mt/mt04.wav","RolandTR909/rolandtr909-mt/mt05.wav","RolandTR909/rolandtr909-mt/mt06.wav","RolandTR909/rolandtr909-mt/mt07.wav","RolandTR909/rolandtr909-mt/mt08.wav"],aoe=["RolandTR909/rolandtr909-oh/Hat Open.wav","RolandTR909/rolandtr909-oh/oh01.wav","RolandTR909/rolandtr909-oh/oh02.wav","RolandTR909/rolandtr909-oh/oh03.wav","RolandTR909/rolandtr909-oh/oh04.wav"],ioe=["RolandTR909/rolandtr909-rd/Ride.wav","RolandTR909/rolandtr909-rd/rd01.wav","RolandTR909/rolandtr909-rd/rd02.wav","RolandTR909/rolandtr909-rd/rd03.wav","RolandTR909/rolandtr909-rd/rd04.wav"],ooe=["RolandTR909/rolandtr909-rim/Rimhot.wav","RolandTR909/rolandtr909-rim/rs01.wav","RolandTR909/rolandtr909-rim/rs02.wav"],soe=["RolandTR909/rolandtr909-sd/naredrum.wav","RolandTR909/rolandtr909-sd/sd01.wav","RolandTR909/rolandtr909-sd/sd02.wav","RolandTR909/rolandtr909-sd/sd03.wav","RolandTR909/rolandtr909-sd/sd04.wav","RolandTR909/rolandtr909-sd/sd05.wav","RolandTR909/rolandtr909-sd/sd06.wav","RolandTR909/rolandtr909-sd/sd07.wav","RolandTR909/rolandtr909-sd/sd08.wav","RolandTR909/rolandtr909-sd/sd09.wav","RolandTR909/rolandtr909-sd/sd10.wav","RolandTR909/rolandtr909-sd/sd11.wav","RolandTR909/rolandtr909-sd/sd12.wav","RolandTR909/rolandtr909-sd/sd13.wav","RolandTR909/rolandtr909-sd/sd14.wav","RolandTR909/rolandtr909-sd/sd15.wav"],loe=["SakataDPM48/sakatadpm48-bd/Bassdrum-01.wav","SakataDPM48/sakatadpm48-bd/Bassdrum-02.wav","SakataDPM48/sakatadpm48-bd/Bassdrum-03.wav"],coe=["SakataDPM48/sakatadpm48-cp/Clap.wav"],uoe=["SakataDPM48/sakatadpm48-cr/Crash.wav"],doe=["SakataDPM48/sakatadpm48-hh/Hat Closed-01.wav","SakataDPM48/sakatadpm48-hh/Hat Closed-02.wav"],hoe=["SakataDPM48/sakatadpm48-ht/Tom-01.wav"],foe=["SakataDPM48/sakatadpm48-lt/Tom-03.wav","SakataDPM48/sakatadpm48-lt/Tom-04.wav"],moe=["SakataDPM48/sakatadpm48-mt/Tom-02.wav"],poe=["SakataDPM48/sakatadpm48-oh/Hat Open.wav"],goe=["SakataDPM48/sakatadpm48-perc/Agogo1.wav","SakataDPM48/sakatadpm48-perc/Agogo2.wav"],_oe=["SakataDPM48/sakatadpm48-rd/Ride.wav"],boe=["SakataDPM48/sakatadpm48-rim/Rim.wav"],Soe=["SakataDPM48/sakatadpm48-sd/Snaredrum-01.wav","SakataDPM48/sakatadpm48-sd/Snaredrum-02.wav"],Ooe=["SakataDPM48/sakatadpm48-sh/Cabasa-01.wav","SakataDPM48/sakatadpm48-sh/Cabasa-02.wav"],voe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-bd/Bassdrum.wav"],Eoe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-cb/Cowbell.wav"],yoe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-cp/Clap.wav"],Toe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-cr/Crash.wav"],Coe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-hh/Hat Closed.wav"],Roe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-ht/Tom.wav"],woe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-oh/Hat Open.wav"],Aoe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-rd/Ride.wav"],Ioe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-rim/Rim Shot.wav"],koe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-sd/Snaredrum.wav"],Noe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-sh/Cabasa.wav"],Doe=["SequentialCircuitsDrumtracks/sequentialcircuitsdrumtracks-tb/Tambourine.wav"],xoe=["SequentialCircuitsTom/sequentialcircuitstom-bd/Bassdrum.wav"],Moe=["SequentialCircuitsTom/sequentialcircuitstom-cp/Clap.wav"],Loe=["SequentialCircuitsTom/sequentialcircuitstom-cr/Crash.wav"],Poe=["SequentialCircuitsTom/sequentialcircuitstom-hh/Hat Closed.wav"],Boe=["SequentialCircuitsTom/sequentialcircuitstom-ht/Tom-01.wav","SequentialCircuitsTom/sequentialcircuitstom-ht/Tom-02.wav"],Yoe=["SequentialCircuitsTom/sequentialcircuitstom-oh/Hat Open.wav"],Foe=["SequentialCircuitsTom/sequentialcircuitstom-sd/Snaredrum.wav"],Uoe=["SergeModular/sergemodular-bd/Bassdrum.wav"],$oe=["SergeModular/sergemodular-misc/Clink.wav"],Goe=["SergeModular/sergemodular-perc/Claves.wav","SergeModular/sergemodular-perc/Click-01.wav","SergeModular/sergemodular-perc/Click-02.wav","SergeModular/sergemodular-perc/Click-03.wav","SergeModular/sergemodular-perc/Click-04.wav"],qoe=["SimmonsSDS400/simmonssds400-ht/Tom-07.wav","SimmonsSDS400/simmonssds400-ht/Tom-09.wav","SimmonsSDS400/simmonssds400-ht/Tom-13.wav"],Qoe=["SimmonsSDS400/simmonssds400-lt/Tom-01.wav","SimmonsSDS400/simmonssds400-lt/Tom-02.wav","SimmonsSDS400/simmonssds400-lt/Tom-03.wav","SimmonsSDS400/simmonssds400-lt/Tom-08.wav","SimmonsSDS400/simmonssds400-lt/Tom-14.wav","SimmonsSDS400/simmonssds400-lt/Tom-17.wav"],Hoe=["SimmonsSDS400/simmonssds400-mt/Tom-04.wav","SimmonsSDS400/simmonssds400-mt/Tom-05.wav","SimmonsSDS400/simmonssds400-mt/Tom-06.wav","SimmonsSDS400/simmonssds400-mt/Tom-10.wav","SimmonsSDS400/simmonssds400-mt/Tom-11.wav","SimmonsSDS400/simmonssds400-mt/Tom-12.wav","SimmonsSDS400/simmonssds400-mt/Tom-15.wav","SimmonsSDS400/simmonssds400-mt/Tom-16.wav"],Voe=["SimmonsSDS400/simmonssds400-sd/Slap-1.wav","SimmonsSDS400/simmonssds400-sd/Slap-2.wav","SimmonsSDS400/simmonssds400-sd/Slap-3.wav"],zoe=["SimmonsSDS5/simmonssds5-bd/Bassdrum-01.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-02.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-03.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-04.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-05.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-06.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-07.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-08.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-09.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-10.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-11.wav","SimmonsSDS5/simmonssds5-bd/Bassdrum-12.wav"],Woe=["SimmonsSDS5/simmonssds5-hh/Hat Closed-01.wav","SimmonsSDS5/simmonssds5-hh/Hat Closed-02.wav","SimmonsSDS5/simmonssds5-hh/Hat Closed-03.wav","SimmonsSDS5/simmonssds5-hh/Hat Pedal-01.wav","SimmonsSDS5/simmonssds5-hh/Hat Pedal-02.wav"],Xoe=["SimmonsSDS5/simmonssds5-ht/Tom-01.wav","SimmonsSDS5/simmonssds5-ht/Tom-04.wav","SimmonsSDS5/simmonssds5-ht/Tom-05.wav"],Koe=["SimmonsSDS5/simmonssds5-lt/Tom-07.wav","SimmonsSDS5/simmonssds5-lt/Tom-08.wav","SimmonsSDS5/simmonssds5-lt/Tom-10.wav","SimmonsSDS5/simmonssds5-lt/Tom-11.wav","SimmonsSDS5/simmonssds5-lt/Tom-13.wav","SimmonsSDS5/simmonssds5-lt/Tom-14.wav","SimmonsSDS5/simmonssds5-lt/Tom-15.wav","SimmonsSDS5/simmonssds5-lt/Tom-17.wav"],Zoe=["SimmonsSDS5/simmonssds5-mt/Tom-02.wav","SimmonsSDS5/simmonssds5-mt/Tom-03.wav","SimmonsSDS5/simmonssds5-mt/Tom-06.wav","SimmonsSDS5/simmonssds5-mt/Tom-09.wav","SimmonsSDS5/simmonssds5-mt/Tom-12.wav","SimmonsSDS5/simmonssds5-mt/Tom-16.wav"],joe=["SimmonsSDS5/simmonssds5-oh/Hat Open-01.wav","SimmonsSDS5/simmonssds5-oh/Hat Open-02.wav"],Joe=["SimmonsSDS5/simmonssds5-rim/Rimshot-01.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-02.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-03.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-04.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-05.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-06.wav","SimmonsSDS5/simmonssds5-rim/Rimshot-07.wav"],ese=["SimmonsSDS5/simmonssds5-sd/Snaredrum-01.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-02.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-03.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-04.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-05.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-06.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-07.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-08.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-09.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-10.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-11.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-12.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-13.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-14.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-15.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-16.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-17.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-18.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-19.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-20.wav","SimmonsSDS5/simmonssds5-sd/Snaredrum-21.wav"],tse=["SoundmastersR88/soundmastersr88-bd/Bassdrum.wav"],nse=["SoundmastersR88/soundmastersr88-cr/Crash.wav"],rse=["SoundmastersR88/soundmastersr88-hh/Closed Hat.wav"],ase=["SoundmastersR88/soundmastersr88-oh/Open Hat.wav"],ise=["SoundmastersR88/soundmastersr88-sd/Snare-1.wav","SoundmastersR88/soundmastersr88-sd/Snare-2.wav"],ose=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-bd/Bassdrum.wav"],sse=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-hh/Closed Hat.wav"],lse=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-oh/Open Hat.wav"],cse=["UnivoxMicroRhythmer12/univoxmicrorhythmer12-sd/Snaredrum.wav"],use=["ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-01.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-02.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-03.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-04.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-05.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-06.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-07.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-08.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-09.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-10.wav","ViscoSpaceDrum/viscospacedrum-bd/Bassdrum-11.wav"],dse=["ViscoSpaceDrum/viscospacedrum-cb/Cowbell.wav"],hse=["ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-01.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-02.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-03.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Closed-04.wav","ViscoSpaceDrum/viscospacedrum-hh/Hat Pedal-01.wav","ViscoSpaceDrum/viscospacedrum-hh/zHat Closed Reversed.wav"],fse=["ViscoSpaceDrum/viscospacedrum-ht/Synth Tom H.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-01.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-02.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-03.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-04.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom-05.wav","ViscoSpaceDrum/viscospacedrum-ht/Tom7.wav"],mse=["ViscoSpaceDrum/viscospacedrum-lt/Synth Tom L.wav","ViscoSpaceDrum/viscospacedrum-lt/Tom-06.wav"],pse=["ViscoSpaceDrum/viscospacedrum-misc/Bleep-01.wav","ViscoSpaceDrum/viscospacedrum-misc/Bleep-02.wav"],gse=["ViscoSpaceDrum/viscospacedrum-mt/Synth Tom M-01.wav","ViscoSpaceDrum/viscospacedrum-mt/Synth Tom M-02.wav"],_se=["ViscoSpaceDrum/viscospacedrum-oh/Hat Open-01.wav","ViscoSpaceDrum/viscospacedrum-oh/Hat Open-02.wav","ViscoSpaceDrum/viscospacedrum-oh/Hat Open-03.wav"],bse=["ViscoSpaceDrum/viscospacedrum-perc/Woodblock1.wav","ViscoSpaceDrum/viscospacedrum-perc/Woodblock2.wav"],Sse=["ViscoSpaceDrum/viscospacedrum-rim/Rimshot.wav"],Ose=["ViscoSpaceDrum/viscospacedrum-sd/Snaredrum-01.wav","ViscoSpaceDrum/viscospacedrum-sd/Snaredrum-02.wav","ViscoSpaceDrum/viscospacedrum-sd/Snaredrum-03.wav"],vse=["XdrumLM8953/xdrumlm8953-bd/Bassdrum-01.wav","XdrumLM8953/xdrumlm8953-bd/Bassdrum-02.wav","XdrumLM8953/xdrumlm8953-bd/zphil-drm.wav"],Ese=["XdrumLM8953/xdrumlm8953-cr/Crash.wav"],yse=["XdrumLM8953/xdrumlm8953-hh/Hat Closed.wav","XdrumLM8953/xdrumlm8953-hh/Hat Pedal.wav"],Tse=["XdrumLM8953/xdrumlm8953-ht/Tom-01.wav","XdrumLM8953/xdrumlm8953-ht/Tom-02.wav"],Cse=["XdrumLM8953/xdrumlm8953-lt/Tom-05.wav","XdrumLM8953/xdrumlm8953-lt/Tom-06.wav"],Rse=["XdrumLM8953/xdrumlm8953-mt/Tom-03.wav","XdrumLM8953/xdrumlm8953-mt/Tom-04.wav"],wse=["XdrumLM8953/xdrumlm8953-oh/Hat Open.wav"],Ase=["XdrumLM8953/xdrumlm8953-rd/Ride.wav"],Ise=["XdrumLM8953/xdrumlm8953-rim/Rim Shot-01.wav","XdrumLM8953/xdrumlm8953-rim/Rim Shot-02.wav"],kse=["XdrumLM8953/xdrumlm8953-sd/Snaredrum-01.wav","XdrumLM8953/xdrumlm8953-sd/Snaredrum-02.wav","XdrumLM8953/xdrumlm8953-sd/Snaredrum-03.wav","XdrumLM8953/xdrumlm8953-sd/Snaredrum-04.wav","XdrumLM8953/xdrumlm8953-sd/zSnare Fill.wav"],Nse=["XdrumLM8953/xdrumlm8953-tb/Tambourine.wav"],Dse=["YamahaRM50/yamaharm50-bd/BD-001.wav","YamahaRM50/yamaharm50-bd/BD-002.wav","YamahaRM50/yamaharm50-bd/BD-003.wav","YamahaRM50/yamaharm50-bd/BD-004.wav","YamahaRM50/yamaharm50-bd/BD-005.wav","YamahaRM50/yamaharm50-bd/BD-006.wav","YamahaRM50/yamaharm50-bd/BD-007.wav","YamahaRM50/yamaharm50-bd/BD-008.wav","YamahaRM50/yamaharm50-bd/BD-009.wav","YamahaRM50/yamaharm50-bd/BD-010.wav","YamahaRM50/yamaharm50-bd/BD-011..wav","YamahaRM50/yamaharm50-bd/BD-012.wav","YamahaRM50/yamaharm50-bd/BD-013.wav","YamahaRM50/yamaharm50-bd/BD-014.wav","YamahaRM50/yamaharm50-bd/BD-015.wav","YamahaRM50/yamaharm50-bd/BD-016.wav","YamahaRM50/yamaharm50-bd/BD-017.wav","YamahaRM50/yamaharm50-bd/BD-018.wav","YamahaRM50/yamaharm50-bd/BD-019.wav","YamahaRM50/yamaharm50-bd/BD-020.wav","YamahaRM50/yamaharm50-bd/BD-021.wav","YamahaRM50/yamaharm50-bd/BD-022.wav","YamahaRM50/yamaharm50-bd/BD-023.wav","YamahaRM50/yamaharm50-bd/BD-024.wav","YamahaRM50/yamaharm50-bd/BD-025.wav","YamahaRM50/yamaharm50-bd/BD-026.wav","YamahaRM50/yamaharm50-bd/BD-027.wav","YamahaRM50/yamaharm50-bd/BD-028.wav","YamahaRM50/yamaharm50-bd/BD-029.wav","YamahaRM50/yamaharm50-bd/BD-030.wav","YamahaRM50/yamaharm50-bd/BD-031.wav","YamahaRM50/yamaharm50-bd/BD-032.wav","YamahaRM50/yamaharm50-bd/BD-033.wav","YamahaRM50/yamaharm50-bd/BD-034.wav","YamahaRM50/yamaharm50-bd/BD-035.wav","YamahaRM50/yamaharm50-bd/BD-036.wav","YamahaRM50/yamaharm50-bd/BD-037.wav","YamahaRM50/yamaharm50-bd/BD-038.wav","YamahaRM50/yamaharm50-bd/BD-039.wav","YamahaRM50/yamaharm50-bd/BD-040.wav","YamahaRM50/yamaharm50-bd/BD-041.wav","YamahaRM50/yamaharm50-bd/BD-042.wav","YamahaRM50/yamaharm50-bd/BD-043.wav","YamahaRM50/yamaharm50-bd/BD-044.wav","YamahaRM50/yamaharm50-bd/BD-045.wav","YamahaRM50/yamaharm50-bd/BD-046.wav","YamahaRM50/yamaharm50-bd/BD-047.wav","YamahaRM50/yamaharm50-bd/BD-048.wav","YamahaRM50/yamaharm50-bd/BD-049.wav","YamahaRM50/yamaharm50-bd/BD-050.wav","YamahaRM50/yamaharm50-bd/BD-051.wav","YamahaRM50/yamaharm50-bd/BD-052.wav","YamahaRM50/yamaharm50-bd/BD-053.wav","YamahaRM50/yamaharm50-bd/BD-054.wav","YamahaRM50/yamaharm50-bd/BD-055.wav","YamahaRM50/yamaharm50-bd/BD-056.wav","YamahaRM50/yamaharm50-bd/BD-057.wav","YamahaRM50/yamaharm50-bd/BD-058.wav","YamahaRM50/yamaharm50-bd/BD-059.wav","YamahaRM50/yamaharm50-bd/BD-060.wav","YamahaRM50/yamaharm50-bd/BD-061.wav","YamahaRM50/yamaharm50-bd/BD-062.wav","YamahaRM50/yamaharm50-bd/BD-063.wav","YamahaRM50/yamaharm50-bd/BD-064.wav","YamahaRM50/yamaharm50-bd/BD-065.wav","YamahaRM50/yamaharm50-bd/BD-066.wav","YamahaRM50/yamaharm50-bd/BD-067.wav","YamahaRM50/yamaharm50-bd/BD-068.wav","YamahaRM50/yamaharm50-bd/BD-069.wav","YamahaRM50/yamaharm50-bd/BD-070.wav","YamahaRM50/yamaharm50-bd/BD-071.wav","YamahaRM50/yamaharm50-bd/BD-072.wav","YamahaRM50/yamaharm50-bd/BD-073.wav","YamahaRM50/yamaharm50-bd/BD-074.wav","YamahaRM50/yamaharm50-bd/BD-075.wav","YamahaRM50/yamaharm50-bd/BD-076.wav","YamahaRM50/yamaharm50-bd/BD-077.wav","YamahaRM50/yamaharm50-bd/BD-078.wav","YamahaRM50/yamaharm50-bd/BD-079.wav","YamahaRM50/yamaharm50-bd/BD-080.wav","YamahaRM50/yamaharm50-bd/BD-081.wav","YamahaRM50/yamaharm50-bd/BD-082.wav","YamahaRM50/yamaharm50-bd/BD-083.wav","YamahaRM50/yamaharm50-bd/BD-084.wav","YamahaRM50/yamaharm50-bd/BD-085.wav","YamahaRM50/yamaharm50-bd/BD-086.wav","YamahaRM50/yamaharm50-bd/BD-087.wav","YamahaRM50/yamaharm50-bd/BD-088.wav","YamahaRM50/yamaharm50-bd/BD-089.wav","YamahaRM50/yamaharm50-bd/BD-090.wav","YamahaRM50/yamaharm50-bd/BD-091.wav","YamahaRM50/yamaharm50-bd/BD-092.wav","YamahaRM50/yamaharm50-bd/BD-093.wav","YamahaRM50/yamaharm50-bd/BD-094.wav","YamahaRM50/yamaharm50-bd/BD-095.wav","YamahaRM50/yamaharm50-bd/BD-096.wav","YamahaRM50/yamaharm50-bd/BD-097.wav","YamahaRM50/yamaharm50-bd/BD-098.wav","YamahaRM50/yamaharm50-bd/BD-099.wav","YamahaRM50/yamaharm50-bd/BD-100.wav","YamahaRM50/yamaharm50-bd/BD-101.wav","YamahaRM50/yamaharm50-bd/BD-102.wav","YamahaRM50/yamaharm50-bd/BD-103.wav"],xse=["YamahaRM50/yamaharm50-cb/FX_001.wav","YamahaRM50/yamaharm50-cb/FX_002.wav","YamahaRM50/yamaharm50-cb/FX_025.wav","YamahaRM50/yamaharm50-cb/FX_026.wav","YamahaRM50/yamaharm50-cb/FX_027.wav","YamahaRM50/yamaharm50-cb/FX_061.wav"],Mse=["YamahaRM50/yamaharm50-cp/FX_059.wav","YamahaRM50/yamaharm50-cp/FX_060.wav"],Lse=["YamahaRM50/yamaharm50-cr/CYMBAL_043.wav","YamahaRM50/yamaharm50-cr/CYMBAL_044.wav","YamahaRM50/yamaharm50-cr/CYMBAL_045.wav","YamahaRM50/yamaharm50-cr/CYMBAL_046.wav","YamahaRM50/yamaharm50-cr/CYMBAL_047.wav","YamahaRM50/yamaharm50-cr/CYMBAL_048.wav","YamahaRM50/yamaharm50-cr/CYMBAL_049.wav","YamahaRM50/yamaharm50-cr/CYMBAL_050.wav","YamahaRM50/yamaharm50-cr/CYMBAL_051.wav","YamahaRM50/yamaharm50-cr/CYMBAL_052.wav","YamahaRM50/yamaharm50-cr/CYMBAL_053.wav","YamahaRM50/yamaharm50-cr/CYMBAL_054.wav","YamahaRM50/yamaharm50-cr/CYMBAL_055.wav","YamahaRM50/yamaharm50-cr/CYMBAL_056.wav","YamahaRM50/yamaharm50-cr/CYMBAL_057.wav","YamahaRM50/yamaharm50-cr/CYMBAL_058.wav","YamahaRM50/yamaharm50-cr/CYMBAL_059.wav","YamahaRM50/yamaharm50-cr/CYMBAL_060.wav","YamahaRM50/yamaharm50-cr/CYMBAL_061.wav","YamahaRM50/yamaharm50-cr/CYMBAL_063.wav","YamahaRM50/yamaharm50-cr/CYMBAL_064.wav","YamahaRM50/yamaharm50-cr/CYMBAL_065.wav"],Pse=["YamahaRM50/yamaharm50-hh/CYMBAL_001.wav","YamahaRM50/yamaharm50-hh/CYMBAL_002.wav","YamahaRM50/yamaharm50-hh/CYMBAL_005.wav","YamahaRM50/yamaharm50-hh/CYMBAL_006.wav","YamahaRM50/yamaharm50-hh/CYMBAL_008.wav","YamahaRM50/yamaharm50-hh/CYMBAL_009.wav","YamahaRM50/yamaharm50-hh/CYMBAL_010.wav","YamahaRM50/yamaharm50-hh/CYMBAL_013.wav","YamahaRM50/yamaharm50-hh/CYMBAL_014.wav","YamahaRM50/yamaharm50-hh/CYMBAL_016.wav","YamahaRM50/yamaharm50-hh/CYMBAL_017.wav","YamahaRM50/yamaharm50-hh/CYMBAL_019.wav","YamahaRM50/yamaharm50-hh/CYMBAL_020.wav","YamahaRM50/yamaharm50-hh/CYMBAL_021.wav","YamahaRM50/yamaharm50-hh/CYMBAL_024.wav","YamahaRM50/yamaharm50-hh/CYMBAL_025.wav","YamahaRM50/yamaharm50-hh/CYMBAL_026.wav","YamahaRM50/yamaharm50-hh/CYMBAL_028.wav"],Bse=["YamahaRM50/yamaharm50-ht/TOMS_001.wav","YamahaRM50/yamaharm50-ht/TOMS_005.wav","YamahaRM50/yamaharm50-ht/TOMS_009.wav","YamahaRM50/yamaharm50-ht/TOMS_010.wav","YamahaRM50/yamaharm50-ht/TOMS_013.wav","YamahaRM50/yamaharm50-ht/TOMS_017.wav","YamahaRM50/yamaharm50-ht/TOMS_021.wav","YamahaRM50/yamaharm50-ht/TOMS_022.wav","YamahaRM50/yamaharm50-ht/TOMS_025.wav","YamahaRM50/yamaharm50-ht/TOMS_026.wav","YamahaRM50/yamaharm50-ht/TOMS_029.wav","YamahaRM50/yamaharm50-ht/TOMS_035.wav","YamahaRM50/yamaharm50-ht/TOMS_039.wav","YamahaRM50/yamaharm50-ht/TOMS_043.wav","YamahaRM50/yamaharm50-ht/TOMS_047.wav","YamahaRM50/yamaharm50-ht/TOMS_049.wav","YamahaRM50/yamaharm50-ht/TOMS_052.wav","YamahaRM50/yamaharm50-ht/TOMS_056.wav","YamahaRM50/yamaharm50-ht/TOMS_064.wav","YamahaRM50/yamaharm50-ht/TOMS_068.wav","YamahaRM50/yamaharm50-ht/TOMS_072.wav","YamahaRM50/yamaharm50-ht/TOMS_077.wav","YamahaRM50/yamaharm50-ht/TOMS_085.wav","YamahaRM50/yamaharm50-ht/TOMS_089.wav","YamahaRM50/yamaharm50-ht/TOMS_101.wav"],Yse=["YamahaRM50/yamaharm50-lt/TOMS_004.wav","YamahaRM50/yamaharm50-lt/TOMS_008.wav","YamahaRM50/yamaharm50-lt/TOMS_012.wav","YamahaRM50/yamaharm50-lt/TOMS_015.wav","YamahaRM50/yamaharm50-lt/TOMS_016.wav","YamahaRM50/yamaharm50-lt/TOMS_019.wav","YamahaRM50/yamaharm50-lt/TOMS_020.wav","YamahaRM50/yamaharm50-lt/TOMS_024.wav","YamahaRM50/yamaharm50-lt/TOMS_028.wav","YamahaRM50/yamaharm50-lt/TOMS_032.wav","YamahaRM50/yamaharm50-lt/TOMS_033.wav","YamahaRM50/yamaharm50-lt/TOMS_034.wav","YamahaRM50/yamaharm50-lt/TOMS_038.wav","YamahaRM50/yamaharm50-lt/TOMS_041.wav","YamahaRM50/yamaharm50-lt/TOMS_042.wav","YamahaRM50/yamaharm50-lt/TOMS_046.wav","YamahaRM50/yamaharm50-lt/TOMS_048.wav","YamahaRM50/yamaharm50-lt/TOMS_050.wav","YamahaRM50/yamaharm50-lt/TOMS_051.wav","YamahaRM50/yamaharm50-lt/TOMS_053.wav","YamahaRM50/yamaharm50-lt/TOMS_054.wav","YamahaRM50/yamaharm50-lt/TOMS_055.wav","YamahaRM50/yamaharm50-lt/TOMS_058.wav","YamahaRM50/yamaharm50-lt/TOMS_059.wav","YamahaRM50/yamaharm50-lt/TOMS_061.wav","YamahaRM50/yamaharm50-lt/TOMS_062.wav","YamahaRM50/yamaharm50-lt/TOMS_063.wav","YamahaRM50/yamaharm50-lt/TOMS_066.wav","YamahaRM50/yamaharm50-lt/TOMS_067.wav","YamahaRM50/yamaharm50-lt/TOMS_071.wav","YamahaRM50/yamaharm50-lt/TOMS_075.wav","YamahaRM50/yamaharm50-lt/TOMS_079.wav","YamahaRM50/yamaharm50-lt/TOMS_082.wav","YamahaRM50/yamaharm50-lt/TOMS_083.wav","YamahaRM50/yamaharm50-lt/TOMS_084.wav","YamahaRM50/yamaharm50-lt/TOMS_087.wav","YamahaRM50/yamaharm50-lt/TOMS_088.wav","YamahaRM50/yamaharm50-lt/TOMS_092.wav","YamahaRM50/yamaharm50-lt/TOMS_094.wav","YamahaRM50/yamaharm50-lt/TOMS_095.wav","YamahaRM50/yamaharm50-lt/TOMS_096.wav","YamahaRM50/yamaharm50-lt/TOMS_099.wav","YamahaRM50/yamaharm50-lt/TOMS_100.wav","YamahaRM50/yamaharm50-lt/TOMS_103.wav","YamahaRM50/yamaharm50-lt/TOMS_104.wav","YamahaRM50/yamaharm50-lt/TOMS_105.wav","YamahaRM50/yamaharm50-lt/TOMS_106.wav","YamahaRM50/yamaharm50-lt/TOMS_107.wav","YamahaRM50/yamaharm50-lt/TOMS_108.wav"],Fse=["YamahaRM50/yamaharm50-misc/CYMBAL_062.wav","YamahaRM50/yamaharm50-misc/FX_071.wav","YamahaRM50/yamaharm50-misc/FX_072.wav","YamahaRM50/yamaharm50-misc/FX_074.wav","YamahaRM50/yamaharm50-misc/FX_075.wav","YamahaRM50/yamaharm50-misc/FX_076.wav","YamahaRM50/yamaharm50-misc/FX_079.wav","YamahaRM50/yamaharm50-misc/FX_082.wav","YamahaRM50/yamaharm50-misc/FX_083.wav","YamahaRM50/yamaharm50-misc/FX_085.wav","YamahaRM50/yamaharm50-misc/FX_086.wav","YamahaRM50/yamaharm50-misc/FX_087.wav","YamahaRM50/yamaharm50-misc/FX_088.wav","YamahaRM50/yamaharm50-misc/FX_089.wav","YamahaRM50/yamaharm50-misc/FX_090.wav","YamahaRM50/yamaharm50-misc/FX_091.wav","YamahaRM50/yamaharm50-misc/FX_092.wav","YamahaRM50/yamaharm50-misc/FX_093.wav","YamahaRM50/yamaharm50-misc/FX_094.wav","YamahaRM50/yamaharm50-misc/FX_095.wav","YamahaRM50/yamaharm50-misc/FX_098.wav","YamahaRM50/yamaharm50-misc/FX_122.wav","YamahaRM50/yamaharm50-misc/FX_126.wav","YamahaRM50/yamaharm50-misc/FX_127.wav","YamahaRM50/yamaharm50-misc/FX_128.wav","YamahaRM50/yamaharm50-misc/FX_129.wav","YamahaRM50/yamaharm50-misc/FX_135.wav","YamahaRM50/yamaharm50-misc/FX_139.wav"],Use=["YamahaRM50/yamaharm50-mt/TOMS_002.wav","YamahaRM50/yamaharm50-mt/TOMS_003.wav","YamahaRM50/yamaharm50-mt/TOMS_006.wav","YamahaRM50/yamaharm50-mt/TOMS_007.wav","YamahaRM50/yamaharm50-mt/TOMS_011.wav","YamahaRM50/yamaharm50-mt/TOMS_014.wav","YamahaRM50/yamaharm50-mt/TOMS_018.wav","YamahaRM50/yamaharm50-mt/TOMS_023.wav","YamahaRM50/yamaharm50-mt/TOMS_027.wav","YamahaRM50/yamaharm50-mt/TOMS_030.wav","YamahaRM50/yamaharm50-mt/TOMS_031.wav","YamahaRM50/yamaharm50-mt/TOMS_036.wav","YamahaRM50/yamaharm50-mt/TOMS_037.wav","YamahaRM50/yamaharm50-mt/TOMS_040.wav","YamahaRM50/yamaharm50-mt/TOMS_044.wav","YamahaRM50/yamaharm50-mt/TOMS_045.wav","YamahaRM50/yamaharm50-mt/TOMS_057.wav","YamahaRM50/yamaharm50-mt/TOMS_060.wav","YamahaRM50/yamaharm50-mt/TOMS_065.wav","YamahaRM50/yamaharm50-mt/TOMS_069.wav","YamahaRM50/yamaharm50-mt/TOMS_070.wav","YamahaRM50/yamaharm50-mt/TOMS_073.wav","YamahaRM50/yamaharm50-mt/TOMS_074.wav","YamahaRM50/yamaharm50-mt/TOMS_076.wav","YamahaRM50/yamaharm50-mt/TOMS_078.wav","YamahaRM50/yamaharm50-mt/TOMS_080.wav","YamahaRM50/yamaharm50-mt/TOMS_081.wav","YamahaRM50/yamaharm50-mt/TOMS_086.wav","YamahaRM50/yamaharm50-mt/TOMS_090.wav","YamahaRM50/yamaharm50-mt/TOMS_091.wav","YamahaRM50/yamaharm50-mt/TOMS_093.wav","YamahaRM50/yamaharm50-mt/TOMS_097.wav","YamahaRM50/yamaharm50-mt/TOMS_098.wav","YamahaRM50/yamaharm50-mt/TOMS_102.wav"],$se=["YamahaRM50/yamaharm50-oh/CYMBAL_003.wav","YamahaRM50/yamaharm50-oh/CYMBAL_004.wav","YamahaRM50/yamaharm50-oh/CYMBAL_007.wav","YamahaRM50/yamaharm50-oh/CYMBAL_011.wav","YamahaRM50/yamaharm50-oh/CYMBAL_012.wav","YamahaRM50/yamaharm50-oh/CYMBAL_015.wav","YamahaRM50/yamaharm50-oh/CYMBAL_018.wav","YamahaRM50/yamaharm50-oh/CYMBAL_022.wav","YamahaRM50/yamaharm50-oh/CYMBAL_023.wav","YamahaRM50/yamaharm50-oh/CYMBAL_027.wav","YamahaRM50/yamaharm50-oh/CYMBAL_029.wav","YamahaRM50/yamaharm50-oh/FX_064.wav"],Gse=["YamahaRM50/yamaharm50-perc/FX_003.wav","YamahaRM50/yamaharm50-perc/FX_004.wav","YamahaRM50/yamaharm50-perc/FX_012.wav","YamahaRM50/yamaharm50-perc/FX_013.wav","YamahaRM50/yamaharm50-perc/FX_014.wav","YamahaRM50/yamaharm50-perc/FX_015.wav","YamahaRM50/yamaharm50-perc/FX_016.wav","YamahaRM50/yamaharm50-perc/FX_017.wav","YamahaRM50/yamaharm50-perc/FX_018.wav","YamahaRM50/yamaharm50-perc/FX_019.wav","YamahaRM50/yamaharm50-perc/FX_020.wav","YamahaRM50/yamaharm50-perc/FX_021.wav","YamahaRM50/yamaharm50-perc/FX_022.wav","YamahaRM50/yamaharm50-perc/FX_023.wav","YamahaRM50/yamaharm50-perc/FX_024.wav","YamahaRM50/yamaharm50-perc/FX_033.wav","YamahaRM50/yamaharm50-perc/FX_034.wav","YamahaRM50/yamaharm50-perc/FX_035.wav","YamahaRM50/yamaharm50-perc/FX_036.wav","YamahaRM50/yamaharm50-perc/FX_037.wav","YamahaRM50/yamaharm50-perc/FX_038.wav","YamahaRM50/yamaharm50-perc/FX_039.wav","YamahaRM50/yamaharm50-perc/FX_040.wav","YamahaRM50/yamaharm50-perc/FX_041.wav","YamahaRM50/yamaharm50-perc/FX_042.wav","YamahaRM50/yamaharm50-perc/FX_043.wav","YamahaRM50/yamaharm50-perc/FX_044.wav","YamahaRM50/yamaharm50-perc/FX_045.wav","YamahaRM50/yamaharm50-perc/FX_046.wav","YamahaRM50/yamaharm50-perc/FX_047.wav","YamahaRM50/yamaharm50-perc/FX_048.wav","YamahaRM50/yamaharm50-perc/FX_049.wav","YamahaRM50/yamaharm50-perc/FX_050.wav","YamahaRM50/yamaharm50-perc/FX_051.wav","YamahaRM50/yamaharm50-perc/FX_052.wav","YamahaRM50/yamaharm50-perc/FX_053.wav","YamahaRM50/yamaharm50-perc/FX_054.wav","YamahaRM50/yamaharm50-perc/FX_055.wav","YamahaRM50/yamaharm50-perc/FX_056.wav","YamahaRM50/yamaharm50-perc/FX_057.wav","YamahaRM50/yamaharm50-perc/FX_058.wav","YamahaRM50/yamaharm50-perc/FX_062.wav","YamahaRM50/yamaharm50-perc/FX_063.wav","YamahaRM50/yamaharm50-perc/FX_065.wav","YamahaRM50/yamaharm50-perc/FX_066.wav","YamahaRM50/yamaharm50-perc/FX_067.wav","YamahaRM50/yamaharm50-perc/FX_068.wav","YamahaRM50/yamaharm50-perc/FX_069.wav","YamahaRM50/yamaharm50-perc/FX_070.wav","YamahaRM50/yamaharm50-perc/FX_073.wav","YamahaRM50/yamaharm50-perc/FX_116.wav","YamahaRM50/yamaharm50-perc/FX_119.wav","YamahaRM50/yamaharm50-perc/FX_120.wav","YamahaRM50/yamaharm50-perc/FX_121.wav","YamahaRM50/yamaharm50-perc/FX_125.wav","YamahaRM50/yamaharm50-perc/FX_132.wav"],qse=["YamahaRM50/yamaharm50-rd/CYMBAL_030.wav","YamahaRM50/yamaharm50-rd/CYMBAL_031.wav","YamahaRM50/yamaharm50-rd/CYMBAL_032.wav","YamahaRM50/yamaharm50-rd/CYMBAL_033.wav","YamahaRM50/yamaharm50-rd/CYMBAL_034.wav","YamahaRM50/yamaharm50-rd/CYMBAL_035.wav","YamahaRM50/yamaharm50-rd/CYMBAL_036.wav","YamahaRM50/yamaharm50-rd/CYMBAL_037.wav","YamahaRM50/yamaharm50-rd/CYMBAL_038.wav","YamahaRM50/yamaharm50-rd/CYMBAL_039.wav","YamahaRM50/yamaharm50-rd/CYMBAL_040.wav","YamahaRM50/yamaharm50-rd/CYMBAL_041.wav","YamahaRM50/yamaharm50-rd/CYMBAL_042.wav"],Qse=["YamahaRM50/yamaharm50-sd/SNAREDRUM_001.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_002.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_003.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_004.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_005.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_006.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_007.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_008.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_009.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_010.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_011.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_012.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_013.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_014.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_015.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_016.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_017.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_018.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_019.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_020.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_021.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_022.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_023.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_024.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_025.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_026.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_027.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_028.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_029.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_030.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_031.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_032.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_033.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_034.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_035.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_036.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_037.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_038.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_039.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_040.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_041.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_042.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_043.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_044.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_045.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_046.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_047.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_048.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_049.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_050.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_051.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_052.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_053.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_054.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_055.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_056.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_057.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_058.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_059.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_060.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_061.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_062.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_063.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_064.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_065.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_066.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_067.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_068.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_069.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_070.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_071.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_072.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_073.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_074.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_075.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_076.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_077.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_078.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_079.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_080.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_081.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_082.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_083.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_084.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_085.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_086.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_087.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_088.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_089.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_090.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_091.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_092.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_093.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_094.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_095.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_096.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_097.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_098.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_099.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_100.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_101.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_102.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_103.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_104.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_105.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_106.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_107.wav","YamahaRM50/yamaharm50-sd/SNAREDRUM_108.wav"],Hse=["YamahaRM50/yamaharm50-sh/FX_010.wav","YamahaRM50/yamaharm50-sh/FX_011.wav","YamahaRM50/yamaharm50-sh/FX_028.wav","YamahaRM50/yamaharm50-sh/FX_029.wav","YamahaRM50/yamaharm50-sh/FX_130.wav","YamahaRM50/yamaharm50-sh/FX_131.wav"],Vse=["YamahaRM50/yamaharm50-tb/FX_030.wav","YamahaRM50/yamaharm50-tb/FX_031.wav","YamahaRM50/yamaharm50-tb/FX_032.wav"],zse=["YamahaRX21/yamaharx21-bd/Bassdrum.wav"],Wse=["YamahaRX21/yamaharx21-cp/Clap.wav"],Xse=["YamahaRX21/yamaharx21-cr/Crash.wav"],Kse=["YamahaRX21/yamaharx21-hh/Closed Hat.wav"],Zse=["YamahaRX21/yamaharx21-ht/Tom H.wav"],jse=["YamahaRX21/yamaharx21-lt/Tom L.wav"],Jse=["YamahaRX21/yamaharx21-mt/Tom M.wav"],ele=["YamahaRX21/yamaharx21-oh/Open hat.wav"],tle=["YamahaRX21/yamaharx21-sd/Snaredrum.wav"],nle=["YamahaRX5/yamaharx5-bd/Bassdrum-02.wav","YamahaRX5/yamaharx5-bd/Bassdrum.wav"],rle=["YamahaRX5/yamaharx5-cb/Cowbell.wav"],ale=["YamahaRX5/yamaharx5-fx/SFX.wav"],ile=["YamahaRX5/yamaharx5-hh/Hat Closed.wav"],ole=["YamahaRX5/yamaharx5-lt/Tom.wav"],sle=["YamahaRX5/yamaharx5-oh/Hat Open.wav"],lle=["YamahaRX5/yamaharx5-rim/Rimshot.wav"],cle=["YamahaRX5/yamaharx5-sd/Snaredrum-02.wav","YamahaRX5/yamaharx5-sd/Snaredrum-03.wav","YamahaRX5/yamaharx5-sd/Snaredrum.wav"],ule=["YamahaRX5/yamaharx5-sh/Shaker.wav"],dle=["YamahaRX5/yamaharx5-tb/Tambourine.wav"],hle=["YamahaRY30/yamahary30-bd/Bassdrum-01.wav","YamahaRY30/yamahary30-bd/Bassdrum-02.wav","YamahaRY30/yamahary30-bd/Bassdrum-03.wav","YamahaRY30/yamahary30-bd/Bassdrum-04.wav","YamahaRY30/yamahary30-bd/Bassdrum-05.wav","YamahaRY30/yamahary30-bd/Bassdrum-06.wav","YamahaRY30/yamahary30-bd/Bassdrum-07.wav","YamahaRY30/yamahary30-bd/Bassdrum-08.wav","YamahaRY30/yamahary30-bd/Bassdrum-09.wav","YamahaRY30/yamahary30-bd/Bassdrum-10.wav","YamahaRY30/yamahary30-bd/Bassdrum-11.wav","YamahaRY30/yamahary30-bd/Bassdrum-12.wav","YamahaRY30/yamahary30-bd/Bassdrum-13.wav"],fle=["YamahaRY30/yamahary30-cb/Cowbell-01.wav","YamahaRY30/yamahary30-cb/Cowbell-02.wav"],mle=["YamahaRY30/yamahary30-cp/Clap.wav"],ple=["YamahaRY30/yamahary30-cr/Crash1.wav","YamahaRY30/yamahary30-cr/zChina.wav"],gle=["YamahaRY30/yamahary30-hh/Hat Closed-01.wav","YamahaRY30/yamahary30-hh/Hat Closed-02.wav","YamahaRY30/yamahary30-hh/Hat Pedal-01.wav","YamahaRY30/yamahary30-hh/Hat Pedal-02.wav"],_le=["YamahaRY30/yamahary30-ht/Tom H-01.wav","YamahaRY30/yamahary30-ht/Tom H-02.wav","YamahaRY30/yamahary30-ht/Tom H-03.wav"],ble=["YamahaRY30/yamahary30-lt/Tom L-01.wav","YamahaRY30/yamahary30-lt/Toml L-02.wav","YamahaRY30/yamahary30-lt/Toml L-03.wav"],Sle=["YamahaRY30/yamahary30-misc/Button.wav","YamahaRY30/yamahary30-misc/Knock-01.wav","YamahaRY30/yamahary30-misc/Knock-02.wav","YamahaRY30/yamahary30-misc/Noise.wav","YamahaRY30/yamahary30-misc/Pipe.wav","YamahaRY30/yamahary30-misc/Scratch.wav","YamahaRY30/yamahary30-misc/Snap.wav","YamahaRY30/yamahary30-misc/String.wav"],Ole=["YamahaRY30/yamahary30-mt/Tom M-03.wav","YamahaRY30/yamahary30-mt/Tom-04.wav"],vle=["YamahaRY30/yamahary30-oh/Hat Open-01.wav","YamahaRY30/yamahary30-oh/Hat Open-02.wav","YamahaRY30/yamahary30-oh/Hat Open-03.wav","YamahaRY30/yamahary30-oh/Hat Open-04.wav"],Ele=["YamahaRY30/yamahary30-perc/Bell.wav","YamahaRY30/yamahary30-perc/Bongo-01.wav","YamahaRY30/yamahary30-perc/Bongo-02.wav","YamahaRY30/yamahary30-perc/Conga-01.wav","YamahaRY30/yamahary30-perc/Conga-02.wav","YamahaRY30/yamahary30-perc/Quid.wav","YamahaRY30/yamahary30-perc/Stick.wav","YamahaRY30/yamahary30-perc/Timb1.wav","YamahaRY30/yamahary30-perc/Timb2.wav","YamahaRY30/yamahary30-perc/Triangle.wav","YamahaRY30/yamahary30-perc/Trill.wav","YamahaRY30/yamahary30-perc/Woodblock-01.wav","YamahaRY30/yamahary30-perc/Woodblock-02.wav"],yle=["YamahaRY30/yamahary30-rd/Ride-01.wav","YamahaRY30/yamahary30-rd/Ride-02.wav","YamahaRY30/yamahary30-rd/Ride-03.wav"],Tle=["YamahaRY30/yamahary30-rim/Rimshot1.wav","YamahaRY30/yamahary30-rim/Rimshot2.wav"],Cle=["YamahaRY30/yamahary30-sd/Snare1.wav","YamahaRY30/yamahary30-sd/Snare10.wav","YamahaRY30/yamahary30-sd/Snare11.wav","YamahaRY30/yamahary30-sd/Snare12.wav","YamahaRY30/yamahary30-sd/Snare13.wav","YamahaRY30/yamahary30-sd/Snare14.wav","YamahaRY30/yamahary30-sd/Snare15.wav","YamahaRY30/yamahary30-sd/Snare16.wav","YamahaRY30/yamahary30-sd/Snare17.wav","YamahaRY30/yamahary30-sd/Snare18.wav","YamahaRY30/yamahary30-sd/Snare19.wav","YamahaRY30/yamahary30-sd/Snare2.wav","YamahaRY30/yamahary30-sd/Snare20.wav","YamahaRY30/yamahary30-sd/Snare21.wav","YamahaRY30/yamahary30-sd/Snare3.wav","YamahaRY30/yamahary30-sd/Snare4.wav","YamahaRY30/yamahary30-sd/Snare5.wav","YamahaRY30/yamahary30-sd/Snare6.wav","YamahaRY30/yamahary30-sd/Snare7.wav","YamahaRY30/yamahary30-sd/Snare8.wav","YamahaRY30/yamahary30-sd/Snare9.wav"],Rle=["YamahaRY30/yamahary30-sh/Cabasa-01.wav","YamahaRY30/yamahary30-sh/Cabasa-02.wav"],wle=["YamahaRY30/yamahary30-tb/Tamb.wav"],Ale=["YamahaTG33/yamahatg33-bd/Bassdrum-01.wav","YamahaTG33/yamahatg33-bd/Bassdrum-02.wav","YamahaTG33/yamahatg33-bd/Bassdrum-03.wav","YamahaTG33/yamahatg33-bd/Bassdrum-04.wav"],Ile=["YamahaTG33/yamahatg33-cb/Cowbell H.wav","YamahaTG33/yamahatg33-cb/Cowbell L.wav","YamahaTG33/yamahatg33-cb/Cowbell.wav"],kle=["YamahaTG33/yamahatg33-cp/Clap.wav"],Nle=["YamahaTG33/yamahatg33-cr/Crash-01.wav","YamahaTG33/yamahatg33-cr/Crash-02.wav","YamahaTG33/yamahatg33-cr/zCrash Reverse.wav"],Dle=["YamahaTG33/yamahatg33-fx/SFX-01.wav"],xle=["YamahaTG33/yamahatg33-ht/Tom-04.wav","YamahaTG33/yamahatg33-ht/Tom-06.wav"],Mle=["YamahaTG33/yamahatg33-lt/Tom-01.wav","YamahaTG33/yamahatg33-lt/Tom-03.wav"],Lle=["YamahaTG33/yamahatg33-misc/Flute.wav","YamahaTG33/yamahatg33-misc/Glass-01.wav","YamahaTG33/yamahatg33-misc/Glass-02.wav","YamahaTG33/yamahatg33-misc/SFX-02.wav","YamahaTG33/yamahatg33-misc/SFX-03.wav","YamahaTG33/yamahatg33-misc/SFX-04.wav","YamahaTG33/yamahatg33-misc/SFX-05.wav","YamahaTG33/yamahatg33-misc/SFX-06.wav","YamahaTG33/yamahatg33-misc/SFX-07.wav","YamahaTG33/yamahatg33-misc/SFX-08.wav"],Ple=["YamahaTG33/yamahatg33-mt/Tom-07.wav","YamahaTG33/yamahatg33-mt/zTom-02.wav"],Ble=["YamahaTG33/yamahatg33-oh/Hat Open.wav"],Yle=["YamahaTG33/yamahatg33-perc/Bongo-01.wav","YamahaTG33/yamahatg33-perc/Bongo-02.wav","YamahaTG33/yamahatg33-perc/Clave.wav","YamahaTG33/yamahatg33-perc/Conga.wav","YamahaTG33/yamahatg33-perc/Snap.wav","YamahaTG33/yamahatg33-perc/Timbale.wav","YamahaTG33/yamahatg33-perc/Triangle-01.wav","YamahaTG33/yamahatg33-perc/Triangle-02.wav","YamahaTG33/yamahatg33-perc/Unknown.wav","YamahaTG33/yamahatg33-perc/Whistle-01.wav","YamahaTG33/yamahatg33-perc/Whistle-02.wav","YamahaTG33/yamahatg33-perc/Woodblock.wav"],Fle=["YamahaTG33/yamahatg33-rd/Ride-01.wav","YamahaTG33/yamahatg33-rd/Ride-02.wav"],Ule=["YamahaTG33/yamahatg33-rim/Rimshot.wav"],$le=["YamahaTG33/yamahatg33-sd/Snaredrum-01.wav","YamahaTG33/yamahatg33-sd/Snaredrum-02.wav","YamahaTG33/yamahatg33-sd/Snaredrum-03.wav","YamahaTG33/yamahatg33-sd/Snaredrum-04.wav","YamahaTG33/yamahatg33-sd/Snaredrum-05.wav"],Gle=["YamahaTG33/yamahatg33-sh/Shaker.wav"],qle=["YamahaTG33/yamahatg33-tb/Tambourine.wav"],Qle={AJKPercusyn_bd:cK,AJKPercusyn_cb:uK,AJKPercusyn_ht:dK,AJKPercusyn_sd:hK,AkaiLinn_bd:fK,AkaiLinn_cb:mK,AkaiLinn_cp:pK,AkaiLinn_cr:gK,AkaiLinn_hh:_K,AkaiLinn_ht:bK,AkaiLinn_lt:SK,AkaiLinn_mt:OK,AkaiLinn_oh:vK,AkaiLinn_rd:EK,AkaiLinn_sd:yK,AkaiLinn_sh:TK,AkaiLinn_tb:CK,AkaiMPC60_bd:RK,AkaiMPC60_cp:wK,AkaiMPC60_cr:AK,AkaiMPC60_hh:IK,AkaiMPC60_ht:kK,AkaiMPC60_lt:NK,AkaiMPC60_misc:DK,AkaiMPC60_mt:xK,AkaiMPC60_oh:MK,AkaiMPC60_perc:LK,AkaiMPC60_rd:PK,AkaiMPC60_rim:BK,AkaiMPC60_sd:YK,AkaiXR10_bd:FK,AkaiXR10_cb:UK,AkaiXR10_cp:$K,AkaiXR10_cr:GK,AkaiXR10_hh:qK,AkaiXR10_ht:QK,AkaiXR10_lt:HK,AkaiXR10_misc:VK,AkaiXR10_mt:zK,AkaiXR10_oh:WK,AkaiXR10_perc:XK,AkaiXR10_rd:KK,AkaiXR10_rim:ZK,AkaiXR10_sd:jK,AkaiXR10_sh:JK,AkaiXR10_tb:eZ,AlesisHR16_bd:tZ,AlesisHR16_cp:nZ,AlesisHR16_hh:rZ,AlesisHR16_ht:aZ,AlesisHR16_lt:iZ,AlesisHR16_oh:oZ,AlesisHR16_perc:sZ,AlesisHR16_rim:lZ,AlesisHR16_sd:cZ,AlesisHR16_sh:uZ,AlesisSR16_bd:dZ,AlesisSR16_cb:hZ,AlesisSR16_cp:fZ,AlesisSR16_cr:mZ,AlesisSR16_hh:pZ,AlesisSR16_misc:gZ,AlesisSR16_oh:_Z,AlesisSR16_perc:bZ,AlesisSR16_rd:SZ,AlesisSR16_rim:OZ,AlesisSR16_sd:vZ,AlesisSR16_sh:EZ,AlesisSR16_tb:yZ,BossDR110_bd:TZ,BossDR110_cp:CZ,BossDR110_cr:RZ,BossDR110_hh:wZ,BossDR110_oh:AZ,BossDR110_rd:IZ,BossDR110_sd:kZ,BossDR220_bd:NZ,BossDR220_cp:DZ,BossDR220_cr:xZ,BossDR220_hh:MZ,BossDR220_ht:LZ,BossDR220_lt:PZ,BossDR220_mt:BZ,BossDR220_oh:YZ,BossDR220_perc:FZ,BossDR220_rd:UZ,BossDR220_sd:$Z,BossDR55_bd:GZ,BossDR55_hh:qZ,BossDR55_rim:QZ,BossDR55_sd:HZ,BossDR550_bd:VZ,BossDR550_cb:zZ,BossDR550_cp:WZ,BossDR550_cr:XZ,BossDR550_hh:KZ,BossDR550_ht:ZZ,BossDR550_lt:jZ,BossDR550_misc:JZ,BossDR550_mt:ej,BossDR550_oh:tj,BossDR550_perc:nj,BossDR550_rd:rj,BossDR550_rim:aj,BossDR550_sd:ij,BossDR550_sh:oj,BossDR550_tb:sj,CasioRZ1_bd:lj,CasioRZ1_cb:cj,CasioRZ1_cp:uj,CasioRZ1_cr:dj,CasioRZ1_hh:hj,CasioRZ1_ht:fj,CasioRZ1_lt:mj,CasioRZ1_mt:pj,CasioRZ1_rd:gj,CasioRZ1_rim:_j,CasioRZ1_sd:bj,CasioSK1_bd:Sj,CasioSK1_hh:Oj,CasioSK1_ht:vj,CasioSK1_mt:Ej,CasioSK1_oh:yj,CasioSK1_sd:Tj,CasioVL1_bd:Cj,CasioVL1_hh:Rj,CasioVL1_sd:wj,DoepferMS404_bd:Aj,DoepferMS404_hh:Ij,DoepferMS404_lt:kj,DoepferMS404_oh:Nj,DoepferMS404_sd:Dj,EmuDrumulator_bd:xj,EmuDrumulator_cb:Mj,EmuDrumulator_cp:Lj,EmuDrumulator_cr:Pj,EmuDrumulator_hh:Bj,EmuDrumulator_ht:Yj,EmuDrumulator_lt:Fj,EmuDrumulator_mt:Uj,EmuDrumulator_oh:$j,EmuDrumulator_perc:Gj,EmuDrumulator_rim:qj,EmuDrumulator_sd:Qj,EmuModular_bd:Hj,EmuModular_misc:Vj,EmuModular_perc:zj,EmuSP12_bd:Wj,EmuSP12_cb:Xj,EmuSP12_cp:Kj,EmuSP12_cr:Zj,EmuSP12_hh:jj,EmuSP12_ht:Jj,EmuSP12_lt:eJ,EmuSP12_misc:tJ,EmuSP12_mt:nJ,EmuSP12_oh:rJ,EmuSP12_perc:aJ,EmuSP12_rd:iJ,EmuSP12_rim:oJ,EmuSP12_sd:sJ,KorgDDM110_bd:lJ,KorgDDM110_cp:cJ,KorgDDM110_cr:uJ,KorgDDM110_hh:dJ,KorgDDM110_ht:hJ,KorgDDM110_lt:fJ,KorgDDM110_oh:mJ,KorgDDM110_rim:pJ,KorgDDM110_sd:gJ,KorgKPR77_bd:_J,KorgKPR77_cp:bJ,KorgKPR77_hh:SJ,KorgKPR77_oh:OJ,KorgKPR77_sd:vJ,KorgKR55_bd:EJ,KorgKR55_cb:yJ,KorgKR55_cr:TJ,KorgKR55_hh:CJ,KorgKR55_ht:RJ,KorgKR55_oh:wJ,KorgKR55_perc:AJ,KorgKR55_rim:IJ,KorgKR55_sd:kJ,KorgKRZ_bd:NJ,KorgKRZ_cr:DJ,KorgKRZ_fx:xJ,KorgKRZ_hh:MJ,KorgKRZ_ht:LJ,KorgKRZ_lt:PJ,KorgKRZ_misc:BJ,KorgKRZ_oh:YJ,KorgKRZ_rd:FJ,KorgKRZ_sd:UJ,KorgM1_bd:$J,KorgM1_cb:GJ,KorgM1_cp:qJ,KorgM1_cr:QJ,KorgM1_hh:HJ,KorgM1_ht:VJ,KorgM1_misc:zJ,KorgM1_mt:WJ,KorgM1_oh:XJ,KorgM1_perc:KJ,KorgM1_rd:ZJ,KorgM1_rim:jJ,KorgM1_sd:JJ,KorgM1_sh:eee,KorgM1_tb:tee,KorgMinipops_bd:nee,KorgMinipops_hh:ree,KorgMinipops_misc:aee,KorgMinipops_oh:iee,KorgMinipops_sd:oee,KorgPoly800_bd:see,KorgT3_bd:lee,KorgT3_cp:cee,KorgT3_hh:uee,KorgT3_misc:dee,KorgT3_oh:hee,KorgT3_perc:fee,KorgT3_rim:mee,KorgT3_sd:pee,KorgT3_sh:gee,Linn9000_bd:_ee,Linn9000_cb:bee,Linn9000_cr:See,Linn9000_hh:Oee,Linn9000_ht:vee,Linn9000_lt:Eee,Linn9000_mt:yee,Linn9000_oh:Tee,Linn9000_perc:Cee,Linn9000_rd:Ree,Linn9000_rim:wee,Linn9000_sd:Aee,Linn9000_tb:Iee,LinnDrum_bd:kee,LinnDrum_cb:Nee,LinnDrum_cp:Dee,LinnDrum_cr:xee,LinnDrum_hh:Mee,LinnDrum_ht:Lee,LinnDrum_lt:Pee,LinnDrum_mt:Bee,LinnDrum_oh:Yee,LinnDrum_perc:Fee,LinnDrum_rd:Uee,LinnDrum_rim:$ee,LinnDrum_sd:Gee,LinnDrum_sh:qee,LinnDrum_tb:Qee,LinnLM1_bd:Hee,LinnLM1_cb:Vee,LinnLM1_cp:zee,LinnLM1_hh:Wee,LinnLM1_ht:Xee,LinnLM1_lt:Kee,LinnLM1_oh:Zee,LinnLM1_perc:jee,LinnLM1_rim:Jee,LinnLM1_sd:ete,LinnLM1_sh:tte,LinnLM1_tb:nte,LinnLM2_bd:rte,LinnLM2_cb:ate,LinnLM2_cp:ite,LinnLM2_cr:ote,LinnLM2_hh:ste,LinnLM2_ht:lte,LinnLM2_lt:cte,LinnLM2_mt:ute,LinnLM2_oh:dte,LinnLM2_rd:hte,LinnLM2_rim:fte,LinnLM2_sd:mte,LinnLM2_sh:pte,LinnLM2_tb:gte,MFB512_bd:_te,MFB512_cp:bte,MFB512_cr:Ste,MFB512_hh:Ote,MFB512_ht:vte,MFB512_lt:Ete,MFB512_mt:yte,MFB512_oh:Tte,MFB512_sd:Cte,MPC1000_bd:Rte,MPC1000_cp:wte,MPC1000_hh:Ate,MPC1000_oh:Ite,MPC1000_perc:kte,MPC1000_sd:Nte,MPC1000_sh:Dte,MoogConcertMateMG1_bd:xte,MoogConcertMateMG1_sd:Mte,OberheimDMX_:Lte,OberheimDMX_bd:Pte,OberheimDMX_cp:Bte,OberheimDMX_cr:Yte,OberheimDMX_hh:Fte,OberheimDMX_ht:Ute,OberheimDMX_lt:$te,OberheimDMX_mt:Gte,OberheimDMX_oh:qte,OberheimDMX_rd:Qte,OberheimDMX_rim:Hte,OberheimDMX_sd:Vte,OberheimDMX_sh:zte,OberheimDMX_tb:Wte,RhodesPolaris_bd:Xte,RhodesPolaris_misc:Kte,RhodesPolaris_sd:Zte,RhythmAce_bd:jte,RhythmAce_hh:Jte,RhythmAce_ht:ene,RhythmAce_lt:tne,RhythmAce_oh:nne,RhythmAce_perc:rne,RhythmAce_sd:ane,RolandCompurhythm1000_bd:ine,RolandCompurhythm1000_cb:one,RolandCompurhythm1000_cp:sne,RolandCompurhythm1000_cr:lne,RolandCompurhythm1000_hh:cne,RolandCompurhythm1000_ht:une,RolandCompurhythm1000_lt:dne,RolandCompurhythm1000_mt:hne,RolandCompurhythm1000_oh:fne,RolandCompurhythm1000_perc:mne,RolandCompurhythm1000_rd:pne,RolandCompurhythm1000_rim:gne,RolandCompurhythm1000_sd:_ne,RolandCompurhythm78_bd:bne,RolandCompurhythm78_cb:Sne,RolandCompurhythm78_hh:One,RolandCompurhythm78_misc:vne,RolandCompurhythm78_oh:Ene,RolandCompurhythm78_perc:yne,RolandCompurhythm78_sd:Tne,RolandCompurhythm78_tb:Cne,RolandCompurhythm8000_bd:Rne,RolandCompurhythm8000_cb:wne,RolandCompurhythm8000_cp:Ane,RolandCompurhythm8000_cr:Ine,RolandCompurhythm8000_hh:kne,RolandCompurhythm8000_ht:Nne,RolandCompurhythm8000_lt:Dne,RolandCompurhythm8000_mt:xne,RolandCompurhythm8000_oh:Mne,RolandCompurhythm8000_perc:Lne,RolandCompurhythm8000_rim:Pne,RolandCompurhythm8000_sd:Bne,RolandD110_bd:Yne,RolandD110_cb:Fne,RolandD110_cr:Une,RolandD110_hh:$ne,RolandD110_lt:Gne,RolandD110_oh:qne,RolandD110_perc:Qne,RolandD110_rd:Hne,RolandD110_rim:Vne,RolandD110_sd:zne,RolandD110_sh:Wne,RolandD110_tb:Xne,RolandD70_bd:Kne,RolandD70_cb:Zne,RolandD70_cp:jne,RolandD70_cr:Jne,RolandD70_hh:ere,RolandD70_lt:tre,RolandD70_mt:nre,RolandD70_oh:rre,RolandD70_perc:are,RolandD70_rd:ire,RolandD70_rim:ore,RolandD70_sd:sre,RolandD70_sh:lre,RolandDDR30_bd:cre,RolandDDR30_ht:ure,RolandDDR30_lt:dre,RolandDDR30_sd:hre,RolandJD990_bd:fre,RolandJD990_cb:mre,RolandJD990_cp:pre,RolandJD990_cr:gre,RolandJD990_hh:_re,RolandJD990_ht:bre,RolandJD990_lt:Sre,RolandJD990_misc:Ore,RolandJD990_mt:vre,RolandJD990_oh:Ere,RolandJD990_perc:yre,RolandJD990_rd:Tre,RolandJD990_sd:Cre,RolandJD990_tb:Rre,RolandMC202_bd:wre,RolandMC202_ht:Are,RolandMC202_perc:Ire,RolandMC303_bd:kre,RolandMC303_cb:Nre,RolandMC303_cp:Dre,RolandMC303_fx:xre,RolandMC303_hh:Mre,RolandMC303_ht:Lre,RolandMC303_lt:Pre,RolandMC303_misc:Bre,RolandMC303_mt:Yre,RolandMC303_oh:Fre,RolandMC303_perc:Ure,RolandMC303_rd:$re,RolandMC303_rim:Gre,RolandMC303_sd:qre,RolandMC303_sh:Qre,RolandMC303_tb:Hre,RolandMT32_bd:Vre,RolandMT32_cb:zre,RolandMT32_cp:Wre,RolandMT32_cr:Xre,RolandMT32_hh:Kre,RolandMT32_ht:Zre,RolandMT32_lt:jre,RolandMT32_mt:Jre,RolandMT32_oh:eae,RolandMT32_perc:tae,RolandMT32_rd:nae,RolandMT32_rim:rae,RolandMT32_sd:aae,RolandMT32_sh:iae,RolandMT32_tb:oae,RolandR8_bd:sae,RolandR8_cb:lae,RolandR8_cp:cae,RolandR8_cr:uae,RolandR8_hh:dae,RolandR8_ht:hae,RolandR8_lt:fae,RolandR8_mt:mae,RolandR8_oh:pae,RolandR8_perc:gae,RolandR8_rd:_ae,RolandR8_rim:bae,RolandR8_sd:Sae,RolandR8_sh:Oae,RolandR8_tb:vae,RolandS50_bd:Eae,RolandS50_cb:yae,RolandS50_cp:Tae,RolandS50_cr:Cae,RolandS50_ht:Rae,RolandS50_lt:wae,RolandS50_misc:Aae,RolandS50_mt:Iae,RolandS50_oh:kae,RolandS50_perc:Nae,RolandS50_rd:Dae,RolandS50_sd:xae,RolandS50_sh:Mae,RolandS50_tb:Lae,RolandSH09_bd:Pae,RolandSystem100_bd:Bae,RolandSystem100_hh:Yae,RolandSystem100_misc:Fae,RolandSystem100_oh:Uae,RolandSystem100_perc:$ae,RolandSystem100_sd:Gae,RolandTR505_bd:qae,RolandTR505_cb:Qae,RolandTR505_cp:Hae,RolandTR505_cr:Vae,RolandTR505_hh:zae,RolandTR505_ht:Wae,RolandTR505_lt:Xae,RolandTR505_mt:Kae,RolandTR505_oh:Zae,RolandTR505_perc:jae,RolandTR505_rd:Jae,RolandTR505_rim:eie,RolandTR505_sd:tie,RolandTR606_bd:nie,RolandTR606_cr:rie,RolandTR606_hh:aie,RolandTR606_ht:iie,RolandTR606_lt:oie,RolandTR606_oh:sie,RolandTR606_sd:lie,RolandTR626_bd:cie,RolandTR626_cb:uie,RolandTR626_cp:die,RolandTR626_cr:hie,RolandTR626_hh:fie,RolandTR626_ht:mie,RolandTR626_lt:pie,RolandTR626_mt:gie,RolandTR626_oh:_ie,RolandTR626_perc:bie,RolandTR626_rd:Sie,RolandTR626_rim:Oie,RolandTR626_sd:vie,RolandTR626_sh:Eie,RolandTR626_tb:yie,RolandTR707_bd:Tie,RolandTR707_cb:Cie,RolandTR707_cp:Rie,RolandTR707_cr:wie,RolandTR707_hh:Aie,RolandTR707_ht:Iie,RolandTR707_lt:kie,RolandTR707_mt:Nie,RolandTR707_oh:Die,RolandTR707_rim:xie,RolandTR707_sd:Mie,RolandTR707_tb:Lie,RolandTR727_perc:Pie,RolandTR727_sh:Bie,RolandTR808_bd:Yie,RolandTR808_cb:Fie,RolandTR808_cp:Uie,RolandTR808_cr:$ie,RolandTR808_hh:Gie,RolandTR808_ht:qie,RolandTR808_lt:Qie,RolandTR808_mt:Hie,RolandTR808_oh:Vie,RolandTR808_perc:zie,RolandTR808_rim:Wie,RolandTR808_sd:Xie,RolandTR808_sh:Kie,RolandTR909_bd:Zie,RolandTR909_cp:jie,RolandTR909_cr:Jie,RolandTR909_hh:eoe,RolandTR909_ht:toe,RolandTR909_lt:noe,RolandTR909_mt:roe,RolandTR909_oh:aoe,RolandTR909_rd:ioe,RolandTR909_rim:ooe,RolandTR909_sd:soe,SakataDPM48_bd:loe,SakataDPM48_cp:coe,SakataDPM48_cr:uoe,SakataDPM48_hh:doe,SakataDPM48_ht:hoe,SakataDPM48_lt:foe,SakataDPM48_mt:moe,SakataDPM48_oh:poe,SakataDPM48_perc:goe,SakataDPM48_rd:_oe,SakataDPM48_rim:boe,SakataDPM48_sd:Soe,SakataDPM48_sh:Ooe,SequentialCircuitsDrumtracks_bd:voe,SequentialCircuitsDrumtracks_cb:Eoe,SequentialCircuitsDrumtracks_cp:yoe,SequentialCircuitsDrumtracks_cr:Toe,SequentialCircuitsDrumtracks_hh:Coe,SequentialCircuitsDrumtracks_ht:Roe,SequentialCircuitsDrumtracks_oh:woe,SequentialCircuitsDrumtracks_rd:Aoe,SequentialCircuitsDrumtracks_rim:Ioe,SequentialCircuitsDrumtracks_sd:koe,SequentialCircuitsDrumtracks_sh:Noe,SequentialCircuitsDrumtracks_tb:Doe,SequentialCircuitsTom_bd:xoe,SequentialCircuitsTom_cp:Moe,SequentialCircuitsTom_cr:Loe,SequentialCircuitsTom_hh:Poe,SequentialCircuitsTom_ht:Boe,SequentialCircuitsTom_oh:Yoe,SequentialCircuitsTom_sd:Foe,SergeModular_bd:Uoe,SergeModular_misc:$oe,SergeModular_perc:Goe,SimmonsSDS400_ht:qoe,SimmonsSDS400_lt:Qoe,SimmonsSDS400_mt:Hoe,SimmonsSDS400_sd:Voe,SimmonsSDS5_bd:zoe,SimmonsSDS5_hh:Woe,SimmonsSDS5_ht:Xoe,SimmonsSDS5_lt:Koe,SimmonsSDS5_mt:Zoe,SimmonsSDS5_oh:joe,SimmonsSDS5_rim:Joe,SimmonsSDS5_sd:ese,SoundmastersR88_bd:tse,SoundmastersR88_cr:nse,SoundmastersR88_hh:rse,SoundmastersR88_oh:ase,SoundmastersR88_sd:ise,UnivoxMicroRhythmer12_bd:ose,UnivoxMicroRhythmer12_hh:sse,UnivoxMicroRhythmer12_oh:lse,UnivoxMicroRhythmer12_sd:cse,ViscoSpaceDrum_bd:use,ViscoSpaceDrum_cb:dse,ViscoSpaceDrum_hh:hse,ViscoSpaceDrum_ht:fse,ViscoSpaceDrum_lt:mse,ViscoSpaceDrum_misc:pse,ViscoSpaceDrum_mt:gse,ViscoSpaceDrum_oh:_se,ViscoSpaceDrum_perc:bse,ViscoSpaceDrum_rim:Sse,ViscoSpaceDrum_sd:Ose,XdrumLM8953_bd:vse,XdrumLM8953_cr:Ese,XdrumLM8953_hh:yse,XdrumLM8953_ht:Tse,XdrumLM8953_lt:Cse,XdrumLM8953_mt:Rse,XdrumLM8953_oh:wse,XdrumLM8953_rd:Ase,XdrumLM8953_rim:Ise,XdrumLM8953_sd:kse,XdrumLM8953_tb:Nse,YamahaRM50_bd:Dse,YamahaRM50_cb:xse,YamahaRM50_cp:Mse,YamahaRM50_cr:Lse,YamahaRM50_hh:Pse,YamahaRM50_ht:Bse,YamahaRM50_lt:Yse,YamahaRM50_misc:Fse,YamahaRM50_mt:Use,YamahaRM50_oh:$se,YamahaRM50_perc:Gse,YamahaRM50_rd:qse,YamahaRM50_sd:Qse,YamahaRM50_sh:Hse,YamahaRM50_tb:Vse,YamahaRX21_bd:zse,YamahaRX21_cp:Wse,YamahaRX21_cr:Xse,YamahaRX21_hh:Kse,YamahaRX21_ht:Zse,YamahaRX21_lt:jse,YamahaRX21_mt:Jse,YamahaRX21_oh:ele,YamahaRX21_sd:tle,YamahaRX5_bd:nle,YamahaRX5_cb:rle,YamahaRX5_fx:ale,YamahaRX5_hh:ile,YamahaRX5_lt:ole,YamahaRX5_oh:sle,YamahaRX5_rim:lle,YamahaRX5_sd:cle,YamahaRX5_sh:ule,YamahaRX5_tb:dle,YamahaRY30_bd:hle,YamahaRY30_cb:fle,YamahaRY30_cp:mle,YamahaRY30_cr:ple,YamahaRY30_hh:gle,YamahaRY30_ht:_le,YamahaRY30_lt:ble,YamahaRY30_misc:Sle,YamahaRY30_mt:Ole,YamahaRY30_oh:vle,YamahaRY30_perc:Ele,YamahaRY30_rd:yle,YamahaRY30_rim:Tle,YamahaRY30_sd:Cle,YamahaRY30_sh:Rle,YamahaRY30_tb:wle,YamahaTG33_bd:Ale,YamahaTG33_cb:Ile,YamahaTG33_cp:kle,YamahaTG33_cr:Nle,YamahaTG33_fx:Dle,YamahaTG33_ht:xle,YamahaTG33_lt:Mle,YamahaTG33_misc:Lle,YamahaTG33_mt:Ple,YamahaTG33_oh:Ble,YamahaTG33_perc:Yle,YamahaTG33_rd:Fle,YamahaTG33_rim:Ule,YamahaTG33_sd:$le,YamahaTG33_sh:Gle,YamahaTG33_tb:qle},Hle=(r,e,...t)=>{const n=r.getContext("2d");typeof e=="number"&&(e=`rgb(${e},${t[0]},${t[1]})`),n.fillStyle=e,n.fillRect(0,0,r.width,r.height)},Vle=(r,e,t,n,a,...i)=>{const s=r.getContext("2d").createLinearGradient(e,t,n,a);for(let l=0;l{const c=r.getContext("2d").createRadialGradient(e,t,n,a,i,o);for(let u=0;u{const o=r.getContext("2d").createConicGradient(e,t,n);for(let s=0;s{const l=r.getContext("2d");if(l.beginPath(),l.fillStyle=a,e===0)l.arc(o,s,t,0,2*Math.PI),l.closePath(),l.fill();else if(e===1)l.ellipse(o,s,t*.8,t*n*.7,0,0,2*Math.PI),l.closePath(),l.fill();else if(e===2)l.moveTo(o,s-t),l.quadraticCurveTo(o+t*n,s,o,s+t),l.quadraticCurveTo(o-t*n,s,o,s-t),l.closePath(),l.fill();else{l.moveTo(o,s-t);let c=[];for(let u=0;u{const o=r.getContext("2d");o.save(),o.translate(a,i),o.rotate(n*Math.PI/180),o.beginPath(),o.moveTo(0,-e),o.lineTo(e,e),o.lineTo(-e,e),o.closePath(),o.fillStyle=t,o.fill(),o.restore()},Kle=(r,e,t,n,a,i,o)=>{const s=r.getContext("2d");s.save(),s.translate(i,o),s.rotate(a*Math.PI/180),s.beginPath(),s.moveTo(0,-t),s.lineTo(e,t),s.lineTo(-e,t),s.closePath(),s.fillStyle=n,s.fill(),s.restore()},Bw=(r,e,t,n,a)=>{const i=r.getContext("2d");i.beginPath(),i.arc(n,a,e,0,2*Math.PI),i.fillStyle=t,i.fill(),i.closePath()},Zle=(r,e,t,n,a,i,o,s,l,c,u)=>{const h=r.getContext("2d");h.save(),h.translate(c,u),h.rotate(l*Math.PI/180),e<2&&(h.beginPath(),h.arc(0,0,n,0,2*Math.PI),h.closePath(),h.fillStyle=e<1?o:i,h.fill(),h.beginPath(),h.arc(0,0,a,0,2*Math.PI),h.closePath(),h.fillStyle=o,h.fill(),h.restore());const p=e,_=2*Math.PI/p;for(let b=0;b{const u=r.getContext("2d");u.save(),u.translate(l,c),u.rotate(s*Math.PI/180),e<2&&(u.beginPath(),u.arc(0,0,n,0,2*Math.PI),u.closePath(),u.fillStyle=e<1?i:a,u.fill(),u.restore());const h=e,p=2*Math.PI/h;for(let _=0;_{if(e<1)return Bw(r,t,n,o,s);if(e==1)return Pw(r,t,n,0,o,s);const l=r.getContext("2d");l.save(),l.translate(o,s),l.rotate(a*Math.PI/180),l.beginPath(),l.moveTo(0,-t);for(let c=0;c{const l=r.getContext("2d");l.save(),l.translate(a,i),l.rotate(n*Math.PI/180),l.beginPath(),l.moveTo(0,0),l.lineTo(o-a,s-i),l.lineWidth=e,l.strokeStyle=t,l.stroke(),l.restore()},ece=(r,e,t,n,a,i,o,s)=>{const l=r.getContext("2d"),c=i/100*Math.PI;l.save(),l.translate(o,s),l.rotate(c),l.beginPath(),l.arc(0,0,t,0,2*Math.PI),l.fillStyle=a,l.fill(),l.lineWidth=t/20,l.strokeStyle="black",l.stroke();const u=-t/5,h=t/2.5,p=t/8,_=n*t/10;l.beginPath(),l.ellipse(-h,u,p,_,0,0,2*Math.PI),l.fillStyle="black",l.fill(),l.beginPath(),l.ellipse(h,u,p,_,0,0,2*Math.PI),l.fillStyle="black",l.fill();const b=t/2,A=t*.9,I=.25;let M=0,U=0;e>=0,U=b+e*I*t/2,l.beginPath(),l.moveTo(-A/2,b),l.quadraticCurveTo(M,U,A/2,b),l.lineWidth=10,l.strokeStyle="black",l.stroke(),l.restore()},tce=(r,e,t,n,a,i,o,s,l)=>{const c=r.getContext("2d");c.save(),c.translate(i,o),c.rotate(n*Math.PI/180),c.filter=l,c.font=`${t}px ${a}`,c.fillStyle=s,c.fillText(e,0,0),c.restore()},nce=(r,e,t,n,a,i,o,s="none")=>{const l=r.getContext("2d");l.save(),l.translate(i,o),l.rotate(a*Math.PI/180),l.filter=s;const c=new Image;c.src=e,l.drawImage(c,-t/2,-n/2,t,n),l.restore()};async function Yw(){return Promise.all([JN(),da("github:tidalcycles/Dirt-Samples/master",void 0,{tag:"Tidal"}).then(()=>cD()),mD(),da(Qle,"github:ritchse/tidal-drum-machines/main/machines/",{tag:"Machines"}),da("github:Bubobubobubobubo/Dough-Fox/main",void 0,{tag:"FoxDot"}),da("github:Bubobubobubobubo/Dough-Samples/main",void 0,{tag:"Pack"}),da("github:Bubobubobubobubo/Dough-Amiga/main",void 0,{tag:"Amiga"}),da("github:Bubobubobubobubo/Dough-Juj/main",void 0,{tag:"Juliette"}),da("github:Bubobubobubobubo/Dough-Amen/main",void 0,{tag:"Amen"}),da("github:Bubobubobubobubo/Dough-Waveforms/main",void 0,{tag:"Waveforms"})])}class rce{constructor(e){T(this,"codeExamples",{});T(this,"counters",{});T(this,"_drunk",new aK(-100,100,!1));T(this,"randomGen",Math.random);T(this,"currentSeed");T(this,"localSeeds",new Map);T(this,"patternCache",new n0({max:1e4,ttl:1e4*60*5}));T(this,"invalidPatterns",{});T(this,"cueTimes",{});T(this,"errorTimeoutID",0);T(this,"printTimeoutID",0);T(this,"MidiConnection");T(this,"scale_aid");T(this,"hydra");T(this,"onceEvaluator",!0);T(this,"forceEvaluator",!1);T(this,"load");T(this,"global");T(this,"g");T(this,"_loadUniverseFromInterface",e=>{this.app.selected_universe=e.trim(),this.app.settings.selected_universe=e.trim(),rl(this.app,e),vu()});T(this,"_deleteUniverseFromInterface",e=>{delete this.app.universes[e],this.app.settings.selected_universe===e&&(this.app.settings.selected_universe="Welcome",this.app.selected_universe="Welcome"),this.app.settings.saveApplicationToLocalStorage(this.app.universes,this.app.settings),this.app.updateKnownUniversesView()});T(this,"_playDocExample",e=>{let t=this.app.universes[this.app.selected_universe];this.app.exampleIsPlaying=!0,t.example?t.example.candidate=e||this.app.selectedExample:(t.example={candidate:"",committed:"",evaluations:0},t.example.candidate=e||this.app.selectedExample),this.clearPatternCache(),this.stop(),this.play()});T(this,"_stopDocExample",()=>{let e=this.app.universes[this.app.selected_universe];(e==null?void 0:e.example)!==void 0&&(this.app.exampleIsPlaying=!1,e.example.candidate="",e.example.committed=""),this.clearPatternCache(),this.stop()});T(this,"_playDocExampleOnce",e=>{let t=this.app.universes[this.app.selected_universe];(t==null?void 0:t.example)!==void 0&&(t.example.candidate="",t.example.committed=""),this.clearPatternCache(),this.stop(),this.play(),this.app.exampleIsPlaying=!0,IB(this.app,e)});T(this,"_all_samples",()=>Du.get());T(this,"_reportError",e=>{const t=o=>{var l;const s=(l=o.stack)==null?void 0:l.split(` +`);if(s){for(const c of s)if(c.includes("")){const u=c.match(/:(\d+):(\d+)/);if(u)return{line:parseInt(u[1],10),column:parseInt(u[2],10)}}}return{line:null,column:null}},{line:n,column:a}=t(e),i=n&&a?`${e.message} (Line: ${n-2}, Column: ${a})`:e.message;clearTimeout(this.errorTimeoutID),clearTimeout(this.printTimeoutID),this.app.interface.error_line.innerHTML=i,this.app.interface.error_line.style.color="color-red-800",this.app.interface.error_line.classList.remove("hidden"),this.errorTimeoutID=setTimeout(()=>this.app.interface.error_line.classList.add("hidden"),2e3)});T(this,"_logMessage",e=>{console.log(e),clearTimeout(this.printTimeoutID),clearTimeout(this.errorTimeoutID),this.app.interface.error_line.innerHTML=e,this.app.interface.error_line.style.color="red",this.app.interface.error_line.classList.remove("hidden"),this.printTimeoutID=setTimeout(()=>this.app.interface.error_line.classList.add("hidden"),4e3)});T(this,"time",()=>this.app.audioContext.currentTime);T(this,"play",()=>{this.app.setButtonHighlighting("play",!0),this.MidiConnection.sendStartMessage(),this.app.clock.start()});T(this,"pause",()=>{this.app.setButtonHighlighting("pause",!0),this.app.clock.pause()});T(this,"stop",()=>{this.app.setButtonHighlighting("stop",!0),this.app.clock.stop()});T(this,"silence",this.stop);T(this,"hush",this.stop);T(this,"warp",e=>{this.app.clock.tick=e,this.app.clock.time_position=this.app.clock.convertTicksToTimeposition(e)});T(this,"beat_warp",e=>{this.app.clock.tick=e*this.app.clock.ppqn,this.app.clock.time_position=this.app.clock.convertTicksToTimeposition(e*this.app.clock.ppqn)});T(this,"onmousemove",e=>{this.app._mouseX=e.pageX,this.app._mouseY=e.pageY});T(this,"mouseX",()=>this.app._mouseX);T(this,"mouseY",()=>this.app._mouseY);T(this,"noteX",()=>Math.floor(this.app._mouseX/document.body.clientWidth*127));T(this,"noteY",()=>Math.floor(this.app._mouseY/document.body.clientHeight*127));T(this,"script",(...e)=>{e.forEach(t=>{t>=1&&t<=9&&(bD(this.app,"local",t),Ci(this.app,this.app.universes[this.app.selected_universe].locals[t]))})});T(this,"s",this.script);T(this,"delete_script",e=>{this.app.universes[this.app.selected_universe].locals[e]={candidate:"",committed:"",evaluations:0}});T(this,"cs",this.delete_script);T(this,"copy_script",(e,t)=>{this.app.universes[this.app.selected_universe].locals[t]={...this.app.universes[this.app.selected_universe].locals[e]}});T(this,"cps",this.copy_script);T(this,"copy_universe",(e,t)=>{this.app.universes[t]={...this.app.universes[e]}});T(this,"delete_universe",e=>{this.app.selected_universe===e&&(this.app.selected_universe="Default"),delete this.app.universes[e],this.app.settings.saveApplicationToLocalStorage(this.app.universes,this.app.settings),this.app.updateKnownUniversesView()});T(this,"big_bang",()=>{confirm("Are you sure you want to delete all universes?")&&(this.app.universes={...h_},this.app.settings.saveApplicationToLocalStorage(this.app.universes,this.app.settings)),this.app.selected_universe="Default",this.app.updateKnownUniversesView()});T(this,"midi_outputs",()=>{this._logMessage(this.MidiConnection.listMidiOutputs())});T(this,"midi_output",e=>{e?this.MidiConnection.switchMidiOutput(e):console.log(this.MidiConnection.getCurrentMidiPort())});T(this,"midi",(e=60,t,n,a)=>{const i={note:e,velocity:t,channel:n,port:a};return new Jg(i,this.app)});T(this,"sysex",e=>{this.MidiConnection.sendSysExMessage(e)});T(this,"pitch_bend",(e,t)=>{this.MidiConnection.sendPitchBend(e,t)});T(this,"program_change",(e,t)=>{this.MidiConnection.sendProgramChange(e,t)});T(this,"midi_clock",()=>{this.MidiConnection.sendMidiClock()});T(this,"control_change",({control:e=20,value:t=0,channel:n=0})=>{this.MidiConnection.sendMidiControlChange(e,t,n)});T(this,"cc",this.control_change);T(this,"midi_panic",()=>{this.MidiConnection.panic()});T(this,"active_note_events",e=>{let t;if(e?t=this.MidiConnection.activeNotesFromChannel(e):t=this.MidiConnection.activeNotes,t.length>0)return t});T(this,"active_notes",e=>{const t=this.active_note_events(e);if(t&&t.length>0)return t.map(n=>n.note)});T(this,"kill_active_notes",()=>{this.MidiConnection.activeNotes=[]});T(this,"sticky_notes",e=>{let t;if(e?t=this.MidiConnection.stickyNotesFromChannel(e):t=this.MidiConnection.stickyNotes,t.length>0)return t.map(n=>n.note)});T(this,"kill_sticky_notes",()=>{this.MidiConnection.stickyNotes=[]});T(this,"buffer",e=>e?this.MidiConnection.findNoteFromBufferInChannel(e)!==void 0:this.MidiConnection.noteInputBuffer.length>0);T(this,"buffer_event",e=>e?this.MidiConnection.findNoteFromBufferInChannel(e):this.MidiConnection.noteInputBuffer.shift());T(this,"buffer_note",e=>{const t=this.buffer_event(e);return t?t.note:void 0});T(this,"last_note_event",e=>e?this.MidiConnection.lastNoteInChannel[e]:this.MidiConnection.lastNote);T(this,"last_note",e=>{const t=this.last_note_event(e);return t?t.note:60});T(this,"last_cc",(e,t)=>t?this.MidiConnection.lastCCInChannel[t]?this.MidiConnection.lastCCInChannel[t][e]:0:this.MidiConnection.lastCC[e]||0);T(this,"has_cc",e=>e?this.MidiConnection.findCCFromBufferInChannel(e)!==void 0:this.MidiConnection.ccInputBuffer.length>0);T(this,"buffer_cc",e=>e?this.MidiConnection.findCCFromBufferInChannel(e):this.MidiConnection.ccInputBuffer.shift());T(this,"show_scale",(e,t,n=0,a=this.MidiConnection.currentOutputIndex||0,i=!1)=>{(!this.scale_aid||t!==this.scale_aid)&&(this.hide_scale(e,t,n,a),iH(t,e).forEach(s=>{this.MidiConnection.sendMidiOn(s,n,1,a),i&&this.MidiConnection.sendAllSoundOff(n,a)}),this.scale_aid=t)});T(this,"hide_scale",(e=0,t=0,n=0,a=this.MidiConnection.currentOutputIndex||0)=>{Array.from(Array(128).keys()).forEach(o=>{this.MidiConnection.sendMidiOff(o,n,a)}),this.scale_aid=void 0});T(this,"midi_notes_off",(e=0,t=this.MidiConnection.currentOutputIndex||0)=>{this.MidiConnection.sendAllNotesOff(e,t)});T(this,"midi_sound_off",(e=0,t=this.MidiConnection.currentOutputIndex||0)=>{this.MidiConnection.sendAllSoundOff(e,t)});T(this,"generateCacheKey",(...e)=>e.map(t=>JSON.stringify(t)).join(","));T(this,"resetAllFromCache",()=>{this.patternCache.forEach(e=>e.reset())});T(this,"clearPatternCache",()=>{this.patternCache.clear()});T(this,"removePatternFromCache",e=>{this.patternCache.delete(e)});T(this,"cache",(e,t)=>{if(t!==void 0)if(kw(t))if(this.patternCache.has(e)){const n=this.patternCache.get(e).next().value;if(n!==0&&!n){const a=t;return this.patternCache.set(e,a),oi(a.next().value)}return oi(n)}else{const n=t;return this.patternCache.set(e,n),oi(n.next().value)}else if(iK(t))if(this.patternCache.has(e)){const n=this.patternCache.get(e).next().value;if(n||n===0||n===0n)return oi(n);{const a=t();return this.patternCache.set(e,a),oi(a.next().value)}}else{const n=t();return this.patternCache.set(e,n),oi(n.next().value)}else return this.patternCache.set(e,t),oi(t);else return oi(this.patternCache.get(e))});T(this,"z",(e,t={},n="")=>{const a="z"+n.toString(),i=n===""?this.generateCacheKey(e,t):a,o=typeof e=="string"&&!this.invalidPatterns[e];let s,l=!1;if(this.app.api.patternCache.has(i)&&(s=this.app.api.patternCache.get(i),typeof e=="string"&&s.input!==e&&(s.atTheBeginning()||this.forceEvaluator)&&(l=!0)),(typeof e!="string"||o)&&(!s||l))if(typeof e=="string"&&s&&this.forceEvaluator)s.updatePattern(e,t)||this.logOnce(`Invalid syntax: ${e}`),this.forceEvaluator=!1;else{const c=s?new TE(e,t,this.app,a,s.nextEndTime()):new TE(e,t,this.app,a);c.isValid()?(s=c,this.patternCache.set(i,s)):typeof e=="string"&&(this.invalidPatterns[e]=!0)}if(s)return s.atTheBeginning()&&typeof e=="string"&&!o&&this.app.api.log(`Invalid syntax: ${e}`),s.ziffers.generator&&s.ziffers.generatorDone&&this.removePatternFromCache(i),typeof n=="number"&&(s.zid=a),s.updateLastCallTime(),n!==""&&a!=="z0"&&s.sync("z0",!1),s;throw new Error(`Invalid syntax: ${e}`)});T(this,"z0",(e,t={})=>this.z(e,t,0));T(this,"z1",(e,t={})=>this.z(e,t,1));T(this,"z2",(e,t={})=>this.z(e,t,2));T(this,"z3",(e,t={})=>this.z(e,t,3));T(this,"z4",(e,t={})=>this.z(e,t,4));T(this,"z5",(e,t={})=>this.z(e,t,5));T(this,"z6",(e,t={})=>this.z(e,t,6));T(this,"z7",(e,t={})=>this.z(e,t,7));T(this,"z8",(e,t={})=>this.z(e,t,8));T(this,"z9",(e,t={})=>this.z(e,t,9));T(this,"z10",(e,t={})=>this.z(e,t,10));T(this,"z11",(e,t={})=>this.z(e,t,11));T(this,"z12",(e,t={})=>this.z(e,t,12));T(this,"z13",(e,t={})=>this.z(e,t,13));T(this,"z14",(e,t={})=>this.z(e,t,14));T(this,"z15",(e,t={})=>this.z(e,t,15));T(this,"z16",(e,t={})=>this.z(e,t,16));T(this,"once",()=>{const e=this.app.api.onceEvaluator;return this.app.api.onceEvaluator=!1,e});T(this,"counter",(e,t,n)=>(e in this.counters?(this.counters[e].limit!==t&&(this.counters[e].value=0,this.counters[e].limit=t),this.counters[e].step!==n&&(this.counters[e].step=n??this.counters[e].step),this.counters[e].value+=this.counters[e].step,this.counters[e].limit!==void 0&&this.counters[e].value>this.counters[e].limit&&(this.counters[e].value=0)):this.counters[e]={value:0,step:n??1,limit:t},this.counters[e].value));T(this,"$",this.counter);T(this,"count",this.counter);T(this,"i",e=>e!==void 0?(this.app.universes[this.app.selected_universe].global.evaluations=e,this.app.universes[this.app.selected_universe]):this.app.universes[this.app.selected_universe].global.evaluations);T(this,"drunk",e=>e!==void 0?(this._drunk.position=e,this._drunk.getPosition()):(this._drunk.step(),this._drunk.getPosition()));T(this,"drunk_max",e=>{this._drunk.max=e});T(this,"drunk_min",e=>{this._drunk.min=e});T(this,"drunk_wrap",e=>{this._drunk.toggleWrap(e)});T(this,"randI",(e,t)=>Math.floor(this.randomGen()*(t-e+1))+e);T(this,"rand",(e,t)=>this.randomGen()*(t-e)+e);T(this,"irand",this.randI);T(this,"rI",this.randI);T(this,"r",this.rand);T(this,"ir",this.randI);T(this,"seed",e=>{typeof e=="number"&&(e=e.toString()),this.currentSeed!==e&&(this.currentSeed=e,this.randomGen=Wg(e))});T(this,"localSeededRandom",e=>{if(typeof e=="number"&&(e=e.toString()),this.localSeeds.has(e))return this.localSeeds.get(e);const t=Wg(e);return this.localSeeds.set(e,t),t});T(this,"clearLocalSeed",(e=void 0)=>{e&&this.localSeeds.delete(e.toString()),this.localSeeds.clear()});T(this,"quantize",(e,t)=>{if(t.length===0)return e;let n=t[0];return t.forEach(a=>{Math.abs(a-e)Math.min(Math.max(e,t),n));T(this,"cmp",this.clamp);T(this,"prob",e=>this.randomGen()*100this.randomGen()>.5);T(this,"odds",(e,t=1)=>this.randomGen()!1);T(this,"almostNever",(e=1)=>this.randomGen()<.025*this.ppqn()/(this.ppqn()*e));T(this,"rarely",(e=1)=>this.randomGen()<.1*this.ppqn()/(this.ppqn()*e));T(this,"scarcely",(e=1)=>this.randomGen()<.25*this.ppqn()/(this.ppqn()*e));T(this,"sometimes",(e=1)=>this.randomGen()<.5*this.ppqn()/(this.ppqn()*e));T(this,"often",(e=1)=>this.randomGen()<.75*this.ppqn()/(this.ppqn()*e));T(this,"frequently",(e=1)=>this.randomGen()<.9*this.ppqn()/(this.ppqn()*e));T(this,"almostAlways",(e=1)=>this.randomGen()<.985*this.ppqn()/(this.ppqn()*e));T(this,"always",(e=1)=>!0);T(this,"dice",e=>Math.floor(this.randomGen()*e)+1);T(this,"cbar",()=>this.app.clock.time_position.bar+1);T(this,"ctick",()=>this.app.clock.tick+1);T(this,"cpulse",()=>this.app.clock.time_position.pulse+1);T(this,"cbeat",()=>this.app.clock.time_position.beat+1);T(this,"ebeat",()=>this.app.clock.beats_since_origin+1);T(this,"epulse",()=>this.app.clock.pulses_since_origin+1);T(this,"nominator",()=>this.app.clock.time_signature[0]);T(this,"meter",()=>this.app.clock.time_signature[1]);T(this,"denominator",this.meter);T(this,"pulsesForBar",()=>this.tempo()*this.ppqn()*this.nominator()/60);T(this,"fill",()=>this.app.fill);T(this,"fullseq",(e,t)=>e.split("").every(n=>n==="x"||n==="o")?[...e].map(n=>n==="x").beat(t):!1);T(this,"seq",(e,t=.5)=>{let n=e.length*t,a=[];for(let i=1;i<=n+1;i+=t)a.push(Math.floor(i*10)/10);return a.pop(),a=a.filter((i,o)=>{const s=o%e.length;return e[s]==="x"}),this.oncount(a,n)});T(this,"beat",(e=1,t=0)=>(Array.isArray(e)?e:[e]).map(i=>(this.app.clock.pulses_since_origin-Math.floor(t*this.ppqn()))%Math.floor(i*this.ppqn())===0).some(i=>i===!0));T(this,"b",this.beat);T(this,"bar",(e=1,t=0)=>{const n=Array.isArray(e)?e:[e],a=this.app.clock.time_signature[1]*this.ppqn(),i=Math.floor(t*a);return n.map(s=>(this.app.clock.pulses_since_origin-i)%Math.floor(s*a)===0).some(s=>s===!0)});T(this,"B",this.bar);T(this,"pulse",(e=1,t=0)=>(Array.isArray(e)?e:[e]).map(i=>(this.app.clock.pulses_since_origin-t)%i===0).some(i=>i===!0));T(this,"p",this.pulse);T(this,"tick",(e,t=0)=>(Array.isArray(e)?e:[e]).map(i=>this.app.clock.time_position.pulse===i+t).some(i=>i===!0));T(this,"dur",e=>{let t=Array.isArray(e)?e:[e];return this.beat(t.dur(...t))});T(this,"flip",(e,t=50)=>{let n=e*2;const a=this.app.clock.pulses_since_origin,i=Math.floor(n*this.ppqn()),o=Math.floor(t/100*i);return a%i{let t=e;const n=this.app.clock.time_position.bar;return Math.floor(n/t)%2===0});T(this,"onbar",(e,t=this.app.clock.time_signature[0])=>{let n=this.app.clock.time_position.bar%t+1;return typeof e=="number"?e===n:e.some(a=>a==n)});T(this,"onbeat",(...e)=>{let t=[];return e.forEach(n=>{let a=n%this.nominator()||this.nominator(),i=Math.floor(a);i=i==0?this.nominator():i;let o=Math.floor((a-i)*this.ppqn()+1);o<=0&&(o=o+this.ppqn()*this.nominator()),t.push(i===this.cbeat()&&this.cpulse()===o)}),t.some(n=>n==!0)});T(this,"oncount",(e,t)=>{typeof e=="number"&&(e=[e]);const n=this.app.clock.pulses_since_origin;let a=[];return e.forEach(i=>{i=i<1?0:i-1;const o=Math.ceil(i*this.ppqn()),s=n%(this.ppqn()*t);return a.push(s===o)}),a.some(i=>i==!0)});T(this,"oneuclid",(e,t,n=0)=>{const i=this._euclidean_cycle(e,t,n).reduce((o,s,l)=>(s&&o.push(l+1),o),[]);return this.oncount(i,t)});T(this,"delay",(e,t)=>{setTimeout(t,e)});T(this,"delayr",(e,t,n)=>{[...Array(t).keys()].map(i=>e*i).forEach((i,o)=>{setTimeout(n,i)})});T(this,"euclid",(e,t,n,a=0)=>this._euclidean_cycle(t,n,a)[e%n]);T(this,"ec",this.euclid);T(this,"rhythm",(e,t,n,a=0)=>this.beat(e)&&this._euclidean_cycle(t,n,a).beat(e));T(this,"ry",this.rhythm);T(this,"bin",(e,t)=>{let a=t.toString(2).split("").map(i=>i==="1");return a[e%a.length]});T(this,"binrhythm",(e,t)=>{let a=t.toString(2).split("").map(i=>i==="1");return this.beat(e)&&a.beat(e)});T(this,"range",(e,t,n)=>e*(n-t)+t);T(this,"line",(e,t,n=1)=>{function a(o){var s=o.toString(),l=s.indexOf(".");return l==-1?0:s.length-l-1}const i=[];if(t>e&&n>0||te&&n<0||t0)for(let o=e;o>=t;o-=n)i.push(parseFloat(o.toFixed(a(n))));else console.error("Invalid range or step provided.");return i});T(this,"sine",(e=1,t=1,n=0)=>(Math.sin(this.app.clock.ctx.currentTime*Math.PI*2*e)+n)*t);T(this,"usine",(e=1,t=1,n=0)=>(this.sine(e,t,n)+1)/2*t);T(this,"saw",(e=1,t=1,n=0)=>(this.app.clock.ctx.currentTime*e%1*2-1+n)*t);T(this,"usaw",(e=1,t=1,n=0)=>(this.saw(e,t,n)+1)/2*t);T(this,"triangle",(e=1,t=1,n=0)=>(Math.abs(this.saw(e,t,n))*2-1)*t);T(this,"utriangle",(e=1,t=1,n=0)=>(this.triangle(e,t,n)+1)/2*t);T(this,"square",(e=1,t=1,n=0,a=.5)=>{const i=1/e;return((Date.now()/1e3+n)%i/i(this.square(e,t,n,a)+1)/2*t);T(this,"noise",(e=1)=>(this.randomGen()*2-1)*e);T(this,"min",(...e)=>Math.min(...e));T(this,"max",(...e)=>Math.max(...e));T(this,"mean",(...e)=>e.reduce((n,a)=>n+a,0)/e.length);T(this,"limit",(e,t,n)=>Math.min(Math.max(e,t),n));T(this,"abs",Math.abs);T(this,"speak",(e,t="en-US",n=0,a=1,i=1)=>{new Lw({text:e,lang:t,voice:n,rate:a,pitch:i}).speak().then(()=>{}).catch(s=>{console.log(s)})});T(this,"stop_hydra",()=>{this.app.hydra.hush()});T(this,"sound",e=>e?new xl(e,this.app):new rs);T(this,"snd",this.sound);T(this,"samples",da);T(this,"log",e=>{console.log(e),this._logMessage(e)});T(this,"logOnce",e=>{this.onceEvaluator&&(console.log(e),this._logMessage(e),this.onceEvaluator=!1)});T(this,"scale",Xu);T(this,"nearScales",pH);T(this,"rate",e=>{});T(this,"register",(e,t)=>(Dl.prototype[e]=function(...n){return t(this,...n)},!0));T(this,"all",e=>(Dl.prototype.chainAll=function(...t){return e(this,...t)},!0));T(this,"shuffle",e=>e.sort(()=>this.randomGen()-.5));T(this,"reverse",e=>e.reverse());T(this,"rotate",e=>t=>t.slice(e,t.length).concat(t.slice(0,e)));T(this,"repeat",e=>t=>t.flatMap(n=>Array(e).fill(n)));T(this,"repeatOdd",e=>t=>t.flatMap((n,a)=>a%2===0?Array(e).fill(n):n));T(this,"repeatEven",e=>t=>t.flatMap((n,a)=>a%2!==0?Array(e).fill(n):n));T(this,"palindrome",e=>e.concat(e.slice(0,e.length-1).reverse()));T(this,"scope",e=>{this.app.osc={...this.app.osc,...e}});T(this,"gif",e=>{const{url:t,posX:n=0,posY:a=0,opacity:i=1,size:o="auto",center:s=!1,rotation:l=0,filter:c="none",dur:u=1}=e;let h=u*this.app.clock.pulse_duration*this.app.clock.ppqn,p=h*.1,_=h-p;const b=document.createElement("img");b.src=t,b.style.position="fixed",b.style.left=s?"50%":`${n}px`,b.style.top=s?"50%":`${a}px`,b.style.opacity=`${i}`,b.style.zIndex="-1",o!=="auto"&&(b.style.width=o,b.style.height=o);const A=[`rotate(${l}deg)`];s&&A.unshift("translate(-50%, -50%)"),b.style.transform=A.join(" "),b.style.filter=c,b.style.transition=`opacity ${p}s ease`,document.body.appendChild(b),setTimeout(()=>{b.style.opacity="0"},_*1e3),setTimeout(()=>{document.body.contains(b)&&document.body.removeChild(b)},h*1e3)});T(this,"pulseLocation",()=>this.epulse()/this.pulsesForBar()*this.w()%this.w());T(this,"clear",()=>{const e=this.app.interface.drawings;return e.getContext("2d").clearRect(0,0,e.width,e.height),!0});T(this,"w",()=>this.app.interface.drawings.clientWidth);T(this,"h",()=>this.app.interface.drawings.clientHeight);T(this,"hc",()=>this.h()/2);T(this,"wc",()=>this.w()/2);T(this,"background",(e,...t)=>(Hle(this.app.interface.drawings,e,...t),!0));T(this,"bg",this.background);T(this,"linearGradient",(e,t,n,a,...i)=>Vle(this.app.interface.drawings,e,t,n,a,...i));T(this,"radialGradient",(e,t,n,a,i,o,...s)=>zle(this.app.interface.drawings,e,t,n,a,i,o,...s));T(this,"conicGradient",(e,t,n,...a)=>Wle(this.app.interface.drawings,e,t,n,...a));T(this,"draw",e=>{if(typeof e=="string")this.drawText(e);else{const n=this.app.interface.drawings.getContext("2d");e(n)}return!0});T(this,"balloid",(e=6,t=this.hc()/2,n=1.5,a="white",i="black",o=this.wc(),s=this.hc())=>(typeof e=="object"&&(a=e.fillStyle||"white",o=e.x||this.wc(),s=e.y||this.hc(),n=e.curve||1.5,t=e.radius||this.hc()/2,e=e.curves||6),Xle(this.app.interface.drawings,e,t,n,a,i,o,s),!0));T(this,"equilateral",(e=this.hc()/3,t="white",n=0,a=this.wc(),i=this.hc())=>{typeof e=="object"&&(t=e.fillStyle||"white",a=e.x||this.wc(),i=e.y||this.hc(),n=e.rotation||0,e=e.radius||this.hc()/3);const o=this.app.interface.drawings;return Pw(o,e,t,n,a,i),!0});T(this,"triangular",(e=this.hc()/3,t=this.hc()/3,n="white",a=0,i=this.wc(),o=this.hc())=>{typeof e=="object"&&(n=e.fillStyle||"white",i=e.x||this.wc(),o=e.y||this.hc(),a=e.rotation||0,t=e.height||this.hc()/3,e=e.width||this.hc()/3);const s=this.app.interface.drawings;return Kle(s,e,t,n,a,i,o),!0});T(this,"pointy",this.triangular);T(this,"ball",(e=this.hc()/3,t="white",n=this.wc(),a=this.hc())=>{typeof e=="object"&&(t=e.fillStyle||"white",n=e.x||this.wc(),a=e.y||this.hc(),e=e.radius||this.hc()/3);const i=this.app.interface.drawings;return Bw(i,e,t,n,a),!0});T(this,"circle",this.ball);T(this,"donut",(e=3,t=0,n=this.hc()/3,a=this.hc()/12,i="white",o="black",s="black",l=0,c=this.wc(),u=this.hc())=>{typeof e=="object"&&(i=e.fillStyle||"white",c=e.x||this.wc(),u=e.y||this.hc(),l=e.rotation||0,n=e.radius||this.hc()/3,t=e.eaten||0,a=e.hole||this.hc()/12,o=e.secondary||"black",s=e.stroke||"black",e=e.slices||3);const h=this.app.interface.drawings;return Zle(h,e,t,n,a,i,o,s,l,c,u),!0});T(this,"pie",(e=3,t=0,n=this.hc()/3,a="white",i="black",o="black",s=0,l=this.wc(),c=this.hc())=>{typeof e=="object"&&(a=e.fillStyle||"white",l=e.x||this.wc(),c=e.y||this.hc(),s=e.rotation||0,n=e.radius||this.hc()/3,i=e.secondary||"black",o=e.stroke||"black",t=e.eaten||0,e=e.slices||3);const u=this.app.interface.drawings;return jle(u,e,t,n,a,i,o,s,l,c),!0});T(this,"star",(e=5,t=this.hc()/3,n="white",a=0,i=t/100,o=this.wc(),s=this.hc())=>{typeof e=="object"&&(t=e.radius||this.hc()/3,n=e.fillStyle||"white",o=e.x||this.wc(),s=e.y||this.hc(),a=e.rotation||0,i=e.outerRadius||t/100,e=e.points||5);const l=this.app.interface.drawings;return Jle(l,e,t,n,a,i,o,s),!0});T(this,"stroke",(e=1,t="white",n=0,a=this.wc()-this.wc()/10,i=this.hc(),o=this.wc()+this.wc()/5,s=this.hc())=>{typeof e=="object"&&(t=e.strokeStyle||"white",a=e.x1||this.wc()-this.wc()/10,i=e.y1||this.hc(),o=e.x2||this.wc()+this.wc()/5,s=e.y2||this.hc(),n=e.rotation||0,e=e.width||1);const l=this.app.interface.drawings;return CE(l,e,t,n,a,i,o,s),!0});T(this,"box",(e=this.wc()/4,t=this.wc()/4,n="white",a=0,i=this.wc()-this.wc()/8,o=this.hc()-this.hc()/8)=>{typeof e=="object"&&(n=e.fillStyle||"white",i=e.x||this.wc()-this.wc()/4,o=e.y||this.hc()-this.hc()/2,a=e.rotation||0,t=e.height||this.wc()/4,e=e.width||this.wc()/4);const s=this.app.interface.drawings;return CE(s,e,n,a,i,o,e,t),!0});T(this,"smiley",(e=0,t=this.hc()/3,n=3,a="yellow",i=0,o=this.wc(),s=this.hc())=>{typeof e=="object"&&(a=e.fillStyle||"yellow",o=e.x||this.wc(),s=e.y||this.hc(),i=e.rotation||0,n=e.eyeSize||3,t=e.radius||this.hc()/3,e=e.happiness||0);const l=this.app.interface.drawings;return ece(l,e,t,n,a,i,o,s),!0});T(this,"drawText",(e,t=24,n=0,a="Arial",i=this.wc(),o=this.hc(),s="white",l="none")=>{typeof e=="object"&&(s=e.fillStyle||"white",i=e.x||this.wc(),o=e.y||this.hc(),n=e.rotation||0,a=e.font||"Arial",t=e.fontSize||24,l=e.filter||"none",e=e.text||"");const c=this.app.interface.drawings;return tce(c,e,t,n,a,i,o,s,l),!0});T(this,"image",(e,t=this.wc()/2,n=this.hc()/2,a=0,i=this.wc(),o=this.hc(),s="none")=>{if(typeof e=="object"){if(!e.url)return!0;i=e.x||this.wc(),o=e.y||this.hc(),a=e.rotation||0,t=e.width||100,n=e.height||100,s=e.filter||"none",e=e.url||""}const l=this.app.interface.drawings;return nce(l,e,t,n,a,i,o,s),!0});T(this,"randomChar",(e=1,t=0,n=65536)=>Array.from({length:e},()=>String.fromCodePoint(Math.floor(Math.random()*(n-t)+t))).join(""));T(this,"randomFromRange",(e,t)=>{const n=Math.floor(Math.random()*(t-e)+e);return String.fromCodePoint(n)});T(this,"emoji",(e=1)=>this.randomChar(e,128512,128591));T(this,"food",(e=1)=>this.randomChar(e,127789,127871));T(this,"animals",(e=1)=>this.randomChar(e,128e3,128211));T(this,"expressions",(e=1)=>this.randomChar(e,129296,129327));T(this,"osc",(e,t,...n)=>{$C({address:e,port:t,args:n,timetag:Math.round(Date.now()+(this.app.clock.nudge-this.app.clock.deviation))})});T(this,"getOSC",e=>{if(e){let t=tl.filter(n=>n.address===e);return t=t.map(n=>n.data),t}else return tl});T(this,"tempo",e=>e===void 0?this.app.clock.bpm:((e<1||e>500)&&console.log(`Setting bpm to ${e}`),this.app.clock.bpm=e,e));T(this,"bpb",e=>e===void 0?this.app.clock.time_signature[0]:(e<1&&console.log(`Setting bpb to ${e}`),this.app.clock.time_signature[0]=e,e));T(this,"ppqn",e=>e===void 0?this.app.clock.ppqn:(e<1&&console.log(`Setting ppqn to ${e}`),this.app.clock.ppqn=e,e));T(this,"time_signature",(e,t)=>{this.app.clock.time_signature=[e,t]});T(this,"cue",e=>{e=typeof e=="function"?e.name:e,this.cueTimes[e]=this.app.clock.pulses_since_origin});T(this,"theme",e=>{this.app.readTheme(e),console.log("Changing color scheme for: ",e)});T(this,"themeName",()=>this.app.currentThemeName);T(this,"randomTheme",()=>{let e=this.getThemes(),t=e[Math.floor(Math.random()*e.length)];this.app.readTheme(t)});T(this,"nextTheme",()=>{let e=this.getThemes(),t=this.app.api.themeName(),a=(e.indexOf(t)+1)%e.length,i=e[a];this.app.readTheme(i),this.app.api.log(i)});T(this,"getThemes",()=>Object.keys(Zi));this.app=e,this.MidiConnection=new rK(this,e.settings),this.global={},this.g=this.global}transmission(){return this.MidiConnection.activeNotes.length>0}_euclidean_cycle(e,t,n=0){if(e==t)return Array.from({length:t},()=>!0);function a(s,l){const c=s.length,u=(l+1)%c;return s[l]>s[u]}if(e>=t)return[!0];const i=Array.from({length:t},(s,l)=>(e*(l-1)%t+t)%t);let o=i.map((s,l)=>a(i,l));return n!=0&&(o=o.slice(n).concat(o.slice(0,n))),o}}function y(){y=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(D,P,H){D[P]=H.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(D,P,H){return Object.defineProperty(D,P,{value:H,enumerable:!0,configurable:!0,writable:!0}),D[P]}try{c({},"")}catch{c=function(P,H,z){return P[H]=z}}function u(D,P,H,z){var ne=Object.create((P&&P.prototype instanceof M?P:M).prototype),oe=new ie(z||[]);return a(ne,"_invoke",{value:Y(D,H,oe)}),ne}function h(D,P,H){try{return{type:"normal",arg:D.call(P,H)}}catch(z){return{type:"throw",arg:z}}}e.wrap=u;var p="suspendedStart",_="suspendedYield",b="executing",A="completed",I={};function M(){}function U(){}function V(){}var m={};c(m,o,function(){return this});var O=Object.getPrototypeOf,S=O&&O(O(ae([])));S&&S!==t&&n.call(S,o)&&(m=S);var k=V.prototype=M.prototype=Object.create(m);function L(D){["next","throw","return"].forEach(function(P){c(D,P,function(H){return this._invoke(P,H)})})}function F(D,P){function H(ne,oe,_e,ye){var we=h(D[ne],D,oe);if(we.type!=="throw"){var Ee=we.arg,Ce=Ee.value;return Ce&&typeof Ce=="object"&&n.call(Ce,"__await")?P.resolve(Ce.__await).then(function(he){H("next",he,_e,ye)},function(he){H("throw",he,_e,ye)}):P.resolve(Ce).then(function(he){Ee.value=he,_e(Ee)},function(he){return H("throw",he,_e,ye)})}ye(we.arg)}var z;a(this,"_invoke",{value:function(ne,oe){function _e(){return new P(function(ye,we){H(ne,oe,ye,we)})}return z=z?z.then(_e,_e):_e()}})}function Y(D,P,H){var z=p;return function(ne,oe){if(z===b)throw new Error("Generator is already running");if(z===A){if(ne==="throw")throw oe;return{value:r,done:!0}}for(H.method=ne,H.arg=oe;;){var _e=H.delegate;if(_e){var ye=q(_e,H);if(ye){if(ye===I)continue;return ye}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(z===p)throw z=A,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);z=b;var we=h(D,P,H);if(we.type==="normal"){if(z=H.done?A:_,we.arg===I)continue;return{value:we.arg,done:H.done}}we.type==="throw"&&(z=A,H.method="throw",H.arg=we.arg)}}}function q(D,P){var H=P.method,z=D.iterator[H];if(z===r)return P.delegate=null,H==="throw"&&D.iterator.return&&(P.method="return",P.arg=r,q(D,P),P.method==="throw")||H!=="return"&&(P.method="throw",P.arg=new TypeError("The iterator does not provide a '"+H+"' method")),I;var ne=h(z,D.iterator,P.arg);if(ne.type==="throw")return P.method="throw",P.arg=ne.arg,P.delegate=null,I;var oe=ne.arg;return oe?oe.done?(P[D.resultName]=oe.value,P.next=D.nextLoc,P.method!=="return"&&(P.method="next",P.arg=r),P.delegate=null,I):oe:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,I)}function te(D){var P={tryLoc:D[0]};1 in D&&(P.catchLoc=D[1]),2 in D&&(P.finallyLoc=D[2],P.afterLoc=D[3]),this.tryEntries.push(P)}function se(D){var P=D.completion||{};P.type="normal",delete P.arg,D.completion=P}function ie(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(te,this),this.reset(!0)}function ae(D){if(D||D===""){var P=D[o];if(P)return P.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var H=-1,z=function ne(){for(;++H=0;--z){var ne=this.tryEntries[z],oe=ne.completion;if(ne.tryLoc==="root")return H("end");if(ne.tryLoc<=this.prev){var _e=n.call(ne,"catchLoc"),ye=n.call(ne,"finallyLoc");if(_e&&ye){if(this.prev=0;--H){var z=this.tryEntries[H];if(z.tryLoc<=this.prev&&n.call(z,"finallyLoc")&&this.prev=0;--P){var H=this.tryEntries[P];if(H.finallyLoc===D)return this.complete(H.completion,H.afterLoc),se(H),I}},catch:function(D){for(var P=this.tryEntries.length-1;P>=0;--P){var H=this.tryEntries[P];if(H.tryLoc===D){var z=H.completion;if(z.type==="throw"){var ne=z.arg;se(H)}return ne}}throw new Error("illegal catch attempt")},delegateYield:function(D,P,H){return this.delegate={iterator:ae(D),resultName:P,nextLoc:H},this.method==="next"&&(this.arg=r),I}},e}function RE(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t=r.length?{done:!0}:{done:!1,value:r[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Fw="0.9.7",ace=y().mark(Uw);function Uw(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=0,e=[0n,1n,1n,1n,2n,1n,2n,1n,5n,2n,2n,1n,5n,1n,2n,1n,14n,1n,5n,1n,5n,2n,2n,1n,15n,2n,2n,5n,4n,1n,4n,1n,51n,1n,2n,1n,14n,1n,2n,2n,14n,1n,6n,1n,4n,2n,2n,1n,52n,2n,5n,1n,5n,1n,15n,2n,13n,2n,2n,1n,13n,1n,2n,4n,267n,1n,4n,1n,5n,1n,4n,1n,50n,1n,2n,3n,4n,1n,6n,1n,52n,15n,2n,1n,15n,1n,2n,1n,12n,1n,10n,1n,4n,2n,2n,1n,231n,1n,5n,2n,16n,1n,4n,1n,14n,2n,2n,1n,45n,1n,6n,2n,43n,1n,6n,1n,5n,4n,2n,1n,47n,2n,2n,1n,4n,5n,16n,1n,2328n,2n,4n,1n,10n,1n,2n,5n,15n,1n,4n,1n,11n,1n,2n,1n,197n,1n,2n,6n,5n,1n,13n,1n,12n,2n,4n,2n,18n,1n,2n,1n,238n,1n,55n,1n,5n,2n,2n,1n,57n,2n,4n,5n,4n,1n,4n,2n,42n,1n,2n,1n,37n,1n,4n,2n,12n,1n,6n,1n,4n,13n,4n,1n,1543n,1n,2n,2n,12n,1n,10n,1n,52n,2n,2n,2n,12n,2n,2n,2n,51n,1n,12n,1n,5n,1n,2n,1n,177n,1n,2n,2n,15n,1n,6n,1n,197n,6n,2n,1n,15n,1n,4n,2n,14n,1n,16n,1n,4n,2n,4n,1n,208n,1n,5n,67n,5n,2n,4n,1n,12n,1n,15n,1n,46n,2n,2n,1n,56092n,1n,6n,1n,15n,2n,2n,1n,39n,1n,4n,1n,4n,1n,30n,1n,54n,5n,2n,4n,10n,1n,2n,4n,40n,1n,4n,1n,4n,2n,4n,1n,1045n,2n,4n,2n,5n,1n,23n,1n,14n,5n,2n,1n,49n,2n,2n,1n,42n,2n,10n,1n,9n,2n,6n,1n,61n,1n,2n,4n,4n,1n,4n,1n,1640n,1n,4n,1n,176n,2n,2n,2n,15n,1n,12n,1n,4n,5n,2n,1n,228n,1n,5n,1n,15n,1n,18n,5n,12n,1n,2n,1n,12n,1n,10n,14n,195n,1n,4n,2n,5n,2n,2n,1n,162n,2n,2n,3n,11n,1n,6n,1n,42n,2n,4n,1n,15n,1n,4n,7n,12n,1n,60n,1n,11n,2n,2n,1n,20169n,2n,2n,4n,5n,1n,12n,1n,44n,1n,2n,1n,30n,1n,2n,5n,221n,1n,6n,1n,5n,16n,6n,1n,46n,1n,6n,1n,4n,1n,10n,1n,235n,2n,4n,1n,41n,1n,2n,2n,14n,2n,4n,1n,4n,2n,4n,1n,775n,1n,4n,1n,5n,1n,6n,1n,51n,13n,4n,1n,18n,1n,2n,1n,1396n,1n,34n,1n,5n,2n,2n,1n,54n,1n,2n,5n,11n,1n,12n,1n,51n,4n,2n,1n,55n,1n,4n,2n,12n,1n,6n,2n,11n,2n,2n,1n,1213n,1n,2n,2n,12n,1n,261n,1n,14n,2n,10n,1n,12n,1n,4n,4n,42n,2n,4n,1n,56n,1n,2n,1n,202n,2n,6n,6n,4n,1n,8n,1n,10494213n,15n,2n,1n,15n,1n,4n,1n,49n,1n,10n,1n,4n,6n,2n,1n,170n,2n,4n,2n,9n,1n,4n,1n,12n,1n,2n,2n,119n,1n,2n,2n,246n,1n,24n,1n,5n,4n,16n,1n,39n,1n,2n,2n,4n,1n,16n,1n,180n,1n,2n,1n,10n,1n,2n,49n,12n,1n,12n,1n,11n,1n,4n,2n,8681n,1n,5n,2n,15n,1n,6n,1n,15n,4n,2n,1n,66n,1n,4n,1n,51n,1n,30n,1n,5n,2n,4n,1n,205n,1n,6n,4n,4n,7n,4n,1n,195n,3n,6n,1n,36n,1n,2n,2n,35n,1n,6n,1n,15n,5n,2n,1n,260n,15n,2n,2n,5n,1n,32n,1n,12n,2n,2n,1n,12n,2n,4n,2n,21541n,1n,4n,1n,9n,2n,4n,1n,757n,1n,10n,5n,4n,1n,6n,2n,53n,5n,4n,1n,40n,1n,2n,2n,12n,1n,18n,1n,4n,2n,4n,1n,1280n,1n,2n,17n,16n,1n,4n,1n,53n,1n,4n,1n,51n,1n,15n,2n,42n,2n,8n,1n,5n,4n,2n,1n,44n,1n,2n,1n,36n,1n,62n,1n,1387n,1n,2n,1n,10n,1n,6n,4n,15n,1n,12n,2n,4n,1n,2n,1n,840n,1n,5n,2n,5n,2n,13n,1n,40n,504n,4n,1n,18n,1n,2n,6n,195n,2n,10n,1n,15n,5n,4n,1n,54n,1n,2n,2n,11n,1n,39n,1n,42n,1n,4n,2n,189n,1n,2n,2n,39n,1n,6n,1n,4n,2n,2n,1n,1090235n,1n,12n,1n,5n,1n,16n,4n,15n,5n,2n,1n,53n,1n,4n,5n,172n,1n,4n,1n,5n,1n,4n,2n,137n,1n,2n,1n,4n,1n,24n,1n,1211n,2n,2n,1n,15n,1n,4n,1n,14n,1n,113n,1n,16n,2n,4n,1n,205n,1n,2n,11n,20n,1n,4n,1n,12n,5n,4n,1n,30n,1n,4n,2n,1630n,2n,6n,1n,9n,13n,2n,1n,186n,2n,2n,1n,4n,2n,10n,2n,51n,2n,10n,1n,10n,1n,4n,5n,12n,1n,12n,1n,11n,2n,2n,1n,4725n,1n,2n,3n,9n,1n,8n,1n,14n,4n,4n,5n,18n,1n,2n,1n,221n,1n,68n,1n,15n,1n,2n,1n,61n,2n,4n,15n,4n,1n,4n,1n,19349n,2n,2n,1n,150n,1n,4n,7n,15n,2n,6n,1n,4n,2n,8n,1n,222n,1n,2n,4n,5n,1n,30n,1n,39n,2n,2n,1n,34n,2n,2n,4n,235n,1n,18n,2n,5n,1n,2n,2n,222n,1n,4n,2n,11n,1n,6n,1n,42n,13n,4n,1n,15n,1n,10n,1n,42n,1n,10n,2n,4n,1n,2n,1n,11394n,2n,4n,2n,5n,1n,12n,1n,42n,2n,4n,1n,900n,1n,2n,6n,51n,1n,6n,2n,34n,5n,2n,1n,46n,1n,4n,2n,11n,1n,30n,1n,196n,2n,6n,1n,10n,1n,2n,15n,199n,1n,4n,1n,4n,2n,2n,1n,954n,1n,6n,2n,13n,1n,23n,2n,12n,2n,2n,1n,37n,1n,4n,2n,49487367289n,4n,66n,2n,5n,19n,4n,1n,54n,1n,4n,2n,11n,1n,4n,1n,231n,1n,2n,1n,36n,2n,2n,2n,12n,1n,40n,1n,4n,51n,4n,2n,1028n,1n,5n,1n,15n,1n,10n,1n,35n,2n,4n,1n,12n,1n,4n,4n,42n,1n,4n,2n,5n,1n,10n,1n,583n,2n,2n,6n,4n,2n,6n,1n,1681n,6n,4n,1n,77n,1n,2n,2n,15n,1n,16n,1n,51n,2n,4n,1n,170n,1n,4n,5n,5n,1n,12n,1n,12n,2n,2n,1n,46n,1n,4n,2n,1092n,1n,8n,1n,5n,14n,2n,2n,39n,1n,4n,2n,4n,1n,254n,1n,42n,2n,2n,1n,41n,1n,2n,5n,39n,1n,4n,1n,11n,1n,10n,1n,157877n,1n,2n,4n,16n,1n,6n,1n,49n,13n,4n,1n,18n,1n,4n,1n,53n,1n,32n,1n,5n,1n,2n,2n,279n,1n,4n,2n,11n,1n,4n,3n,235n,2n,2n,1n,99n,1n,8n,2n,14n,1n,6n,1n,11n,14n,2n,1n,1040n,1n,2n,1n,13n,2n,16n,1n,12n,5n,27n,1n,12n,1n,2n,69n,1387n,1n,16n,1n,20n,2n,4n,1n,164n,4n,2n,2n,4n,1n,12n,1n,153n,2n,2n,1n,15n,1n,2n,2n,51n,1n,30n,1n,4n,1n,4n,1n,1460n,1n,55n,4n,5n,1n,12n,2n,14n,1n,4n,1n,131n,1n,2n,2n,42n,3n,6n,1n,5n,5n,4n,1n,44n,1n,10n,3n,11n,1n,10n,1n,1116461n,5n,2n,1n,10n,1n,2n,4n,35n,1n,12n,1n,11n,1n,2n,1n,3609n,1n,4n,2n,50n,1n,24n,1n,12n,2n,2n,1n,18n,1n,6n,2n,244n,1n,18n,1n,9n,2n,2n,1n,181n,1n,2n,51n,4n,2n,12n,1n,42n,1n,8n,5n,61n,1n,4n,1n,12n,1n,6n,1n,11n,2n,4n,1n,11720n,1n,2n,1n,5n,1n,112n,1n,52n,1n,2n,2n,12n,1n,4n,4n,245n,1n,4n,1n,9n,5n,2n,1n,211n,2n,4n,2n,38n,1n,6n,15n,195n,15n,6n,2n,29n,1n,2n,1n,14n,1n,32n,1n,4n,2n,4n,1n,198n,1n,4n,8n,5n,1n,4n,1n,153n,1n,2n,1n,227n,2n,4n,5n,19324n,1n,8n,1n,5n,4n,4n,1n,39n,1n,2n,2n,15n,4n,16n,1n,53n,6n,4n,1n,40n,1n,12n,5n,12n,1n,4n,2n,4n,1n,2n,1n,5958n,1n,4n,5n,12n,2n,6n,1n,14n,4n,10n,1n,40n,1n,2n,2n,179n,1n,1798n,1n,15n,2n,4n,1n,61n,1n,2n,5n,4n,1n,46n,1n,1387n,1n,6n,2n,36n,2n,2n,1n,49n,1n,24n,1n,11n,10n,2n,1n,222n,1n,4n,3n,5n,1n,10n,1n,41n,2n,4n,1n,174n,1n,2n,2n,195n,2n,4n,1n,15n,1n,6n,1n,889n,1n,2n,2n,4n,1n,12n,2n,178n,13n,2n,1n,15n,4n,4n,1n,12n,1n,20n,1n,4n,5n,4n,1n,408641062n,1n,2n,60n,36n,1n,4n,1n,15n,2n,2n,1n,46n,1n,16n,1n,54n,1n,24n,2n,5n,2n,4n,1n,221n,1n,4n,1n,11n,1n,30n,1n,928n,2n,4n,1n,10n,2n,2n,13n,14n,1n,4n,1n,11n,2n,6n,1n,697n,1n,4n,3n,5n,1n,8n,1n,12n,5n,2n,2n,64n,1n,4n,2n,10281n,1n,10n,1n,5n,1n,4n,1n,54n,1n,8n,2n,11n,1n,4n,1n,51n,6n,2n,1n,477n,1n,2n,2n,56n,5n,6n,1n,11n,5n,4n,1n,1213n,1n,4n,2n,5n,1n,72n,1n,68n,2n,2n,1n,12n,1n,2n,13n,42n,1n,38n,1n,9n,2n,2n,2n,137n,1n,2n,5n,11n,1n,6n,1n,21507n,5n,10n,1n,15n,1n,4n,1n,34n,2n,60n,2n,4n,5n,2n,1n,1005n,2n,5n,2n,5n,1n,4n,1n,12n,1n,10n,1n,30n,1n,10n,1n,235n,1n,6n,1n,50n,309n,4n,2n,39n,7n,2n,1n,11n,1n,36n,2n,42n,2n,2n,5n,40n,1n,2n,2n,39n,1n,12n,1n,4n,3n,2n,1n,47937n,1n,4n,2n,5n,1n,13n,1n,35n,4n,4n,1n,37n,1n,4n,2n,51n,1n,16n,1n,9n,1n,30n,2n,64n,1n,2n,14n,4n,1n,4n,1n,1285n,1n,2n,1n,228n,1n,2n,5n,53n,1n,8n,2n,4n,2n,2n,4n,260n,1n,6n,1n,15n,1n,110n,1n,12n,2n,4n,1n,12n,1n,4n,5n,1083553n,1n,12n,1n,5n,1n,4n,1n,749n,1n,4n,2n,11n,3n,30n,1n,54n,13n,6n,1n,15n,2n,2n,9n,12n,1n,10n,1n,35n,2n,2n,1n,1264n,2n,4n,6n,5n,1n,18n,1n,14n,2n,4n,1n,117n,1n,2n,2n,178n,1n,6n,1n,5n,4n,4n,1n,162n,2n,10n,1n,4n,1n,16n,1n,1630n,2n,2n,2n,56n,1n,10n,15n,15n,1n,4n,1n,4n,2n,12n,1n,1096n,1n,2n,21n,9n,1n,6n,1n,39n,5n,2n,1n,18n,1n,4n,2n,195n,1n,120n,1n,9n,2n,2n,1n,54n,1n,4n,4n,36n,1n,4n,1n,186n,2n,2n,1n,36n,1n,6n,15n,12n,1n,8n,1n,4n,5n,4n,1n,241004n,1n,5n,1n,15n,4n,10n,1n,15n,2n,4n,1n,34n,1n,2n,4n,167n,1n,12n,1n,15n,1n,2n,1n,3973n,1n,4n,1n,4n,1n,40n,1n,235n,11n,2n,1n,15n,1n,6n,1n,144n,1n,18n,1n,4n,2n,2n,2n,203n,1n,4n,15n,15n,1n,12n,2n,39n,1n,4n,1n,120n,1n,2n,2n,1388n,1n,6n,1n,13n,4n,4n,1n,39n,1n,2n,5n,4n,1n,66n,1n,963n,1n,8n,1n,10n,2n,4n,4n,12n,2n,12n,1n,4n,2n,4n,2n,6538n,1n,2n,2n,20n,1n,6n,2n,46n,63n,2n,1n,88n,1n,12n,1n,42n,1n,10n,2n,5n,5n,2n,1n,175n,2n,2n,2n,11n,1n,12n,1n];case 1:if(!(r1n;e--)r*=e;return r}function Hw(r){for(var e=[];r>0n;)e.unshift(r%2n),r>>=1n;return e.join("")}var fce=y().mark(wi);function wi(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=2n;case 1:if(!ia(r)){e.next=4;break}return e.next=4,r;case 4:r++,e.next=1;break;case 7:case"end":return e.stop()}},fce)}var mce=y().mark(Vw);function Vw(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=mn(wi());case 1:if((e=r()).done){n.next=7;break}return t=e.value,n.next=5,BigInt(0|Math.sqrt(Number(t)));case 5:n.next=1;break;case 7:case"end":return n.stop()}},mce)}var pce=y().mark(zw);function zw(){return y().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,1n;case 2:return r.next=4,0n;case 4:r.next=2;break;case 6:case"end":return r.stop()}},pce)}var gce=y().mark(Ww);function Ww(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=0,e=[1n,1n,2n,2n,3n,4n,5n,6n,7n,8n,11n,12n,15n,16n,19n,22n,25n,28n,31n,34n,40n,43n,49n,52n,58n,64n,70n,76n,82n,88n,98n,104n,114n,120n,130n,140n,150n,160n,170n,180n,195n,205n,220n,230n,245n,260n,275n,290n,305n,320n,341n,356n,377n,392n,413n,434n,455n,476n,497n,518n,546n];case 1:if(!(rr)){i.next=8;break}return i.next=7,t[r];case 7:r++;case 8:e++,i.next=2;break;case 11:case"end":return i.stop()}},Xce)}var Kce=y().mark(CA);function CA(){var r,e,t,n,a,i;return y().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=function(s){return s in e||(e[s]=r.next().value),e[s]},o.next=3,1n;case 3:r=w_(),e=[],n=[1n],a=1;case 7:for(n[a]=0n,i=1;i<=a;i++)n[a]+=n[a-i]*t(i);return n[a]/=BigInt(a),o.next=12,n[a];case 12:a++,o.next=7;break;case 15:case"end":return o.stop()}},Kce)}var Zce=y().mark(RA);function RA(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=1n;case 1:return e.next=3,r;case 3:r=10n*r+1n,e.next=1;break;case 6:case"end":return e.stop()}},Zce)}var jce=y().mark(wA);function wA(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=mn(wi());case 1:if((e=r()).done){n.next=8;break}if(t=e.value,!ia(BigInt(Math.pow(2,Number(t)))-1n)){n.next=6;break}return n.next=6,t;case 6:n.next=1;break;case 8:case"end":return n.stop()}},jce)}var Jce=y().mark(AA);function AA(){var r,e,t;return y().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:r=0,e=[1n,1n,1n,2n,3n,5n,8n,13n,21n,34n,55n,89n,144n,232n,375n,606n,979n,1582n,2556n,4130n,6673n,10782n,17421n,28148n,45480n,73484n,118732n,191841n,309967n,500829n,809214n,1307487n,2112571n,3413385n,5515174n,8911138n,14398164n,23263822n,37588502n,60733592n,98130253n,158553878n,256183302n,413927966n,668803781n,1080619176n,1746009572n,2821113574n,4558212008n];case 1:if(!(rr||r%n!==0n)){a.next=7;break}return a.abrupt("continue",11);case 7:a.next=2;break;case 9:return a.next=11,r;case 11:r++,a.next=1;break;case 14:case"end":return a.stop()}},ume)}var dme=y().mark(Bk);function Bk(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=0n;case 1:if((Hw(r).match(/1/g)||[]).length%2!=0){e.next=4;break}return e.next=4,r;case 4:r++,e.next=1;break;case 7:case"end":return e.stop()}},dme)}var hme=y().mark(Yk);function Yk(){var r,e;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=1n;case 1:e=0;case 2:if(!(er?0n:e===1n||e===r?1n:o0(r-1n,e-1n)+o0(r-e,e)}function jk(){var r,e;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=1n;case 1:e=1n;case 2:if(!(e<=r)){t.next=8;break}return t.next=5,o0(r,e);case 5:e++,t.next=2;break;case 8:r++,t.next=1;break;case 11:case"end":return t.stop()}},Ame)}var Ime=y().mark(Jk);function Jk(){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=1n;case 1:return e.next=3,ia(r)?1n:0n;case 3:r++,e.next=1;break;case 6:case"end":return e.stop()}},Ime)}var kme=y().mark(eN);function eN(){var r,e;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=0n;case 1:return t.next=3,1n;case 3:e=0;case 4:if(!(el)){p.next=6;break}return p.abrupt("break",11);case 6:return p.next=8,h;case 8:t.delete(h);case 9:p.next=2;break;case 11:return p.next=13,l;case 13:r.push(l),e.push(2n),Object.keys(r).forEach(function(_){for(var b=parseInt(_,10),A=-1n,I=e[b];A{Array.prototype.mouseX=function(){const e=r.mouseX(),n=window.innerWidth/this.length,a=Math.floor(e/n);return this[a]},Array.prototype.mouseY=function(){const e=r.mouseY(),n=window.innerHeight/this.length,a=Math.floor(e/n);return this[a]},Array.prototype.square=function(){return this.map(e=>e*e)},Array.prototype.sometimes=function(e){return r.randomGen()<.5?e(this):this},Array.prototype.apply=function(e){return e(this)},Array.prototype.sqrt=function(){if(this.some(e=>e<0))throw new Error("Cannot take square root of negative number");return this.map(e=>Math.sqrt(e))},Array.prototype.add=function(e){return this.map(t=>t+e)},Array.prototype.sub=function(e){return this.map(t=>t-e)},Array.prototype.mult=function(e){return this.map(t=>t*e)},Array.prototype.div=function(e){if(e===0)throw new Error("Division by zero");return this.map(t=>t/e)},Array.prototype.pick=function(){return this[Math.floor(r.randomGen()*this.length)]},Array.prototype.gen=function(e,t,n){return n<1?[]:Array.from({length:n},()=>Math.floor(r.randomGen()*(t-e+1))+e)},Array.prototype.bar=function(e=1){return e===1?this[r.app.clock.time_position.bar%this.length]:this[Math.floor(r.app.clock.time_position.bar/e)%this.length]},Array.prototype.beat=function(e=1){const t=e,n=r.app.clock.pulses_since_origin,a=Math.floor(n/Math.floor(t*r.ppqn()));return this[a%this.length]},Array.prototype.b=Array.prototype.beat,Array.prototype.dur=function(...e){const t=r.app.clock.pulses_since_origin,n=r.ppqn(),a=this.map((l,c)=>e[c%e.length]),i=a.reduce((l,c)=>l+c*n,0),o=t%i;let s=0;for(let l=0;l0)e=e%t;else return this;const n=this.splice(-e,e);return this.unshift(...n),this},Array.prototype.unique=function(){const e=new Set;let t=0;for(let n=0;n100)throw new Error("Amount should be between 0 and 100");if(this.length<=1)return this;for(let t=0;t1)this.splice(t,1);else return this;else t++;return this},Array.prototype.repeat=function(e=1){if(e<1)throw new Error("Amount should be at least 1");let t=[];for(let n=0;n(a%i+i)%i,n=E_(Yn(r));return this.map(a=>{const i=Math.floor(a/n.length)*12;return n[t(a,n.length)]+e+i})};Array.prototype.scaleArp=function(r="major",e=0){const t=E_(Yn(r));let n=[];e=e>t.length?t.length:e,e=e==0?t.length:e;for(let a=0;a{if(!r)return;r.width=window.innerWidth,r.height=window.innerHeight;const e=r.getContext("2d"),t=window.devicePixelRatio||1;r.width=window.innerWidth*t,r.height=window.innerHeight*t,e&&e.scale(t,t)},fN=r=>(r.settings.saveApplicationToLocalStorage(r.universes,r.settings),null),Vme=r=>(r.currentFile().candidate=r.view.state.doc.toString(),r.currentFile().committed=r.view.state.doc.toString(),r.settings.saveApplicationToLocalStorage(r.universes,r.settings),UC.close(),er.close(),null),zme=(r,e,t=!1)=>{e.addEventListener("resize",()=>Gp(r.interface.scope)),e.addEventListener("resize",()=>Gp(r.interface.feedback)),e.addEventListener("resize",()=>Gp(r.interface.drawings)),e.addEventListener("beforeunload",n=>{n.preventDefault(),Vme(r)}),e.addEventListener("visibilitychange",n=>{n.preventDefault(),fN(r)}),t&&(localStorage.openpages=Date.now(),e.addEventListener("storage",function(n){n.key=="openpages"&&(localStorage.page_available=Date.now()),n.key=="page_available"&&(document.getElementById("all").classList.add("invisible"),alert("Topos is already opened in another tab. Close this tab now to prevent data loss."))},!1))},mN=r=>["wav","mp3"].includes(r.split(".").slice(-1)[0]),wE={dbName:"samples",table:"usersamples",columns:["data_url","title"],version:1};async function Wme(r){return new Promise(e=>{var t=new Blob([r],{type:"application/octet-binary"}),n=new FileReader;n.onload=function(a){e(a.target.result)},n.readAsDataURL(t)})}const Xme=async r=>await Promise.all(Array.from(r).map(async e=>{const t=e.name;if(!mN(t))return;const n=URL.createObjectURL(e),a=await fetch(n).then(o=>o.arrayBuffer()),i=await Wme(a);return{title:t,blob:i,id:e.webkitRelativePath}}).filter(Boolean)).catch(e=>{console.log("Something went wrong while processing uploaded files",e)}),Kme=(r,e=()=>{})=>{pN(r,t=>{let n=t.getAll();n.onsuccess=a=>{const i=a.target.result;if(!(i!=null&&i.length))return;const o=new Map;[...i].sort((s,l)=>s.title.localeCompare(l.title,void 0,{numeric:!0,sensitivity:"base"})).forEach(s=>{var _;const l=s.title;if(!mN(l))return;const c=(_=s.id)==null?void 0:_.split("/"),u=c[c.length-2],h=s.blob,p=o.get(u)??new Set;p.add(h),o.set(u,p)}),o.forEach((s,l)=>{const c=Array.from(s);xu(l,(u,h,p)=>DE(u,h,p,c),{type:"sample",samples:c,baseUrl:void 0,prebake:!1,tag:"user"})}),e()}})},pN=(r,e)=>{const{dbName:t,version:n,table:a,columns:i}=r;if(!("indexedDB"in window)){console.log("This browser doesn't support IndexedDB");return}const o=indexedDB.open(t,n);o.onupgradeneeded=s=>{const c=o.result.createObjectStore(a,{keyPath:"id",autoIncrement:!1});i.forEach(u=>{c.createIndex(u,u,{unique:!1})})},o.onerror=function(s){console.log("Error opening DB: ",s.target.error)},o.onsuccess=function(s){const l=o.result;l.onversionchange=function(){l.close(),alert("Database is outdated, please reload the page.")};const c=l.transaction([a],"readwrite"),u=c.objectStore(a);e(u)}},Zme=async(r,e)=>{await Xme(e).then(t=>{pN(r,(a,i)=>{t.forEach(o=>{o!=null&&a.put(o)})})})},jme=r=>{r.interface.line_numbers_checkbox.checked=r.settings.line_numbers,r.interface.time_position_checkbox.checked=r.settings.time_position,r.interface.tips_checkbox.checked=r.settings.tips,r.interface.completion_checkbox.checked=r.settings.completions,r.interface.midi_clock_checkbox.checked=r.settings.send_clock,r.interface.midi_channels_scripts.checked=r.settings.midi_channels_scripts,r.interface.midi_clock_ppqn.value=r.settings.midi_clock_ppqn.toString(),r.interface.load_demo_songs.checked=r.settings.load_demo_songs;const e=document.querySelectorAll('[id^="tab-"]');for(let t=0;t{e[t].classList.add("bg-foreground"),e[t].classList.add("text-selection_foreground");for(let o=0;o{xa(),r.updateKnownUniversesView(),vu()}),r.buttonElements.play_buttons.forEach(t=>{t.addEventListener("click",()=>{r.isPlaying?(r.setButtonHighlighting("pause",!0),r.isPlaying=!r.isPlaying,r.clock.pause(),r.api.MidiConnection.sendStopMessage()):(r.setButtonHighlighting("play",!0),r.isPlaying=!r.isPlaying,r.clock.start(),r.api.MidiConnection.sendStartMessage())})}),r.buttonElements.clear_buttons.forEach(t=>{t.addEventListener("click",()=>{r.setButtonHighlighting("clear",!0),confirm("Do you want to reset the current universe?")&&(r.universes[r.selected_universe]=structuredClone(nl),r.updateEditorView())})}),r.interface.documentation_button.addEventListener("click",()=>{b_(r)}),r.interface.destroy_universes_button.addEventListener("click",()=>{confirm("Do you want to destroy all universes?")&&(r.universes={...h_},r.updateKnownUniversesView())}),r.interface.universe_viewer.addEventListener("keydown",t=>{if(t.key==="Enter"){let n=r.interface.universe_viewer.value.trim();n.length>2&&n.length<40&&(n!==r.selected_universe&&(Object.defineProperty(r.universes,n,Object.getOwnPropertyDescriptor(r.universes,r.selected_universe)),delete r.universes[r.selected_universe]),r.selected_universe=n,rl(r,r.selected_universe),r.interface.universe_viewer.placeholder=n,r.interface.universe_viewer.value="")}}),r.interface.audio_nudge_range.addEventListener("input",()=>{}),r.interface.dough_nudge_range.addEventListener("input",()=>{r.dough_nudge=parseInt(r.interface.dough_nudge_range.value)}),r.interface.upload_samples_button.addEventListener("input",async t=>{var a;let n=t.target;(a=n.files)!=null&&a.length&&(r.interface.sample_indicator.innerText="Loading...",r.interface.sample_indicator.classList.add("animate-pulse"),await Zme(wE,n.files).then(()=>{Kme(wE,()=>{r.interface.sample_indicator.innerText="Import samples",r.interface.sample_indicator.classList.remove("animate-pulse")})}))}),r.interface.upload_universe_button.addEventListener("click",()=>{const t=document.createElement("input");t.type="file",t.accept=".json",t.addEventListener("change",n=>{var o;const i=(o=n.target.files)==null?void 0:o[0];if(i){const s=new FileReader;s.readAsText(i,"UTF-8"),s.onload=l=>{const c=JSON.parse(l.target.result);for(const[u,h]of Object.entries(c))r.universes[u]=h},s.onerror=l=>{console.error("An error occurred reading the file:",l)}}}),document.body.appendChild(t),t.click(),document.body.removeChild(t)}),r.interface.download_universe_button.addEventListener("click",()=>{r.settings.saveApplicationToLocalStorage(r.universes,r.settings);let t=`topos-universes-${Date.now()}.json`;const n=new Blob([JSON.stringify(r.settings.universes)],{type:"application/json"}),a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)}),r.interface.load_universe_button.addEventListener("click",()=>{let t=r.interface.buffer_search.value;t.length>2&&t.length<20&&!t.includes(" ")&&(r.settings.selected_universe=t,rl(r,t),r.interface.buffer_search.value="",zg(),r.view.focus(),KR())}),r.interface.eval_button.addEventListener("click",()=>{r.currentFile().candidate=r.view.state.doc.toString(),r.flashBackground("#404040",200)}),r.buttonElements.stop_buttons.forEach(t=>{t.addEventListener("click",()=>{r.setButtonHighlighting("stop",!0),r.isPlaying=!1,r.clock.stop()})}),r.interface.local_button.addEventListener("click",()=>r.changeModeFromInterface("local")),r.interface.global_button.addEventListener("click",()=>r.changeModeFromInterface("global")),r.interface.init_button.addEventListener("click",()=>r.changeModeFromInterface("init")),r.interface.note_button.addEventListener("click",()=>r.changeModeFromInterface("notes")),r.interface.font_family_selector.addEventListener("change",()=>{let t=r.interface.font_family_selector.value;console.log("Picking new font : "+t),r.settings.font=t,r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:r.settings.font_size+"px"},".cm-content":{fontFamily:t,fontSize:r.settings.font_size+"px"},".cm-gutters":{fontSize:r.settings.font_size+"px"}}))})}),r.interface.font_size_input.addEventListener("input",()=>{let t=r.interface.font_size_input.value;r.settings.font_size=parseInt(t),r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:r.settings.font_size+"px"},".cm-content":{fontFamily:r.settings.font,fontSize:r.settings.font_size+"px"},".cm-gutters":{fontSize:r.settings.font_size+"px"}}))})}),r.interface.theme_selector.addEventListener("change",()=>{r.settings.theme=r.interface.theme_selector.value,r.readTheme(r.settings.theme);let t=Zi[r.settings.theme],n="";for(const[a,i]of Object.entries(t))n+=`

█`;r.interface.theme_previewer.innerHTML=n}),r.interface.settings_button.addEventListener("click",()=>{const t=document.getElementById("font-family");t&&(t.value=r.settings.font),r.interface.theme_selector.innerHTML="";let n=Object.keys(Zi);n.sort((V,m)=>V.toLowerCase().localeCompare(m.toLowerCase())),r.interface.theme_selector.innerHTML=n.map(V=>``).join(""),r.interface.theme_selector.value=r.settings.theme;let a=Zi[r.settings.theme],i="

";for(const[V,m]of Object.entries(a))i+=`

`;i+="
",r.interface.theme_previewer.innerHTML=i;const o=r.interface.dough_nudge_range;o.value=r.dough_nudge.toString();const s=document.getElementById("doughnumber");s.value=r.dough_nudge.toString(),r.settings.font_size===null&&(r.settings.font_size=12);const l=r.interface.font_size_input;l.value=r.settings.font_size.toString();const c=r.interface.line_numbers_checkbox;c.checked=r.settings.line_numbers;const u=r.interface.time_position_checkbox;u.checked=r.settings.time_position;const h=r.interface.tips_checkbox;h.checked=r.settings.tips;const p=r.interface.midi_clock_checkbox;p.checked=r.settings.send_clock;const _=r.interface.midi_channels_scripts;_.checked=r.settings.midi_channels_scripts;const b=r.interface.midi_clock_ppqn;b.value=r.settings.midi_clock_ppqn.toString();const A=r.interface.load_demo_songs;A.checked=r.settings.load_demo_songs;const I=r.interface.vim_mode_checkbox;I.checked=r.settings.vimMode;let M=document.getElementById("modal-settings"),U=document.getElementById("editor");M==null||M.classList.remove("invisible"),U==null||U.classList.add("invisible")}),r.interface.close_settings_button.addEventListener("click",()=>{let t=document.getElementById("modal-settings"),n=document.getElementById("editor");t==null||t.classList.add("invisible"),n==null||n.classList.remove("invisible");let a=r.interface.font_size_input.value;r.settings.font_size=parseInt(a),r.view.dispatch({effects:r.fontSize.reconfigure(Le.theme({"&":{fontSize:r.settings.font_size+"px"},".cm-content":{fontFamily:r.settings.font,fontSize:r.settings.font_size+"px"},".cm-gutters":{fontSize:r.settings.font_size+"px"}}))})}),r.interface.close_universes_button.addEventListener("click",()=>{fN(r),vu()}),r.interface.share_button.addEventListener("click",async()=>{r.currentFile().candidate=r.view.state.doc.toString(),r.currentFile().committed=r.view.state.doc.toString(),r.settings.saveApplicationToLocalStorage(r.universes,r.settings),await DB(r)}),r.interface.vim_mode_checkbox.addEventListener("change",()=>{let t=!!r.interface.vim_mode_checkbox.checked;r.settings.vimMode=t,r.view.dispatch({effects:r.vimModeCompartment.reconfigure(t?i_():[])})}),r.interface.line_numbers_checkbox.addEventListener("change",()=>{let n=!!r.interface.line_numbers_checkbox.checked;r.settings.line_numbers=n,r.view.dispatch({effects:r.withLineNumbers.reconfigure(n?[uT()]:[])})}),r.interface.time_position_checkbox.addEventListener("change",()=>{let t=document.getElementById("timeviewer"),n=!!r.interface.time_position_checkbox.checked;r.settings.time_position=n,n?t.classList.remove("hidden"):t.classList.add("hidden")}),r.interface.tips_checkbox.addEventListener("change",()=>{let t=!!r.interface.tips_checkbox.checked;r.settings.tips=t,r.view.dispatch({effects:r.hoveringCompartment.reconfigure(t?FR:[])})}),r.interface.completion_checkbox.addEventListener("change",()=>{let t=!!r.interface.completion_checkbox.checked;r.settings.completions=t,r.view.dispatch({effects:r.completionsCompartment.reconfigure(t?$R:[])})}),r.interface.midi_clock_checkbox.addEventListener("change",()=>{let t=!!r.interface.midi_clock_checkbox.checked;r.settings.send_clock=t}),r.interface.midi_channels_scripts.addEventListener("change",()=>{let t=!!r.interface.midi_channels_scripts.checked;r.settings.midi_channels_scripts=t}),r.interface.midi_clock_ppqn.addEventListener("change",()=>{let t=parseInt(r.interface.midi_clock_ppqn.value);r.settings.midi_clock_ppqn=t}),r.interface.load_demo_songs.addEventListener("change",()=>{let t=!!r.interface.load_demo_songs.checked;r.settings.load_demo_songs=t}),r.interface.universe_creator.addEventListener("submit",t=>{t.preventDefault();let a=new FormData(r.interface.universe_creator).get("universe");a&&a.length>2&&a.length<20&&(a=a.trim(),r.settings.selected_universe=a,r.selected_universe=a,rl(r,a),r.interface.buffer_search.value="",zg(),r.view.focus())}),Ci(r,r.universes[r.selected_universe.toString()].init),mw.forEach(t=>{let n="docs_"+t,a=document.getElementById(n);a?a.addEventListener("click",async()=>{window.history.replaceState({},"",window.location.pathname),window.location.hash=t,r.docs=__(r),r.currentDocumentationPane=t,n!=="docs_sample_list"?kl(r,r.bindings):(console.log("Loading samples!"),await Yw().then(()=>{kl(r,r.bindings)}))}):console.log("Could not find element "+n)})},Jme=r=>{Number.prototype.z0=function(e={}){return r.z0(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z1=function(e={}){return r.z1(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z2=function(e={}){return r.z2(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z3=function(e={}){return r.z3(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z4=function(e={}){return r.z4(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z5=function(e={}){return r.z5(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z6=function(e={}){return r.z6(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z7=function(e={}){return r.z7(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z8=function(e={}){return r.z8(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z9=function(e={}){return r.z9(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z10=function(e={}){return r.z10(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z11=function(e={}){return r.z11(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z12=function(e={}){return r.z12(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z13=function(e={}){return r.z13(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z14=function(e={}){return r.z14(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z15=function(e={}){return r.z15(this.valueOf().toString().split("").join(" "),e)},Number.prototype.z16=function(e={}){return r.z16(this.valueOf().toString().split("").join(" "),e)},Number.prototype.midi=function(...e){return r.midi(this.valueOf(),...e)},Number.prototype.sound=function(e){return Number.isInteger(this.valueOf())?r.sound(e).note(this.valueOf()):r.sound(e).freq(this.valueOf())}};class epe{constructor(){T(this,"settings",new kB);T(this,"universes",{});T(this,"selected_universe","Welcome");T(this,"fill",!1);T(this,"local_index",1);T(this,"editor_mode","global");T(this,"hidden_interface",!1);T(this,"fontSize");T(this,"withLineNumbers");T(this,"themeCompartment");T(this,"vimModeCompartment");T(this,"hoveringCompartment");T(this,"completionsCompartment");T(this,"chosenLanguage");T(this,"dynamicPlugins");T(this,"currentDocumentationPane","introduction");T(this,"exampleCounter",0);T(this,"exampleIsPlaying",!1);T(this,"editorExtensions",[]);T(this,"userPlugins",[]);T(this,"state");T(this,"view");T(this,"selectedExample","");T(this,"docs",{});T(this,"_mouseX",0);T(this,"_mouseY",0);T(this,"show_error",!1);T(this,"currentThemeName","Everblush");T(this,"buttonElements",{});T(this,"interface",{});T(this,"blinkTimeouts",{});T(this,"osc",{enabled:!1,color:"#fdba74",thickness:4,refresh:1,fftSize:1024,orientation:"horizontal",offsetX:0,offsetY:0,mode:"scope",size:1});T(this,"bindings",[]);T(this,"documentationStyle",{});T(this,"api");T(this,"audioContext");T(this,"clock");T(this,"dough_nudge",20);T(this,"manualPlay",!1);T(this,"isPlaying",!1);T(this,"outputSocket",er);T(this,"hydra_backend");T(this,"hydra");T(this,"updateKnownUniversesView",()=>{let e=document.getElementById("ui-known-universe-item-template");if(!e)return;let t=document.getElementById("existing-universes");if(!t)return;let n=document.createElement("ul");n.className="lg:h-80 lg:text-normal text-normal h-auto lg:w-80 w-auto lg:pb-2 lg:pt-2 overflow-y-scroll text-brightwhite bg-background lg:mb-4 border rounded-lg",n.append(...Object.keys(this.universes).map(a=>{var s,l;let i=e.content.cloneNode(!0),o=window;return i.querySelector(".universe-name").textContent=a,(s=i.querySelector(".load-universe"))==null||s.addEventListener("click",()=>o._loadUniverseFromInterface(a)),(l=i.querySelector(".delete-universe"))==null||l.addEventListener("click",()=>o._deleteUniverseFromInterface(a)),i})),t.innerHTML="",t.append(n)});this.initializeElements(),this.initializeButtonGroups(),this.setCanvas(this.interface.feedback),this.setCanvas(this.interface.scope),this.setCanvas(this.interface.drawings);try{this.loadHydraSynthAsync()}catch(a){console.log("Couldn't start Hydra: ",a)}this.universes={...this.settings.universes},NB(this),this.audioContext=new AudioContext({latencyHint:"playback"}),this.clock=new sq(this,this.audioContext),this.api=new rce(this),Hme(this.api),lK(this.api),Jme(this.api),Object.entries(this.api).forEach(([a,i])=>{globalThis[a]=i}),Object.entries(Qme).forEach(([a,i])=>{globalThis[a]=i}),Object.entries(lV).forEach(([a,i])=>{globalThis[a]=i}),(async()=>{await Yw()})().then(()=>{this.docs=__(this)}),rq(this),aq(this),jme(this),SD(),Z7(this),gD(this.interface.scope,this),Ci(this,this.universes[this.selected_universe.toString()].init),this.changeModeFromInterface("global"),xB(this);let t=Object.keys(Zi);this.settings.theme in t?this.readTheme(this.settings.theme):(this.settings.theme="Everblush",this.readTheme(this.settings.theme)),this.documentationStyle=ZR(),this.bindings=Object.keys(this.documentationStyle).map(a=>({type:"output",regex:new RegExp(`<${a}([^>]*)>`,"g"),replace:(i,o)=>`<${a} class="${this.documentationStyle[a]}" ${o}>`}));const n=window.location.hash.slice(1);n&&n!==""&&mw.includes(n)&&(this.currentDocumentationPane=n,kl(this,this.bindings),b_(this))}getBuffer(e){const t=this.universes[this.selected_universe.toString()];return e==="locals"?t[e][this.local_index]:t[e]}get note_buffer(){return this.getBuffer("notes")}get example_buffer(){return this.getBuffer("example")}get global_buffer(){return this.getBuffer("global")}get init_buffer(){return this.getBuffer("init")}get local_buffer(){return this.getBuffer("locals")}changeToLocalBuffer(e){const t=document.querySelectorAll('[id^="tab-"]'),n=t[e];n.classList.add("bg-foreground");for(let i=0;i{t.forEach(i=>{let o=i.children[0];o.classList.contains("text-foreground_selection")&&(o.classList.remove("text-foreground_selection"),i.classList.remove("text-foreground_selection"))}),a.children[0].classList.remove("text-white"),a.children[0].classList.add("text-foreground_selection"),a.classList.add("text-foreground_selection"),a.classList.add("fill-foreground_selection")};switch(e){case"local":this.interface.local_script_tabs.classList.contains("hidden")&&this.interface.local_script_tabs.classList.remove("hidden"),this.editor_mode="local",this.local_index=0,document.getElementById("editor").style.height="calc(100% - 100px)",this.changeToLocalBuffer(this.local_index),n(this.interface.local_button);break;case"global":this.interface.local_script_tabs.classList.contains("hidden")||this.interface.local_script_tabs.classList.add("hidden"),this.editor_mode="global",document.getElementById("editor").style.height="100%",n(this.interface.global_button);break;case"init":this.interface.local_script_tabs.classList.contains("hidden")||this.interface.local_script_tabs.classList.add("hidden"),this.editor_mode="init",n(this.interface.init_button);break;case"notes":this.interface.local_script_tabs.classList.contains("hidden")||this.interface.local_script_tabs.classList.add("hidden"),this.editor_mode="notes",n(this.interface.note_button);break}this.view.dispatch({effects:this.chosenLanguage.reconfigure(this.editor_mode=="notes"?[M9()]:[U0()])}),this.updateEditorView()}setButtonHighlighting(e,t){document.getElementById("play-label").textContent=e!=="pause"?"Pause":"Play",e!=="pause"?(document.getElementById("pause-icon").classList.remove("hidden"),document.getElementById("play-icon").classList.add("hidden")):(document.getElementById("pause-icon").classList.add("hidden"),document.getElementById("play-icon").classList.remove("hidden")),e==="stop"&&(this.isPlaying==!1,document.getElementById("play-label").textContent="Play",document.getElementById("pause-icon").classList.add("hidden"),document.getElementById("play-icon").classList.remove("hidden")),this.flashBackground("#404040",200);const n=['[id^="play-button-"]','[id^="clear-button-"]','[id^="stop-button-"]'];let a;switch(e){case"play":a=0;break;case"pause":a=1;break;case"clear":a=2;break;case"stop":a=3;break}document.querySelectorAll(n[a]).forEach(i=>{t&&i.children[0].classList.add("animate-pulse")}),document.querySelectorAll(n.filter((i,o)=>o!=a).join(",")).forEach(i=>{i.children[0].classList.remove("animate-pulse"),i.children[1].classList.remove("animate-pulse")})}unfocusPlayButtons(){document.querySelectorAll('[id^="play-button-"]').forEach(e=>{e.children[0].classList.remove("fill-foreground_selection"),e.children[0].classList.remove("animate-pulse")})}updateEditorView(){this.view.dispatch({changes:{from:0,to:this.view.state.doc.toString().length,insert:this.currentFile().candidate}})}currentFile(){switch(this.editor_mode){case"global":return this.global_buffer;case"local":return this.local_buffer;case"init":return this.init_buffer;case"notes":return this.note_buffer}}flashBackground(e,t){const n=this.view.dom,a=n.getElementsByClassName("cm-gutter");n.classList.add("fluid-bg-transition"),Array.from(a).forEach(i=>i.classList.add("fluid-bg-transition")),n.style.backgroundColor=e,Array.from(a).forEach(i=>i.style.backgroundColor=e),setTimeout(()=>{n.style.backgroundColor="",Array.from(a).forEach(i=>i.style.backgroundColor=""),n.classList.remove("fluid-bg-transition"),Array.from(a).forEach(i=>i.classList.remove("fluid-bg-transition"))},t)}initializeElements(){for(const[e,t]of Object.entries(PB))this.interface[e]=document.getElementById(t)}initializeButtonGroups(){for(const[e,t]of Object.entries(BB))this.buttonElements[e]=t.map(n=>document.getElementById(n))}loadHydraSynthAsync(){var e=document.createElement("script");e.src="https://unpkg.com/hydra-synth",e.async=!0,e.onload=()=>{console.log("Hydra loaded successfully"),this.initializeHydra()},e.onerror=function(){console.error("Error loading Hydra script")},document.head.appendChild(e)}initializeHydra(){this.hydra_backend=new Hydra({canvas:this.interface.hydra_canvas,detectAudio:!1,enableStreamCapture:!1}),this.hydra=this.hydra_backend.synth,globalThis.hydra=this.hydra,this.hydra.setResolution(1024,768)}setCanvas(e){if(!e)return;const t=e.getContext("2d"),n=window.devicePixelRatio||1;e.width=window.innerWidth*n,e.height=window.innerHeight*n,t&&t.scale(n,n)}updateInterfaceTheme(e){function t(n){let a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return a?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null}for(const[n,a]of Object.entries(e)){let i=t(a);if(i){let o=`${i.r} ${i.g} ${i.b}`;document.documentElement.style.setProperty("--"+n,o)}}}getColorScheme(e){return Zi[e]}readTheme(e){if(e=="debug"){W7(this);return}let n=Zi[e];if(n){this.currentThemeName=e,this.updateInterfaceTheme(n);let a=UR(n);this.view.dispatch({effects:this.themeCompartment.reconfigure(a)})}}}let tpe=new epe;zme(tpe,window,!1); diff --git a/assets/index-5798925a.js.gz b/assets/index-5798925a.js.gz new file mode 100644 index 0000000..4fd32e8 Binary files /dev/null and b/assets/index-5798925a.js.gz differ diff --git a/index.html b/index.html index b87a388..2ea7355 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ - +