@glodon-aiot/bot-client-ui 3.23.0-alpha.2 → 3.23.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib/index.js CHANGED
@@ -806,10 +806,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
806
806
  */var ft=function(mt){var bt=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,vt=0,$t={},_t={manual:mt.Prism&&mt.Prism.manual,disableWorkerMessageHandler:mt.Prism&&mt.Prism.disableWorkerMessageHandler,util:{encode:function rr(tr){return tr instanceof Rt?new Rt(tr.type,rr(tr.content),tr.alias):Array.isArray(tr)?tr.map(rr):tr.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(rr){return Object.prototype.toString.call(rr).slice(8,-1)},objId:function(rr){return rr.__id||Object.defineProperty(rr,"__id",{value:++vt}),rr.__id},clone:function rr(tr,or){or=or||{};var ar,sr;switch(_t.util.type(tr)){case"Object":if(sr=_t.util.objId(tr),or[sr])return or[sr];ar={},or[sr]=ar;for(var lr in tr)tr.hasOwnProperty(lr)&&(ar[lr]=rr(tr[lr],or));return ar;case"Array":return sr=_t.util.objId(tr),or[sr]?or[sr]:(ar=[],or[sr]=ar,tr.forEach(function(fr,gr){ar[gr]=rr(fr,or)}),ar);default:return tr}},getLanguage:function(rr){for(;rr;){var tr=bt.exec(rr.className);if(tr)return tr[1].toLowerCase();rr=rr.parentElement}return"none"},setLanguage:function(rr,tr){rr.className=rr.className.replace(RegExp(bt,"gi"),""),rr.classList.add("language-"+tr)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(ar){var rr=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(ar.stack)||[])[1];if(rr){var tr=document.getElementsByTagName("script");for(var or in tr)if(tr[or].src==rr)return tr[or]}return null}},isActive:function(rr,tr,or){for(var ar="no-"+tr;rr;){var sr=rr.classList;if(sr.contains(tr))return!0;if(sr.contains(ar))return!1;rr=rr.parentElement}return!!or}},languages:{plain:$t,plaintext:$t,text:$t,txt:$t,extend:function(rr,tr){var or=_t.util.clone(_t.languages[rr]);for(var ar in tr)or[ar]=tr[ar];return or},insertBefore:function(rr,tr,or,ar){ar=ar||_t.languages;var sr=ar[rr],lr={};for(var fr in sr)if(sr.hasOwnProperty(fr)){if(fr==tr)for(var gr in or)or.hasOwnProperty(gr)&&(lr[gr]=or[gr]);or.hasOwnProperty(fr)||(lr[fr]=sr[fr])}var vr=ar[rr];return ar[rr]=lr,_t.languages.DFS(_t.languages,function(Ut,Zt){Zt===vr&&Ut!=rr&&(this[Ut]=lr)}),lr},DFS:function rr(tr,or,ar,sr){sr=sr||{};var lr=_t.util.objId;for(var fr in tr)if(tr.hasOwnProperty(fr)){or.call(tr,fr,tr[fr],ar||fr);var gr=tr[fr],vr=_t.util.type(gr);vr==="Object"&&!sr[lr(gr)]?(sr[lr(gr)]=!0,rr(gr,or,null,sr)):vr==="Array"&&!sr[lr(gr)]&&(sr[lr(gr)]=!0,rr(gr,or,fr,sr))}}},plugins:{},highlightAll:function(rr,tr){_t.highlightAllUnder(document,rr,tr)},highlightAllUnder:function(rr,tr,or){var ar={callback:or,container:rr,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};_t.hooks.run("before-highlightall",ar),ar.elements=Array.prototype.slice.apply(ar.container.querySelectorAll(ar.selector)),_t.hooks.run("before-all-elements-highlight",ar);for(var sr=0,lr;lr=ar.elements[sr++];)_t.highlightElement(lr,tr===!0,ar.callback)},highlightElement:function(rr,tr,or){var ar=_t.util.getLanguage(rr),sr=_t.languages[ar];_t.util.setLanguage(rr,ar);var lr=rr.parentElement;lr&&lr.nodeName.toLowerCase()==="pre"&&_t.util.setLanguage(lr,ar);var fr=rr.textContent,gr={element:rr,language:ar,grammar:sr,code:fr};function vr(Zt){gr.highlightedCode=Zt,_t.hooks.run("before-insert",gr),gr.element.innerHTML=gr.highlightedCode,_t.hooks.run("after-highlight",gr),_t.hooks.run("complete",gr),or&&or.call(gr.element)}if(_t.hooks.run("before-sanity-check",gr),lr=gr.element.parentElement,lr&&lr.nodeName.toLowerCase()==="pre"&&!lr.hasAttribute("tabindex")&&lr.setAttribute("tabindex","0"),!gr.code){_t.hooks.run("complete",gr),or&&or.call(gr.element);return}if(_t.hooks.run("before-highlight",gr),!gr.grammar){vr(_t.util.encode(gr.code));return}if(tr&&mt.Worker){var Ut=new Worker(_t.filename);Ut.onmessage=function(Zt){vr(Zt.data)},Ut.postMessage(JSON.stringify({language:gr.language,code:gr.code,immediateClose:!0}))}else vr(_t.highlight(gr.code,gr.grammar,gr.language))},highlight:function(rr,tr,or){var ar={code:rr,grammar:tr,language:or};if(_t.hooks.run("before-tokenize",ar),!ar.grammar)throw new Error('The language "'+ar.language+'" has no grammar.');return ar.tokens=_t.tokenize(ar.code,ar.grammar),_t.hooks.run("after-tokenize",ar),Rt.stringify(_t.util.encode(ar.tokens),ar.language)},tokenize:function(rr,tr){var or=tr.rest;if(or){for(var ar in or)tr[ar]=or[ar];delete tr.rest}var sr=new Bt;return Gt(sr,sr.head,rr),Ft(rr,sr,tr,sr.head,0),Vt(sr)},hooks:{all:{},add:function(rr,tr){var or=_t.hooks.all;or[rr]=or[rr]||[],or[rr].push(tr)},run:function(rr,tr){var or=_t.hooks.all[rr];if(!(!or||!or.length))for(var ar=0,sr;sr=or[ar++];)sr(tr)}},Token:Rt};mt.Prism=_t;function Rt(rr,tr,or,ar){this.type=rr,this.content=tr,this.alias=or,this.length=(ar||"").length|0}Rt.stringify=function rr(tr,or){if(typeof tr=="string")return tr;if(Array.isArray(tr)){var ar="";return tr.forEach(function(vr){ar+=rr(vr,or)}),ar}var sr={type:tr.type,content:rr(tr.content,or),tag:"span",classes:["token",tr.type],attributes:{},language:or},lr=tr.alias;lr&&(Array.isArray(lr)?Array.prototype.push.apply(sr.classes,lr):sr.classes.push(lr)),_t.hooks.run("wrap",sr);var fr="";for(var gr in sr.attributes)fr+=" "+gr+'="'+(sr.attributes[gr]||"").replace(/"/g,"&quot;")+'"';return"<"+sr.tag+' class="'+sr.classes.join(" ")+'"'+fr+">"+sr.content+"</"+sr.tag+">"};function Pt(rr,tr,or,ar){rr.lastIndex=tr;var sr=rr.exec(or);if(sr&&ar&&sr[1]){var lr=sr[1].length;sr.index+=lr,sr[0]=sr[0].slice(lr)}return sr}function Ft(rr,tr,or,ar,sr,lr){for(var fr in or)if(!(!or.hasOwnProperty(fr)||!or[fr])){var gr=or[fr];gr=Array.isArray(gr)?gr:[gr];for(var vr=0;vr<gr.length;++vr){if(lr&&lr.cause==fr+","+vr)return;var Ut=gr[vr],Zt=Ut.inside,Kt=!!Ut.lookbehind,qt=!!Ut.greedy,Ht=Ut.alias;if(qt&&!Ut.pattern.global){var Jt=Ut.pattern.toString().match(/[imsuy]*$/)[0];Ut.pattern=RegExp(Ut.pattern.source,Jt+"g")}for(var ir=Ut.pattern||Ut,dr=ar.next,pr=sr;dr!==tr.tail&&!(lr&&pr>=lr.reach);pr+=dr.value.length,dr=dr.next){var ur=dr.value;if(tr.length>rr.length)return;if(!(ur instanceof Rt)){var hr=1,mr;if(qt){if(mr=Pt(ir,pr,rr,Kt),!mr||mr.index>=rr.length)break;var Mr=mr.index,yr=mr.index+mr[0].length,Er=pr;for(Er+=dr.value.length;Mr>=Er;)dr=dr.next,Er+=dr.value.length;if(Er-=dr.value.length,pr=Er,dr.value instanceof Rt)continue;for(var Ir=dr;Ir!==tr.tail&&(Er<yr||typeof Ir.value=="string");Ir=Ir.next)hr++,Er+=Ir.value.length;hr--,ur=rr.slice(pr,Er),mr.index-=pr}else if(mr=Pt(ir,0,ur,Kt),!mr)continue;var Mr=mr.index,Tr=mr[0],xr=ur.slice(0,Mr),Nr=ur.slice(Mr+Tr.length),Or=pr+ur.length;lr&&Or>lr.reach&&(lr.reach=Or);var jr=dr.prev;xr&&(jr=Gt(tr,jr,xr),pr+=xr.length),Wt(tr,jr,hr);var Lr=new Rt(fr,Zt?_t.tokenize(Tr,Zt):Tr,Ht,Tr);if(dr=Gt(tr,jr,Lr),Nr&&Gt(tr,dr,Nr),hr>1){var Vr={cause:fr+","+vr,reach:Or};Ft(rr,tr,or,dr.prev,pr,Vr),lr&&Vr.reach>lr.reach&&(lr.reach=Vr.reach)}}}}}}function Bt(){var rr={value:null,prev:null,next:null},tr={value:null,prev:rr,next:null};rr.next=tr,this.head=rr,this.tail=tr,this.length=0}function Gt(rr,tr,or){var ar=tr.next,sr={value:or,prev:tr,next:ar};return tr.next=sr,ar.prev=sr,rr.length++,sr}function Wt(rr,tr,or){for(var ar=tr.next,sr=0;sr<or&&ar!==rr.tail;sr++)ar=ar.next;tr.next=ar,ar.prev=tr,rr.length-=sr}function Vt(rr){for(var tr=[],or=rr.head.next;or!==rr.tail;)tr.push(or.value),or=or.next;return tr}if(!mt.document)return mt.addEventListener&&(_t.disableWorkerMessageHandler||mt.addEventListener("message",function(rr){var tr=JSON.parse(rr.data),or=tr.language,ar=tr.code,sr=tr.immediateClose;mt.postMessage(_t.highlight(ar,_t.languages[or],or)),sr&&mt.close()},!1)),_t;var Xt=_t.util.currentScript();Xt&&(_t.filename=Xt.src,Xt.hasAttribute("data-manual")&&(_t.manual=!0));function er(){_t.manual||_t.highlightAll()}if(!_t.manual){var nr=document.readyState;nr==="loading"||nr==="interactive"&&Xt&&Xt.defer?document.addEventListener("DOMContentLoaded",er):window.requestAnimationFrame?window.requestAnimationFrame(er):window.setTimeout(er,16)}return _t}(_e);pt.exports&&(pt.exports=ft),typeof commonjsGlobal!="undefined"&&(commonjsGlobal.Prism=ft)})(prismCore);var prismCoreExports=prismCore.exports,markup_1=markup$1;markup$1.displayName="markup";markup$1.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function markup$1(pt){pt.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},pt.languages.markup.tag.inside["attr-value"].inside.entity=pt.languages.markup.entity,pt.languages.markup.doctype.inside["internal-subset"].inside=pt.languages.markup,pt.hooks.add("wrap",function(_e){_e.type==="entity"&&(_e.attributes.title=_e.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(pt.languages.markup.tag,"addInlined",{value:function(ft,mt){var bt={};bt["language-"+mt]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:pt.languages[mt]},bt.cdata=/^<!\[CDATA\[|\]\]>$/i;var vt={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:bt}};vt["language-"+mt]={pattern:/[\s\S]+/,inside:pt.languages[mt]};var $t={};$t[ft]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return ft}),"i"),lookbehind:!0,greedy:!0,inside:vt},pt.languages.insertBefore("markup","cdata",$t)}}),Object.defineProperty(pt.languages.markup.tag,"addAttribute",{value:function(_e,ft){pt.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+_e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[ft,"language-"+ft],inside:pt.languages[ft]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),pt.languages.html=pt.languages.markup,pt.languages.mathml=pt.languages.markup,pt.languages.svg=pt.languages.markup,pt.languages.xml=pt.languages.extend("markup",{}),pt.languages.ssml=pt.languages.xml,pt.languages.atom=pt.languages.xml,pt.languages.rss=pt.languages.xml}var css_1=css$1;css$1.displayName="css";css$1.aliases=[];function css$1(pt){(function(_e){var ft=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;_e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+ft.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+ft.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+ft.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:ft,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},_e.languages.css.atrule.inside.rest=_e.languages.css;var mt=_e.languages.markup;mt&&(mt.tag.addInlined("style","css"),mt.tag.addAttribute("style","css"))})(pt)}var clike_1=clike$1;clike$1.displayName="clike";clike$1.aliases=[];function clike$1(pt){pt.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var javascript_1=javascript;javascript.displayName="javascript";javascript.aliases=["js"];function javascript(pt){pt.languages.javascript=pt.languages.extend("clike",{"class-name":[pt.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),pt.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,pt.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:pt.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:pt.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:pt.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:pt.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:pt.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),pt.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:pt.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),pt.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),pt.languages.markup&&(pt.languages.markup.tag.addInlined("script","javascript"),pt.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),pt.languages.js=pt.languages.javascript}var ctx=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof commonjsGlobal=="object"?commonjsGlobal:{},restore=capture();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h$8=hastscript,decode$3=parseEntities_1,Prism=prismCoreExports,markup=markup_1,css=css_1,clike=clike_1,js$1=javascript_1;restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor,core=refract;refract.highlight=highlight$1;refract.register=register;refract.alias=alias;refract.registered=registered;refract.listLanguages=listLanguages;register(markup);register(css);register(clike);register(js$1);refract.util.encode=encode$1;refract.Token.stringify=stringify;function register(pt){if(typeof pt!="function"||!pt.displayName)throw new Error("Expected `function` for `grammar`, got `"+pt+"`");refract.languages[pt.displayName]===void 0&&pt(refract)}function alias(pt,_e){var ft=refract.languages,mt=pt,bt,vt,$t,_t;_e&&(mt={},mt[pt]=_e);for(bt in mt)for(vt=mt[bt],vt=typeof vt=="string"?[vt]:vt,$t=vt.length,_t=-1;++_t<$t;)ft[vt[_t]]=ft[bt]}function highlight$1(pt,_e){var ft=Prism.highlight,mt;if(typeof pt!="string")throw new Error("Expected `string` for `value`, got `"+pt+"`");if(refract.util.type(_e)==="Object")mt=_e,_e=null;else{if(typeof _e!="string")throw new Error("Expected `string` for `name`, got `"+_e+"`");if(own.call(refract.languages,_e))mt=refract.languages[_e];else throw new Error("Unknown language: `"+_e+"` is not registered")}return ft.call(this,pt,mt,_e)}function registered(pt){if(typeof pt!="string")throw new Error("Expected `string` for `language`, got `"+pt+"`");return own.call(refract.languages,pt)}function listLanguages(){var pt=refract.languages,_e=[],ft;for(ft in pt)own.call(pt,ft)&&typeof pt[ft]=="object"&&_e.push(ft);return _e}function stringify(pt,_e,ft){var mt;return typeof pt=="string"?{type:"text",value:pt}:refract.util.type(pt)==="Array"?stringifyAll(pt,_e):(mt={type:pt.type,content:refract.Token.stringify(pt.content,_e,ft),tag:"span",classes:["token",pt.type],attributes:{},language:_e,parent:ft},pt.alias&&(mt.classes=mt.classes.concat(pt.alias)),refract.hooks.run("wrap",mt),h$8(mt.tag+"."+mt.classes.join("."),attributes(mt.attributes),mt.content))}function stringifyAll(pt,_e){for(var ft=[],mt=pt.length,bt=-1,vt;++bt<mt;)vt=pt[bt],vt!==""&&vt!==null&&vt!==void 0&&ft.push(vt);for(bt=-1,mt=ft.length;++bt<mt;)vt=ft[bt],ft[bt]=refract.Token.stringify(vt,_e,ft);return ft}function encode$1(pt){return pt}function attributes(pt){var _e;for(_e in pt)pt[_e]=decode$3(pt[_e]);return pt}function capture(){var pt="Prism"in ctx,_e=pt?ctx.Prism:void 0;return ft;function ft(){pt?ctx.Prism=_e:delete ctx.Prism,pt=void 0,_e=void 0}}const defaultStyle={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var abap_1,hasRequiredAbap;function requireAbap(){if(hasRequiredAbap)return abap_1;hasRequiredAbap=1,abap_1=pt,pt.displayName="abap",pt.aliases=[];function pt(_e){_e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return abap_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1,abnf_1=pt,pt.displayName="abnf",pt.aliases=[];function pt(_e){(function(ft){var mt="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";ft.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+mt+"|<"+mt+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(_e)}return abnf_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1,actionscript_1=pt,pt.displayName="actionscript",pt.aliases=[];function pt(_e){_e.languages.actionscript=_e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),_e.languages.actionscript["class-name"].alias="function",delete _e.languages.actionscript.parameter,delete _e.languages.actionscript["literal-property"],_e.languages.markup&&_e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:_e.languages.markup}})}return actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1,ada_1=pt,pt.displayName="ada",pt.aliases=[];function pt(_e){_e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return ada_1}var agda_1,hasRequiredAgda;function requireAgda(){if(hasRequiredAgda)return agda_1;hasRequiredAgda=1,agda_1=pt,pt.displayName="agda",pt.aliases=[];function pt(_e){(function(ft){ft.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(_e)}return agda_1}var al_1,hasRequiredAl;function requireAl(){if(hasRequiredAl)return al_1;hasRequiredAl=1,al_1=pt,pt.displayName="al",pt.aliases=[];function pt(_e){_e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return al_1}var antlr4_1,hasRequiredAntlr4;function requireAntlr4(){if(hasRequiredAntlr4)return antlr4_1;hasRequiredAntlr4=1,antlr4_1=pt,pt.displayName="antlr4",pt.aliases=["g4"];function pt(_e){_e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},_e.languages.g4=_e.languages.antlr4}return antlr4_1}var apacheconf_1,hasRequiredApacheconf;function requireApacheconf(){if(hasRequiredApacheconf)return apacheconf_1;hasRequiredApacheconf=1,apacheconf_1=pt,pt.displayName="apacheconf",pt.aliases=[];function pt(_e){_e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return apacheconf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1,sql_1=pt,pt.displayName="sql",pt.aliases=[];function pt(_e){_e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return sql_1}var apex_1,hasRequiredApex;function requireApex(){if(hasRequiredApex)return apex_1;hasRequiredApex=1;var pt=requireSql();apex_1=_e,_e.displayName="apex",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){var bt=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,vt=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return bt.source});function $t(Rt){return RegExp(Rt.replace(/<CLASS-NAME>/g,function(){return vt}),"i")}var _t={keyword:bt,punctuation:/[()\[\]{};,:.<>]/};mt.languages.apex={comment:mt.languages.clike.comment,string:mt.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:mt.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:$t(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:_t},{pattern:$t(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:_t},{pattern:$t(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:_t}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:bt,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(ft)}return apex_1}var apl_1,hasRequiredApl;function requireApl(){if(hasRequiredApl)return apl_1;hasRequiredApl=1,apl_1=pt,pt.displayName="apl",pt.aliases=[];function pt(_e){_e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return apl_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1,applescript_1=pt,pt.displayName="applescript",pt.aliases=[];function pt(_e){_e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return applescript_1}var aql_1,hasRequiredAql;function requireAql(){if(hasRequiredAql)return aql_1;hasRequiredAql=1,aql_1=pt,pt.displayName="aql",pt.aliases=[];function pt(_e){_e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return aql_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1,c_1=pt,pt.displayName="c",pt.aliases=[];function pt(_e){_e.languages.c=_e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),_e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),_e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},_e.languages.c.string],char:_e.languages.c.char,comment:_e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:_e.languages.c}}}}),_e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete _e.languages.c.boolean}return c_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;var pt=requireC();cpp_1=_e,_e.displayName="cpp",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){var bt=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,vt=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return bt.source});mt.languages.cpp=mt.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return bt.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:bt,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),mt.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return vt})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),mt.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:mt.languages.cpp}}}}),mt.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),mt.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:mt.languages.extend("cpp",{})}}),mt.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},mt.languages.cpp["base-clause"])}(ft)}return cpp_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;var pt=requireCpp();arduino_1=_e,_e.displayName="arduino",_e.aliases=["ino"];function _e(ft){ft.register(pt),ft.languages.arduino=ft.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),ft.languages.ino=ft.languages.arduino}return arduino_1}var arff_1,hasRequiredArff;function requireArff(){if(hasRequiredArff)return arff_1;hasRequiredArff=1,arff_1=pt,pt.displayName="arff",pt.aliases=[];function pt(_e){_e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return arff_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1,asciidoc_1=pt,pt.displayName="asciidoc",pt.aliases=["adoc"];function pt(_e){(function(ft){var mt={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},bt=ft.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:mt,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:mt.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:mt,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function vt($t){$t=$t.split(" ");for(var _t={},Rt=0,Pt=$t.length;Rt<Pt;Rt++)_t[$t[Rt]]=bt[$t[Rt]];return _t}mt.inside.interpreted.inside.rest=vt("macro inline replacement entity"),bt["passthrough-block"].inside.rest=vt("macro"),bt["literal-block"].inside.rest=vt("callout"),bt.table.inside.rest=vt("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),bt["other-block"].inside.rest=vt("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),bt.title.inside.rest=vt("macro inline replacement entity"),ft.hooks.add("wrap",function($t){$t.type==="entity"&&($t.attributes.title=$t.content.value.replace(/&amp;/,"&"))}),ft.languages.adoc=ft.languages.asciidoc})(_e)}return asciidoc_1}var asm6502_1,hasRequiredAsm6502;function requireAsm6502(){if(hasRequiredAsm6502)return asm6502_1;hasRequiredAsm6502=1,asm6502_1=pt,pt.displayName="asm6502",pt.aliases=[];function pt(_e){_e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}return asm6502_1}var asmatmel_1,hasRequiredAsmatmel;function requireAsmatmel(){if(hasRequiredAsmatmel)return asmatmel_1;hasRequiredAsmatmel=1,asmatmel_1=pt,pt.displayName="asmatmel",pt.aliases=[];function pt(_e){_e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?: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|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|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|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return asmatmel_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1,csharp_1=pt,pt.displayName="csharp",pt.aliases=["dotnet","cs"];function pt(_e){(function(ft){function mt(hr,mr){return hr.replace(/<<(\d+)>>/g,function(yr,Er){return"(?:"+mr[+Er]+")"})}function bt(hr,mr,yr){return RegExp(mt(hr,mr),yr||"")}function vt(hr,mr){for(var yr=0;yr<mr;yr++)hr=hr.replace(/<<self>>/g,function(){return"(?:"+hr+")"});return hr.replace(/<<self>>/g,"[^\\s\\S]")}var $t={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function _t(hr){return"\\b(?:"+hr.trim().replace(/ /g,"|")+")\\b"}var Rt=_t($t.typeDeclaration),Pt=RegExp(_t($t.type+" "+$t.typeDeclaration+" "+$t.contextual+" "+$t.other)),Ft=_t($t.typeDeclaration+" "+$t.contextual+" "+$t.other),Bt=_t($t.type+" "+$t.typeDeclaration+" "+$t.other),Gt=vt(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),Wt=vt(/\((?:[^()]|<<self>>)*\)/.source,2),Vt=/@?\b[A-Za-z_]\w*\b/.source,Xt=mt(/<<0>>(?:\s*<<1>>)?/.source,[Vt,Gt]),er=mt(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Ft,Xt]),nr=/\[\s*(?:,\s*)*\]/.source,rr=mt(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[er,nr]),tr=mt(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[Gt,Wt,nr]),or=mt(/\(<<0>>+(?:,<<0>>+)+\)/.source,[tr]),ar=mt(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[or,er,nr]),sr={keyword:Pt,punctuation:/[<>()?,.:[\]]/},lr=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,fr=/"(?:\\.|[^\\"\r\n])*"/.source,gr=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;ft.languages.csharp=ft.languages.extend("clike",{string:[{pattern:bt(/(^|[^$\\])<<0>>/.source,[gr]),lookbehind:!0,greedy:!0},{pattern:bt(/(^|[^@$\\])<<0>>/.source,[fr]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:bt(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[er]),lookbehind:!0,inside:sr},{pattern:bt(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[Vt,ar]),lookbehind:!0,inside:sr},{pattern:bt(/(\busing\s+)<<0>>(?=\s*=)/.source,[Vt]),lookbehind:!0},{pattern:bt(/(\b<<0>>\s+)<<1>>/.source,[Rt,Xt]),lookbehind:!0,inside:sr},{pattern:bt(/(\bcatch\s*\(\s*)<<0>>/.source,[er]),lookbehind:!0,inside:sr},{pattern:bt(/(\bwhere\s+)<<0>>/.source,[Vt]),lookbehind:!0},{pattern:bt(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[rr]),lookbehind:!0,inside:sr},{pattern:bt(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[ar,Bt,Vt]),inside:sr}],keyword:Pt,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),ft.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),ft.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:bt(/([(,]\s*)<<0>>(?=\s*:)/.source,[Vt]),lookbehind:!0,alias:"punctuation"}}),ft.languages.insertBefore("csharp","class-name",{namespace:{pattern:bt(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[Vt]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:bt(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[Wt]),lookbehind:!0,alias:"class-name",inside:sr},"return-type":{pattern:bt(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[ar,er]),inside:sr,alias:"class-name"},"constructor-invocation":{pattern:bt(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[ar]),lookbehind:!0,inside:sr,alias:"class-name"},"generic-method":{pattern:bt(/<<0>>\s*<<1>>(?=\s*\()/.source,[Vt,Gt]),inside:{function:bt(/^<<0>>/.source,[Vt]),generic:{pattern:RegExp(Gt),alias:"class-name",inside:sr}}},"type-list":{pattern:bt(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[Rt,Xt,Vt,ar,Pt.source,Wt,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:bt(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[Xt,Wt]),lookbehind:!0,greedy:!0,inside:ft.languages.csharp},keyword:Pt,"class-name":{pattern:RegExp(ar),greedy:!0,inside:sr},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var vr=fr+"|"+lr,Ut=mt(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[vr]),Zt=vt(mt(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Ut]),2),Kt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,qt=mt(/<<0>>(?:\s*\(<<1>>*\))?/.source,[er,Zt]);ft.languages.insertBefore("csharp","class-name",{attribute:{pattern:bt(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Kt,qt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:bt(/^<<0>>(?=\s*:)/.source,[Kt]),alias:"keyword"},"attribute-arguments":{pattern:bt(/\(<<0>>*\)/.source,[Zt]),inside:ft.languages.csharp},"class-name":{pattern:RegExp(er),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Ht=/:[^}\r\n]+/.source,Jt=vt(mt(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Ut]),2),ir=mt(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Jt,Ht]),dr=vt(mt(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[vr]),2),pr=mt(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[dr,Ht]);function ur(hr,mr){return{interpolation:{pattern:bt(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[hr]),lookbehind:!0,inside:{"format-string":{pattern:bt(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[mr,Ht]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:ft.languages.csharp}}},string:/[\s\S]+/}}ft.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:bt(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ir]),lookbehind:!0,greedy:!0,inside:ur(ir,Jt)},{pattern:bt(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[pr]),lookbehind:!0,greedy:!0,inside:ur(pr,dr)}],char:{pattern:RegExp(lr),greedy:!0}}),ft.languages.dotnet=ft.languages.cs=ft.languages.csharp})(_e)}return csharp_1}var aspnet_1,hasRequiredAspnet;function requireAspnet(){if(hasRequiredAspnet)return aspnet_1;hasRequiredAspnet=1;var pt=requireCsharp();aspnet_1=_e,_e.displayName="aspnet",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.aspnet=ft.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:ft.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:ft.languages.csharp}}}),ft.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,ft.languages.insertBefore("inside","punctuation",{directive:ft.languages.aspnet.directive},ft.languages.aspnet.tag.inside["attr-value"]),ft.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),ft.languages.insertBefore("aspnet",ft.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:ft.languages.csharp||{}}})}return aspnet_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1,autohotkey_1=pt,pt.displayName="autohotkey",pt.aliases=[];function pt(_e){_e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1,autoit_1=pt,pt.displayName="autoit",pt.aliases=[];function pt(_e){_e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return autoit_1}var avisynth_1,hasRequiredAvisynth;function requireAvisynth(){if(hasRequiredAvisynth)return avisynth_1;hasRequiredAvisynth=1,avisynth_1=pt,pt.displayName="avisynth",pt.aliases=["avs"];function pt(_e){(function(ft){function mt(Ft,Bt){return Ft.replace(/<<(\d+)>>/g,function(Gt,Wt){return Bt[+Wt]})}function bt(Ft,Bt,Gt){return RegExp(mt(Ft,Bt),Gt||"")}var vt=/bool|clip|float|int|string|val/.source,$t=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),_t=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),Rt=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),Pt=[$t,_t,Rt].join("|");ft.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:bt(/\b(?:<<0>>)\s+("?)\w+\1/.source,[vt],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:bt(/\b(?:<<0>>)\b/.source,[Pt],"i"),alias:"function"},"type-cast":{pattern:bt(/\b(?:<<0>>)(?=\s*\()/.source,[vt],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},ft.languages.avs=ft.languages.avisynth})(_e)}return avisynth_1}var avroIdl_1,hasRequiredAvroIdl;function requireAvroIdl(){if(hasRequiredAvroIdl)return avroIdl_1;hasRequiredAvroIdl=1,avroIdl_1=pt,pt.displayName="avroIdl",pt.aliases=[];function pt(_e){_e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},_e.languages.avdl=_e.languages["avro-idl"]}return avroIdl_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1,bash_1=pt,pt.displayName="bash",pt.aliases=["shell"];function pt(_e){(function(ft){var mt="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",bt={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},vt={bash:bt,environment:{pattern:RegExp("\\$"+mt),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+mt),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};ft.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+mt),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:vt},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:bt}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:vt},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:vt.entity}}],environment:{pattern:RegExp("\\$?"+mt),alias:"constant"},variable:vt.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},bt.inside=ft.languages.bash;for(var $t=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],_t=vt.variable[1].inside,Rt=0;Rt<$t.length;Rt++)_t[$t[Rt]]=ft.languages.bash[$t[Rt]];ft.languages.shell=ft.languages.bash})(_e)}return bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1,basic_1=pt,pt.displayName="basic",pt.aliases=[];function pt(_e){_e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return basic_1}var batch_1,hasRequiredBatch;function requireBatch(){if(hasRequiredBatch)return batch_1;hasRequiredBatch=1,batch_1=pt,pt.displayName="batch",pt.aliases=[];function pt(_e){(function(ft){var mt=/%%?[~:\w]+%?|!\S+!/,bt={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},vt=/"(?:[\\"]"|[^"])*"(?!")/,$t=/(?:\b|-)\d+\b/;ft.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:vt,parameter:bt,variable:mt,number:$t,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:vt,parameter:bt,variable:mt,number:$t,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:vt,parameter:bt,variable:[mt,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:$t,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:vt,parameter:bt,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:mt,number:$t,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(_e)}return batch_1}var bbcode_1,hasRequiredBbcode;function requireBbcode(){if(hasRequiredBbcode)return bbcode_1;hasRequiredBbcode=1,bbcode_1=pt,pt.displayName="bbcode",pt.aliases=["shortcode"];function pt(_e){_e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},_e.languages.shortcode=_e.languages.bbcode}return bbcode_1}var bicep_1,hasRequiredBicep;function requireBicep(){if(hasRequiredBicep)return bicep_1;hasRequiredBicep=1,bicep_1=pt,pt.displayName="bicep",pt.aliases=[];function pt(_e){_e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},_e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=_e.languages.bicep}return bicep_1}var birb_1,hasRequiredBirb;function requireBirb(){if(hasRequiredBirb)return birb_1;hasRequiredBirb=1,birb_1=pt,pt.displayName="birb",pt.aliases=[];function pt(_e){_e.languages.birb=_e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),_e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return birb_1}var bison_1,hasRequiredBison;function requireBison(){if(hasRequiredBison)return bison_1;hasRequiredBison=1;var pt=requireC();bison_1=_e,_e.displayName="bison",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.bison=ft.languages.extend("c",{}),ft.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:ft.languages.c}},comment:ft.languages.c.comment,string:ft.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return bison_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1,bnf_1=pt,pt.displayName="bnf",pt.aliases=["rbnf"];function pt(_e){_e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},_e.languages.rbnf=_e.languages.bnf}return bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1,brainfuck_1=pt,pt.displayName="brainfuck",pt.aliases=[];function pt(_e){_e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return brainfuck_1}var brightscript_1,hasRequiredBrightscript;function requireBrightscript(){if(hasRequiredBrightscript)return brightscript_1;hasRequiredBrightscript=1,brightscript_1=pt,pt.displayName="brightscript",pt.aliases=[];function pt(_e){_e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},_e.languages.brightscript["directive-statement"].inside.expression.inside=_e.languages.brightscript}return brightscript_1}var bro_1,hasRequiredBro;function requireBro(){if(hasRequiredBro)return bro_1;hasRequiredBro=1,bro_1=pt,pt.displayName="bro",pt.aliases=[];function pt(_e){_e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return bro_1}var bsl_1,hasRequiredBsl;function requireBsl(){if(hasRequiredBsl)return bsl_1;hasRequiredBsl=1,bsl_1=pt,pt.displayName="bsl",pt.aliases=[];function pt(_e){_e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},_e.languages.oscript=_e.languages.bsl}return bsl_1}var cfscript_1,hasRequiredCfscript;function requireCfscript(){if(hasRequiredCfscript)return cfscript_1;hasRequiredCfscript=1,cfscript_1=pt,pt.displayName="cfscript",pt.aliases=[];function pt(_e){_e.languages.cfscript=_e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),_e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete _e.languages.cfscript["class-name"],_e.languages.cfc=_e.languages.cfscript}return cfscript_1}var chaiscript_1,hasRequiredChaiscript;function requireChaiscript(){if(hasRequiredChaiscript)return chaiscript_1;hasRequiredChaiscript=1;var pt=requireCpp();chaiscript_1=_e,_e.displayName="chaiscript",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.chaiscript=ft.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[ft.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),ft.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),ft.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:ft.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return chaiscript_1}var cil_1,hasRequiredCil;function requireCil(){if(hasRequiredCil)return cil_1;hasRequiredCil=1,cil_1=pt,pt.displayName="cil",pt.aliases=[];function pt(_e){_e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return cil_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1,clojure_1=pt,pt.displayName="clojure",pt.aliases=[];function pt(_e){_e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return clojure_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1,cmake_1=pt,pt.displayName="cmake",pt.aliases=[];function pt(_e){_e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?: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|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|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|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|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|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return cmake_1}var cobol_1,hasRequiredCobol;function requireCobol(){if(hasRequiredCobol)return cobol_1;hasRequiredCobol=1,cobol_1=pt,pt.displayName="cobol",pt.aliases=[];function pt(_e){_e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return cobol_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1,coffeescript_1=pt,pt.displayName="coffeescript",pt.aliases=["coffee"];function pt(_e){(function(ft){var mt=/#(?!\{).+/,bt={pattern:/#\{[^}]+\}/,alias:"variable"};ft.languages.coffeescript=ft.languages.extend("javascript",{comment:mt,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:bt}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),ft.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:mt,interpolation:bt}}}),ft.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:ft.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:bt}}]}),ft.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete ft.languages.coffeescript["template-string"],ft.languages.coffee=ft.languages.coffeescript})(_e)}return coffeescript_1}var concurnas_1,hasRequiredConcurnas;function requireConcurnas(){if(hasRequiredConcurnas)return concurnas_1;hasRequiredConcurnas=1,concurnas_1=pt,pt.displayName="concurnas",pt.aliases=["conc"];function pt(_e){_e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},_e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:_e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:_e.languages.concurnas},string:/[\s\S]+/}}}),_e.languages.conc=_e.languages.concurnas}return concurnas_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1,coq_1=pt,pt.displayName="coq",pt.aliases=[];function pt(_e){(function(ft){for(var mt=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,bt=0;bt<2;bt++)mt=mt.replace(/<self>/g,function(){return mt});mt=mt.replace(/<self>/g,"[]"),ft.languages.coq={comment:RegExp(mt),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return mt})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(mt),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(_e)}return coq_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1,ruby_1=pt,pt.displayName="ruby",pt.aliases=["rb"];function pt(_e){(function(ft){ft.languages.ruby=ft.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),ft.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var mt={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:ft.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete ft.languages.ruby.function;var bt="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",vt=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;ft.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+bt+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:mt,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:mt,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+vt),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+vt+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),ft.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+bt),greedy:!0,inside:{interpolation:mt,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:mt,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:mt,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+bt),greedy:!0,inside:{interpolation:mt,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:mt,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete ft.languages.ruby.string,ft.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),ft.languages.rb=ft.languages.ruby})(_e)}return ruby_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;var pt=requireRuby();crystal_1=_e,_e.displayName="crystal",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){mt.languages.crystal=mt.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,mt.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),mt.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:mt.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:mt.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(ft)}return crystal_1}var cshtml_1,hasRequiredCshtml;function requireCshtml(){if(hasRequiredCshtml)return cshtml_1;hasRequiredCshtml=1;var pt=requireCsharp();cshtml_1=_e,_e.displayName="cshtml",_e.aliases=["razor"];function _e(ft){ft.register(pt),function(mt){var bt=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,vt=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function $t(er,nr){for(var rr=0;rr<nr;rr++)er=er.replace(/<self>/g,function(){return"(?:"+er+")"});return er.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+vt+")").replace(/<comment>/g,"(?:"+bt+")")}var _t=$t(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),Rt=$t(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),Pt=$t(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),Ft=$t(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),Bt=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,Gt=/(?!\d)[^\s>\/=$<%]+/.source+Bt+/\s*\/?>/.source,Wt=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+Bt+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Gt+"|"+$t(/<\1/.source+Bt+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Gt+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+Gt+")";mt.languages.cshtml=mt.languages.extend("markup",{});var Vt=mt.languages.insertBefore("csharp","string",{html:{pattern:RegExp(Wt),greedy:!0,inside:mt.languages.cshtml}},{csharp:mt.languages.extend("csharp",{})}),Xt={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:Vt};mt.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[Pt,/(?:code|functions)\s*/.source+Pt,/(?:for|foreach|lock|switch|using|while)\s*/.source+_t+/\s*/.source+Pt,/do\s*/.source+Pt+/\s*while\s*/.source+_t+/(?:\s*;)?/.source,/try\s*/.source+Pt+/\s*catch\s*/.source+_t+/\s*/.source+Pt+/\s*finally\s*/.source+Pt,/if\s*/.source+_t+/\s*/.source+Pt+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+_t+")?"+/\s*/.source+Pt+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:Xt}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:Xt}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+_t+")(?:"+/[?!]?\.\w+\b/.source+"|"+_t+"|"+Rt+"|"+Ft+_t+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:Xt}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),mt.languages.razor=mt.languages.cshtml}(ft)}return cshtml_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1,csp_1=pt,pt.displayName="csp",pt.aliases=[];function pt(_e){(function(ft){function mt(bt){return RegExp(/([ \t])/.source+"(?:"+bt+")"+/(?=[\s;]|$)/.source,"i")}ft.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:mt(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:mt(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:mt(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:mt(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:mt(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:mt(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:mt(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(_e)}return csp_1}var cssExtras_1,hasRequiredCssExtras;function requireCssExtras(){if(hasRequiredCssExtras)return cssExtras_1;hasRequiredCssExtras=1,cssExtras_1=pt,pt.displayName="cssExtras",pt.aliases=[];function pt(_e){(function(ft){var mt=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,bt;ft.languages.css.selector={pattern:ft.languages.css.selector.pattern,lookbehind:!0,inside:bt={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+mt.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[mt,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},ft.languages.css.atrule.inside["selector-function-argument"].inside=bt,ft.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var vt={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},$t={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};ft.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|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|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:vt,number:$t,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:vt,number:$t})})(_e)}return cssExtras_1}var csv_1,hasRequiredCsv;function requireCsv(){if(hasRequiredCsv)return csv_1;hasRequiredCsv=1,csv_1=pt,pt.displayName="csv",pt.aliases=[];function pt(_e){_e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return csv_1}var cypher_1,hasRequiredCypher;function requireCypher(){if(hasRequiredCypher)return cypher_1;hasRequiredCypher=1,cypher_1=pt,pt.displayName="cypher",pt.aliases=[];function pt(_e){_e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return cypher_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1,d_1=pt,pt.displayName="d",pt.aliases=[];function pt(_e){_e.languages.d=_e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),_e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),_e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),_e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return d_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1,dart_1=pt,pt.displayName="dart",pt.aliases=[];function pt(_e){(function(ft){var mt=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],bt=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,vt={pattern:RegExp(bt+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};ft.languages.dart=ft.languages.extend("clike",{"class-name":[vt,{pattern:RegExp(bt+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:vt.inside}],keyword:mt,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),ft.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:ft.languages.dart}}},string:/[\s\S]+/}},string:void 0}),ft.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),ft.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":vt,keyword:mt,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(_e)}return dart_1}var dataweave_1,hasRequiredDataweave;function requireDataweave(){if(hasRequiredDataweave)return dataweave_1;hasRequiredDataweave=1,dataweave_1=pt,pt.displayName="dataweave",pt.aliases=[];function pt(_e){(function(ft){ft.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(_e)}return dataweave_1}var dax_1,hasRequiredDax;function requireDax(){if(hasRequiredDax)return dax_1;hasRequiredDax=1,dax_1=pt,pt.displayName="dax",pt.aliases=[];function pt(_e){_e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return dax_1}var dhall_1,hasRequiredDhall;function requireDhall(){if(hasRequiredDhall)return dhall_1;hasRequiredDhall=1,dhall_1=pt,pt.displayName="dhall",pt.aliases=[];function pt(_e){_e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},_e.languages.dhall.string.inside.interpolation.inside.expression.inside=_e.languages.dhall}return dhall_1}var diff_1$1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1$1;hasRequiredDiff=1,diff_1$1=pt,pt.displayName="diff",pt.aliases=[];function pt(_e){(function(ft){ft.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var mt={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(mt).forEach(function(bt){var vt=mt[bt],$t=[];/^\w+$/.test(bt)||$t.push(/\w+/.exec(bt)[0]),bt==="diff"&&$t.push("bold"),ft.languages.diff[bt]={pattern:RegExp("^(?:["+vt+`].*(?:\r
807
807
  ?|
808
808
  |(?![\\s\\S])))+`,"m"),alias:$t,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(bt)[0]}}}}),Object.defineProperty(ft.languages.diff,"PREFIXES",{value:mt})})(_e)}return diff_1$1}var markupTemplating_1,hasRequiredMarkupTemplating;function requireMarkupTemplating(){if(hasRequiredMarkupTemplating)return markupTemplating_1;hasRequiredMarkupTemplating=1,markupTemplating_1=pt,pt.displayName="markupTemplating",pt.aliases=[];function pt(_e){(function(ft){function mt(bt,vt){return"___"+bt.toUpperCase()+vt+"___"}Object.defineProperties(ft.languages["markup-templating"]={},{buildPlaceholders:{value:function(bt,vt,$t,_t){if(bt.language===vt){var Rt=bt.tokenStack=[];bt.code=bt.code.replace($t,function(Pt){if(typeof _t=="function"&&!_t(Pt))return Pt;for(var Ft=Rt.length,Bt;bt.code.indexOf(Bt=mt(vt,Ft))!==-1;)++Ft;return Rt[Ft]=Pt,Bt}),bt.grammar=ft.languages.markup}}},tokenizePlaceholders:{value:function(bt,vt){if(bt.language!==vt||!bt.tokenStack)return;bt.grammar=ft.languages[vt];var $t=0,_t=Object.keys(bt.tokenStack);function Rt(Pt){for(var Ft=0;Ft<Pt.length&&!($t>=_t.length);Ft++){var Bt=Pt[Ft];if(typeof Bt=="string"||Bt.content&&typeof Bt.content=="string"){var Gt=_t[$t],Wt=bt.tokenStack[Gt],Vt=typeof Bt=="string"?Bt:Bt.content,Xt=mt(vt,Gt),er=Vt.indexOf(Xt);if(er>-1){++$t;var nr=Vt.substring(0,er),rr=new ft.Token(vt,ft.tokenize(Wt,bt.grammar),"language-"+vt,Wt),tr=Vt.substring(er+Xt.length),or=[];nr&&or.push.apply(or,Rt([nr])),or.push(rr),tr&&or.push.apply(or,Rt([tr])),typeof Bt=="string"?Pt.splice.apply(Pt,[Ft,1].concat(or)):Bt.content=or}}else Bt.content&&Rt(Bt.content)}return Pt}Rt(bt.tokens)}}})})(_e)}return markupTemplating_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;var pt=requireMarkupTemplating();django_1=_e,_e.displayName="django",_e.aliases=["jinja2"];function _e(ft){ft.register(pt),function(mt){mt.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var bt=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,vt=mt.languages["markup-templating"];mt.hooks.add("before-tokenize",function($t){vt.buildPlaceholders($t,"django",bt)}),mt.hooks.add("after-tokenize",function($t){vt.tokenizePlaceholders($t,"django")}),mt.languages.jinja2=mt.languages.django,mt.hooks.add("before-tokenize",function($t){vt.buildPlaceholders($t,"jinja2",bt)}),mt.hooks.add("after-tokenize",function($t){vt.tokenizePlaceholders($t,"jinja2")})}(ft)}return django_1}var dnsZoneFile_1,hasRequiredDnsZoneFile;function requireDnsZoneFile(){if(hasRequiredDnsZoneFile)return dnsZoneFile_1;hasRequiredDnsZoneFile=1,dnsZoneFile_1=pt,pt.displayName="dnsZoneFile",pt.aliases=[];function pt(_e){_e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},_e.languages["dns-zone"]=_e.languages["dns-zone-file"]}return dnsZoneFile_1}var docker_1,hasRequiredDocker;function requireDocker(){if(hasRequiredDocker)return docker_1;hasRequiredDocker=1,docker_1=pt,pt.displayName="docker",pt.aliases=["dockerfile"];function pt(_e){(function(ft){var mt=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,bt=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return mt}),vt=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,$t=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return vt}),_t={pattern:RegExp(vt),greedy:!0},Rt={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function Pt(Ft,Bt){return Ft=Ft.replace(/<OPT>/g,function(){return $t}).replace(/<SP>/g,function(){return bt}),RegExp(Ft,Bt)}ft.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:Pt(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[_t,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:Pt(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Pt(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Pt(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:Rt,string:_t,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:Rt},ft.languages.dockerfile=ft.languages.docker})(_e)}return docker_1}var dot_1,hasRequiredDot;function requireDot(){if(hasRequiredDot)return dot_1;hasRequiredDot=1,dot_1=pt,pt.displayName="dot",pt.aliases=["gv"];function pt(_e){(function(ft){var mt="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",bt={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:ft.languages.markup}};function vt($t,_t){return RegExp($t.replace(/<ID>/g,function(){return mt}),_t)}ft.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:vt(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:bt},"attr-value":{pattern:vt(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:bt},"attr-name":{pattern:vt(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:bt},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:vt(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:bt},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},ft.languages.gv=ft.languages.dot})(_e)}return dot_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1,ebnf_1=pt,pt.displayName="ebnf",pt.aliases=[];function pt(_e){_e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return ebnf_1}var editorconfig_1,hasRequiredEditorconfig;function requireEditorconfig(){if(hasRequiredEditorconfig)return editorconfig_1;hasRequiredEditorconfig=1,editorconfig_1=pt,pt.displayName="editorconfig",pt.aliases=[];function pt(_e){_e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return editorconfig_1}var eiffel_1,hasRequiredEiffel;function requireEiffel(){if(hasRequiredEiffel)return eiffel_1;hasRequiredEiffel=1,eiffel_1=pt,pt.displayName="eiffel",pt.aliases=[];function pt(_e){_e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return eiffel_1}var ejs_1,hasRequiredEjs;function requireEjs(){if(hasRequiredEjs)return ejs_1;hasRequiredEjs=1;var pt=requireMarkupTemplating();ejs_1=_e,_e.displayName="ejs",_e.aliases=["eta"];function _e(ft){ft.register(pt),function(mt){mt.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:mt.languages.javascript}},mt.hooks.add("before-tokenize",function(bt){var vt=/<%(?!%)[\s\S]+?%>/g;mt.languages["markup-templating"].buildPlaceholders(bt,"ejs",vt)}),mt.hooks.add("after-tokenize",function(bt){mt.languages["markup-templating"].tokenizePlaceholders(bt,"ejs")}),mt.languages.eta=mt.languages.ejs}(ft)}return ejs_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1,elixir_1=pt,pt.displayName="elixir",pt.aliases=[];function pt(_e){_e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},_e.languages.elixir.string.forEach(function(ft){ft.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:_e.languages.elixir}}}})}return elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1,elm_1=pt,pt.displayName="elm",pt.aliases=[];function pt(_e){_e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return elm_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;var pt=requireRuby(),_e=requireMarkupTemplating();erb_1=ft,ft.displayName="erb",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){bt.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:bt.languages.ruby}},bt.hooks.add("before-tokenize",function(vt){var $t=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;bt.languages["markup-templating"].buildPlaceholders(vt,"erb",$t)}),bt.hooks.add("after-tokenize",function(vt){bt.languages["markup-templating"].tokenizePlaceholders(vt,"erb")})}(mt)}return erb_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1,erlang_1=pt,pt.displayName="erlang",pt.aliases=[];function pt(_e){_e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return erlang_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1,lua_1=pt,pt.displayName="lua",pt.aliases=[];function pt(_e){_e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return lua_1}var etlua_1,hasRequiredEtlua;function requireEtlua(){if(hasRequiredEtlua)return etlua_1;hasRequiredEtlua=1;var pt=requireLua(),_e=requireMarkupTemplating();etlua_1=ft,ft.displayName="etlua",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){bt.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:bt.languages.lua}},bt.hooks.add("before-tokenize",function(vt){var $t=/<%[\s\S]+?%>/g;bt.languages["markup-templating"].buildPlaceholders(vt,"etlua",$t)}),bt.hooks.add("after-tokenize",function(vt){bt.languages["markup-templating"].tokenizePlaceholders(vt,"etlua")})}(mt)}return etlua_1}var excelFormula_1,hasRequiredExcelFormula;function requireExcelFormula(){if(hasRequiredExcelFormula)return excelFormula_1;hasRequiredExcelFormula=1,excelFormula_1=pt,pt.displayName="excelFormula",pt.aliases=[];function pt(_e){_e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},_e.languages.xlsx=_e.languages.xls=_e.languages["excel-formula"]}return excelFormula_1}var factor_1,hasRequiredFactor;function requireFactor(){if(hasRequiredFactor)return factor_1;hasRequiredFactor=1,factor_1=pt,pt.displayName="factor",pt.aliases=[];function pt(_e){(function(ft){var mt={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},bt={number:/\\[^\s']|%\w/},vt={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:mt},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:mt},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:mt}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:bt.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:bt},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:bt}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:bt}},$t=function(Ft){return(Ft+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},_t=function(Ft){return new RegExp("(^|\\s)(?:"+Ft.map($t).join("|")+")(?=\\s|$)")},Rt={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(Rt).forEach(function(Ft){vt[Ft].pattern=_t(Rt[Ft])});var Pt=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];vt.combinators.pattern=_t(Pt),ft.languages.factor=vt})(_e)}return factor_1}var _false,hasRequired_false;function require_false(){if(hasRequired_false)return _false;hasRequired_false=1,_false=pt,pt.displayName="$false",pt.aliases=[];function pt(_e){(function(ft){ft.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(_e)}return _false}var firestoreSecurityRules_1,hasRequiredFirestoreSecurityRules;function requireFirestoreSecurityRules(){if(hasRequiredFirestoreSecurityRules)return firestoreSecurityRules_1;hasRequiredFirestoreSecurityRules=1,firestoreSecurityRules_1=pt,pt.displayName="firestoreSecurityRules",pt.aliases=[];function pt(_e){_e.languages["firestore-security-rules"]=_e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete _e.languages["firestore-security-rules"]["class-name"],_e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return firestoreSecurityRules_1}var flow_1,hasRequiredFlow;function requireFlow(){if(hasRequiredFlow)return flow_1;hasRequiredFlow=1,flow_1=pt,pt.displayName="flow",pt.aliases=[];function pt(_e){(function(ft){ft.languages.flow=ft.languages.extend("javascript",{}),ft.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),ft.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete ft.languages.flow.parameter,ft.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(ft.languages.flow.keyword)||(ft.languages.flow.keyword=[ft.languages.flow.keyword]),ft.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(_e)}return flow_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1,fortran_1=pt,pt.displayName="fortran",pt.aliases=[];function pt(_e){_e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1,fsharp_1=pt,pt.displayName="fsharp",pt.aliases=[];function pt(_e){_e.languages.fsharp=_e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),_e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),_e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),_e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:_e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return fsharp_1}var ftl_1,hasRequiredFtl;function requireFtl(){if(hasRequiredFtl)return ftl_1;hasRequiredFtl=1;var pt=requireMarkupTemplating();ftl_1=_e,_e.displayName="ftl",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){for(var bt=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,vt=0;vt<2;vt++)bt=bt.replace(/<expr>/g,function(){return bt});bt=bt.replace(/<expr>/g,/[^\s\S]/.source);var $t={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return bt})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return bt})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};$t.string[1].inside.interpolation.inside.rest=$t,mt.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:$t}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:$t}}}},mt.hooks.add("before-tokenize",function(_t){var Rt=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return bt}),"gi");mt.languages["markup-templating"].buildPlaceholders(_t,"ftl",Rt)}),mt.hooks.add("after-tokenize",function(_t){mt.languages["markup-templating"].tokenizePlaceholders(_t,"ftl")})}(ft)}return ftl_1}var gap_1,hasRequiredGap;function requireGap(){if(hasRequiredGap)return gap_1;hasRequiredGap=1,gap_1=pt,pt.displayName="gap",pt.aliases=[];function pt(_e){_e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},_e.languages.gap.shell.inside.gap.inside=_e.languages.gap}return gap_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1,gcode_1=pt,pt.displayName="gcode",pt.aliases=[];function pt(_e){_e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return gcode_1}var gdscript_1,hasRequiredGdscript;function requireGdscript(){if(hasRequiredGdscript)return gdscript_1;hasRequiredGdscript=1,gdscript_1=pt,pt.displayName="gdscript",pt.aliases=[];function pt(_e){_e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return gdscript_1}var gedcom_1,hasRequiredGedcom;function requireGedcom(){if(hasRequiredGedcom)return gedcom_1;hasRequiredGedcom=1,gedcom_1=pt,pt.displayName="gedcom",pt.aliases=[];function pt(_e){_e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return gedcom_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1,gherkin_1=pt,pt.displayName="gherkin",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;ft.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+mt+")(?:"+mt+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(mt),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(_e)}return gherkin_1}var git_1,hasRequiredGit;function requireGit(){if(hasRequiredGit)return git_1;hasRequiredGit=1,git_1=pt,pt.displayName="git",pt.aliases=[];function pt(_e){_e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return git_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;var pt=requireC();glsl_1=_e,_e.displayName="glsl",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.glsl=ft.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1,gml_1=pt,pt.displayName="gml",pt.aliases=[];function pt(_e){_e.languages.gamemakerlanguage=_e.languages.gml=_e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return gml_1}var gn_1,hasRequiredGn;function requireGn(){if(hasRequiredGn)return gn_1;hasRequiredGn=1,gn_1=pt,pt.displayName="gn",pt.aliases=["gni"];function pt(_e){_e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},_e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=_e.languages.gn,_e.languages.gni=_e.languages.gn}return gn_1}var goModule_1,hasRequiredGoModule;function requireGoModule(){if(hasRequiredGoModule)return goModule_1;hasRequiredGoModule=1,goModule_1=pt,pt.displayName="goModule",pt.aliases=[];function pt(_e){_e.languages["go-mod"]=_e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return goModule_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1,go_1=pt,pt.displayName="go",pt.aliases=[];function pt(_e){_e.languages.go=_e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),_e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete _e.languages.go["class-name"]}return go_1}var graphql_1,hasRequiredGraphql;function requireGraphql(){if(hasRequiredGraphql)return graphql_1;hasRequiredGraphql=1,graphql_1=pt,pt.displayName="graphql",pt.aliases=[];function pt(_e){_e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:_e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},_e.hooks.add("after-tokenize",function(mt){if(mt.language!=="graphql")return;var bt=mt.tokens.filter(function(nr){return typeof nr!="string"&&nr.type!=="comment"&&nr.type!=="scalar"}),vt=0;function $t(nr){return bt[vt+nr]}function _t(nr,rr){rr=rr||0;for(var tr=0;tr<nr.length;tr++){var or=$t(tr+rr);if(!or||or.type!==nr[tr])return!1}return!0}function Rt(nr,rr){for(var tr=1,or=vt;or<bt.length;or++){var ar=bt[or],sr=ar.content;if(ar.type==="punctuation"&&typeof sr=="string"){if(nr.test(sr))tr++;else if(rr.test(sr)&&(tr--,tr===0))return or}}return-1}function Pt(nr,rr){var tr=nr.alias;tr?Array.isArray(tr)||(nr.alias=tr=[tr]):nr.alias=tr=[],tr.push(rr)}for(;vt<bt.length;){var Ft=bt[vt++];if(Ft.type==="keyword"&&Ft.content==="mutation"){var Bt=[];if(_t(["definition-mutation","punctuation"])&&$t(1).content==="("){vt+=2;var Gt=Rt(/^\($/,/^\)$/);if(Gt===-1)continue;for(;vt<Gt;vt++){var Wt=$t(0);Wt.type==="variable"&&(Pt(Wt,"variable-input"),Bt.push(Wt.content))}vt=Gt+1}if(_t(["punctuation","property-query"])&&$t(0).content==="{"&&(vt++,Pt($t(0),"property-mutation"),Bt.length>0)){var Vt=Rt(/^\{$/,/^\}$/);if(Vt===-1)continue;for(var Xt=vt;Xt<Vt;Xt++){var er=bt[Xt];er.type==="variable"&&Bt.indexOf(er.content)>=0&&Pt(er,"variable-input")}}}}})}return graphql_1}var groovy_1,hasRequiredGroovy;function requireGroovy(){if(hasRequiredGroovy)return groovy_1;hasRequiredGroovy=1,groovy_1=pt,pt.displayName="groovy",pt.aliases=[];function pt(_e){_e.languages.groovy=_e.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),_e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),_e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),_e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),_e.hooks.add("wrap",function(ft){if(ft.language==="groovy"&&ft.type==="string"){var mt=ft.content.value[0];if(mt!="'"){var bt=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;mt==="$"&&(bt=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),ft.content.value=ft.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),ft.content=_e.highlight(ft.content.value,{expression:{pattern:bt,lookbehind:!0,inside:_e.languages.groovy}}),ft.classes.push(mt==="/"?"regex":"gstring")}}})}return groovy_1}var haml_1,hasRequiredHaml;function requireHaml(){if(hasRequiredHaml)return haml_1;hasRequiredHaml=1;var pt=requireRuby();haml_1=_e,_e.displayName="haml",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){mt.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:mt.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:mt.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:mt.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:mt.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:mt.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:mt.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:mt.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var bt="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",vt=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],$t={},_t=0,Rt=vt.length;_t<Rt;_t++){var Pt=vt[_t];Pt=typeof Pt=="string"?{filter:Pt,language:Pt}:Pt,mt.languages[Pt.language]&&($t["filter-"+Pt.filter]={pattern:RegExp(bt.replace("{{filter_name}}",function(){return Pt.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[Pt.language,"language-"+Pt.language],inside:mt.languages[Pt.language]}}})}mt.languages.insertBefore("haml","filter",$t)}(ft)}return haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;var pt=requireMarkupTemplating();handlebars_1=_e,_e.displayName="handlebars",_e.aliases=["hbs"];function _e(ft){ft.register(pt),function(mt){mt.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},mt.hooks.add("before-tokenize",function(bt){var vt=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;mt.languages["markup-templating"].buildPlaceholders(bt,"handlebars",vt)}),mt.hooks.add("after-tokenize",function(bt){mt.languages["markup-templating"].tokenizePlaceholders(bt,"handlebars")}),mt.languages.hbs=mt.languages.handlebars}(ft)}return handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1,haskell_1=pt,pt.displayName="haskell",pt.aliases=["hs"];function pt(_e){_e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},_e.languages.hs=_e.languages.haskell}return haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1,haxe_1=pt,pt.displayName="haxe",pt.aliases=[];function pt(_e){_e.languages.haxe=_e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),_e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:_e.languages.haxe}}},string:/[\s\S]+/}}}),_e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:_e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),_e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return haxe_1}var hcl_1,hasRequiredHcl;function requireHcl(){if(hasRequiredHcl)return hcl_1;hasRequiredHcl=1,hcl_1=pt,pt.displayName="hcl",pt.aliases=[];function pt(_e){_e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return hcl_1}var hlsl_1,hasRequiredHlsl;function requireHlsl(){if(hasRequiredHlsl)return hlsl_1;hasRequiredHlsl=1;var pt=requireC();hlsl_1=_e,_e.displayName="hlsl",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.hlsl=ft.languages.extend("c",{"class-name":[ft.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return hlsl_1}var hoon_1,hasRequiredHoon;function requireHoon(){if(hasRequiredHoon)return hoon_1;hasRequiredHoon=1,hoon_1=pt,pt.displayName="hoon",pt.aliases=[];function pt(_e){_e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return hoon_1}var hpkp_1,hasRequiredHpkp;function requireHpkp(){if(hasRequiredHpkp)return hpkp_1;hasRequiredHpkp=1,hpkp_1=pt,pt.displayName="hpkp",pt.aliases=[];function pt(_e){_e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return hpkp_1}var hsts_1,hasRequiredHsts;function requireHsts(){if(hasRequiredHsts)return hsts_1;hasRequiredHsts=1,hsts_1=pt,pt.displayName="hsts",pt.aliases=[];function pt(_e){_e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return hsts_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1,http_1=pt,pt.displayName="http",pt.aliases=[];function pt(_e){(function(ft){function mt(Bt){return RegExp("(^(?:"+Bt+"):[ ]*(?![ ]))[^]+","i")}ft.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:ft.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:mt(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:ft.languages.csp},{pattern:mt(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:ft.languages.hpkp},{pattern:mt(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:ft.languages.hsts},{pattern:mt(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var bt=ft.languages,vt={"application/javascript":bt.javascript,"application/json":bt.json||bt.javascript,"application/xml":bt.xml,"text/xml":bt.xml,"text/html":bt.html,"text/css":bt.css,"text/plain":bt.plain},$t={"application/json":!0,"application/xml":!0};function _t(Bt){var Gt=Bt.replace(/^[a-z]+\//,""),Wt="\\w+/(?:[\\w.-]+\\+)+"+Gt+"(?![+\\w.-])";return"(?:"+Bt+"|"+Wt+")"}var Rt;for(var Pt in vt)if(vt[Pt]){Rt=Rt||{};var Ft=$t[Pt]?_t(Pt):Pt;Rt[Pt.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Ft+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:vt[Pt]}}Rt&&ft.languages.insertBefore("http","header",Rt)})(_e)}return http_1}var ichigojam_1,hasRequiredIchigojam;function requireIchigojam(){if(hasRequiredIchigojam)return ichigojam_1;hasRequiredIchigojam=1,ichigojam_1=pt,pt.displayName="ichigojam",pt.aliases=[];function pt(_e){_e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return ichigojam_1}var icon_1,hasRequiredIcon;function requireIcon(){if(hasRequiredIcon)return icon_1;hasRequiredIcon=1,icon_1=pt,pt.displayName="icon",pt.aliases=[];function pt(_e){_e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return icon_1}var icuMessageFormat_1,hasRequiredIcuMessageFormat;function requireIcuMessageFormat(){if(hasRequiredIcuMessageFormat)return icuMessageFormat_1;hasRequiredIcuMessageFormat=1,icuMessageFormat_1=pt,pt.displayName="icuMessageFormat",pt.aliases=[];function pt(_e){(function(ft){function mt(Pt,Ft){return Ft<=0?/[]/.source:Pt.replace(/<SELF>/g,function(){return mt(Pt,Ft-1)})}var bt=/'[{}:=,](?:[^']|'')*'(?!')/,vt={pattern:/''/,greedy:!0,alias:"operator"},$t={pattern:bt,greedy:!0,inside:{escape:vt}},_t=mt(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return bt.source}),8),Rt={pattern:RegExp(_t),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};ft.languages["icu-message-format"]={argument:{pattern:RegExp(_t),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":Rt,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":Rt,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+mt(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:vt,string:$t},Rt.inside.message.inside=ft.languages["icu-message-format"],ft.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=ft.languages["icu-message-format"]})(_e)}return icuMessageFormat_1}var idris_1,hasRequiredIdris;function requireIdris(){if(hasRequiredIdris)return idris_1;hasRequiredIdris=1;var pt=requireHaskell();idris_1=_e,_e.displayName="idris",_e.aliases=["idr"];function _e(ft){ft.register(pt),ft.languages.idris=ft.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),ft.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),ft.languages.idr=ft.languages.idris}return idris_1}var iecst_1,hasRequiredIecst;function requireIecst(){if(hasRequiredIecst)return iecst_1;hasRequiredIecst=1,iecst_1=pt,pt.displayName="iecst",pt.aliases=[];function pt(_e){_e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return iecst_1}var ignore_1,hasRequiredIgnore;function requireIgnore(){if(hasRequiredIgnore)return ignore_1;hasRequiredIgnore=1,ignore_1=pt,pt.displayName="ignore",pt.aliases=["gitignore","hgignore","npmignore"];function pt(_e){(function(ft){ft.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},ft.languages.gitignore=ft.languages.ignore,ft.languages.hgignore=ft.languages.ignore,ft.languages.npmignore=ft.languages.ignore})(_e)}return ignore_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1,inform7_1=pt,pt.displayName="inform7",pt.aliases=[];function pt(_e){_e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},_e.languages.inform7.string.inside.substitution.inside.rest=_e.languages.inform7,_e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1,ini_1=pt,pt.displayName="ini",pt.aliases=[];function pt(_e){_e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return ini_1}var io_1,hasRequiredIo;function requireIo(){if(hasRequiredIo)return io_1;hasRequiredIo=1,io_1=pt,pt.displayName="io",pt.aliases=[];function pt(_e){_e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}return io_1}var j_1,hasRequiredJ;function requireJ(){if(hasRequiredJ)return j_1;hasRequiredJ=1,j_1=pt,pt.displayName="j",pt.aliases=[];function pt(_e){_e.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return j_1}var java_1,hasRequiredJava;function requireJava(){if(hasRequiredJava)return java_1;hasRequiredJava=1,java_1=pt,pt.displayName="java",pt.aliases=[];function pt(_e){(function(ft){var mt=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,bt=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,vt={pattern:RegExp(bt+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};ft.languages.java=ft.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[vt,{pattern:RegExp(bt+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:vt.inside}],keyword:mt,function:[ft.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),ft.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),ft.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":vt,keyword:mt,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return mt.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(_e)}return java_1}var javadoclike_1,hasRequiredJavadoclike;function requireJavadoclike(){if(hasRequiredJavadoclike)return javadoclike_1;hasRequiredJavadoclike=1,javadoclike_1=pt,pt.displayName="javadoclike",pt.aliases=[];function pt(_e){(function(ft){var mt=ft.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function bt($t,_t){var Rt="doc-comment",Pt=ft.languages[$t];if(Pt){var Ft=Pt[Rt];if(!Ft){var Bt={};Bt[Rt]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},Pt=ft.languages.insertBefore($t,"comment",Bt),Ft=Pt[Rt]}if(Ft instanceof RegExp&&(Ft=Pt[Rt]={pattern:Ft}),Array.isArray(Ft))for(var Gt=0,Wt=Ft.length;Gt<Wt;Gt++)Ft[Gt]instanceof RegExp&&(Ft[Gt]={pattern:Ft[Gt]}),_t(Ft[Gt]);else _t(Ft)}}function vt($t,_t){typeof $t=="string"&&($t=[$t]),$t.forEach(function(Rt){bt(Rt,function(Pt){Pt.inside||(Pt.inside={}),Pt.inside.rest=_t})})}Object.defineProperty(mt,"addSupport",{value:vt}),mt.addSupport(["java","javascript","php"],mt)})(_e)}return javadoclike_1}var javadoc_1,hasRequiredJavadoc;function requireJavadoc(){if(hasRequiredJavadoc)return javadoc_1;hasRequiredJavadoc=1;var pt=requireJava(),_e=requireJavadoclike();javadoc_1=ft,ft.displayName="javadoc",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){var vt=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,$t=/#\s*\w+(?:\s*\([^()]*\))?/.source,_t=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return $t});bt.languages.javadoc=bt.languages.extend("javadoclike",{}),bt.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+_t+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:bt.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:vt,lookbehind:!0,inside:bt.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:vt,lookbehind:!0,inside:{tag:bt.languages.markup.tag,entity:bt.languages.markup.entity,code:{pattern:/.+/,inside:bt.languages.java,alias:"language-java"}}}}}],tag:bt.languages.markup.tag,entity:bt.languages.markup.entity}),bt.languages.javadoclike.addSupport("java",bt.languages.javadoc)}(mt)}return javadoc_1}var javastacktrace_1,hasRequiredJavastacktrace;function requireJavastacktrace(){if(hasRequiredJavastacktrace)return javastacktrace_1;hasRequiredJavastacktrace=1,javastacktrace_1=pt,pt.displayName="javastacktrace",pt.aliases=[];function pt(_e){_e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return javastacktrace_1}var jexl_1,hasRequiredJexl;function requireJexl(){if(hasRequiredJexl)return jexl_1;hasRequiredJexl=1,jexl_1=pt,pt.displayName="jexl",pt.aliases=[];function pt(_e){_e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return jexl_1}var jolie_1,hasRequiredJolie;function requireJolie(){if(hasRequiredJolie)return jolie_1;hasRequiredJolie=1,jolie_1=pt,pt.displayName="jolie",pt.aliases=[];function pt(_e){_e.languages.jolie=_e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),_e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return jolie_1}var jq_1,hasRequiredJq;function requireJq(){if(hasRequiredJq)return jq_1;hasRequiredJq=1,jq_1=pt,pt.displayName="jq",pt.aliases=[];function pt(_e){(function(ft){var mt=/\\\((?:[^()]|\([^()]*\))*\)/.source,bt=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return mt})),vt={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+mt),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},$t=ft.languages.jq={comment:/#.*/,property:{pattern:RegExp(bt.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:vt},string:{pattern:bt,lookbehind:!0,greedy:!0,inside:vt},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};vt.interpolation.inside.content.inside=$t})(_e)}return jq_1}var jsExtras_1,hasRequiredJsExtras;function requireJsExtras(){if(hasRequiredJsExtras)return jsExtras_1;hasRequiredJsExtras=1,jsExtras_1=pt,pt.displayName="jsExtras",pt.aliases=[];function pt(_e){(function(ft){ft.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+ft.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),ft.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+ft.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),ft.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function mt(Pt,Ft){return RegExp(Pt.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Ft)}ft.languages.insertBefore("javascript","keyword",{imports:{pattern:mt(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:ft.languages.javascript},exports:{pattern:mt(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:ft.languages.javascript}}),ft.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),ft.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),ft.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:mt(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var bt=["function","function-variable","method","method-variable","property-access"],vt=0;vt<bt.length;vt++){var $t=bt[vt],_t=ft.languages.javascript[$t];ft.util.type(_t)==="RegExp"&&(_t=ft.languages.javascript[$t]={pattern:_t});var Rt=_t.inside||{};_t.inside=Rt,Rt["maybe-class-name"]=/^[A-Z][\s\S]*/}})(_e)}return jsExtras_1}var jsTemplates_1,hasRequiredJsTemplates;function requireJsTemplates(){if(hasRequiredJsTemplates)return jsTemplates_1;hasRequiredJsTemplates=1,jsTemplates_1=pt,pt.displayName="jsTemplates",pt.aliases=[];function pt(_e){(function(ft){var mt=ft.languages.javascript["template-string"],bt=mt.pattern.source,vt=mt.inside.interpolation,$t=vt.inside["interpolation-punctuation"],_t=vt.pattern.source;function Rt(Xt,er){if(ft.languages[Xt])return{pattern:RegExp("((?:"+er+")\\s*)"+bt),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:Xt}}}}ft.languages.javascript["template-string"]=[Rt("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),Rt("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),Rt("svg",/\bsvg/.source),Rt("markdown",/\b(?:markdown|md)/.source),Rt("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),Rt("sql",/\bsql/.source),mt].filter(Boolean);function Pt(Xt,er){return"___"+er.toUpperCase()+"_"+Xt+"___"}function Ft(Xt,er,nr){var rr={code:Xt,grammar:er,language:nr};return ft.hooks.run("before-tokenize",rr),rr.tokens=ft.tokenize(rr.code,rr.grammar),ft.hooks.run("after-tokenize",rr),rr.tokens}function Bt(Xt){var er={};er["interpolation-punctuation"]=$t;var nr=ft.tokenize(Xt,er);if(nr.length===3){var rr=[1,1];rr.push.apply(rr,Ft(nr[1],ft.languages.javascript,"javascript")),nr.splice.apply(nr,rr)}return new ft.Token("interpolation",nr,vt.alias,Xt)}function Gt(Xt,er,nr){var rr=ft.tokenize(Xt,{interpolation:{pattern:RegExp(_t),lookbehind:!0}}),tr=0,or={},ar=rr.map(function(gr){if(typeof gr=="string")return gr;for(var vr=gr.content,Ut;Xt.indexOf(Ut=Pt(tr++,nr))!==-1;);return or[Ut]=vr,Ut}).join(""),sr=Ft(ar,er,nr),lr=Object.keys(or);tr=0;function fr(gr){for(var vr=0;vr<gr.length;vr++){if(tr>=lr.length)return;var Ut=gr[vr];if(typeof Ut=="string"||typeof Ut.content=="string"){var Zt=lr[tr],Kt=typeof Ut=="string"?Ut:Ut.content,qt=Kt.indexOf(Zt);if(qt!==-1){++tr;var Ht=Kt.substring(0,qt),Jt=Bt(or[Zt]),ir=Kt.substring(qt+Zt.length),dr=[];if(Ht&&dr.push(Ht),dr.push(Jt),ir){var pr=[ir];fr(pr),dr.push.apply(dr,pr)}typeof Ut=="string"?(gr.splice.apply(gr,[vr,1].concat(dr)),vr+=dr.length-1):Ut.content=dr}}else{var ur=Ut.content;Array.isArray(ur)?fr(ur):fr([ur])}}}return fr(sr),new ft.Token(nr,sr,"language-"+nr,Xt)}var Wt={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};ft.hooks.add("after-tokenize",function(Xt){if(!(Xt.language in Wt))return;function er(nr){for(var rr=0,tr=nr.length;rr<tr;rr++){var or=nr[rr];if(typeof or!="string"){var ar=or.content;if(!Array.isArray(ar)){typeof ar!="string"&&er([ar]);continue}if(or.type==="template-string"){var sr=ar[1];if(ar.length===3&&typeof sr!="string"&&sr.type==="embedded-code"){var lr=Vt(sr),fr=sr.alias,gr=Array.isArray(fr)?fr[0]:fr,vr=ft.languages[gr];if(!vr)continue;ar[1]=Gt(lr,vr,gr)}}else er(ar)}}}er(Xt.tokens)});function Vt(Xt){return typeof Xt=="string"?Xt:Array.isArray(Xt)?Xt.map(Vt).join(""):Vt(Xt.content)}})(_e)}return jsTemplates_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1,typescript_1=pt,pt.displayName="typescript",pt.aliases=["ts"];function pt(_e){(function(ft){ft.languages.typescript=ft.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),ft.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete ft.languages.typescript.parameter,delete ft.languages.typescript["literal-property"];var mt=ft.languages.extend("typescript",{});delete mt["class-name"],ft.languages.typescript["class-name"].inside=mt,ft.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:mt}}}}),ft.languages.ts=ft.languages.typescript})(_e)}return typescript_1}var jsdoc_1,hasRequiredJsdoc;function requireJsdoc(){if(hasRequiredJsdoc)return jsdoc_1;hasRequiredJsdoc=1;var pt=requireJavadoclike(),_e=requireTypescript();jsdoc_1=ft,ft.displayName="jsdoc",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){var vt=bt.languages.javascript,$t=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,_t="(@(?:arg|argument|param|property)\\s+(?:"+$t+"\\s+)?)";bt.languages.jsdoc=bt.languages.extend("javadoclike",{parameter:{pattern:RegExp(_t+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),bt.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(_t+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:vt,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return $t})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+$t),lookbehind:!0,inside:{string:vt.string,number:vt.number,boolean:vt.boolean,keyword:bt.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:vt,alias:"language-javascript"}}}}),bt.languages.javadoclike.addSupport("javascript",bt.languages.jsdoc)}(mt)}return jsdoc_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1,json_1=pt,pt.displayName="json",pt.aliases=["webmanifest"];function pt(_e){_e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},_e.languages.webmanifest=_e.languages.json}return json_1}var json5_1,hasRequiredJson5;function requireJson5(){if(hasRequiredJson5)return json5_1;hasRequiredJson5=1;var pt=requireJson();json5_1=_e,_e.displayName="json5",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){var bt=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;mt.languages.json5=mt.languages.extend("json",{property:[{pattern:RegExp(bt.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:bt,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(ft)}return json5_1}var jsonp_1,hasRequiredJsonp;function requireJsonp(){if(hasRequiredJsonp)return jsonp_1;hasRequiredJsonp=1;var pt=requireJson();jsonp_1=_e,_e.displayName="jsonp",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.jsonp=ft.languages.extend("json",{punctuation:/[{}[\]();,.]/}),ft.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return jsonp_1}var jsstacktrace_1,hasRequiredJsstacktrace;function requireJsstacktrace(){if(hasRequiredJsstacktrace)return jsstacktrace_1;hasRequiredJsstacktrace=1,jsstacktrace_1=pt,pt.displayName="jsstacktrace",pt.aliases=[];function pt(_e){_e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return jsstacktrace_1}var jsx_1,hasRequiredJsx;function requireJsx(){if(hasRequiredJsx)return jsx_1;hasRequiredJsx=1,jsx_1=pt,pt.displayName="jsx",pt.aliases=[];function pt(_e){(function(ft){var mt=ft.util.clone(ft.languages.javascript),bt=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,vt=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,$t=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function _t(Ft,Bt){return Ft=Ft.replace(/<S>/g,function(){return bt}).replace(/<BRACES>/g,function(){return vt}).replace(/<SPREAD>/g,function(){return $t}),RegExp(Ft,Bt)}$t=_t($t).source,ft.languages.jsx=ft.languages.extend("markup",mt),ft.languages.jsx.tag.pattern=_t(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),ft.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,ft.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,ft.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,ft.languages.jsx.tag.inside.comment=mt.comment,ft.languages.insertBefore("inside","attr-name",{spread:{pattern:_t(/<SPREAD>/.source),inside:ft.languages.jsx}},ft.languages.jsx.tag),ft.languages.insertBefore("inside","special-attr",{script:{pattern:_t(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:ft.languages.jsx}}},ft.languages.jsx.tag);var Rt=function(Ft){return Ft?typeof Ft=="string"?Ft:typeof Ft.content=="string"?Ft.content:Ft.content.map(Rt).join(""):""},Pt=function(Ft){for(var Bt=[],Gt=0;Gt<Ft.length;Gt++){var Wt=Ft[Gt],Vt=!1;if(typeof Wt!="string"&&(Wt.type==="tag"&&Wt.content[0]&&Wt.content[0].type==="tag"?Wt.content[0].content[0].content==="</"?Bt.length>0&&Bt[Bt.length-1].tagName===Rt(Wt.content[0].content[1])&&Bt.pop():Wt.content[Wt.content.length-1].content==="/>"||Bt.push({tagName:Rt(Wt.content[0].content[1]),openedBraces:0}):Bt.length>0&&Wt.type==="punctuation"&&Wt.content==="{"?Bt[Bt.length-1].openedBraces++:Bt.length>0&&Bt[Bt.length-1].openedBraces>0&&Wt.type==="punctuation"&&Wt.content==="}"?Bt[Bt.length-1].openedBraces--:Vt=!0),(Vt||typeof Wt=="string")&&Bt.length>0&&Bt[Bt.length-1].openedBraces===0){var Xt=Rt(Wt);Gt<Ft.length-1&&(typeof Ft[Gt+1]=="string"||Ft[Gt+1].type==="plain-text")&&(Xt+=Rt(Ft[Gt+1]),Ft.splice(Gt+1,1)),Gt>0&&(typeof Ft[Gt-1]=="string"||Ft[Gt-1].type==="plain-text")&&(Xt=Rt(Ft[Gt-1])+Xt,Ft.splice(Gt-1,1),Gt--),Ft[Gt]=new ft.Token("plain-text",Xt,null,Xt)}Wt.content&&typeof Wt.content!="string"&&Pt(Wt.content)}};ft.hooks.add("after-tokenize",function(Ft){Ft.language!=="jsx"&&Ft.language!=="tsx"||Pt(Ft.tokens)})})(_e)}return jsx_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1,julia_1=pt,pt.displayName="julia",pt.aliases=[];function pt(_e){_e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return julia_1}var keepalived_1,hasRequiredKeepalived;function requireKeepalived(){if(hasRequiredKeepalived)return keepalived_1;hasRequiredKeepalived=1,keepalived_1=pt,pt.displayName="keepalived",pt.aliases=[];function pt(_e){_e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return keepalived_1}var keyman_1,hasRequiredKeyman;function requireKeyman(){if(hasRequiredKeyman)return keyman_1;hasRequiredKeyman=1,keyman_1=pt,pt.displayName="keyman",pt.aliases=[];function pt(_e){_e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return keyman_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1,kotlin_1=pt,pt.displayName="kotlin",pt.aliases=["kt","kts"];function pt(_e){(function(ft){ft.languages.kotlin=ft.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete ft.languages.kotlin["class-name"];var mt={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:ft.languages.kotlin}};ft.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:mt},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:mt},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete ft.languages.kotlin.string,ft.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),ft.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),ft.languages.kt=ft.languages.kotlin,ft.languages.kts=ft.languages.kotlin})(_e)}return kotlin_1}var kumir_1,hasRequiredKumir;function requireKumir(){if(hasRequiredKumir)return kumir_1;hasRequiredKumir=1,kumir_1=pt,pt.displayName="kumir",pt.aliases=["kum"];function pt(_e){(function(ft){var mt=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function bt(vt,$t){return RegExp(vt.replace(/<nonId>/g,mt),$t)}ft.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:bt(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:bt(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:bt(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:bt(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:bt(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:bt(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:bt(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:bt(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},ft.languages.kum=ft.languages.kumir})(_e)}return kumir_1}var kusto_1,hasRequiredKusto;function requireKusto(){if(hasRequiredKusto)return kusto_1;hasRequiredKusto=1,kusto_1=pt,pt.displayName="kusto",pt.aliases=[];function pt(_e){_e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return kusto_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1,latex_1=pt,pt.displayName="latex",pt.aliases=["tex","context"];function pt(_e){(function(ft){var mt=/\\(?:[^a-z()[\]]|[a-z*]+)/i,bt={"equation-command":{pattern:mt,alias:"regex"}};ft.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:bt,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:bt,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:mt,alias:"selector"},punctuation:/[[\]{}&]/},ft.languages.tex=ft.languages.latex,ft.languages.context=ft.languages.latex})(_e)}return latex_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;var pt=requireMarkupTemplating();php_1=_e,_e.displayName="php",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){var bt=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,vt=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],$t=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,_t=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Rt=/[{}\[\](),:;]/;mt.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:bt,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:vt,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:$t,operator:_t,punctuation:Rt};var Pt={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:mt.languages.php},Ft=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:Pt}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:Pt}}];mt.languages.insertBefore("php","variable",{string:Ft,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:bt,string:Ft,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:vt,number:$t,operator:_t,punctuation:Rt}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),mt.hooks.add("before-tokenize",function(Bt){if(/<\?/.test(Bt.code)){var Gt=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;mt.languages["markup-templating"].buildPlaceholders(Bt,"php",Gt)}}),mt.hooks.add("after-tokenize",function(Bt){mt.languages["markup-templating"].tokenizePlaceholders(Bt,"php")})}(ft)}return php_1}var latte_1,hasRequiredLatte;function requireLatte(){if(hasRequiredLatte)return latte_1;hasRequiredLatte=1;var pt=requireMarkupTemplating(),_e=requirePhp();latte_1=ft,ft.displayName="latte",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){bt.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:bt.languages.php}};var vt=bt.languages.extend("markup",{});bt.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:bt.languages.php}}}}}},vt.tag),bt.hooks.add("before-tokenize",function($t){if($t.language==="latte"){var _t=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;bt.languages["markup-templating"].buildPlaceholders($t,"latte",_t),$t.grammar=vt}}),bt.hooks.add("after-tokenize",function($t){bt.languages["markup-templating"].tokenizePlaceholders($t,"latte")})}(mt)}return latte_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1,less_1=pt,pt.displayName="less",pt.aliases=[];function pt(_e){_e.languages.less=_e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),_e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return less_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1,scheme_1=pt,pt.displayName="scheme",pt.aliases=[];function pt(_e){(function(ft){ft.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(mt({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function mt(bt){for(var vt in bt)bt[vt]=bt[vt].replace(/<[\w\s]+>/g,function($t){return"(?:"+bt[$t].trim()+")"});return bt[vt]}})(_e)}return scheme_1}var lilypond_1,hasRequiredLilypond;function requireLilypond(){if(hasRequiredLilypond)return lilypond_1;hasRequiredLilypond=1;var pt=requireScheme();lilypond_1=_e,_e.displayName="lilypond",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){for(var bt=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,vt=5,$t=0;$t<vt;$t++)bt=bt.replace(/<expr>/g,function(){return bt});bt=bt.replace(/<expr>/g,/[^\s\S]/.source);var _t=mt.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return bt}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:mt.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};_t["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=_t,mt.languages.ly=_t}(ft)}return lilypond_1}var liquid_1,hasRequiredLiquid;function requireLiquid(){if(hasRequiredLiquid)return liquid_1;hasRequiredLiquid=1;var pt=requireMarkupTemplating();liquid_1=_e,_e.displayName="liquid",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},ft.hooks.add("before-tokenize",function(mt){var bt=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,vt=!1;ft.languages["markup-templating"].buildPlaceholders(mt,"liquid",bt,function($t){var _t=/^\{%-?\s*(\w+)/.exec($t);if(_t){var Rt=_t[1];if(Rt==="raw"&&!vt)return vt=!0,!0;if(Rt==="endraw")return vt=!1,!0}return!vt})}),ft.hooks.add("after-tokenize",function(mt){ft.languages["markup-templating"].tokenizePlaceholders(mt,"liquid")})}return liquid_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1,lisp_1=pt,pt.displayName="lisp",pt.aliases=[];function pt(_e){(function(ft){function mt(Xt){return RegExp(/(\()/.source+"(?:"+Xt+")"+/(?=[\s\)])/.source)}function bt(Xt){return RegExp(/([\s([])/.source+"(?:"+Xt+")"+/(?=[\s)])/.source)}var vt=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,$t="&"+vt,_t="(\\()",Rt="(?=\\))",Pt="(?=\\s)",Ft=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,Bt={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+vt+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+vt),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+vt),alias:"property"},splice:{pattern:RegExp(",@?"+vt),alias:["symbol","variable"]},keyword:[{pattern:RegExp(_t+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+Pt),lookbehind:!0},{pattern:RegExp(_t+"(?:append|by|collect|concat|do|finally|for|in|return)"+Pt),lookbehind:!0}],declare:{pattern:mt(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:mt(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:bt(/nil|t/.source),lookbehind:!0},number:{pattern:bt(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(_t+"def(?:const|custom|group|var)\\s+"+vt),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(vt)}},defun:{pattern:RegExp(_t+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+vt+/\s+\(/.source+Ft+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+vt),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(_t+"lambda\\s+\\(\\s*(?:&?"+vt+"(?:\\s+&?"+vt+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(_t+vt),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},Gt={"lisp-marker":RegExp($t),varform:{pattern:RegExp(/\(/.source+vt+/\s+(?=\S)/.source+Ft+/\)/.source),inside:Bt},argument:{pattern:RegExp(/(^|[\s(])/.source+vt),lookbehind:!0,alias:"variable"},rest:Bt},Wt="\\S+(?:\\s+\\S+)*",Vt={pattern:RegExp(_t+Ft+Rt),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+Wt),inside:Gt},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+Wt),inside:Gt},keys:{pattern:RegExp("&key\\s+"+Wt+"(?:\\s+&allow-other-keys)?"),inside:Gt},argument:{pattern:RegExp(vt),alias:"variable"},punctuation:/[()]/}};Bt.lambda.inside.arguments=Vt,Bt.defun.inside.arguments=ft.util.clone(Vt),Bt.defun.inside.arguments.inside.sublist=Vt,ft.languages.lisp=Bt,ft.languages.elisp=Bt,ft.languages.emacs=Bt,ft.languages["emacs-lisp"]=Bt})(_e)}return lisp_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1,livescript_1=pt,pt.displayName="livescript",pt.aliases=[];function pt(_e){_e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},_e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=_e.languages.livescript}return livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1,llvm_1=pt,pt.displayName="llvm",pt.aliases=[];function pt(_e){(function(ft){ft.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(_e)}return llvm_1}var log_1,hasRequiredLog;function requireLog(){if(hasRequiredLog)return log_1;hasRequiredLog=1,log_1=pt,pt.displayName="log",pt.aliases=[];function pt(_e){_e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:_e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return log_1}var lolcode_1,hasRequiredLolcode;function requireLolcode(){if(hasRequiredLolcode)return lolcode_1;hasRequiredLolcode=1,lolcode_1=pt,pt.displayName="lolcode",pt.aliases=[];function pt(_e){_e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return lolcode_1}var magma_1,hasRequiredMagma;function requireMagma(){if(hasRequiredMagma)return magma_1;hasRequiredMagma=1,magma_1=pt,pt.displayName="magma",pt.aliases=[];function pt(_e){_e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return magma_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1,makefile_1=pt,pt.displayName="makefile",pt.aliases=[];function pt(_e){_e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return makefile_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1,markdown_1=pt,pt.displayName="markdown",pt.aliases=["md"];function pt(_e){(function(ft){var mt=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function bt(Gt){return Gt=Gt.replace(/<inner>/g,function(){return mt}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+Gt+")")}var vt=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,$t=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return vt}),_t=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;ft.languages.markdown=ft.languages.extend("markup",{}),ft.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:ft.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+$t+_t+"(?:"+$t+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+$t+_t+")(?:"+$t+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(vt),inside:ft.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+$t+")"+_t+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+$t+"$"),inside:{"table-header":{pattern:RegExp(vt),alias:"important",inside:ft.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:bt(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:bt(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:bt(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:bt(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(Gt){["url","bold","italic","strike","code-snippet"].forEach(function(Wt){Gt!==Wt&&(ft.languages.markdown[Gt].inside.content.inside[Wt]=ft.languages.markdown[Wt])})}),ft.hooks.add("after-tokenize",function(Gt){if(Gt.language!=="markdown"&&Gt.language!=="md")return;function Wt(Vt){if(!(!Vt||typeof Vt=="string"))for(var Xt=0,er=Vt.length;Xt<er;Xt++){var nr=Vt[Xt];if(nr.type!=="code"){Wt(nr.content);continue}var rr=nr.content[1],tr=nr.content[3];if(rr&&tr&&rr.type==="code-language"&&tr.type==="code-block"&&typeof rr.content=="string"){var or=rr.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");or=(/[a-z][\w-]*/i.exec(or)||[""])[0].toLowerCase();var ar="language-"+or;tr.alias?typeof tr.alias=="string"?tr.alias=[tr.alias,ar]:tr.alias.push(ar):tr.alias=[ar]}}}Wt(Gt.tokens)}),ft.hooks.add("wrap",function(Gt){if(Gt.type==="code-block"){for(var Wt="",Vt=0,Xt=Gt.classes.length;Vt<Xt;Vt++){var er=Gt.classes[Vt],nr=/language-(.+)/.exec(er);if(nr){Wt=nr[1];break}}var rr=ft.languages[Wt];if(rr)Gt.content=ft.highlight(Bt(Gt.content.value),rr,Wt);else if(Wt&&Wt!=="none"&&ft.plugins.autoloader){var tr="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);Gt.attributes.id=tr,ft.plugins.autoloader.loadLanguages(Wt,function(){var or=document.getElementById(tr);or&&(or.innerHTML=ft.highlight(or.textContent,ft.languages[Wt],Wt))})}}});var Rt=RegExp(ft.languages.markup.tag.pattern.source,"gi"),Pt={amp:"&",lt:"<",gt:">",quot:'"'},Ft=String.fromCodePoint||String.fromCharCode;function Bt(Gt){var Wt=Gt.replace(Rt,"");return Wt=Wt.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(Vt,Xt){if(Xt=Xt.toLowerCase(),Xt[0]==="#"){var er;return Xt[1]==="x"?er=parseInt(Xt.slice(2),16):er=Number(Xt.slice(1)),Ft(er)}else{var nr=Pt[Xt];return nr||Vt}}),Wt}ft.languages.md=ft.languages.markdown})(_e)}return markdown_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1,matlab_1=pt,pt.displayName="matlab",pt.aliases=[];function pt(_e){_e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return matlab_1}var maxscript_1,hasRequiredMaxscript;function requireMaxscript(){if(hasRequiredMaxscript)return maxscript_1;hasRequiredMaxscript=1,maxscript_1=pt,pt.displayName="maxscript",pt.aliases=[];function pt(_e){(function(ft){var mt=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;ft.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+mt.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+mt.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:mt,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(_e)}return maxscript_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1,mel_1=pt,pt.displayName="mel",pt.aliases=[];function pt(_e){_e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|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|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|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|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)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},_e.languages.mel.code.inside.rest=_e.languages.mel}return mel_1}var mermaid_1,hasRequiredMermaid;function requireMermaid(){if(hasRequiredMermaid)return mermaid_1;hasRequiredMermaid=1,mermaid_1=pt,pt.displayName="mermaid",pt.aliases=[];function pt(_e){_e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return mermaid_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1,mizar_1=pt,pt.displayName="mizar",pt.aliases=[];function pt(_e){_e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return mizar_1}var mongodb_1,hasRequiredMongodb;function requireMongodb(){if(hasRequiredMongodb)return mongodb_1;hasRequiredMongodb=1,mongodb_1=pt,pt.displayName="mongodb",pt.aliases=[];function pt(_e){(function(ft){var mt=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],bt=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];mt=mt.map(function($t){return $t.replace("$","\\$")});var vt="(?:"+mt.join("|")+")\\b";ft.languages.mongodb=ft.languages.extend("javascript",{}),ft.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+vt+"(?:\\1)?$")}}}),ft.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},ft.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+bt.join("|")+")\\b"),alias:"keyword"}})})(_e)}return mongodb_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1,monkey_1=pt,pt.displayName="monkey",pt.aliases=[];function pt(_e){_e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1,moonscript_1=pt,pt.displayName="moonscript",pt.aliases=["moon"];function pt(_e){_e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},_e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=_e.languages.moonscript,_e.languages.moon=_e.languages.moonscript}return moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1,n1ql_1=pt,pt.displayName="n1ql",pt.aliases=[];function pt(_e){_e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return n1ql_1}var n4js_1,hasRequiredN4js;function requireN4js(){if(hasRequiredN4js)return n4js_1;hasRequiredN4js=1,n4js_1=pt,pt.displayName="n4js",pt.aliases=["n4jsd"];function pt(_e){_e.languages.n4js=_e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),_e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),_e.languages.n4jsd=_e.languages.n4js}return n4js_1}var nand2tetrisHdl_1,hasRequiredNand2tetrisHdl;function requireNand2tetrisHdl(){if(hasRequiredNand2tetrisHdl)return nand2tetrisHdl_1;hasRequiredNand2tetrisHdl=1,nand2tetrisHdl_1=pt,pt.displayName="nand2tetrisHdl",pt.aliases=[];function pt(_e){_e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return nand2tetrisHdl_1}var naniscript_1,hasRequiredNaniscript;function requireNaniscript(){if(hasRequiredNaniscript)return naniscript_1;hasRequiredNaniscript=1,naniscript_1=pt,pt.displayName="naniscript",pt.aliases=[];function pt(_e){(function(ft){var mt=/\{[^\r\n\[\]{}]*\}/,bt={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:mt,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};ft.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:mt,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:bt}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:mt,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:bt},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},ft.languages.nani=ft.languages.naniscript,ft.hooks.add("after-tokenize",function(_t){var Rt=_t.tokens;Rt.forEach(function(Pt){if(typeof Pt!="string"&&Pt.type==="generic-text"){var Ft=$t(Pt);vt(Ft)||(Pt.type="bad-line",Pt.content=Ft)}})});function vt(_t){for(var Rt="[]{}",Pt=[],Ft=0;Ft<_t.length;Ft++){var Bt=_t[Ft],Gt=Rt.indexOf(Bt);if(Gt!==-1){if(Gt%2===0)Pt.push(Gt+1);else if(Pt.pop()!==Gt)return!1}}return Pt.length===0}function $t(_t){return typeof _t=="string"?_t:Array.isArray(_t)?_t.map($t).join(""):$t(_t.content)}})(_e)}return naniscript_1}var nasm_1,hasRequiredNasm;function requireNasm(){if(hasRequiredNasm)return nasm_1;hasRequiredNasm=1,nasm_1=pt,pt.displayName="nasm",pt.aliases=[];function pt(_e){_e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}return nasm_1}var neon_1,hasRequiredNeon;function requireNeon(){if(hasRequiredNeon)return neon_1;hasRequiredNeon=1,neon_1=pt,pt.displayName="neon",pt.aliases=[];function pt(_e){_e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return neon_1}var nevod_1,hasRequiredNevod;function requireNevod(){if(hasRequiredNevod)return nevod_1;hasRequiredNevod=1,nevod_1=pt,pt.displayName="nevod",pt.aliases=[];function pt(_e){_e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return nevod_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1,nginx_1=pt,pt.displayName="nginx",pt.aliases=[];function pt(_e){(function(ft){var mt=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;ft.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:mt}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:mt}},punctuation:/[{};]/}})(_e)}return nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1,nim_1=pt,pt.displayName="nim",pt.aliases=[];function pt(_e){_e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1,nix_1=pt,pt.displayName="nix",pt.aliases=[];function pt(_e){_e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},_e.languages.nix.string.inside.interpolation.inside=_e.languages.nix}return nix_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1,nsis_1=pt,pt.displayName="nsis",pt.aliases=[];function pt(_e){_e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?: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|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;var pt=requireC();objectivec_1=_e,_e.displayName="objectivec",_e.aliases=["objc"];function _e(ft){ft.register(pt),ft.languages.objectivec=ft.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete ft.languages.objectivec["class-name"],ft.languages.objc=ft.languages.objectivec}return objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1,ocaml_1=pt,pt.displayName="ocaml",pt.aliases=[];function pt(_e){_e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return ocaml_1}var opencl_1,hasRequiredOpencl;function requireOpencl(){if(hasRequiredOpencl)return opencl_1;hasRequiredOpencl=1;var pt=requireC();opencl_1=_e,_e.displayName="opencl",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){mt.languages.opencl=mt.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),mt.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var bt={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};mt.languages.insertBefore("c","keyword",bt),mt.languages.cpp&&(bt["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},mt.languages.insertBefore("cpp","keyword",bt))}(ft)}return opencl_1}var openqasm_1,hasRequiredOpenqasm;function requireOpenqasm(){if(hasRequiredOpenqasm)return openqasm_1;hasRequiredOpenqasm=1,openqasm_1=pt,pt.displayName="openqasm",pt.aliases=["qasm"];function pt(_e){_e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},_e.languages.qasm=_e.languages.openqasm}return openqasm_1}var oz_1,hasRequiredOz;function requireOz(){if(hasRequiredOz)return oz_1;hasRequiredOz=1,oz_1=pt,pt.displayName="oz",pt.aliases=[];function pt(_e){_e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return oz_1}var parigp_1,hasRequiredParigp;function requireParigp(){if(hasRequiredParigp)return parigp_1;hasRequiredParigp=1,parigp_1=pt,pt.displayName="parigp",pt.aliases=[];function pt(_e){_e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var ft=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return ft=ft.map(function(mt){return mt.split("").join(" *")}).join("|"),RegExp("\\b(?:"+ft+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return parigp_1}var parser_1,hasRequiredParser;function requireParser(){if(hasRequiredParser)return parser_1;hasRequiredParser=1,parser_1=pt,pt.displayName="parser",pt.aliases=[];function pt(_e){(function(ft){var mt=ft.languages.parser=ft.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});mt=ft.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:mt.keyword,variable:mt.variable,function:mt.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:mt.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:mt.punctuation}}}),ft.languages.insertBefore("inside","punctuation",{expression:mt.expression,keyword:mt.keyword,variable:mt.variable,function:mt.function,escape:mt.escape,"parser-punctuation":{pattern:mt.punctuation,alias:"punctuation"}},mt.tag.inside["attr-value"])})(_e)}return parser_1}var pascal_1,hasRequiredPascal;function requirePascal(){if(hasRequiredPascal)return pascal_1;hasRequiredPascal=1,pascal_1=pt,pt.displayName="pascal",pt.aliases=["objectpascal"];function pt(_e){_e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},_e.languages.pascal.asm.inside=_e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),_e.languages.objectpascal=_e.languages.pascal}return pascal_1}var pascaligo_1,hasRequiredPascaligo;function requirePascaligo(){if(hasRequiredPascaligo)return pascaligo_1;hasRequiredPascaligo=1,pascaligo_1=pt,pt.displayName="pascaligo",pt.aliases=[];function pt(_e){(function(ft){var mt=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,bt=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return mt}),vt=ft.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return bt}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return bt}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return bt})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},$t=["comment","keyword","builtin","operator","punctuation"].reduce(function(_t,Rt){return _t[Rt]=vt[Rt],_t},{});vt["class-name"].forEach(function(_t){_t.inside=$t})})(_e)}return pascaligo_1}var pcaxis_1,hasRequiredPcaxis;function requirePcaxis(){if(hasRequiredPcaxis)return pcaxis_1;hasRequiredPcaxis=1,pcaxis_1=pt,pt.displayName="pcaxis",pt.aliases=["px"];function pt(_e){_e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},_e.languages.px=_e.languages.pcaxis}return pcaxis_1}var peoplecode_1,hasRequiredPeoplecode;function requirePeoplecode(){if(hasRequiredPeoplecode)return peoplecode_1;hasRequiredPeoplecode=1,peoplecode_1=pt,pt.displayName="peoplecode",pt.aliases=["pcode"];function pt(_e){_e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},_e.languages.pcode=_e.languages.peoplecode}return peoplecode_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1,perl_1=pt,pt.displayName="perl",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;ft.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,mt].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,mt].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,mt+/\s*/.source+mt].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(_e)}return perl_1}var phpExtras_1,hasRequiredPhpExtras;function requirePhpExtras(){if(hasRequiredPhpExtras)return phpExtras_1;hasRequiredPhpExtras=1;var pt=requirePhp();phpExtras_1=_e,_e.displayName="phpExtras",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return phpExtras_1}var phpdoc_1,hasRequiredPhpdoc;function requirePhpdoc(){if(hasRequiredPhpdoc)return phpdoc_1;hasRequiredPhpdoc=1;var pt=requirePhp(),_e=requireJavadoclike();phpdoc_1=ft,ft.displayName="phpdoc",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){var vt=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;bt.languages.phpdoc=bt.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+vt+"\\s+)?)\\$\\w+"),lookbehind:!0}}),bt.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+vt),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),bt.languages.javadoclike.addSupport("php",bt.languages.phpdoc)}(mt)}return phpdoc_1}var plsql_1,hasRequiredPlsql;function requirePlsql(){if(hasRequiredPlsql)return plsql_1;hasRequiredPlsql=1;var pt=requireSql();plsql_1=_e,_e.displayName="plsql",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.plsql=ft.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),ft.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return plsql_1}var powerquery_1,hasRequiredPowerquery;function requirePowerquery(){if(hasRequiredPowerquery)return powerquery_1;hasRequiredPowerquery=1,powerquery_1=pt,pt.displayName="powerquery",pt.aliases=[];function pt(_e){_e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},_e.languages.pq=_e.languages.powerquery,_e.languages.mscript=_e.languages.powerquery}return powerquery_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1,powershell_1=pt,pt.displayName="powershell",pt.aliases=[];function pt(_e){(function(ft){var mt=ft.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};mt.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:mt},boolean:mt.boolean,variable:mt.variable}})(_e)}return powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1,processing_1=pt,pt.displayName="processing",pt.aliases=[];function pt(_e){_e.languages.processing=_e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),_e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return processing_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1,prolog_1=pt,pt.displayName="prolog",pt.aliases=[];function pt(_e){_e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return prolog_1}var promql_1,hasRequiredPromql;function requirePromql(){if(hasRequiredPromql)return promql_1;hasRequiredPromql=1,promql_1=pt,pt.displayName="promql",pt.aliases=[];function pt(_e){(function(ft){var mt=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],bt=["on","ignoring","group_right","group_left","by","without"],vt=["offset"],$t=mt.concat(bt,vt);ft.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+bt.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+$t.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(_e)}return promql_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1,properties_1=pt,pt.displayName="properties",pt.aliases=[];function pt(_e){_e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1,protobuf_1=pt,pt.displayName="protobuf",pt.aliases=[];function pt(_e){(function(ft){var mt=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;ft.languages.protobuf=ft.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),ft.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:mt}},builtin:mt,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(_e)}return protobuf_1}var psl_1,hasRequiredPsl;function requirePsl(){if(hasRequiredPsl)return psl_1;hasRequiredPsl=1,psl_1=pt,pt.displayName="psl",pt.aliases=[];function pt(_e){_e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return psl_1}var pug_1,hasRequiredPug;function requirePug(){if(hasRequiredPug)return pug_1;hasRequiredPug=1,pug_1=pt,pt.displayName="pug",pt.aliases=[];function pt(_e){(function(ft){ft.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:ft.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:ft.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:ft.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:ft.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:ft.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:ft.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:ft.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:ft.languages.javascript}],punctuation:/[.\-!=|]+/};for(var mt=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,bt=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],vt={},$t=0,_t=bt.length;$t<_t;$t++){var Rt=bt[$t];Rt=typeof Rt=="string"?{filter:Rt,language:Rt}:Rt,ft.languages[Rt.language]&&(vt["filter-"+Rt.filter]={pattern:RegExp(mt.replace("<filter_name>",function(){return Rt.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[Rt.language,"language-"+Rt.language],inside:ft.languages[Rt.language]}}})}ft.languages.insertBefore("pug","filter",vt)})(_e)}return pug_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1,puppet_1=pt,pt.displayName="puppet",pt.aliases=[];function pt(_e){(function(ft){ft.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var mt=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:ft.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];ft.languages.puppet.heredoc[0].inside.interpolation=mt,ft.languages.puppet.string.inside["double-quoted"].inside.interpolation=mt})(_e)}return puppet_1}var pure_1,hasRequiredPure;function requirePure(){if(hasRequiredPure)return pure_1;hasRequiredPure=1,pure_1=pt,pt.displayName="pure",pt.aliases=[];function pt(_e){(function(ft){ft.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var mt=["c",{lang:"c++",alias:"cpp"},"fortran"],bt=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;mt.forEach(function(vt){var $t=vt;if(typeof vt!="string"&&($t=vt.alias,vt=vt.lang),ft.languages[$t]){var _t={};_t["inline-lang-"+$t]={pattern:RegExp(bt.replace("<lang>",vt.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:ft.util.clone(ft.languages.pure["inline-lang"].inside)},_t["inline-lang-"+$t].inside.rest=ft.util.clone(ft.languages[$t]),ft.languages.insertBefore("pure","inline-lang",_t)}}),ft.languages.c&&(ft.languages.pure["inline-lang"].inside.rest=ft.util.clone(ft.languages.c))})(_e)}return pure_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1,purebasic_1=pt,pt.displayName="purebasic",pt.aliases=[];function pt(_e){_e.languages.purebasic=_e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|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|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),_e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete _e.languages.purebasic["class-name"],delete _e.languages.purebasic.boolean,_e.languages.pbfasm=_e.languages.purebasic}return purebasic_1}var purescript_1,hasRequiredPurescript;function requirePurescript(){if(hasRequiredPurescript)return purescript_1;hasRequiredPurescript=1;var pt=requireHaskell();purescript_1=_e,_e.displayName="purescript",_e.aliases=["purs"];function _e(ft){ft.register(pt),ft.languages.purescript=ft.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[ft.languages.haskell.operator[0],ft.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),ft.languages.purs=ft.languages.purescript}return purescript_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1,python_1=pt,pt.displayName="python",pt.aliases=["py"];function pt(_e){_e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},_e.languages.python["string-interpolation"].inside.interpolation.inside.rest=_e.languages.python,_e.languages.py=_e.languages.python}return python_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1,q_1=pt,pt.displayName="q",pt.aliases=[];function pt(_e){_e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1,qml_1=pt,pt.displayName="qml",pt.aliases=[];function pt(_e){(function(ft){for(var mt=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,bt=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,vt=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return mt}).replace(/<comment>/g,function(){return bt}),$t=0;$t<2;$t++)vt=vt.replace(/<expr>/g,function(){return vt});vt=vt.replace(/<expr>/g,"[^\\s\\S]"),ft.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return vt}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:ft.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return vt}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:ft.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(_e)}return qml_1}var qore_1,hasRequiredQore;function requireQore(){if(hasRequiredQore)return qore_1;hasRequiredQore=1,qore_1=pt,pt.displayName="qore",pt.aliases=[];function pt(_e){_e.languages.qore=_e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return qore_1}var qsharp_1,hasRequiredQsharp;function requireQsharp(){if(hasRequiredQsharp)return qsharp_1;hasRequiredQsharp=1,qsharp_1=pt,pt.displayName="qsharp",pt.aliases=["qs"];function pt(_e){(function(ft){function mt(Vt,Xt){return Vt.replace(/<<(\d+)>>/g,function(er,nr){return"(?:"+Xt[+nr]+")"})}function bt(Vt,Xt,er){return RegExp(mt(Vt,Xt),er||"")}function vt(Vt,Xt){for(var er=0;er<Xt;er++)Vt=Vt.replace(/<<self>>/g,function(){return"(?:"+Vt+")"});return Vt.replace(/<<self>>/g,"[^\\s\\S]")}var $t={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function _t(Vt){return"\\b(?:"+Vt.trim().replace(/ /g,"|")+")\\b"}var Rt=RegExp(_t($t.type+" "+$t.other)),Pt=/\b[A-Za-z_]\w*\b/.source,Ft=mt(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[Pt]),Bt={keyword:Rt,punctuation:/[<>()?,.:[\]]/},Gt=/"(?:\\.|[^\\"])*"/.source;ft.languages.qsharp=ft.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:bt(/(^|[^$\\])<<0>>/.source,[Gt]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:bt(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Ft]),lookbehind:!0,inside:Bt},{pattern:bt(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Ft]),lookbehind:!0,inside:Bt}],keyword:Rt,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),ft.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var Wt=vt(mt(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[Gt]),2);ft.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:bt(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[Wt]),greedy:!0,inside:{interpolation:{pattern:bt(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[Wt]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:ft.languages.qsharp}}},string:/[\s\S]+/}}})})(_e),_e.languages.qs=_e.languages.qsharp}return qsharp_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1,r_1=pt,pt.displayName="r",pt.aliases=[];function pt(_e){_e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return r_1}var racket_1,hasRequiredRacket;function requireRacket(){if(hasRequiredRacket)return racket_1;hasRequiredRacket=1;var pt=requireScheme();racket_1=_e,_e.displayName="racket",_e.aliases=["rkt"];function _e(ft){ft.register(pt),ft.languages.racket=ft.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),ft.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),ft.languages.rkt=ft.languages.racket}return racket_1}var reason_1,hasRequiredReason;function requireReason(){if(hasRequiredReason)return reason_1;hasRequiredReason=1,reason_1=pt,pt.displayName="reason",pt.aliases=[];function pt(_e){_e.languages.reason=_e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),_e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete _e.languages.reason.function}return reason_1}var regex_1,hasRequiredRegex;function requireRegex(){if(hasRequiredRegex)return regex_1;hasRequiredRegex=1,regex_1=pt,pt.displayName="regex",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},bt=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,vt={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},$t={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},_t="(?:[^\\\\-]|"+bt.source+")",Rt=RegExp(_t+"-"+_t),Pt={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};ft.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:Rt,inside:{escape:bt,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":mt,"char-set":$t,escape:bt}},"special-escape":mt,"char-set":vt,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":Pt}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:bt,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":Pt}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(_e)}return regex_1}var rego_1,hasRequiredRego;function requireRego(){if(hasRequiredRego)return rego_1;hasRequiredRego=1,rego_1=pt,pt.displayName="rego",pt.aliases=[];function pt(_e){_e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return rego_1}var renpy_1,hasRequiredRenpy;function requireRenpy(){if(hasRequiredRenpy)return renpy_1;hasRequiredRenpy=1,renpy_1=pt,pt.displayName="renpy",pt.aliases=["rpy"];function pt(_e){_e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},_e.languages.rpy=_e.languages.renpy}return renpy_1}var rest_1,hasRequiredRest;function requireRest(){if(hasRequiredRest)return rest_1;hasRequiredRest=1,rest_1=pt,pt.displayName="rest",pt.aliases=[];function pt(_e){_e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return rest_1}var rip_1,hasRequiredRip;function requireRip(){if(hasRequiredRip)return rip_1;hasRequiredRip=1,rip_1=pt,pt.displayName="rip",pt.aliases=[];function pt(_e){_e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return rip_1}var roboconf_1,hasRequiredRoboconf;function requireRoboconf(){if(hasRequiredRoboconf)return roboconf_1;hasRequiredRoboconf=1,roboconf_1=pt,pt.displayName="roboconf",pt.aliases=[];function pt(_e){_e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return roboconf_1}var robotframework_1,hasRequiredRobotframework;function requireRobotframework(){if(hasRequiredRobotframework)return robotframework_1;hasRequiredRobotframework=1,robotframework_1=pt,pt.displayName="robotframework",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},bt={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function vt(Pt,Ft){var Bt={};Bt["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var Gt in Ft)Bt[Gt]=Ft[Gt];return Bt.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},Bt.variable=bt,Bt.comment=mt,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return Pt}),"im"),alias:"section",inside:Bt}}var $t={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},_t={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:bt}},Rt={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:bt}};ft.languages.robotframework={settings:vt("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:vt("Variables"),"test-cases":vt("Test Cases",{"test-name":_t,documentation:$t,property:Rt}),keywords:vt("Keywords",{"keyword-name":_t,documentation:$t,property:Rt}),tasks:vt("Tasks",{"task-name":_t,documentation:$t,property:Rt}),comment:mt},ft.languages.robot=ft.languages.robotframework})(_e)}return robotframework_1}var rust_1,hasRequiredRust;function requireRust(){if(hasRequiredRust)return rust_1;hasRequiredRust=1,rust_1=pt,pt.displayName="rust",pt.aliases=[];function pt(_e){(function(ft){for(var mt=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,bt=0;bt<2;bt++)mt=mt.replace(/<self>/g,function(){return mt});mt=mt.replace(/<self>/g,function(){return/[^\s\S]/.source}),ft.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+mt),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},ft.languages.rust["closure-params"].inside.rest=ft.languages.rust,ft.languages.rust.attribute.inside.string=ft.languages.rust.string})(_e)}return rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1,sas_1=pt,pt.displayName="sas",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,bt=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,vt={pattern:RegExp(mt+"[bx]"),alias:"number"},$t={pattern:/&[a-z_]\w*/i},_t={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},Rt={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},Pt=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Ft={pattern:RegExp(mt),greedy:!0},Bt=/[$%@.(){}\[\];,\\]/,Gt={pattern:/%?\b\w+(?=\()/,alias:"keyword"},Wt={function:Gt,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":$t,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:bt,"numeric-constant":vt,punctuation:Bt,string:Ft},Vt={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},Xt={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},er={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},nr={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},rr=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,tr={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return rr}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return rr}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:Pt,function:Gt,"arg-value":Wt["arg-value"],operator:Wt.operator,argument:Wt.arg,number:bt,"numeric-constant":vt,punctuation:Bt,string:Ft}},or={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};ft.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return mt}),"im"),alias:"language-sql",inside:ft.languages.sql},"global-statements":er,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:bt,"numeric-constant":vt,punctuation:Bt,string:Ft}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Pt,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return mt}),"im"),lookbehind:!0,alias:"language-groovy",inside:ft.languages.groovy},keyword:or,"submit-statement":nr,"global-statements":er,number:bt,"numeric-constant":vt,punctuation:Bt,string:Ft}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Pt,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return mt}),"im"),lookbehind:!0,alias:"language-lua",inside:ft.languages.lua},keyword:or,"submit-statement":nr,"global-statements":er,number:bt,"numeric-constant":vt,punctuation:Bt,string:Ft}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Pt,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:Wt}},"cas-actions":tr,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:Wt},step:Rt,keyword:or,function:Gt,format:Vt,altformat:Xt,"global-statements":er,number:bt,"numeric-constant":vt,punctuation:Bt,string:Ft}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return mt}),"im"),lookbehind:!0,inside:Wt},"macro-keyword":_t,"macro-variable":$t,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":_t,"macro-variable":$t,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:Bt}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:Pt,number:bt,"numeric-constant":vt}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:Wt},"cas-actions":tr,comment:Pt,function:Gt,format:Vt,altformat:Xt,"numeric-constant":vt,datetime:{pattern:RegExp(mt+"(?:dt?|t)"),alias:"number"},string:Ft,step:Rt,keyword:or,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:bt,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:Bt}})(_e)}return sas_1}var sass_1,hasRequiredSass;function requireSass(){if(hasRequiredSass)return sass_1;hasRequiredSass=1,sass_1=pt,pt.displayName="sass",pt.aliases=[];function pt(_e){(function(ft){ft.languages.sass=ft.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),ft.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete ft.languages.sass.atrule;var mt=/\$[-\w]+|#\{\$[-\w]+\}/,bt=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];ft.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:mt,operator:bt}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:mt,operator:bt,important:ft.languages.sass.important}}}),delete ft.languages.sass.property,delete ft.languages.sass.important,ft.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(_e)}return sass_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;var pt=requireJava();scala_1=_e,_e.displayName="scala",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.scala=ft.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),ft.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:ft.languages.scala}}},string:/[\s\S]+/}}}),delete ft.languages.scala["class-name"],delete ft.languages.scala.function}return scala_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1,scss_1=pt,pt.displayName="scss",pt.aliases=[];function pt(_e){_e.languages.scss=_e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),_e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),_e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),_e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),_e.languages.scss.atrule.inside.rest=_e.languages.scss}return scss_1}var shellSession_1,hasRequiredShellSession;function requireShellSession(){if(hasRequiredShellSession)return shellSession_1;hasRequiredShellSession=1;var pt=requireBash();shellSession_1=_e,_e.displayName="shellSession",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){var bt=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");mt.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return bt}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:mt.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},mt.languages["sh-session"]=mt.languages.shellsession=mt.languages["shell-session"]}(ft)}return shellSession_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1,smali_1=pt,pt.displayName="smali",pt.aliases=[];function pt(_e){_e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1,smalltalk_1=pt,pt.displayName="smalltalk",pt.aliases=[];function pt(_e){_e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return smalltalk_1}var smarty_1,hasRequiredSmarty;function requireSmarty(){if(hasRequiredSmarty)return smarty_1;hasRequiredSmarty=1;var pt=requireMarkupTemplating();smarty_1=_e,_e.displayName="smarty",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){mt.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:mt.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},mt.languages.smarty["embedded-php"].inside.smarty.inside=mt.languages.smarty,mt.languages.smarty.string[0].inside.interpolation.inside.expression.inside=mt.languages.smarty;var bt=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,vt=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return bt.source}),"g");mt.hooks.add("before-tokenize",function($t){var _t="{literal}",Rt="{/literal}",Pt=!1;mt.languages["markup-templating"].buildPlaceholders($t,"smarty",vt,function(Ft){return Ft===Rt&&(Pt=!1),Pt?!1:(Ft===_t&&(Pt=!0),!0)})}),mt.hooks.add("after-tokenize",function($t){mt.languages["markup-templating"].tokenizePlaceholders($t,"smarty")})}(ft)}return smarty_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1,sml_1=pt,pt.displayName="sml",pt.aliases=["smlnj"];function pt(_e){(function(ft){var mt=/\b(?: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|where|while|with|withtype)\b/i;ft.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return mt.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:mt,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},ft.languages.sml["class-name"][0].inside=ft.languages.sml,ft.languages.smlnj=ft.languages.sml})(_e)}return sml_1}var solidity_1,hasRequiredSolidity;function requireSolidity(){if(hasRequiredSolidity)return solidity_1;hasRequiredSolidity=1,solidity_1=pt,pt.displayName="solidity",pt.aliases=["sol"];function pt(_e){_e.languages.solidity=_e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),_e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),_e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),_e.languages.sol=_e.languages.solidity}return solidity_1}var solutionFile_1,hasRequiredSolutionFile;function requireSolutionFile(){if(hasRequiredSolutionFile)return solutionFile_1;hasRequiredSolutionFile=1,solutionFile_1=pt,pt.displayName="solutionFile",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};ft.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:mt}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:mt}},guid:mt,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},ft.languages.sln=ft.languages["solution-file"]})(_e)}return solutionFile_1}var soy_1,hasRequiredSoy;function requireSoy(){if(hasRequiredSoy)return soy_1;hasRequiredSoy=1;var pt=requireMarkupTemplating();soy_1=_e,_e.displayName="soy",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){var bt=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,vt=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;mt.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:bt,greedy:!0},number:vt,punctuation:/[\[\].?]/}},string:{pattern:bt,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:vt,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},mt.hooks.add("before-tokenize",function($t){var _t=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Rt="{literal}",Pt="{/literal}",Ft=!1;mt.languages["markup-templating"].buildPlaceholders($t,"soy",_t,function(Bt){return Bt===Pt&&(Ft=!1),Ft?!1:(Bt===Rt&&(Ft=!0),!0)})}),mt.hooks.add("after-tokenize",function($t){mt.languages["markup-templating"].tokenizePlaceholders($t,"soy")})}(ft)}return soy_1}var turtle_1,hasRequiredTurtle;function requireTurtle(){if(hasRequiredTurtle)return turtle_1;hasRequiredTurtle=1,turtle_1=pt,pt.displayName="turtle",pt.aliases=[];function pt(_e){_e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},_e.languages.trig=_e.languages.turtle}return turtle_1}var sparql_1,hasRequiredSparql;function requireSparql(){if(hasRequiredSparql)return sparql_1;hasRequiredSparql=1;var pt=requireTurtle();sparql_1=_e,_e.displayName="sparql",_e.aliases=["rq"];function _e(ft){ft.register(pt),ft.languages.sparql=ft.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),ft.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),ft.languages.rq=ft.languages.sparql}return sparql_1}var splunkSpl_1,hasRequiredSplunkSpl;function requireSplunkSpl(){if(hasRequiredSplunkSpl)return splunkSpl_1;hasRequiredSplunkSpl=1,splunkSpl_1=pt,pt.displayName="splunkSpl",pt.aliases=[];function pt(_e){_e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return splunkSpl_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1,sqf_1=pt,pt.displayName="sqf",pt.aliases=[];function pt(_e){_e.languages.sqf=_e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|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|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|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|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|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|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|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|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|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|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|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_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|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|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|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|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|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|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|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|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|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|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|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|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|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|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|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|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|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|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|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|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|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),_e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:_e.languages.sqf.comment}}}),delete _e.languages.sqf["class-name"]}return sqf_1}var squirrel_1,hasRequiredSquirrel;function requireSquirrel(){if(hasRequiredSquirrel)return squirrel_1;hasRequiredSquirrel=1,squirrel_1=pt,pt.displayName="squirrel",pt.aliases=[];function pt(_e){_e.languages.squirrel=_e.languages.extend("clike",{comment:[_e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),_e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),_e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return squirrel_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1,stan_1=pt,pt.displayName="stan",pt.aliases=[];function pt(_e){(function(ft){var mt=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;ft.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+mt.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,mt],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},ft.languages.stan.constraint.inside.expression.inside=ft.languages.stan})(_e)}return stan_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1,stylus_1=pt,pt.displayName="stylus",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},bt={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},vt={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|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|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:mt,number:bt,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:mt,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:bt,punctuation:/[{}()\[\];:,]/};vt.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:vt}},vt.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:vt}},ft.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:vt}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:vt}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:vt}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:vt.interpolation}},rest:vt}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:vt.interpolation,comment:vt.comment,punctuation:/[{},]/}},func:vt.func,string:vt.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:vt.interpolation,punctuation:/[{}()\[\];:.]/}})(_e)}return stylus_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1,swift_1=pt,pt.displayName="swift",pt.aliases=[];function pt(_e){_e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},_e.languages.swift["string-literal"].forEach(function(ft){ft.inside.interpolation.inside=_e.languages.swift})}return swift_1}var systemd_1,hasRequiredSystemd;function requireSystemd(){if(hasRequiredSystemd)return systemd_1;hasRequiredSystemd=1,systemd_1=pt,pt.displayName="systemd",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/^[;#].*/m,greedy:!0},bt=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;ft.languages.systemd={comment:mt,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+bt+`|(?=[^"\r
809
- ]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+bt+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:mt,quoted:{pattern:RegExp(/(^|\s)/.source+bt),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(_e)}return systemd_1}var t4Templating_1,hasRequiredT4Templating;function requireT4Templating(){if(hasRequiredT4Templating)return t4Templating_1;hasRequiredT4Templating=1,t4Templating_1=pt,pt.displayName="t4Templating",pt.aliases=[];function pt(_e){(function(ft){function mt(vt,$t,_t){return{pattern:RegExp("<#"+vt+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+vt+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:$t,alias:_t}}}}function bt(vt){var $t=ft.languages[vt],_t="language-"+vt;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:mt("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:mt("=",$t,_t),"class-feature":mt("\\+",$t,_t),standard:mt("",$t,_t)}}}}ft.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:bt})})(_e)}return t4Templating_1}var t4Cs_1,hasRequiredT4Cs;function requireT4Cs(){if(hasRequiredT4Cs)return t4Cs_1;hasRequiredT4Cs=1;var pt=requireT4Templating(),_e=requireCsharp();t4Cs_1=ft,ft.displayName="t4Cs",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),mt.languages.t4=mt.languages["t4-cs"]=mt.languages["t4-templating"].createT4("csharp")}return t4Cs_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;var pt=requireBasic();vbnet_1=_e,_e.displayName="vbnet",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.vbnet=ft.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return vbnet_1}var t4Vb_1,hasRequiredT4Vb;function requireT4Vb(){if(hasRequiredT4Vb)return t4Vb_1;hasRequiredT4Vb=1;var pt=requireT4Templating(),_e=requireVbnet();t4Vb_1=ft,ft.displayName="t4Vb",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),mt.languages["t4-vb"]=mt.languages["t4-templating"].createT4("vbnet")}return t4Vb_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1,yaml_1=pt,pt.displayName="yaml",pt.aliases=["yml"];function pt(_e){(function(ft){var mt=/[*&][^\s[\]{},]+/,bt=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,vt="(?:"+bt.source+"(?:[ ]+"+mt.source+")?|"+mt.source+"(?:[ ]+"+bt.source+")?)",$t=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),_t=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function Rt(Pt,Ft){Ft=(Ft||"").replace(/m/g,"")+"m";var Bt=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return vt}).replace(/<<value>>/g,function(){return Pt});return RegExp(Bt,Ft)}ft.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return vt})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return vt}).replace(/<<key>>/g,function(){return"(?:"+$t+"|"+_t+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:Rt(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:Rt(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:Rt(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:Rt(_t),lookbehind:!0,greedy:!0},number:{pattern:Rt(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:bt,important:mt,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},ft.languages.yml=ft.languages.yaml})(_e)}return yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;var pt=requireYaml();tap_1=_e,_e.displayName="tap",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:ft.languages.yaml,alias:"language-yaml"}}}return tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1,tcl_1=pt,pt.displayName="tcl",pt.aliases=[];function pt(_e){_e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return tcl_1}var textile_1,hasRequiredTextile;function requireTextile(){if(hasRequiredTextile)return textile_1;hasRequiredTextile=1,textile_1=pt,pt.displayName="textile",pt.aliases=[];function pt(_e){(function(ft){var mt=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,bt=/\)|\((?![^|()\n]+\))/.source;function vt(Gt,Wt){return RegExp(Gt.replace(/<MOD>/g,function(){return"(?:"+mt+")"}).replace(/<PAR>/g,function(){return"(?:"+bt+")"}),Wt||"")}var $t={css:{pattern:/\{[^{}]+\}/,inside:{rest:ft.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},_t=ft.languages.textile=ft.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:vt(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:vt(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:$t},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:vt(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:vt(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:$t},punctuation:/^[*#]+/}},table:{pattern:vt(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:vt(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:$t},punctuation:/\||^\./}},inline:{pattern:vt(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:vt(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:vt(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:vt(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:vt(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:vt(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:vt(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:vt(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:vt(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:$t},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:vt(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:vt(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:vt(/(^")<MOD>+/.source),lookbehind:!0,inside:$t},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:vt(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:vt(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:vt(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:$t},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),Rt=_t.phrase.inside,Pt={inline:Rt.inline,link:Rt.link,image:Rt.image,footnote:Rt.footnote,acronym:Rt.acronym,mark:Rt.mark};_t.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Ft=Rt.inline.inside;Ft.bold.inside=Pt,Ft.italic.inside=Pt,Ft.inserted.inside=Pt,Ft.deleted.inside=Pt,Ft.span.inside=Pt;var Bt=Rt.table.inside;Bt.inline=Pt.inline,Bt.link=Pt.link,Bt.image=Pt.image,Bt.footnote=Pt.footnote,Bt.acronym=Pt.acronym,Bt.mark=Pt.mark})(_e)}return textile_1}var toml_1,hasRequiredToml;function requireToml(){if(hasRequiredToml)return toml_1;hasRequiredToml=1,toml_1=pt,pt.displayName="toml",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function bt(vt){return vt.replace(/__/g,function(){return mt})}ft.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(bt(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(bt(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(_e)}return toml_1}var tremor_1,hasRequiredTremor;function requireTremor(){if(hasRequiredTremor)return tremor_1;hasRequiredTremor=1,tremor_1=pt,pt.displayName="tremor",pt.aliases=[];function pt(_e){(function(ft){ft.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var mt=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;ft.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+mt+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+mt+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(mt),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:ft.languages.tremor}}},string:/[\s\S]+/}},ft.languages.troy=ft.languages.tremor,ft.languages.trickle=ft.languages.tremor})(_e)}return tremor_1}var tsx_1,hasRequiredTsx;function requireTsx(){if(hasRequiredTsx)return tsx_1;hasRequiredTsx=1;var pt=requireJsx(),_e=requireTypescript();tsx_1=ft,ft.displayName="tsx",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){var vt=bt.util.clone(bt.languages.typescript);bt.languages.tsx=bt.languages.extend("jsx",vt),delete bt.languages.tsx.parameter,delete bt.languages.tsx["literal-property"];var $t=bt.languages.tsx.tag;$t.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+$t.pattern.source+")",$t.pattern.flags),$t.lookbehind=!0}(mt)}return tsx_1}var tt2_1,hasRequiredTt2;function requireTt2(){if(hasRequiredTt2)return tt2_1;hasRequiredTt2=1;var pt=requireMarkupTemplating();tt2_1=_e,_e.displayName="tt2",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){mt.languages.tt2=mt.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),mt.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),mt.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),mt.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete mt.languages.tt2.string,mt.hooks.add("before-tokenize",function(bt){var vt=/\[%[\s\S]+?%\]/g;mt.languages["markup-templating"].buildPlaceholders(bt,"tt2",vt)}),mt.hooks.add("after-tokenize",function(bt){mt.languages["markup-templating"].tokenizePlaceholders(bt,"tt2")})}(ft)}return tt2_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;var pt=requireMarkupTemplating();twig_1=_e,_e.displayName="twig",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},ft.hooks.add("before-tokenize",function(mt){if(mt.language==="twig"){var bt=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;ft.languages["markup-templating"].buildPlaceholders(mt,"twig",bt)}}),ft.hooks.add("after-tokenize",function(mt){ft.languages["markup-templating"].tokenizePlaceholders(mt,"twig")})}return twig_1}var typoscript_1,hasRequiredTyposcript;function requireTyposcript(){if(hasRequiredTyposcript)return typoscript_1;hasRequiredTyposcript=1,typoscript_1=pt,pt.displayName="typoscript",pt.aliases=["tsconfig"];function pt(_e){(function(ft){var mt=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;ft.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:mt}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:mt,number:/^\d+$/,punctuation:/[,|:]/}},keyword:mt,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},ft.languages.tsconfig=ft.languages.typoscript})(_e)}return typoscript_1}var unrealscript_1,hasRequiredUnrealscript;function requireUnrealscript(){if(hasRequiredUnrealscript)return unrealscript_1;hasRequiredUnrealscript=1,unrealscript_1=pt,pt.displayName="unrealscript",pt.aliases=["uc","uscript"];function pt(_e){_e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},_e.languages.uc=_e.languages.uscript=_e.languages.unrealscript}return unrealscript_1}var uorazor_1,hasRequiredUorazor;function requireUorazor(){if(hasRequiredUorazor)return uorazor_1;hasRequiredUorazor=1,uorazor_1=pt,pt.displayName="uorazor",pt.aliases=[];function pt(_e){_e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return uorazor_1}var uri_1,hasRequiredUri;function requireUri(){if(hasRequiredUri)return uri_1;hasRequiredUri=1,uri_1=pt,pt.displayName="uri",pt.aliases=["url"];function pt(_e){_e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},_e.languages.url=_e.languages.uri}return uri_1}var v_1,hasRequiredV;function requireV(){if(hasRequiredV)return v_1;hasRequiredV=1,v_1=pt,pt.displayName="v",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/[\s\S]+/,inside:null};ft.languages.v=ft.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":mt}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),mt.inside=ft.languages.v,ft.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),ft.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),ft.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:ft.languages.v.generic.inside}}}})})(_e)}return v_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1,vala_1=pt,pt.displayName="vala",pt.aliases=[];function pt(_e){_e.languages.vala=_e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),_e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:_e.languages.vala}},string:/[\s\S]+/}}}),_e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:_e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return vala_1}var velocity_1,hasRequiredVelocity;function requireVelocity(){if(hasRequiredVelocity)return velocity_1;hasRequiredVelocity=1,velocity_1=pt,pt.displayName="velocity",pt.aliases=[];function pt(_e){(function(ft){ft.languages.velocity=ft.languages.extend("markup",{});var mt={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};mt.variable.inside={string:mt.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:mt.number,boolean:mt.boolean,punctuation:mt.punctuation},ft.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:mt}},variable:mt.variable}),ft.languages.velocity.tag.inside["attr-value"].inside.rest=ft.languages.velocity})(_e)}return velocity_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1,verilog_1=pt,pt.displayName="verilog",pt.aliases=[];function pt(_e){_e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|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|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1,vhdl_1=pt,pt.displayName="vhdl",pt.aliases=[];function pt(_e){_e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1,vim_1=pt,pt.displayName="vim",pt.aliases=[];function pt(_e){_e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return vim_1}var visualBasic_1,hasRequiredVisualBasic;function requireVisualBasic(){if(hasRequiredVisualBasic)return visualBasic_1;hasRequiredVisualBasic=1,visualBasic_1=pt,pt.displayName="visualBasic",pt.aliases=[];function pt(_e){_e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},_e.languages.vb=_e.languages["visual-basic"],_e.languages.vba=_e.languages["visual-basic"]}return visualBasic_1}var warpscript_1,hasRequiredWarpscript;function requireWarpscript(){if(hasRequiredWarpscript)return warpscript_1;hasRequiredWarpscript=1,warpscript_1=pt,pt.displayName="warpscript",pt.aliases=[];function pt(_e){_e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return warpscript_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1,wasm_1=pt,pt.displayName="wasm",pt.aliases=[];function pt(_e){_e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\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|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\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/,punctuation:/[()]/}}return wasm_1}var webIdl_1,hasRequiredWebIdl;function requireWebIdl(){if(hasRequiredWebIdl)return webIdl_1;hasRequiredWebIdl=1,webIdl_1=pt,pt.displayName="webIdl",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,bt="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+mt+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,vt={};ft.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+mt),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:vt},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+bt),lookbehind:!0,inside:vt},{pattern:RegExp("("+/\bcallback\s+/.source+mt+/\s*=\s*/.source+")"+bt),lookbehind:!0,inside:vt},{pattern:RegExp(/(\btypedef\b\s*)/.source+bt),lookbehind:!0,inside:vt},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+mt),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+mt),lookbehind:!0},RegExp(mt+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+mt),lookbehind:!0},{pattern:RegExp(bt+"(?="+/\s*(?:\.{3}\s*)?/.source+mt+/\s*[(),;=]/.source+")"),inside:vt}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var $t in ft.languages["web-idl"])$t!=="class-name"&&(vt[$t]=ft.languages["web-idl"][$t]);ft.languages.webidl=ft.languages["web-idl"]})(_e)}return webIdl_1}var wiki_1,hasRequiredWiki;function requireWiki(){if(hasRequiredWiki)return wiki_1;hasRequiredWiki=1,wiki_1=pt,pt.displayName="wiki",pt.aliases=[];function pt(_e){_e.languages.wiki=_e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:_e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),_e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:_e.languages.markup.tag.inside}}}})}return wiki_1}var wolfram_1,hasRequiredWolfram;function requireWolfram(){if(hasRequiredWolfram)return wolfram_1;hasRequiredWolfram=1,wolfram_1=pt,pt.displayName="wolfram",pt.aliases=["mathematica","wl","nb"];function pt(_e){_e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},_e.languages.mathematica=_e.languages.wolfram,_e.languages.wl=_e.languages.wolfram,_e.languages.nb=_e.languages.wolfram}return wolfram_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1,wren_1=pt,pt.displayName="wren",pt.aliases=[];function pt(_e){_e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},_e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:_e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return wren_1}var xeora_1,hasRequiredXeora;function requireXeora(){if(hasRequiredXeora)return xeora_1;hasRequiredXeora=1,xeora_1=pt,pt.displayName="xeora",pt.aliases=["xeoracube"];function pt(_e){(function(ft){ft.languages.xeora=ft.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),ft.languages.insertBefore("inside","punctuation",{variable:ft.languages.xeora["function-inline"].inside.variable},ft.languages.xeora["function-block"]),ft.languages.xeoracube=ft.languages.xeora})(_e)}return xeora_1}var xmlDoc_1,hasRequiredXmlDoc;function requireXmlDoc(){if(hasRequiredXmlDoc)return xmlDoc_1;hasRequiredXmlDoc=1,xmlDoc_1=pt,pt.displayName="xmlDoc",pt.aliases=[];function pt(_e){(function(ft){function mt(_t,Rt){ft.languages[_t]&&ft.languages.insertBefore(_t,"comment",{"doc-comment":Rt})}var bt=ft.languages.markup.tag,vt={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:bt}},$t={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:bt}};mt("csharp",vt),mt("fsharp",vt),mt("vbnet",$t)})(_e)}return xmlDoc_1}var xojo_1,hasRequiredXojo;function requireXojo(){if(hasRequiredXojo)return xojo_1;hasRequiredXojo=1,xojo_1=pt,pt.displayName="xojo",pt.aliases=[];function pt(_e){_e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return xojo_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1,xquery_1=pt,pt.displayName="xquery",pt.aliases=[];function pt(_e){(function(ft){ft.languages.xquery=ft.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),ft.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,ft.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,ft.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,ft.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:ft.languages.xquery,alias:"language-xquery"};var mt=function(vt){return typeof vt=="string"?vt:typeof vt.content=="string"?vt.content:vt.content.map(mt).join("")},bt=function(vt){for(var $t=[],_t=0;_t<vt.length;_t++){var Rt=vt[_t],Pt=!1;if(typeof Rt!="string"&&(Rt.type==="tag"&&Rt.content[0]&&Rt.content[0].type==="tag"?Rt.content[0].content[0].content==="</"?$t.length>0&&$t[$t.length-1].tagName===mt(Rt.content[0].content[1])&&$t.pop():Rt.content[Rt.content.length-1].content==="/>"||$t.push({tagName:mt(Rt.content[0].content[1]),openedBraces:0}):$t.length>0&&Rt.type==="punctuation"&&Rt.content==="{"&&(!vt[_t+1]||vt[_t+1].type!=="punctuation"||vt[_t+1].content!=="{")&&(!vt[_t-1]||vt[_t-1].type!=="plain-text"||vt[_t-1].content!=="{")?$t[$t.length-1].openedBraces++:$t.length>0&&$t[$t.length-1].openedBraces>0&&Rt.type==="punctuation"&&Rt.content==="}"?$t[$t.length-1].openedBraces--:Rt.type!=="comment"&&(Pt=!0)),(Pt||typeof Rt=="string")&&$t.length>0&&$t[$t.length-1].openedBraces===0){var Ft=mt(Rt);_t<vt.length-1&&(typeof vt[_t+1]=="string"||vt[_t+1].type==="plain-text")&&(Ft+=mt(vt[_t+1]),vt.splice(_t+1,1)),_t>0&&(typeof vt[_t-1]=="string"||vt[_t-1].type==="plain-text")&&(Ft=mt(vt[_t-1])+Ft,vt.splice(_t-1,1),_t--),/^\s+$/.test(Ft)?vt[_t]=Ft:vt[_t]=new ft.Token("plain-text",Ft,null,Ft)}Rt.content&&typeof Rt.content!="string"&&bt(Rt.content)}};ft.hooks.add("after-tokenize",function(vt){vt.language==="xquery"&&bt(vt.tokens)})})(_e)}return xquery_1}var yang_1,hasRequiredYang;function requireYang(){if(hasRequiredYang)return yang_1;hasRequiredYang=1,yang_1=pt,pt.displayName="yang",pt.aliases=[];function pt(_e){_e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return yang_1}var zig_1,hasRequiredZig;function requireZig(){if(hasRequiredZig)return zig_1;hasRequiredZig=1,zig_1=pt,pt.displayName="zig",pt.aliases=[];function pt(_e){(function(ft){function mt(Ft){return function(){return Ft}}var bt=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,vt="\\b(?!"+bt.source+")(?!\\d)\\w+\\b",$t=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,_t=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,mt($t)),Rt=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,mt(vt)),Pt="(?!\\s)(?:!?\\s*(?:"+_t+"\\s*)*"+Rt+")+";ft.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,mt(Pt)).replace(/<ALIGN>/g,mt($t))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,mt(Pt)).replace(/<ALIGN>/g,mt($t))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:bt,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},ft.languages.zig["class-name"].forEach(function(Ft){Ft.inside===null&&(Ft.inside=ft.languages.zig)})})(_e)}return zig_1}var refractor=core,refractor_1=refractor;refractor.register(requireAbap());refractor.register(requireAbnf());refractor.register(requireActionscript());refractor.register(requireAda());refractor.register(requireAgda());refractor.register(requireAl());refractor.register(requireAntlr4());refractor.register(requireApacheconf());refractor.register(requireApex());refractor.register(requireApl());refractor.register(requireApplescript());refractor.register(requireAql());refractor.register(requireArduino());refractor.register(requireArff());refractor.register(requireAsciidoc());refractor.register(requireAsm6502());refractor.register(requireAsmatmel());refractor.register(requireAspnet());refractor.register(requireAutohotkey());refractor.register(requireAutoit());refractor.register(requireAvisynth());refractor.register(requireAvroIdl());refractor.register(requireBash());refractor.register(requireBasic());refractor.register(requireBatch());refractor.register(requireBbcode());refractor.register(requireBicep());refractor.register(requireBirb());refractor.register(requireBison());refractor.register(requireBnf());refractor.register(requireBrainfuck());refractor.register(requireBrightscript());refractor.register(requireBro());refractor.register(requireBsl());refractor.register(requireC());refractor.register(requireCfscript());refractor.register(requireChaiscript());refractor.register(requireCil());refractor.register(requireClojure());refractor.register(requireCmake());refractor.register(requireCobol());refractor.register(requireCoffeescript());refractor.register(requireConcurnas());refractor.register(requireCoq());refractor.register(requireCpp());refractor.register(requireCrystal());refractor.register(requireCsharp());refractor.register(requireCshtml());refractor.register(requireCsp());refractor.register(requireCssExtras());refractor.register(requireCsv());refractor.register(requireCypher());refractor.register(requireD());refractor.register(requireDart());refractor.register(requireDataweave());refractor.register(requireDax());refractor.register(requireDhall());refractor.register(requireDiff());refractor.register(requireDjango());refractor.register(requireDnsZoneFile());refractor.register(requireDocker());refractor.register(requireDot());refractor.register(requireEbnf());refractor.register(requireEditorconfig());refractor.register(requireEiffel());refractor.register(requireEjs());refractor.register(requireElixir());refractor.register(requireElm());refractor.register(requireErb());refractor.register(requireErlang());refractor.register(requireEtlua());refractor.register(requireExcelFormula());refractor.register(requireFactor());refractor.register(require_false());refractor.register(requireFirestoreSecurityRules());refractor.register(requireFlow());refractor.register(requireFortran());refractor.register(requireFsharp());refractor.register(requireFtl());refractor.register(requireGap());refractor.register(requireGcode());refractor.register(requireGdscript());refractor.register(requireGedcom());refractor.register(requireGherkin());refractor.register(requireGit());refractor.register(requireGlsl());refractor.register(requireGml());refractor.register(requireGn());refractor.register(requireGoModule());refractor.register(requireGo());refractor.register(requireGraphql());refractor.register(requireGroovy());refractor.register(requireHaml());refractor.register(requireHandlebars());refractor.register(requireHaskell());refractor.register(requireHaxe());refractor.register(requireHcl());refractor.register(requireHlsl());refractor.register(requireHoon());refractor.register(requireHpkp());refractor.register(requireHsts());refractor.register(requireHttp());refractor.register(requireIchigojam());refractor.register(requireIcon());refractor.register(requireIcuMessageFormat());refractor.register(requireIdris());refractor.register(requireIecst());refractor.register(requireIgnore());refractor.register(requireInform7());refractor.register(requireIni());refractor.register(requireIo());refractor.register(requireJ());refractor.register(requireJava());refractor.register(requireJavadoc());refractor.register(requireJavadoclike());refractor.register(requireJavastacktrace());refractor.register(requireJexl());refractor.register(requireJolie());refractor.register(requireJq());refractor.register(requireJsExtras());refractor.register(requireJsTemplates());refractor.register(requireJsdoc());refractor.register(requireJson());refractor.register(requireJson5());refractor.register(requireJsonp());refractor.register(requireJsstacktrace());refractor.register(requireJsx());refractor.register(requireJulia());refractor.register(requireKeepalived());refractor.register(requireKeyman());refractor.register(requireKotlin());refractor.register(requireKumir());refractor.register(requireKusto());refractor.register(requireLatex());refractor.register(requireLatte());refractor.register(requireLess());refractor.register(requireLilypond());refractor.register(requireLiquid());refractor.register(requireLisp());refractor.register(requireLivescript());refractor.register(requireLlvm());refractor.register(requireLog());refractor.register(requireLolcode());refractor.register(requireLua());refractor.register(requireMagma());refractor.register(requireMakefile());refractor.register(requireMarkdown());refractor.register(requireMarkupTemplating());refractor.register(requireMatlab());refractor.register(requireMaxscript());refractor.register(requireMel());refractor.register(requireMermaid());refractor.register(requireMizar());refractor.register(requireMongodb());refractor.register(requireMonkey());refractor.register(requireMoonscript());refractor.register(requireN1ql());refractor.register(requireN4js());refractor.register(requireNand2tetrisHdl());refractor.register(requireNaniscript());refractor.register(requireNasm());refractor.register(requireNeon());refractor.register(requireNevod());refractor.register(requireNginx());refractor.register(requireNim());refractor.register(requireNix());refractor.register(requireNsis());refractor.register(requireObjectivec());refractor.register(requireOcaml());refractor.register(requireOpencl());refractor.register(requireOpenqasm());refractor.register(requireOz());refractor.register(requireParigp());refractor.register(requireParser());refractor.register(requirePascal());refractor.register(requirePascaligo());refractor.register(requirePcaxis());refractor.register(requirePeoplecode());refractor.register(requirePerl());refractor.register(requirePhpExtras());refractor.register(requirePhp());refractor.register(requirePhpdoc());refractor.register(requirePlsql());refractor.register(requirePowerquery());refractor.register(requirePowershell());refractor.register(requireProcessing());refractor.register(requireProlog());refractor.register(requirePromql());refractor.register(requireProperties());refractor.register(requireProtobuf());refractor.register(requirePsl());refractor.register(requirePug());refractor.register(requirePuppet());refractor.register(requirePure());refractor.register(requirePurebasic());refractor.register(requirePurescript());refractor.register(requirePython());refractor.register(requireQ());refractor.register(requireQml());refractor.register(requireQore());refractor.register(requireQsharp());refractor.register(requireR());refractor.register(requireRacket());refractor.register(requireReason());refractor.register(requireRegex());refractor.register(requireRego());refractor.register(requireRenpy());refractor.register(requireRest());refractor.register(requireRip());refractor.register(requireRoboconf());refractor.register(requireRobotframework());refractor.register(requireRuby());refractor.register(requireRust());refractor.register(requireSas());refractor.register(requireSass());refractor.register(requireScala());refractor.register(requireScheme());refractor.register(requireScss());refractor.register(requireShellSession());refractor.register(requireSmali());refractor.register(requireSmalltalk());refractor.register(requireSmarty());refractor.register(requireSml());refractor.register(requireSolidity());refractor.register(requireSolutionFile());refractor.register(requireSoy());refractor.register(requireSparql());refractor.register(requireSplunkSpl());refractor.register(requireSqf());refractor.register(requireSql());refractor.register(requireSquirrel());refractor.register(requireStan());refractor.register(requireStylus());refractor.register(requireSwift());refractor.register(requireSystemd());refractor.register(requireT4Cs());refractor.register(requireT4Templating());refractor.register(requireT4Vb());refractor.register(requireTap());refractor.register(requireTcl());refractor.register(requireTextile());refractor.register(requireToml());refractor.register(requireTremor());refractor.register(requireTsx());refractor.register(requireTt2());refractor.register(requireTurtle());refractor.register(requireTwig());refractor.register(requireTypescript());refractor.register(requireTyposcript());refractor.register(requireUnrealscript());refractor.register(requireUorazor());refractor.register(requireUri());refractor.register(requireV());refractor.register(requireVala());refractor.register(requireVbnet());refractor.register(requireVelocity());refractor.register(requireVerilog());refractor.register(requireVhdl());refractor.register(requireVim());refractor.register(requireVisualBasic());refractor.register(requireWarpscript());refractor.register(requireWasm());refractor.register(requireWebIdl());refractor.register(requireWiki());refractor.register(requireWolfram());refractor.register(requireWren());refractor.register(requireXeora());refractor.register(requireXmlDoc());refractor.register(requireXojo());refractor.register(requireXquery());refractor.register(requireYaml());refractor.register(requireYang());refractor.register(requireZig());const refractor$1=getDefaultExportFromCjs(refractor_1);var highlighter=highlight$2(refractor$1,defaultStyle);highlighter.supportedLanguages=supportedLanguages;const b$7=highlighter,N=create$7({scriptUrl:new URL("data:application/javascript;base64,d2luZG93Ll9pY29uZm9udF9zdmdfc3RyaW5nXzM5MjkyMDkgPSAnPHN2Zz48c3ltYm9sIGlkPSJpY29uLXNhbmppYW8teGlhIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMTkyLjk1NzAzMTI1IDM1NC42NDA2MjVoNDMzLjc0MDIzNDM4YzQyLjEzNDc2NTYzIDAgODAuODQxNzk2ODgtMC4xNTgyMDMxMyAxMTYuMjI2NTYyNDktMC40MjE4NzVDNzc4LjMwODU5Mzc1IDM1My45NTUwNzgxMiA4MDUuODM1OTM3NSAzNTMuNzk2ODc1IDgyNS40NTMxMjUgMzUzLjc5Njg3NWMxMy41IDAgMjQuNzMyNDIxODggMy4xNjQwNjI1IDMzLjc1IDkuNTk3NjU2MjUgOC45NjQ4NDM3NSA2LjQzMzU5Mzc1IDE0Ljk3NjU2MjUgMTQuNTAxOTUzMTMgMTguMDg3ODkwNjMgMjQuMjU3ODEyNSAzLjA1ODU5Mzc1IDkuNzAzMTI1IDMuMDU4NTkzNzUgMjAuNDYwOTM3NS0xZS04IDMyLjE2Nzk2ODc1YTcxLjcxODc1IDcxLjcxODc1IDAgMCAxLTE5LjgyODEyNDk5IDMyLjUzNzEwOTM4Yy0yMS4zMDQ2ODc1IDIwLjU2NjQwNjI1LTQzLjY2NDA2MjUgNDIuODczMDQ2ODgtNjYuOTcyNjU2MjYgNjYuODE0NDUzMTItMjMuMjU1ODU5MzggMjMuOTQxNDA2MjUtNDYuNzIyNjU2MjUgNDguNTY4MzU5MzgtNzAuMjk0OTIxODcgNzMuOTMzNTkzNzUtMjMuNTcyMjY1NjMgMjUuMzEyNS00Ny4xNDQ1MzEyNSA1MC45NDE0MDYyNS03MC43Njk1MzEyNSA3Ni44MzM5ODQzOGwtNjguMTg1NTQ2ODggNzQuNzI0NjA5MzdhODkuMTIxMDkzNzUgODkuMTIxMDkzNzUgMCAwIDEtMzUuMzMyMDMxMjUgMjMuODM1OTM3NWMtMTQuMDgwMDc4MTMgNS4yNzM0Mzc1LTI4LjY4NzUgNy42NDY0ODQzOC00My44MjIyNjU2MiA3LjA2NjQwNjI1YTEzMi4zNjMyODEyNSAxMzIuMzYzMjgxMjUgMCAwIDEtNDQuNjY2MDE1NjMtOS41OTc2NTYyNSA5NC44MTY0MDYyNSA5NC44MTY0MDYyNSAwIDAgMS0zNy4wNzIyNjU2Mi0yNi4zMTQ0NTMxMyA2MzQ3LjYzNjcxODc1IDYzNDcuNjM2NzE4NzUgMCAwIDAtNTcuNjkxNDA2MjUtNjQuNzA1MDc4MTJjLTE5LjM1MzUxNTYzLTIxLjQ2Mjg5MDYzLTM5LjI4NzEwOTM4LTQzLjQ1MzEyNS01OS44MDA3ODEyNS02NS45NzA3MDMxM2E3MzY0Ny42MTUyMzQzOCA3MzY0Ny42MTUyMzQzOCAwIDAgMS0xMzYuMDAxOTUzMTMtMTQ5LjkyMzgyODEyIDk1LjE4NTU0Njg4IDk1LjE4NTU0Njg4IDAgMCAxLTIyLjMwNjY0MDYyLTM3LjE3NzczNDM4QTY0LjE3NzczNDM4IDY0LjE3NzczNDM4IDAgMCAxIDE0Mi44NTkzNzUgMzg4LjAyMTQ4NDM3YTQxLjEzMjgxMjUgNDEuMTMyODEyNSAwIDAgMSAxNi44NzUtMjQuMjA1MDc4MTJjOC42NDg0Mzc1LTYuMTE3MTg3NSAxOS43NzUzOTA2My05LjE3NTc4MTI1IDMzLjIyMjY1NjI1LTkuMTc1NzgxMjV6IiAgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLXNhbmppYW8tc2hhbmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik04MzEuMDQyOTY4NzUgNjY5LjM1OTM3NUgzOTcuMzAyNzM0MzdjLTQyLjEzNDc2NTYzIDAtODAuODQxNzk2ODggMC4xNTgyMDMxMy0xMTYuMjI2NTYyNDkgMC40MjE4NzUtMzUuMzg0NzY1NjMgMC4yNjM2NzE4OC02Mi45MTIxMDkzOCAwLjQyMTg3NS04Mi41MjkyOTY4OCAwLjQyMTg3NS0xMy41IDAtMjQuNzMyNDIxODgtMy4xNjQwNjI1LTMzLjc1LTkuNTk3NjU2MjVhNDYuNjE3MTg3NSA0Ni42MTcxODc1IDAgMCAxLTE4LjA4Nzg5MDYyLTI0LjI1NzgxMjUgNTYuODQ3NjU2MjUgNTYuODQ3NjU2MjUgMCAwIDEgMC0zMi4xNjc5Njg3NSA3MS43MTg3NSA3MS43MTg3NSAwIDAgMSAxOS44MjgxMjUtMzIuNTM3MTA5MzhjMjEuMzA0Njg3NS0yMC41NjY0MDYyNSA0My42NjQwNjI1LTQyLjg3MzA0Njg4IDY2Ljk3MjY1NjI1LTY2LjgxNDQ1MzEyIDIzLjI1NTg1OTM4LTIzLjk0MTQwNjI1IDQ2LjcyMjY1NjI1LTQ4LjU2ODM1OTM4IDcwLjI5NDkyMTg3LTczLjkzMzU5Mzc1IDIzLjU3MjI2NTYzLTI1LjMxMjUgNDcuMTQ0NTMxMjUtNTAuOTQxNDA2MjUgNzAuNzY5NTMxMjUtNzYuODMzOTg0MzhsNjguMTg1NTQ2ODgtNzQuNzI0NjA5MzdjOS41NDQ5MjE4OC0xMC41OTk2MDkzOCAyMS4zNTc0MjE4OC0xOC41NjI1IDM1LjMzMjAzMTI1LTIzLjgzNTkzNzUgMTQuMDgwMDc4MTMtNS4yNzM0Mzc1IDI4LjY4NzUtNy42NDY0ODQzOCA0My44MjIyNjU2Mi03LjA2NjQwNjI1IDE1LjE4NzUgMC41MjczNDM3NSAzMC4wNTg1OTM3NSAzLjY5MTQwNjI1IDQ0LjY2NjAxNTYzIDkuNTk3NjU2MjUgMTQuNjA3NDIxODggNS44MDA3ODEyNSAyNi45NDcyNjU2MyAxNC42MDc0MjE4OCAzNy4wNzIyNjU2MiAyNi4zMTQ0NTMxMyAxOS4wODk4NDM3NSAyMS42NzM4MjgxMyAzOC4yODUxNTYyNSA0My4yNDIxODc1IDU3LjY5MTQwNjI1IDY0LjcwNTA3ODEyIDE5LjM1MzUxNTYzIDIxLjQ2Mjg5MDYzIDM5LjI4NzEwOTM4IDQzLjQ1MzEyNSA1OS44MDA3ODEyNSA2NS45NzA3MDMxM2E3MzY0Ny42MTUyMzQzOCA3MzY0Ny42MTUyMzQzOCAwIDAgMSAxMzYuMDAxOTUzMTMgMTQ5LjkyMzgyODEyYzExLjIzMjQyMTg4IDEyLjI4NzEwOTM4IDE4LjY2Nzk2ODc1IDI0LjY3OTY4NzUgMjIuMzA2NjQwNjIgMzcuMTc3NzM0MzggMy42OTE0MDYyNSAxMi41NTA3ODEyNSA0LjIxODc1IDIzLjgzNTkzNzUgMS42ODc1IDMzLjg1NTQ2ODc1YTQxLjEzMjgxMjUgNDEuMTMyODEyNSAwIDAgMS0xNi44NzUgMjQuMjA1MDc4MTJjLTguNjQ4NDM3NSA2LjExNzE4NzUtMTkuNzc1MzkwNjMgOS4xNzU3ODEyNS0zMy4yMjI2NTYyNSA5LjE3NTc4MTI1eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi15aW5jYW5nLXp1byIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTEyOCAxOTJoNzY4djY0SDEyOFYxOTJ6IG03Ny4yNDggMzIwbDEwNS40MDggMTA1LjM0NC00NS4zMTIgNDUuMzEyLTEyOC0xMjhhMzIgMzIgMCAwIDEgMC00NS4zMTJsMTI4LTEyOCA0NS4zMTIgNDUuMzEyTDIwNS4yNDggNTEyek04OTYgMzg0SDM4NHY2NGg1MTJWMzg0ek0zODQgNTc2aDUxMnY2NEgzODRWNTc2eiBtNTEyIDE5MkgxMjh2NjRoNzY4di02NHoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tY29tcGFyZS1pY29uIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNNTU0LjY2NjY2NyA4NS4zMzMzMzNoLTg1LjMzMzMzNHY4NTMuMzMzMzM0aDg1LjMzMzMzNFY4NS4zMzMzMzN6TTE3MC42NjY2NjcgMTcwLjY2NjY2N2gyMTMuMzMzMzMzdjg1LjMzMzMzM0gxNzAuNjY2NjY3djUxMmgyMTMuMzMzMzMzdjg1LjMzMzMzM0gxNzAuNjY2NjY3YTg1LjMzMzMzMyA4NS4zMzMzMzMgMCAwIDEtODUuMzMzMzM0LTg1LjMzMzMzM1YyNTZhODUuMzMzMzMzIDg1LjMzMzMzMyAwIDAgMSA4NS4zMzMzMzQtODUuMzMzMzMzek04NTMuMzMzMzMzIDc2OGgtMjEzLjMzMzMzM3Y4NS4zMzMzMzNoMjEzLjMzMzMzM2E4NS4zMzMzMzMgODUuMzMzMzMzIDAgMCAwIDg1LjMzMzMzNC04NS4zMzMzMzNWMjU2YTg1LjMzMzMzMyA4NS4zMzMzMzMgMCAwIDAtODUuMzMzMzM0LTg1LjMzMzMzM2gtMjEzLjMzMzMzM3Y4NS4zMzMzMzNoMjEzLjMzMzMzM3Y1MTJ6IiAgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLWJpbS1pY29uIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMTQuOTgxNTQ3IDc2OGExMy40ODI2NjcgMTMuNDgyNjY3IDAgMCAxLTEwLjYyNC01LjEyIDE4LjQ3NDY2NyAxOC40NzQ2NjcgMCAwIDEtNC4zNTItMTIuNDE2VjI3NC4zMDRjMC01LjM3NiAxLjQ1MDY2Ny05Ljc3MDY2NyA0LjM1Mi0xMy4xODRBMTMuNDgyNjY3IDEzLjQ4MjY2NyAwIDAgMSAxNS4wMjQyMTMgMjU2aDE4MS4xMmMzMy43MDY2NjcgMCA2MS4yMjY2NjcgNi4xMDEzMzMgODIuNDMyIDE4LjMwNCAyMS4yNDggMTEuNjkwNjY3IDM2Ljg2NCAyOC4wMzIgNDYuODQ4IDQ4Ljk4MTMzMyAxMC40MTA2NjcgMjAuOTkyIDE1LjYxNiA0NS4zNTQ2NjcgMTUuNjE2IDczLjEzMDY2NyAwIDE4LjU2LTIuOTAxMzMzIDM0LjkwMTMzMy04Ljc0NjY2NiA0OS4wMjQtNS40MTg2NjcgMTMuNjUzMzMzLTEyLjI4OCAyNC44NzQ2NjctMjAuNjA4IDMzLjY2NC03Ljg5MzMzMyA4Ljc0NjY2Ny0xNS43ODY2NjcgMTUuNTczMzMzLTIzLjcyMjY2NyAyMC40OCAxNi4yMTMzMzMgOC43NDY2NjcgMzAuNTkyIDIzLjM4MTMzMyA0My4wOTMzMzMgNDMuODYxMzMzIDEyLjUwMTMzMyAyMC40OCAxOC43NzMzMzMgNDQuODg1MzMzIDE4Ljc3MzMzNCA3My4xMzA2NjcgMCAyOS4yNjkzMzMtNS42NzQ2NjcgNTUuMzgxMzMzLTE2Ljg5NiA3OC4yOTMzMzMtMTEuMjY0IDIyLjkxMi0yNy45MDQgNDAuOTYtNDkuOTYyNjY3IDU0LjEwMTMzNC0yMi4wNTg2NjcgMTIuNjcyLTQ5LjM2NTMzMyAxOS4wMjkzMzMtODEuODM0NjY3IDE5LjAyOTMzM0gxNC45ODE1NDd6IG03MS44NTA2NjYtNzcuNTI1MzMzSDE5MS4xNTIyMTNjMjIuNDg1MzMzIDAgMzkuNTUyLTcuMDgyNjY3IDUxLjItMjEuMjA1MzM0IDExLjY0OC0xNC42MzQ2NjcgMTcuNDkzMzMzLTMyLjIxMzMzMyAxNy40OTMzMzQtNTIuNjkzMzMzIDAtMjEuNDE4NjY3LTYuMDE2LTM5LjI1MzMzMy0xOC4wOTA2NjctNTMuMzc2LTExLjY5MDY2Ny0xNC4xMjI2NjctMjguNTQ0LTIxLjIwNTMzMy01MC42MDI2NjctMjEuMjA1MzMzSDg2LjgzMjIxM3YxNDguNDh6IG0wLTIyNC41NTQ2NjdoOTguMDQ4YzIyLjEwMTMzMyAwIDM4LjUyOC02LjEwMTMzMyA0OS4zNjUzMzQtMTguMzA0IDExLjIyMTMzMy0xMi42NzIgMTYuODUzMzMzLTI5LjAxMzMzMyAxNi44NTMzMzMtNDguOTgxMzMzIDAtMjAuNDgtNS42MzItMzYuMzUyLTE2Ljg1MzMzMy00Ny41MzA2NjctMTAuODM3MzMzLTExLjczMzMzMy0yNy4zMDY2NjctMTcuNTc4NjY3LTQ5LjM2NTMzNC0xNy41Nzg2NjdIODYuODMyMjEzdjEzMi4zOTQ2Njd6TTQ0My4yMjY4OCA3NjhhMTMuNDgyNjY3IDEzLjQ4MjY2NyAwIDAgMS0xMC42NjY2NjctNS4xMiAxOC41MTczMzMgMTguNTE3MzMzIDAgMCAxLTQuMzUyLTEyLjQxNlYyNzMuNDkzMzMzYzAtNC44NjQgMS40NTA2NjctOS4wMDI2NjcgNC4zOTQ2NjctMTIuNDE2YTEzLjQ4MjY2NyAxMy40ODI2NjcgMCAwIDEgMTAuNjI0LTUuMTJoNTguNzA5MzMzYzQuNTY1MzMzIDAgOC4xMDY2NjcgMS43MDY2NjcgMTAuNjI0IDUuMTIgMi45MDEzMzMgMy40MTMzMzMgNC4zNTIgNy41NTIgNC4zNTIgMTIuNDE2Vjc1MC41MDY2NjdhMTguNTE3MzMzIDE4LjUxNzMzMyAwIDAgMS00LjM1MiAxMi40MTYgMTIuMzczMzMzIDEyLjM3MzMzMyAwIDAgMS0xMC42NjY2NjYgNS4xMmgtNTguNjY2NjY3ek02MzAuNDkwODggNzY4YTE0LjA4IDE0LjA4IDAgMCAxLTExLjIyMTMzMy01LjEyIDE4LjQ3NDY2NyAxOC40NzQ2NjcgMCAwIDEtNC4zOTQ2NjctMTIuNDE2VjI3NC4zMDRjMC01LjM3NiAxLjQ1MDY2Ny05Ljc3MDY2NyA0LjM5NDY2Ny0xMy4xODRhMTQuMDggMTQuMDggMCAwIDEgMTEuMjIxMzMzLTUuMTJoNDkuMzY1MzMzYzUuODAyNjY3IDAgMTAuMTk3MzMzIDEuOTYyNjY3IDEzLjA5ODY2NyA1Ljg0NTMzMyAyLjkwMTMzMyAzLjQxMzMzMyA0Ljc3ODY2NyA2LjEwMTMzMyA1LjYzMiA4LjA2NGwxMjAuNTMzMzMzIDI2My4yOTYgMTIxLjgxMzMzNC0yNjMuMjk2YTM1LjkyNTMzMyAzNS45MjUzMzMgMCAwIDEgNS42MzItOC4wNjRjMi45MDEzMzMtMy44ODI2NjcgNy4yNTMzMzMtNS44NDUzMzMgMTMuMDk4NjY2LTUuODQ1MzMzaDQ4LjcyNTMzNGExNC4wOCAxNC4wOCAwIDAgMSAxMS4yNjQgNS4xMmMyLjkwMTMzMyAzLjQxMzMzMyA0LjM1MiA3LjgwOCA0LjM1MiAxMy4xODR2NDc2LjE2YTE4LjUxNzMzMyAxOC41MTczMzMgMCAwIDEtNC4zNTIgMTIuNDE2IDE0LjA4IDE0LjA4IDAgMCAxLTExLjI2NCA1LjEyaC01Mi40OGExNC4wOCAxNC4wOCAwIDAgMS0xMS4yMjEzMzQtNS4xMiAyMC40OCAyMC40OCAwIDAgMS0zLjc1NDY2Ni0xMi40MTZ2LTMxNi43MTQ2NjdsLTg3LjQ2NjY2NyAxOTUuMjg1MzM0YTQzLjA1MDY2NyA0My4wNTA2NjcgMCAwIDEtOC4xMDY2NjcgMTEuNjkwNjY2IDE5LjE1NzMzMyAxOS4xNTczMzMgMCAwIDEtMTMuMDk4NjY2IDQuMzk0NjY3aC0yNS42YTIwLjA5NiAyMC4wOTYgMCAwIDEtMTMuNzgxMzM0LTQuMzk0NjY3IDUyLjczNiA1Mi43MzYgMCAwIDEtNy40NjY2NjYtMTEuNjkwNjY2bC04Ny40NjY2NjctMTk1LjI4NTMzNHYzMTYuNzE0NjY3YTE4LjUxNzMzMyAxOC41MTczMzMgMCAwIDEtNC4zNTIgMTIuNDE2IDEzLjQ4MjY2NyAxMy40ODI2NjcgMCAwIDEtMTAuNjY2NjY3IDUuMTJoLTUyLjQzNzMzM3oiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tb3ZlcmxhcC1pY29uIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNOTM4LjY2NjY2NyA0MDIuMDA1MzMzVjI5OC42NjY2NjdjMC0yOS40ODI2NjctMjMuODkzMzMzLTUzLjMzMzMzMy01My4zMzMzMzQtNTMuMzMzMzM0aC05My4zNTQ2NjZhMTMuMzU0NjY3IDEzLjM1NDY2NyAwIDAgMS0xMy4zMTItMTMuMzU0NjY2VjEzOC42NjY2NjdDNzc4LjY2NjY2NyAxMDkuMTg0IDc1NC43NzMzMzMgODUuMzMzMzMzIDcyNS4zMzMzMzMgODUuMzMzMzMzSDEzOC42NjY2NjdDMTA5LjIyNjY2NyA4NS4zMzMzMzMgODUuMzMzMzMzIDEwOS4xODQgODUuMzMzMzMzIDEzOC42NjY2NjdWNzI1LjMzMzMzM2MwIDI5LjQ0IDIzLjg5MzMzMyA1My4zMzMzMzMgNTMuMzMzMzM0IDUzLjMzMzMzNGg5My4zNTQ2NjZjNy4yOTYgMCAxMy4zMTIgNS45NzMzMzMgMTMuMzEyIDEzLjM1NDY2NnY5My4zMTJjMCAyOS40NCAyMy44OTMzMzMgNTMuMzMzMzMzIDUzLjMzMzMzNCA1My4zMzMzMzRoMTAzLjMzODY2NmEzLjMyOCAzLjMyOCAwIDAgMCAzLjMyOC0zLjMyOHYtNDYuNjc3MzM0YTMuMzI4IDMuMzI4IDAgMCAwLTMuMzI4LTMuMzI4SDI5OC42NjY2Njd2LTkzLjM1NDY2NmMwLTcuMjk2IDUuOTczMzMzLTEzLjMxMiAxMy4zNTQ2NjYtMTMuMzEySDcyNS4zMzMzMzNjMjkuNDQgMCA1My4zMzMzMzMtMjMuODkzMzMzIDUzLjMzMzMzNC01My4zMzMzMzRWMzExLjk3ODY2N2MwLTcuMjk2IDUuOTczMzMzLTEzLjMxMiAxMy4zNTQ2NjYtMTMuMzEyaDkzLjMxMnYxMDMuMzM4NjY2YzAgMS44MzQ2NjcgMS40OTMzMzMgMy4zMjggMy4zMjggMy4zMjhoNDYuNjc3MzM0QTMuMzI4IDMuMzI4IDAgMCAwIDkzOC42NjY2NjcgNDAyLjAwNTMzM3pNNzgxLjk5NDY2NyA5MzguNjY2NjY3aDEwMy4zMzg2NjZjMjkuNDQgMCA1My4zMzMzMzMtMjMuODkzMzMzIDUzLjMzMzMzNC01My4zMzMzMzR2LTEwMy4zMzg2NjZhMy4zMjggMy4zMjggMCAwIDAtMy4zMjgtMy4zMjhoLTQ2LjY3NzMzNGEzLjMyOCAzLjMyOCAwIDAgMC0zLjMyOCAzLjMyOHY5MC4wMjY2NjZjMCA3LjI5Ni01Ljk3MzMzMyAxMy4zMTItMTMuMzU0NjY2IDEzLjMxMmgtODkuOTg0YTMuMzI4IDMuMzI4IDAgMCAwLTMuMzI4IDMuMzI4djQ2LjY3NzMzNGMwIDEuODM0NjY3IDEuNDkzMzMzIDMuMzI4IDMuMzI4IDMuMzI4eiIgID48L3BhdGg+PHBhdGggZD0iTTQ4OC42NjEzMzMgOTM4LjY2NjY2N2gyMDYuNjc3MzM0YTMuMzI4IDMuMzI4IDAgMCAwIDMuMzI4LTMuMzI4di00Ni42NzczMzRhMy4zMjggMy4zMjggMCAwIDAtMy4zMjgtMy4zMjhoLTIwNi42NzczMzRhMy4zMjggMy4zMjggMCAwIDAtMy4zMjggMy4zMjh2NDYuNjc3MzM0YzAgMS44MzQ2NjcgMS40OTMzMzMgMy4zMjggMy4zMjggMy4zMjh6TTg4OC42NjEzMzMgNjk4LjY2NjY2N2g0Ni42NzczMzRhMy4zMjggMy4zMjggMCAwIDAgMy4zMjgtMy4zMjh2LTIwNi42NzczMzRhMy4zMjggMy4zMjggMCAwIDAtMy4zMjgtMy4zMjhoLTQ2LjY3NzMzNGEzLjMyOCAzLjMyOCAwIDAgMC0zLjMyOCAzLjMyOHYyMDYuNjc3MzM0YzAgMS44MzQ2NjcgMS40OTMzMzMgMy4zMjggMy4zMjggMy4zMjh6IiAgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLXRpYW96aGVuZyIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTUyOS43NDkzMzMgNDIuNjY2NjY3aDEuODc3MzM0bDEuMzIyNjY2IDAuMDg1MzMzIDEuMTUyIDAuMTI4IDEuMzIyNjY3IDAuMTcwNjY3IDIuMDQ4IDAuMzQxMzMzIDEuODM0NjY3IDAuNDI2NjY3IDEuODM0NjY2IDAuNDY5MzMzIDEuNzA2NjY3IDAuNTk3MzMzIDEuMzY1MzMzIDAuNTEyIDEuMzY1MzM0IDAuNjQgMS4yOCAwLjU5NzMzNCAxLjUzNiAwLjg1MzMzMyAxLjE1MiAwLjY4MjY2NyAxLjQwOCAwLjkzODY2NiAxLjQ5MzMzMyAxLjA2NjY2NyAwLjg1MzMzMyAwLjY4MjY2NyAxLjk2MjY2NyAxLjcwNjY2NiAwLjcyNTMzMyAwLjc2OCAxMDkuMDEzMzM0IDEwOC45NzA2NjdhMzYuMzA5MzMzIDM2LjMwOTMzMyAwIDAgMS01MC4yNjEzMzQgNTIuNDhsLTEuMTA5MzMzLTEuMDY2NjY3LTQ1LjE4NC00NS4xODR2MzA1LjkyaDMwOC40MzczMzNsLTQ0LjUwMTMzMy00Mi4wMjY2NjZhMzYuMzUyIDM2LjM1MiAwIDAgMSA0OC43NjgtNTMuODQ1MzM0bDEuMTA5MzMzIDEuMDI0IDExMC4wOCAxMDQuMDIxMzM0IDEuMTUyIDEuMjM3MzMzIDEuMDY2NjY3IDEuMTk0NjY3IDAuOTM4NjY3IDEuMjM3MzMzIDEuMDY2NjY2IDEuNDkzMzMzIDAuOTM4NjY3IDEuNDkzMzM0IDAuODUzMzMzIDEuNTM2IDAuNjgyNjY3IDEuMjggMC43NjggMS43MDY2NjYgMC44MTA2NjcgMi4wNDggMC4yMTMzMzMgMC42ODI2NjcgMC40MjY2NjcgMS4yOCAwLjM0MTMzMyAxLjQ1MDY2NyAwLjM0MTMzMyAxLjQwOCAwLjI5ODY2NyAxLjcwNjY2NiAwLjIxMzMzMyAxLjcwNjY2NyAwLjE3MDY2NyAxLjgzNDY2NyAwLjA0MjY2NyAxLjQ5MzMzM3YxLjg3NzMzM2wtMC4wODUzMzQgMS4zMjI2NjctMC4xMjggMS4xNTItMC4xMjggMS4zMjI2NjctMC4zODQgMi4wNDgtMC40MjY2NjYgMS44MzQ2NjYtMC40NjkzMzQgMS44MzQ2NjctMC41OTczMzMgMS43MDY2NjctMC41MTIgMS4zNjUzMzMtMC41OTczMzMgMS4zNjUzMzMtMC42NCAxLjI4LTAuODUzMzM0IDEuNTM2LTAuNjgyNjY2IDEuMTUyLTAuOTM4NjY3IDEuNDA4LTEuMDY2NjY3IDEuNDkzMzM0LTAuNjgyNjY2IDAuODUzMzMzLTEuNzA2NjY3IDEuOTYyNjY3LTAuNzI1MzMzIDAuNzI1MzMzLTEwOS4wMTMzMzQgMTA5LjAxMzMzM2EzNi4zMDkzMzMgMzYuMzA5MzMzIDAgMCAxLTUyLjQ4LTUwLjI2MTMzM2wxLjA2NjY2Ny0xLjEwOTMzMyA0NS4xODQtNDUuMTg0aC0zMDguMzUydjMwOC4zNTJsNDUuMTg0LTQ1LjE4NGEzNi4zMDkzMzMgMzYuMzA5MzMzIDAgMCAxIDUyLjQzNzMzMyA1MC4zMDRsLTEuMDY2NjY2IDEuMTA5MzMzLTEwOS43Mzg2NjcgMTA5LjczODY2Ny0wLjY0IDAuNTU0NjY2LTEuNTM2IDEuMzIyNjY3LTEuNDkzMzMzIDEuMTUyLTEuNTM2IDEuMDI0LTEuNzA2NjY3IDEuMDI0LTEuMTA5MzMzIDAuNjQtMS4xOTQ2NjcgMC41OTczMzMtMS4zNjUzMzMgMC42NC0xLjc5MiAwLjcyNTMzNC0xLjc0OTMzNCAwLjU5NzMzMy0xLjQwOCAwLjM4NC0xLjc5MiAwLjQyNjY2Ny0xLjYyMTMzMyAwLjI5ODY2Ni0xLjg3NzMzMyAwLjI1Ni0xLjgzNDY2NyAwLjE3MDY2Ny0xLjkyIDAuMDg1MzMzaC0xLjQwOGwtMS40MDgtMC4wODUzMzMtMS40MDgtMC4xMjgtMS43NDkzMzMtMC4yMTMzMzMtMS4xNTItMC4yMTMzMzQtMS4wNjY2NjctMC4yMTMzMzMtMS4wNjY2NjctMC4yNTYtMS4yOC0wLjM0MTMzMy0xLjUzNi0wLjQ2OTMzNC0xLjgzNDY2Ni0wLjY4MjY2Ni0xLjUzNi0wLjY0LTEuNzA2NjY3LTAuODUzMzM0LTEuMjgtMC43MjUzMzMtMS41Nzg2NjctMC45Mzg2NjctMS41Nzg2NjYtMS4wNjY2NjYtMS43MDY2NjctMS4yOC0xLjIzNzMzMy0xLjA2NjY2Ny0xLjE5NDY2Ny0xLjEwOTMzMy0xLjA2NjY2Ny0xLjEwOTMzNC0xMDIuOTU0NjY2LTEwOS4wMTMzMzNhMzYuMzUyIDM2LjM1MiAwIDAgMSA1MS43NTQ2NjYtNTAuOTg2NjY3bDEuMDY2NjY3IDEuMTA5MzM0IDQyLjAyNjY2NyA0NC40NTg2NjZ2LTMwOC4zOTQ2NjZIMTg5Ljg2NjY2N2w0NS4xODQgNDUuMTg0QTM2LjM1MiAzNi4zNTIgMCAwIDEgMTg0Ljc0NjY2NyA2NDQuNjkzMzMzbC0xLjEwOTMzNC0xLjA2NjY2Ni0xMDkuNzM4NjY2LTEwOS43Mzg2NjctMC41NTQ2NjctMC42NC0xLjMyMjY2Ny0xLjUzNi0xLjE1Mi0xLjQ5MzMzMy0xLjA2NjY2Ni0xLjUzNi0wLjk4MTMzNC0xLjcwNjY2Ny0wLjY0LTEuMTA5MzMzLTAuNTk3MzMzLTEuMTk0NjY3LTAuNjQtMS4zNjUzMzMtMC43MjUzMzMtMS43OTItMC41OTczMzQtMS43NDkzMzQtMC40MjY2NjYtMS40MDgtMC40MjY2NjctMS43OTItMC4yNTYtMS42NjQtMC4yOTg2NjctMS44MzQ2NjYtMC4xMjgtMS44MzQ2NjctMC4wODUzMzMtMS45MnYtMS40MDhsMC4wODUzMzMtMS40MDggMC4xMjgtMS40MDggMC4yMTMzMzQtMS43NDkzMzMgMC4yMTMzMzMtMS4xNTIgMC4yMTMzMzMtMS4wNjY2NjcgMC4yNTYtMS4wNjY2NjcgMC4zNDEzMzQtMS4yOCAwLjQyNjY2Ni0xLjUzNiAwLjcyNTMzNC0xLjgzNDY2NiAwLjY0LTEuNTM2IDAuODUzMzMzLTEuNzA2NjY3IDAuNjgyNjY3LTEuMjggMC45ODEzMzMtMS41Nzg2NjcgMS4wNjY2NjctMS41Nzg2NjYgMS4yOC0xLjcwNjY2NyAxLjA2NjY2Ni0xLjE5NDY2NyAxLjEwOTMzNC0xLjIzNzMzMyAxLjEwOTMzMy0xLjA2NjY2NyAxMDkuMDEzMzMzLTEwMi45NTQ2NjZhMzYuMzUyIDM2LjM1MiAwIDAgMSA1MC45ODY2NjcgNTEuNzU0NjY2bC0xLjEwOTMzMyAxLjA2NjY2Ny00NC41MDEzMzQgNDIuMDI2NjY3aDMwNi4wMDUzMzRWMTY4LjQ0OGwtNDIuMDI2NjY3IDQ0LjUwMTMzM2EzNi4zMDkzMzMgMzYuMzA5MzMzIDAgMCAxLTUzLjg0NTMzMy00OC43NjhsMS4wMjQtMS4xMDkzMzMgMTA0LjAyMTMzMy0xMTAuMDggMS4yMzczMzMtMS4xNTIgMS4xOTQ2NjctMS4wNjY2NjcgMS4yMzczMzMtMC45Mzg2NjYgMS40OTMzMzQtMS4wMjQgMS40OTMzMzMtMC45ODEzMzQgMS41MzYtMC44NTMzMzMgMS4yOC0wLjY4MjY2NyAxLjcwNjY2Ny0wLjc2OCAyLjA0OC0wLjc2OCAwLjY4MjY2Ni0wLjI1NiAxLjI4LTAuNDI2NjY2IDEuNDUwNjY3LTAuMzQxMzM0IDEuNDA4LTAuMzQxMzMzIDEuNzA2NjY3LTAuMjk4NjY3IDEuNzA2NjY2LTAuMjEzMzMzIDEuODM0NjY3LTAuMTcwNjY3IDEuNDkzMzMzLTAuMDQyNjY2eiIgZmlsbD0iIzY2NjY2NiIgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLW1hcCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTk0Ni41NiAxNzAuNjI0YTMyLjY0IDMyLjY0IDAgMCAwLTI2Ljc1Mi03LjA0bC0yMzcuMTg0IDQyLjExMkw2MjIuMDggMTg1LjZhMzIuNjQgMzIuNjQgMCAxIDAtMjAuNjcyIDYyLjA4bDY4LjQ4IDIyLjc4NGMxLjYgMC41MTIgMy4yIDAuODk2IDQuODY0IDEuMTUydjI2NS42bC0xMzUuMzYtNDEuNmEyMS44MjQgMjEuODI0IDAgMCAwLTEyLjggNDEuNmwxNDguMTYgNDUuNjMydjI3My44NTZsLTI4My41Mi03OS42OHYtMTIzLjI2NGEyMS43NiAyMS43NiAwIDEgMC00My43MTIgMHYxMjMuODRsLTIxOC4xMTIgMzQuMjRWMTk1LjcxMmEzMi43MDQgMzIuNzA0IDAgMCAwLTY1LjQwOCAwdjY1NC40YTMyLjY0IDMyLjY0IDAgMCAwIDM3Ljc2IDMyLjMybDI3MS4xMDQtNDIuNTYgMzA0IDg1LjM3NmEzMi44MzIgMzIuODMyIDAgMCAwIDE0LjY1NiAwLjY0bDIzOS44NzItNDMuNTg0YTMyLjcwNCAzMi43MDQgMCAwIDAgMjYuODgtMzIuMTkyVjE5NS43MTJhMzIuNjQgMzIuNjQgMCAwIDAtMTEuNzEyLTI1LjA4OHogbS01My43NiAzMzkuODRsLTE3NC40NjQgMzAuNFYyNjUuODU2bDE3NC41MjgtMzEuMDR2Mjc1LjY0OHogbS0xNzQuNDY0IDM0NC4wNjR2LTI2OS40NGwxNzQuNTI4LTMwLjMzNnYyNjguMDMybC0xNzQuNTI4IDMxLjc0NHoiICA+PC9wYXRoPjxwYXRoIGQ9Ik0yMDkuNzI4IDM2NS45NTJjMTAuNjg4IDIxLjEyIDEwOC45OTIgMTU5Ljc0NCAxMzguODggMjAxLjY2NCA2LjE0NCA4LjY0IDE2IDEzLjc2IDI2LjYyNCAxMy43NmgwLjA2NGEzMi43MDQgMzIuNzA0IDAgMCAwIDI2LjY4OC0xMy44ODhjMjkuNzYtNDIuMzA0IDEyNy43NDQtMTgxLjg4OCAxMzcuNzkyLTIwMS4yMTYgMTMuMTg0LTI1LjQwOCAyMC40OC01NS4wNCAyMC40OC04My4zMjhhMTg1LjYgMTg1LjYgMCAwIDAtMTg1LjQwOC0xODUuNDA4QTE4NS42IDE4NS42IDAgMCAwIDE4OS40NCAyODIuOTQ0YzAgMjguMjg4IDYuNzg0IDU2LjE5MiAyMC4yODggODIuOTQ0eiBtMTY1LjEyLTIwMy4wMDhjNjYuMTEyIDAgMTE5LjkzNiA1My44MjQgMTE5LjkzNiAxMjAgMCAxNy43MjgtNC43MzYgMzcuMTItMTMuMDU2IDUzLjEyLTUuNjk2IDEwLjU2LTU1LjE2OCA4Mi4zNjgtMTA2LjYyNCAxNTUuODQtNDcuMjMyLTY2LjgxNi0xMDAuNzM2LTE0My42MTYtMTA2Ljk0NC0xNTUuNTJhMTE4LjcyIDExOC43MiAwIDAgMS0xMy4zMTItNTMuNDRjMC02Ni4xNzYgNTMuODI0LTEyMCAxMjAtMTIweiIgID48L3BhdGg+PHBhdGggZD0iTTMyMC4zMiAyODMuMDA4YTU0LjUyOCA1NC41MjggMCAxIDAgMTA5LjA1NiAwIDU0LjUyOCA1NC41MjggMCAwIDAtMTA5LjA1NiAweiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi1mYW5nZGEiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0zNjIuNjY2NjY3IDUzMy4zMzMzMzNoODUuMzMzMzMzdjg1LjMzMzMzNGg4NS4zMzMzMzN2LTg1LjMzMzMzNGg4NS4zMzMzMzR2LTg1LjMzMzMzM2gtODUuMzMzMzM0di04NS4zMzMzMzNoLTg1LjMzMzMzM3Y4NS4zMzMzMzNoLTg1LjMzMzMzM3Y4NS4zMzMzMzN6IiAgPjwvcGF0aD48cGF0aCBkPSJNMTI4IDQ5MC42NjY2NjdhMzYyLjY2NjY2NyAzNjIuNjY2NjY3IDAgMSAxIDY0Ny41MDkzMzMgMjI0LjUxMmwxOTMuMzIyNjY3IDE5My4zMjI2NjYtNjAuMzMwNjY3IDYwLjMzMDY2Ny0xOTMuMzIyNjY2LTE5My4zMjI2NjdBMzYyLjY2NjY2NyAzNjIuNjY2NjY3IDAgMCAxIDEyOCA0OTAuNjY2NjY3ek00OTAuNjY2NjY3IDIxMy4zMzMzMzNhMjc3LjMzMzMzMyAyNzcuMzMzMzMzIDAgMSAwIDAgNTU0LjY2NjY2NyAyNzcuMzMzMzMzIDI3Ny4zMzMzMzMgMCAwIDAgMC01NTQuNjY2NjY3eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi1zdW94aWFvIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNNjE4LjY2NjY2NyA1MzMuMzMzMzMzaC0yNTZ2LTg1LjMzMzMzM2gyNTZ2ODUuMzMzMzMzeiIgID48L3BhdGg+PHBhdGggZD0iTTEyOCA0OTAuNjY2NjY3YTM2Mi42NjY2NjcgMzYyLjY2NjY2NyAwIDEgMSA2NDcuNTA5MzMzIDIyNC41MTJsMTkzLjMyMjY2NyAxOTMuMzIyNjY2LTYwLjMzMDY2NyA2MC4zMzA2NjctMTkzLjMyMjY2Ni0xOTMuMzIyNjY3QTM2Mi42NjY2NjcgMzYyLjY2NjY2NyAwIDAgMSAxMjggNDkwLjY2NjY2N3pNNDkwLjY2NjY2NyAyMTMuMzMzMzMzYTI3Ny4zMzMzMzMgMjc3LjMzMzMzMyAwIDEgMCAwIDU1NC42NjY2NjcgMjc3LjMzMzMzMyAyNzcuMzMzMzMzIDAgMCAwIDAtNTU0LjY2NjY2N3oiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tYm9mYW5nIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNODc1LjYwNTMzMyA1NDguMzk0NjY3YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDAgMC03Mi43ODkzMzRMMzMxLjYwNTMzMyAxNDMuMDE4NjY3YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDAtNjQuOTM4NjY2IDM2LjQzNzMzM3Y2NjUuMDg4YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDAgNjQuOTM4NjY2IDM2LjM5NDY2N2w1NDQtMzMyLjU0NHoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tZGl5aWdlIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMzQxLjMzMzMzMyAxMjh2NzY4SDI1NlYxMjhoODUuMzMzMzMzek03ODAuNTAxMzMzIDg4My40OTg2NjdsLTM0MS4zMzMzMzMtMzQxLjMzMzMzNGE0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDAtNjAuMzMwNjY2bDM0MS4zMzMzMzMtMzQxLjMzMzMzNCA2MC4zMzA2NjcgNjAuMzMwNjY3TDUyOS42NjQgNTEybDMxMS4xNjggMzExLjE2OC02MC4zMzA2NjcgNjAuMzMwNjY3eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi1xaWFueWlnZSIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTMxMS4xNjggNDgxLjgzNDY2N2wzNDEuMzMzMzMzLTM0MS4zMzMzMzQgNjAuMzMwNjY3IDYwLjMzMDY2N0w0MDEuNjY0IDUxMmwzMTEuMTY4IDMxMS4xNjgtNjAuMzMwNjY3IDYwLjMzMDY2Ny0zNDEuMzMzMzMzLTM0MS4zMzMzMzRhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSAwLTYwLjMzMDY2NnoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24teGlheWlnZSIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTcxMi44MzIgNDgxLjgzNDY2N2wtMzQxLjMzMzMzMy0zNDEuMzMzMzM0LTYwLjM3MzMzNCA2MC4zMzA2NjdMNjIyLjI5MzMzMyA1MTJsLTMxMS4xNjggMzExLjE2OCA2MC4zNzMzMzQgNjAuMzMwNjY3IDM0MS4zMzMzMzMtMzQxLjMzMzMzNGE0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAwIDAtNjAuMzMwNjY2eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi16YW50aW5nIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNNDI2LjY2NjY2NyAxNzAuNjY2NjY3SDIxMy4zMzMzMzN2NjgyLjY2NjY2NmgyMTMuMzMzMzM0VjE3MC42NjY2Njd6TTgxMC42NjY2NjcgMTcwLjY2NjY2N2gtMjEzLjMzMzMzNHY2ODIuNjY2NjY2aDIxMy4zMzMzMzRWMTcwLjY2NjY2N3oiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tenVpaG91eWlnZSIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTY4Mi42NjY2NjcgMTI4djc2OGg4NS4zMzMzMzNWMTI4aC04NS4zMzMzMzN6TTI0My40OTg2NjcgODgzLjQ5ODY2N2wzNDEuMzMzMzMzLTM0MS4zMzMzMzRhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMCAwLTYwLjMzMDY2NmwtMzQxLjMzMzMzMy0zNDEuMzMzMzM0LTYwLjMzMDY2NyA2MC4zMzA2NjdMNDk0LjMzNiA1MTJsLTMxMS4xNjggMzExLjE2OCA2MC4zMzA2NjcgNjAuMzMwNjY3eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi15aW5jYW5nIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMTI4IDE4MS4zMzMzMzN2NjRoNzY4di02NEgxMjh6TTEyOCAzODRsMTkyIDEyOEwxMjggNjQwVjM4NHpNODk2IDQ4MEg0MjYuNjY2NjY3djY0aDQ2OS4zMzMzMzN2LTY0ek04OTYgNzc4LjY2NjY2N3Y2NEgxMjh2LTY0aDc2OHoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tc3VvZmFuZyIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTU5Ny4zMzMzMzMgNDEzLjM1NDY2N0gzOTQuNjY2NjY3djY0aDE3MC42NjY2NjZ2MTcwLjY2NjY2Nmg2NHYtMjAyLjY2NjY2NmEzMiAzMiAwIDAgMC0zMi0zMnoiICA+PC9wYXRoPjxwYXRoIGQ9Ik0xMzguNjY2NjY3IDE4OS4zNTQ2NjdhMzIgMzIgMCAwIDEgMzItMzJoNjgyLjY2NjY2NmEzMiAzMiAwIDAgMSAzMiAzMnY2ODIuNjY2NjY2YTMyIDMyIDAgMCAxLTMyIDMySDE3MC42NjY2NjdhMzIgMzIgMCAwIDEtMzItMzJ2LTY4Mi42NjY2NjZ6IG02ODIuNjY2NjY2IDY1MC42NjY2NjZ2LTYxOC42NjY2NjZIMjAyLjY2NjY2N3YzMjBINDY5LjMzMzMzM2EzMiAzMiAwIDAgMSAzMiAzMnYyNjYuNjY2NjY2aDMyMHogbS02MTguNjY2NjY2IDBoMjM0LjY2NjY2NnYtMjM0LjY2NjY2NmgtMjM0LjY2NjY2NnYyMzQuNjY2NjY2eiIgID48L3BhdGg+PC9zeW1ib2w+PC9zdmc+JywgZnVuY3Rpb24gKG8pIHsgdmFyIGEgPSAoYSA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCJzY3JpcHQiKSlbYS5sZW5ndGggLSAxXSwgdCA9IGEuZ2V0QXR0cmlidXRlKCJkYXRhLWluamVjdGNzcyIpLCBhID0gYS5nZXRBdHRyaWJ1dGUoImRhdGEtZGlzYWJsZS1pbmplY3RzdmciKTsgaWYgKCFhKSB7IHZhciBpLCBlLCBoLCBsLCBuLCBjID0gZnVuY3Rpb24gKGEsIHQpIHsgdC5wYXJlbnROb2RlLmluc2VydEJlZm9yZShhLCB0KSB9OyBpZiAodCAmJiAhby5fX2ljb25mb250X19zdmdfX2Nzc2luamVjdF9fKSB7IG8uX19pY29uZm9udF9fc3ZnX19jc3NpbmplY3RfXyA9ICEwOyB0cnkgeyBkb2N1bWVudC53cml0ZSgiPHN0eWxlPi5zdmdmb250IHtkaXNwbGF5OiBpbmxpbmUtYmxvY2s7d2lkdGg6IDFlbTtoZWlnaHQ6IDFlbTtmaWxsOiBjdXJyZW50Q29sb3I7dmVydGljYWwtYWxpZ246IC0wLjFlbTtmb250LXNpemU6MTZweDt9PC9zdHlsZT4iKSB9IGNhdGNoIChhKSB7IGNvbnNvbGUgJiYgY29uc29sZS5sb2coYSkgfSB9IGkgPSBmdW5jdGlvbiAoKSB7IHZhciBhLCB0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgiZGl2Iik7IHQuaW5uZXJIVE1MID0gby5faWNvbmZvbnRfc3ZnX3N0cmluZ18zOTI5MjA5LCAodCA9IHQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoInN2ZyIpWzBdKSAmJiAodC5zZXRBdHRyaWJ1dGUoImFyaWEtaGlkZGVuIiwgInRydWUiKSwgdC5zdHlsZS5wb3NpdGlvbiA9ICJhYnNvbHV0ZSIsIHQuc3R5bGUud2lkdGggPSAwLCB0LnN0eWxlLmhlaWdodCA9IDAsIHQuc3R5bGUub3ZlcmZsb3cgPSAiaGlkZGVuIiwgdCA9IHQsIChhID0gZG9jdW1lbnQuYm9keSkuZmlyc3RDaGlsZCA/IGModCwgYS5maXJzdENoaWxkKSA6IGEuYXBwZW5kQ2hpbGQodCkpIH0sIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIgPyB+WyJjb21wbGV0ZSIsICJsb2FkZWQiLCAiaW50ZXJhY3RpdmUiXS5pbmRleE9mKGRvY3VtZW50LnJlYWR5U3RhdGUpID8gc2V0VGltZW91dChpLCAwKSA6IChlID0gZnVuY3Rpb24gKCkgeyBkb2N1bWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIiwgZSwgITEpLCBpKCkgfSwgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigiRE9NQ29udGVudExvYWRlZCIsIGUsICExKSkgOiBkb2N1bWVudC5hdHRhY2hFdmVudCAmJiAoaCA9IGksIGwgPSBvLmRvY3VtZW50LCBuID0gITEsIGQoKSwgbC5vbnJlYWR5c3RhdGVjaGFuZ2UgPSBmdW5jdGlvbiAoKSB7ICJjb21wbGV0ZSIgPT0gbC5yZWFkeVN0YXRlICYmIChsLm9ucmVhZHlzdGF0ZWNoYW5nZSA9IG51bGwsIHYoKSkgfSkgfSBmdW5jdGlvbiB2KCkgeyBuIHx8IChuID0gITAsIGgoKSkgfSBmdW5jdGlvbiBkKCkgeyB0cnkgeyBsLmRvY3VtZW50RWxlbWVudC5kb1Njcm9sbCgibGVmdCIpIH0gY2F0Y2ggKGEpIHsgcmV0dXJuIHZvaWQgc2V0VGltZW91dChkLCA1MCkgfSB2KCkgfSB9KHdpbmRvdyk7",self.location).href});var l$4=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const d$7=pt=>l$4(void 0,[pt],function*({target:_e,value:ft}){try{let mt="";if(!navigator.clipboard)return console.warn("Browser don't have support for native clipboard."),!1;if(_e){const bt=document.querySelector(_e);if(!bt||!bt.textContent)return console.warn("Element not found"),!1;ft=bt.textContent}return ft&&(mt=ft),yield navigator.clipboard.writeText(mt),!0}catch(mt){return!1}}),b$6=({text:pt})=>{const[_e,ft]=reactExports.useState();return reactExports.useEffect(()=>{_e&&setTimeout(()=>ft(void 0),2e3)},[_e]),_e?jsxRuntimeExports.jsx("div",{className:"copy-tip",children:_e==="success"?jsxRuntimeExports.jsx(p$b,{style:{color:"rgba(48, 191, 19, 1)"}}):jsxRuntimeExports.jsx(n$5,{style:{color:"#dc4446"}})}):jsxRuntimeExports.jsx(Mt$1,{title:"复制",children:jsxRuntimeExports.jsx("div",{className:"copy-btn",onClick:()=>{d$7({value:pt}).then(mt=>{ft(mt?"success":"failed")})},children:jsxRuntimeExports.jsx(N,{type:"icon-fuzhi"})})})};var x$5=Object.defineProperty,f$7=Object.defineProperties,h$7=Object.getOwnPropertyDescriptors,t$2=Object.getOwnPropertySymbols,g$6=Object.prototype.hasOwnProperty,p$9=Object.prototype.propertyIsEnumerable,w$5=(pt,_e,ft)=>_e in pt?x$5(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,d$6=(pt,_e)=>{for(var ft in _e||(_e={}))g$6.call(_e,ft)&&w$5(pt,ft,_e[ft]);if(t$2)for(var ft of t$2(_e))p$9.call(_e,ft)&&w$5(pt,ft,_e[ft]);return pt},m$4=(pt,_e)=>f$7(pt,h$7(_e)),u$7=(pt,_e)=>{var ft={};for(var mt in pt)g$6.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&t$2)for(var mt of t$2(pt))_e.indexOf(mt)<0&&p$9.call(pt,mt)&&(ft[mt]=pt[mt]);return ft};const L$1=pt=>{var _e=pt,{node:ft,inline:mt,className:bt,children:vt}=_e,$t=u$7(_e,["node","inline","className","children"]);const _t=/language-(\w+)/.exec(bt||""),Rt=_t?_t[1]:null;return!mt&&Rt?jsxRuntimeExports.jsxs("div",{className:"markdown-code",children:[jsxRuntimeExports.jsxs("div",{className:"markdown-code-title",children:[jsxRuntimeExports.jsx("span",{className:"markdown-code-title-text",children:Rt}),jsxRuntimeExports.jsx(ue,{className:"markdown-code-title-action",children:jsxRuntimeExports.jsx(b$6,{text:String(vt)})})]}),jsxRuntimeExports.jsx(b$7,m$4(d$6({className:"markdown-code-context",language:Rt},$t),{wrapLongLines:!0,showLineNumbers:!0,PreTag:"div",children:String(vt).replace(/\n$/,"")}))]}):jsxRuntimeExports.jsx("code",m$4(d$6({className:bt},$t),{children:vt}))},y$2=L$1;var j$1=Object.defineProperty,v$5=Object.defineProperties,A$4=Object.getOwnPropertyDescriptors,w$4=Object.getOwnPropertySymbols,f$6=Object.prototype.hasOwnProperty,m$3=Object.prototype.propertyIsEnumerable,d$5=(pt,_e,ft)=>_e in pt?j$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,c$5=(pt,_e)=>{for(var ft in _e||(_e={}))f$6.call(_e,ft)&&d$5(pt,ft,_e[ft]);if(w$4)for(var ft of w$4(_e))m$3.call(_e,ft)&&d$5(pt,ft,_e[ft]);return pt},u$6=(pt,_e)=>v$5(pt,A$4(_e)),x$4=(pt,_e)=>{var ft={};for(var mt in pt)f$6.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&w$4)for(var mt of w$4(pt))_e.indexOf(mt)<0&&m$3.call(pt,mt)&&(ft[mt]=pt[mt]);return ft};const p$8=pt=>{var _e,ft;const mt=pt,{node:bt}=mt,vt=x$4(mt,["node"]);if(bt.tagName==="a"&&((_e=bt.children)==null?void 0:_e.length)>0){const $t=((ft=bt.children[0])==null?void 0:ft.value)||"";let _t=/(^https?:\/\/|^www\.)(?:www\.)?[\w\-]+(\.[\w\-]+)+(\/[\w\- .\/?%&=]*)?/g,Rt=$t.match(_t),Pt=$t.replace(_t,"").trim();if(!(Rt!=null&&Rt.length))return jsxRuntimeExports.jsx("a",c$5({},vt));const Ft=Rt[0];return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("a",u$6(c$5({href:/^www\./.test(Ft)?"//"+Ft:Ft,onClick:()=>window.open(pt.href,pt.target||"_blank")},vt),{children:Ft})),Pt]})}return jsxRuntimeExports.jsx("a",c$5({},vt))},M$2=p$8;var c$4=Object.defineProperty,C$2=Object.defineProperties,T$2=Object.getOwnPropertyDescriptors,m$2=Object.getOwnPropertySymbols,u$5=Object.prototype.hasOwnProperty,h$6=Object.prototype.propertyIsEnumerable,g$5=(pt,_e,ft)=>_e in pt?c$4(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,d$4=(pt,_e)=>{for(var ft in _e||(_e={}))u$5.call(_e,ft)&&g$5(pt,ft,_e[ft]);if(m$2)for(var ft of m$2(_e))h$6.call(_e,ft)&&g$5(pt,ft,_e[ft]);return pt},n$3=(pt,_e)=>C$2(pt,T$2(_e)),s$2=(pt,_e)=>{var ft={};for(var mt in pt)u$5.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&m$2)for(var mt of m$2(pt))_e.indexOf(mt)<0&&h$6.call(pt,mt)&&(ft[mt]=pt[mt]);return ft};function K$3(pt){return pt&&pt.replace(/<think>/gi,'<div class="think">').replace(/<\/think>/gi,"</div>").replace(/<redacted_reasoning>/gi,'<div class="redacted_reasoning">').replace(/<\/redacted_reasoning>/gi,"</div>")}const $$2=pt=>{var _e=pt,{showLatex:ft=!0,components:mt={},componentProps:bt,children:vt}=_e,$t=s$2(_e,["showLatex","components","componentProps","children"]);const _t=reactExports.useRef(null),Rt=d$4({img(Bt){return jsxRuntimeExports.jsx(B$1,d$4(d$4({},Bt),bt==null?void 0:bt.img))},code(Bt){return jsxRuntimeExports.jsx(y$2,d$4(d$4({},Bt),bt==null?void 0:bt.code))},video(Bt){return jsxRuntimeExports.jsx(c$7,d$4(d$4({},Bt),bt==null?void 0:bt.video))},a(Bt){return jsxRuntimeExports.jsx(M$2,d$4(d$4({},Bt),bt==null?void 0:bt.a))}},mt),Pt=K$3(vt),Ft=ft?c$6(Pt):Pt;return jsxRuntimeExports.jsx("div",{ref:_t,children:jsxRuntimeExports.jsx(Markdown,n$3(d$4({className:"markdown",rehypePlugins:[rehypeKatex,[rehypeExternalLinks,{target:"_blank"}]],remarkPlugins:[remarkMath,[remarkGfm,{singleTilde:!1}]]},$t),{children:Ft,components:Rt}))})};(function(){try{if(typeof document!="undefined"){var pt=document.createElement("style");pt.appendChild(document.createTextNode('.document-viewer{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;gap:8px}.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #f0f0f0;background:#fafafa;border-radius:4px;flex-shrink:0}.document-viewer-toolbar-meta{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.document-viewer-toolbar-name{font-weight:500;color:#1f1f1f;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-viewer-toolbar-size{font-size:12px;color:#666;flex-shrink:0}.document-viewer-body{flex:1;min-height:0;display:flex}.document-viewer-loading{display:flex;justify-content:center;align-items:center;min-height:200px;flex:1}.document-viewer-text,.document-viewer-json,.document-viewer-xml{padding:16px;background:#f5f5f5;border-radius:4px;overflow:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;flex:1;min-height:0}.document-viewer-json{background:#f9f9f9}.document-viewer-xml{background:#fff8e1}.document-viewer-jsonl{padding:16px;overflow:auto;flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.document-viewer-jsonl-item{margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:4px;border-left:3px solid #1890ff;width:100%;box-sizing:border-box;max-width:100%}.document-viewer-jsonl-item:last-child{margin-bottom:0}.document-viewer-jsonl-item pre{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;width:100%;max-width:100%;box-sizing:border-box}.document-viewer-code{border-radius:4px;overflow:auto;max-height:100%;height:100%;display:flex;flex-direction:column;width:100%}.document-viewer-code pre{margin:0!important;padding:16px!important;background:#f5f5f5!important;overflow:visible;width:100%;box-sizing:border-box}.document-viewer-code>div{overflow:auto;max-height:100%;width:100%}.document-viewer-image{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-image .ant-image{max-width:100%;max-height:100%;width:100%;height:100%}.document-viewer-image .ant-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.document-viewer-video{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-video video{max-width:100%;max-height:100%}.document-viewer-audio{padding:16px;display:flex;justify-content:center;align-items:center;min-height:100px;overflow:hidden;flex:1;min-height:0}.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-zip{width:100%;height:100%;min-height:0;position:relative;flex:1;display:flex;flex-direction:column}.document-viewer-zip{display:flex;flex-direction:column;padding:16px;background:#fff;overflow:hidden}.document-viewer-zip .ant-table{font-size:12px}.document-viewer-zip .ant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}.document-viewer-zip .ant-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e6f7ff}.document-viewer-iframe{width:100%;height:100%;min-height:0;border:none;border-radius:4px;flex:1}.document-viewer-docx{overflow:hidden;background:#f5f5f5}.document-viewer-docx-content{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box;background:#f5f5f5}.document-viewer-docx-content>section{margin:0 auto 16px;box-shadow:0 2px 8px #00000014}.document-viewer-fallback{margin-top:16px}.document-viewer-alert-full{width:100%;align-self:flex-start}@media (max-width: 768px){.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-iframe{min-height:0}}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}:root{--rpv-drop__area-background-color: #fff;--rpv-drop__area-body-border-color: rgba(0, 0, 0, .3);--rpv-drop__area-body-color: #000}.rpv-core__viewer--dark{--rpv-drop__area-background-color: #191919;--rpv-drop__area-body-border-color: #fff;--rpv-drop__area-body-color: #fff}.rpv-drop__area{background-color:var(--rpv-drop__area-background-color);inset:0;position:absolute;padding:.5rem;z-index:9999}.rpv-drop__area-body{border:2px dashed var(--rpv-drop__area-body-border-color);color:var(--rpv-drop__area-body-color);font-size:1.5rem;align-items:center;display:flex;justify-content:center;height:100%}.rpv-drop__area-body--rtl{direction:rtl}:root{--rpv-full-screen__overlay-background-color: #fff}.rpv-core__viewer--dark{--rpv-full-screen__overlay-background-color: #1a1a1a}.rpv-full-screen__exit-button{bottom:0;padding:.5rem;position:fixed;z-index:2}.rpv-full-screen__exit-button--ltr{right:0}.rpv-full-screen__exit-button--rtl{left:0}.rpv-full-screen__overlay{position:fixed;top:0;left:0;height:100%;width:100%;align-items:center;display:flex;justify-content:center;background-color:var(--rpv-full-screen__overlay-background-color);z-index:1}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-print__progress-body-background-color: #fff;--rpv-print__progress-body-border-color: rgba(0, 0, 0, .3);--rpv-print__progress-body-color: #000}.rpv-core__viewer--dark{--rpv-print__progress-body-background-color: #363636;--rpv-print__progress-body-border-color: transparent;--rpv-print__progress-body-color: #fff}.rpv-print__permission-body{padding:1rem}.rpv-print__permission-footer{display:flex;justify-content:center;padding:0 1rem 1rem 0}.rpv-print__progress{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:9999}.rpv-print__progress-body{background-color:var(--rpv-print__progress-body-background-color);border:1px solid var(--rpv-print__progress-body-border-color);border-radius:.25rem;color:var(--rpv-print__progress-body-color);padding:1.5rem;text-align:center;width:15rem}.rpv-print__progress-body--rtl{direction:rtl}.rpv-print__progress-bar{margin-bottom:1rem}.rpv-print__progress-message{margin-bottom:.5rem}.rpv-print__zone{display:none}@media print{@page{margin:0}.rpv-print__html-printing{height:100%}.rpv-print__body-printing{height:100%;margin:0}.rpv-print__body-printing *{display:none}.rpv-print__zone{display:block;height:100%}.rpv-print__page{align-items:center;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rpv-print__page img{display:block;max-height:100%;max-width:100%}}.rpv-properties__loader{text-align:center}.rpv-properties__modal{min-height:20rem;padding:.5rem 0}.rpv-properties__modal-section{padding:0 .5rem}.rpv-properties__modal-footer{display:flex;justify-content:center;margin-top:.5rem}.rpv-properties__item{align-items:flex-start;display:flex;margin:.5rem 0}.rpv-properties__item--rtl{direction:rtl}.rpv-properties__item-label{padding-right:.5rem;width:25%}.rpv-properties__item-value{flex:1}.rpv-search__highlights{left:0;position:absolute;top:0;height:100%;width:100%}.rpv-search__highlight{background-color:var(--rpv-search__highlight-background-color);border-radius:.25rem;position:absolute;z-index:1}.rpv-search__highlight--current{background-color:var(--rpv-search__highlight--current-background-color)}.rpv-search__popover{padding:0 .5rem}.rpv-search__popover-input-counter{align-items:center;display:flex;margin-bottom:.5rem;position:relative;width:12rem}.rpv-search__popover-counter{align-items:center;bottom:0;display:flex;position:absolute;top:0}.rpv-search__popover-counter--ltr{padding-right:.25rem;right:0}.rpv-search__popover-counter--rtl{left:0;padding-left:.25rem}.rpv-search__popover-label{align-items:center;cursor:pointer;display:flex;margin-bottom:.5rem}.rpv-search__popover-label-checkbox{cursor:pointer;margin-right:.25rem}.rpv-search__popover-footer{align-items:center;display:flex}.rpv-search__popover-footer-item{padding:0 .25rem}.rpv-search__popover-footer-button--ltr{margin-left:auto}.rpv-search__popover-footer-button--rtl{margin-right:auto}:root{--rpv-search__highlight-background-color: rgba(255, 255, 0, .4);--rpv-search__highlight--current-background-color: rgba(0, 128, 0, .4)}.rpv-selection-mode__grab{cursor:grab}.rpv-selection-mode__grab :not(input),.rpv-selection-mode__grab :not(select),.rpv-selection-mode__grab :not(textarea){cursor:grab!important}.rpv-selection-mode__grabbing{cursor:grabbing}.rpv-selection-mode__grabbing :not(input),.rpv-selection-mode__grabbing :not(select),.rpv-selection-mode__grabbing :not(textarea){cursor:grabbing!important}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}:root{--rpv-toolbar__label--color: #000}.rpv-core__viewer--dark{--rpv-toolbar__label--color: #fff}.rpv-toolbar{align-items:center;display:flex;width:100%}.rpv-toolbar--rtl{direction:rtl}.rpv-toolbar__left{align-items:center;display:flex}.rpv-toolbar__center{align-items:center;display:flex;flex-grow:1;flex-shrink:1;justify-content:center}.rpv-toolbar__right{align-items:center;display:flex;margin-left:auto}.rpv-toolbar__item{align-items:center;display:flex;padding:0 .125rem}.rpv-toolbar__label{color:var(--rpv-toolbar__label--color)}.rpv-open__input-wrapper{position:relative}.rpv-open__input{display:none;cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.rpv-open__input::-webkit-file-upload-button{width:0}.pdf-viewer{width:100%;height:100%;overflow-y:auto}')),document.head.appendChild(pt)}}catch(_e){console.error("vite-plugin-css-injected-by-js",_e)}})();var n$2=Object.defineProperty,f$5=(pt,_e,ft)=>_e in pt?n$2(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,r$2=(pt,_e,ft)=>(f$5(pt,typeof _e!="symbol"?_e+"":_e,ft),ft);const o$2=class gm{constructor(_e,ft=!1){this.prefix=_e,this.open=ft}disable(){this.open=!1}enable(){this.open=!0}log(..._e){!this.open&&!gm.debug||console.log(this.prefix,..._e)}info(..._e){!this.open&&!gm.debug||console.info(`%c ${this.prefix} %o`,"color:#0f0;",..._e)}error(..._e){!this.open&&!gm.debug||console.error(this.prefix,..._e)}warn(..._e){!this.open&&!gm.debug||console.warn(this.prefix,..._e)}};r$2(o$2,"debug",!1);let t$1=o$2;var s$1=Object.defineProperty,v$4=Object.defineProperties,u$4=Object.getOwnPropertyDescriptors,n$1=Object.getOwnPropertySymbols,p$7=Object.prototype.hasOwnProperty,h$5=Object.prototype.propertyIsEnumerable,g$4=(pt,_e,ft)=>_e in pt?s$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,i$3=(pt,_e)=>{for(var ft in _e||(_e={}))p$7.call(_e,ft)&&g$4(pt,ft,_e[ft]);if(n$1)for(var ft of n$1(_e))h$5.call(_e,ft)&&g$4(pt,ft,_e[ft]);return pt},l$3=(pt,_e)=>v$4(pt,u$4(_e));const R$4=new t$1("[Config] ");var f$4=(pt=>(pt.dev="https://aiot-dev.glodon.com/api/cvforcepd",pt.test="https://aiot-dev.glodon.com/api/cvforce",pt.prod="https://copilot.glodon.com/api/cvforce",pt.local="http://localhost:3000/api/cvforcepd",pt))(f$4||{});let c$3={debug:!1,env:"prod",apiRoot:"https://copilot.glodon.com/api/cvforce",applicationId:"",plugins:{},mcp:void 0,loadRelatedQuesions:!0,stream:!1};function w$3(pt){t$1.debug=(pt==null?void 0:pt.debug)||!1,c$3=l$3(i$3(i$3({},c$3),pt),{apiRoot:(pt==null?void 0:pt.apiRoot)||c$3.apiRoot||(pt!=null&&pt.env?f$4[pt.env||"prod"]:c$3.apiRoot)}),t$1.debug&&R$4.log("updated",c$3)}const _hasBuffer=typeof Buffer=="function",_TD=typeof TextDecoder=="function"?new TextDecoder:void 0;typeof TextEncoder=="function"&&new TextEncoder;const b64ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b64chs=Array.prototype.slice.call(b64ch),b64tab=(pt=>{let _e={};return pt.forEach((ft,mt)=>_e[ft]=mt),_e})(b64chs),b64re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_fromCC=String.fromCharCode.bind(String),_U8Afrom=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):pt=>new Uint8Array(Array.prototype.slice.call(pt,0)),_tidyB64=pt=>pt.replace(/[^A-Za-z0-9\+\/]/g,""),re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=pt=>{switch(pt.length){case 4:var _e=(7&pt.charCodeAt(0))<<18|(63&pt.charCodeAt(1))<<12|(63&pt.charCodeAt(2))<<6|63&pt.charCodeAt(3),ft=_e-65536;return _fromCC((ft>>>10)+55296)+_fromCC((ft&1023)+56320);case 3:return _fromCC((15&pt.charCodeAt(0))<<12|(63&pt.charCodeAt(1))<<6|63&pt.charCodeAt(2));default:return _fromCC((31&pt.charCodeAt(0))<<6|63&pt.charCodeAt(1))}},btou=pt=>pt.replace(re_btou,cb_btou),atobPolyfill=pt=>{if(pt=pt.replace(/\s+/g,""),!b64re.test(pt))throw new TypeError("malformed base64.");pt+="==".slice(2-(pt.length&3));let _e,ft="",mt,bt;for(let vt=0;vt<pt.length;)_e=b64tab[pt.charAt(vt++)]<<18|b64tab[pt.charAt(vt++)]<<12|(mt=b64tab[pt.charAt(vt++)])<<6|(bt=b64tab[pt.charAt(vt++)]),ft+=mt===64?_fromCC(_e>>16&255):bt===64?_fromCC(_e>>16&255,_e>>8&255):_fromCC(_e>>16&255,_e>>8&255,_e&255);return ft},_atob=typeof atob=="function"?pt=>atob(_tidyB64(pt)):_hasBuffer?pt=>Buffer.from(pt,"base64").toString("binary"):atobPolyfill,_toUint8Array=_hasBuffer?pt=>_U8Afrom(Buffer.from(pt,"base64")):pt=>_U8Afrom(_atob(pt).split("").map(_e=>_e.charCodeAt(0))),_decode=_hasBuffer?pt=>Buffer.from(pt,"base64").toString("utf8"):_TD?pt=>_TD.decode(_toUint8Array(pt)):pt=>btou(_atob(pt)),_unURI=pt=>_tidyB64(pt.replace(/[-_]/g,_e=>_e=="-"?"+":"/")),decode$2=pt=>_decode(_unURI(pt)),c$2=pt=>JSON.parse(decode$2(pt.split(".")[1])),i$2=pt=>{const _e=c$2(pt).exp;return new Date().valueOf()/1e3>=_e},a$3=pt=>pt==null?void 0:pt.replace(/[\r\n]+/gm,""),p$6=pt=>pt.replace(/\\|\\/g,"");var d$3=Object.defineProperty,h$4=Object.defineProperties,x$3=Object.getOwnPropertyDescriptors,c$1=Object.getOwnPropertySymbols,E$2=Object.prototype.hasOwnProperty,I$4=Object.prototype.propertyIsEnumerable,a$2=(pt,_e,ft)=>_e in pt?d$3(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,f$3=(pt,_e)=>{for(var ft in _e||(_e={}))E$2.call(_e,ft)&&a$2(pt,ft,_e[ft]);if(c$1)for(var ft of c$1(_e))I$4.call(_e,ft)&&a$2(pt,ft,_e[ft]);return pt},p$5=(pt,_e)=>h$4(pt,x$3(_e));function z(pt,_e,ft){const mt=Rt=>{var Pt;return _e&&(i$2(_e)&&ft(403,"aiotToken is timeout"),Rt.headers=(Pt=Rt.headers)!=null?Pt:{},Rt.headers=p$5(f$3({},Rt.headers),{Authorization:_e?`Bearer ${_e}`:""})),Rt};function bt(Rt,Pt=!0){const Ft=`${pt}${Rt}`,Bt=qz.create({baseURL:Ft});return Pt&&Bt.interceptors.request.use(mt),Bt}const vt=(Rt,Pt)=>{Rt===401&&ft(Rt,"aiotToken is invalid")},$t=(Rt,Pt)=>{Rt!==10001&&Rt!==10215&&ft(Rt,Pt)},_t=bt("/data/v1");return new k$6(_t,{onHttpStatusError:vt,onAppStatusError:$t})}const PACKET_TYPES=Object.create(null);PACKET_TYPES.open="0";PACKET_TYPES.close="1";PACKET_TYPES.ping="2";PACKET_TYPES.pong="3";PACKET_TYPES.message="4";PACKET_TYPES.upgrade="5";PACKET_TYPES.noop="6";const PACKET_TYPES_REVERSE=Object.create(null);Object.keys(PACKET_TYPES).forEach(pt=>{PACKET_TYPES_REVERSE[PACKET_TYPES[pt]]=pt});const ERROR_PACKET={type:"error",data:"parser error"},withNativeBlob$1=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",withNativeArrayBuffer$2=typeof ArrayBuffer=="function",isView$1=pt=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(pt):pt&&pt.buffer instanceof ArrayBuffer,encodePacket=({type:pt,data:_e},ft,mt)=>withNativeBlob$1&&_e instanceof Blob?ft?mt(_e):encodeBlobAsBase64(_e,mt):withNativeArrayBuffer$2&&(_e instanceof ArrayBuffer||isView$1(_e))?ft?mt(_e):encodeBlobAsBase64(new Blob([_e]),mt):mt(PACKET_TYPES[pt]+(_e||"")),encodeBlobAsBase64=(pt,_e)=>{const ft=new FileReader;return ft.onload=function(){const mt=ft.result.split(",")[1];_e("b"+(mt||""))},ft.readAsDataURL(pt)};function toArray(pt){return pt instanceof Uint8Array?pt:pt instanceof ArrayBuffer?new Uint8Array(pt):new Uint8Array(pt.buffer,pt.byteOffset,pt.byteLength)}let TEXT_ENCODER;function encodePacketToBinary(pt,_e){if(withNativeBlob$1&&pt.data instanceof Blob)return pt.data.arrayBuffer().then(toArray).then(_e);if(withNativeArrayBuffer$2&&(pt.data instanceof ArrayBuffer||isView$1(pt.data)))return _e(toArray(pt.data));encodePacket(pt,!1,ft=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder),_e(TEXT_ENCODER.encode(ft))})}const chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(let pt=0;pt<chars.length;pt++)lookup$1[chars.charCodeAt(pt)]=pt;const decode$1=pt=>{let _e=pt.length*.75,ft=pt.length,mt,bt=0,vt,$t,_t,Rt;pt[pt.length-1]==="="&&(_e--,pt[pt.length-2]==="="&&_e--);const Pt=new ArrayBuffer(_e),Ft=new Uint8Array(Pt);for(mt=0;mt<ft;mt+=4)vt=lookup$1[pt.charCodeAt(mt)],$t=lookup$1[pt.charCodeAt(mt+1)],_t=lookup$1[pt.charCodeAt(mt+2)],Rt=lookup$1[pt.charCodeAt(mt+3)],Ft[bt++]=vt<<2|$t>>4,Ft[bt++]=($t&15)<<4|_t>>2,Ft[bt++]=(_t&3)<<6|Rt&63;return Pt},withNativeArrayBuffer$1=typeof ArrayBuffer=="function",decodePacket=(pt,_e)=>{if(typeof pt!="string")return{type:"message",data:mapBinary(pt,_e)};const ft=pt.charAt(0);return ft==="b"?{type:"message",data:decodeBase64Packet(pt.substring(1),_e)}:PACKET_TYPES_REVERSE[ft]?pt.length>1?{type:PACKET_TYPES_REVERSE[ft],data:pt.substring(1)}:{type:PACKET_TYPES_REVERSE[ft]}:ERROR_PACKET},decodeBase64Packet=(pt,_e)=>{if(withNativeArrayBuffer$1){const ft=decode$1(pt);return mapBinary(ft,_e)}else return{base64:!0,data:pt}},mapBinary=(pt,_e)=>{switch(_e){case"blob":return pt instanceof Blob?pt:new Blob([pt]);case"arraybuffer":default:return pt instanceof ArrayBuffer?pt:pt.buffer}},SEPARATOR=String.fromCharCode(30),encodePayload=(pt,_e)=>{const ft=pt.length,mt=new Array(ft);let bt=0;pt.forEach((vt,$t)=>{encodePacket(vt,!1,_t=>{mt[$t]=_t,++bt===ft&&_e(mt.join(SEPARATOR))})})},decodePayload=(pt,_e)=>{const ft=pt.split(SEPARATOR),mt=[];for(let bt=0;bt<ft.length;bt++){const vt=decodePacket(ft[bt],_e);if(mt.push(vt),vt.type==="error")break}return mt};function createPacketEncoderStream(){return new TransformStream({transform(pt,_e){encodePacketToBinary(pt,ft=>{const mt=ft.length;let bt;if(mt<126)bt=new Uint8Array(1),new DataView(bt.buffer).setUint8(0,mt);else if(mt<65536){bt=new Uint8Array(3);const vt=new DataView(bt.buffer);vt.setUint8(0,126),vt.setUint16(1,mt)}else{bt=new Uint8Array(9);const vt=new DataView(bt.buffer);vt.setUint8(0,127),vt.setBigUint64(1,BigInt(mt))}pt.data&&typeof pt.data!="string"&&(bt[0]|=128),_e.enqueue(bt),_e.enqueue(ft)})}})}let TEXT_DECODER;function totalLength(pt){return pt.reduce((_e,ft)=>_e+ft.length,0)}function concatChunks(pt,_e){if(pt[0].length===_e)return pt.shift();const ft=new Uint8Array(_e);let mt=0;for(let bt=0;bt<_e;bt++)ft[bt]=pt[0][mt++],mt===pt[0].length&&(pt.shift(),mt=0);return pt.length&&mt<pt[0].length&&(pt[0]=pt[0].slice(mt)),ft}function createPacketDecoderStream(pt,_e){TEXT_DECODER||(TEXT_DECODER=new TextDecoder);const ft=[];let mt=0,bt=-1,vt=!1;return new TransformStream({transform($t,_t){for(ft.push($t);;){if(mt===0){if(totalLength(ft)<1)break;const Rt=concatChunks(ft,1);vt=(Rt[0]&128)===128,bt=Rt[0]&127,bt<126?mt=3:bt===126?mt=1:mt=2}else if(mt===1){if(totalLength(ft)<2)break;const Rt=concatChunks(ft,2);bt=new DataView(Rt.buffer,Rt.byteOffset,Rt.length).getUint16(0),mt=3}else if(mt===2){if(totalLength(ft)<8)break;const Rt=concatChunks(ft,8),Pt=new DataView(Rt.buffer,Rt.byteOffset,Rt.length),Ft=Pt.getUint32(0);if(Ft>Math.pow(2,53-32)-1){_t.enqueue(ERROR_PACKET);break}bt=Ft*Math.pow(2,32)+Pt.getUint32(4),mt=3}else{if(totalLength(ft)<bt)break;const Rt=concatChunks(ft,bt);_t.enqueue(decodePacket(vt?Rt:TEXT_DECODER.decode(Rt),_e)),mt=0}if(bt===0||bt>pt){_t.enqueue(ERROR_PACKET);break}}}})}const protocol$1=4;function Emitter$1(pt){if(pt)return mixin(pt)}function mixin(pt){for(var _e in Emitter$1.prototype)pt[_e]=Emitter$1.prototype[_e];return pt}Emitter$1.prototype.on=Emitter$1.prototype.addEventListener=function(pt,_e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+pt]=this._callbacks["$"+pt]||[]).push(_e),this};Emitter$1.prototype.once=function(pt,_e){function ft(){this.off(pt,ft),_e.apply(this,arguments)}return ft.fn=_e,this.on(pt,ft),this};Emitter$1.prototype.off=Emitter$1.prototype.removeListener=Emitter$1.prototype.removeAllListeners=Emitter$1.prototype.removeEventListener=function(pt,_e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var ft=this._callbacks["$"+pt];if(!ft)return this;if(arguments.length==1)return delete this._callbacks["$"+pt],this;for(var mt,bt=0;bt<ft.length;bt++)if(mt=ft[bt],mt===_e||mt.fn===_e){ft.splice(bt,1);break}return ft.length===0&&delete this._callbacks["$"+pt],this};Emitter$1.prototype.emit=function(pt){this._callbacks=this._callbacks||{};for(var _e=new Array(arguments.length-1),ft=this._callbacks["$"+pt],mt=1;mt<arguments.length;mt++)_e[mt-1]=arguments[mt];if(ft){ft=ft.slice(0);for(var mt=0,bt=ft.length;mt<bt;++mt)ft[mt].apply(this,_e)}return this};Emitter$1.prototype.emitReserved=Emitter$1.prototype.emit;Emitter$1.prototype.listeners=function(pt){return this._callbacks=this._callbacks||{},this._callbacks["$"+pt]||[]};Emitter$1.prototype.hasListeners=function(pt){return!!this.listeners(pt).length};const nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?_e=>Promise.resolve().then(_e):(_e,ft)=>ft(_e,0))(),globalThisShim=(()=>typeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")())(),defaultBinaryType="arraybuffer";function createCookieJar(){}function pick(pt,..._e){return _e.reduce((ft,mt)=>(pt.hasOwnProperty(mt)&&(ft[mt]=pt[mt]),ft),{})}const NATIVE_SET_TIMEOUT=globalThisShim.setTimeout,NATIVE_CLEAR_TIMEOUT=globalThisShim.clearTimeout;function installTimerFunctions(pt,_e){_e.useNativeTimers?(pt.setTimeoutFn=NATIVE_SET_TIMEOUT.bind(globalThisShim),pt.clearTimeoutFn=NATIVE_CLEAR_TIMEOUT.bind(globalThisShim)):(pt.setTimeoutFn=globalThisShim.setTimeout.bind(globalThisShim),pt.clearTimeoutFn=globalThisShim.clearTimeout.bind(globalThisShim))}const BASE64_OVERHEAD=1.33;function byteLength(pt){return typeof pt=="string"?utf8Length(pt):Math.ceil((pt.byteLength||pt.size)*BASE64_OVERHEAD)}function utf8Length(pt){let _e=0,ft=0;for(let mt=0,bt=pt.length;mt<bt;mt++)_e=pt.charCodeAt(mt),_e<128?ft+=1:_e<2048?ft+=2:_e<55296||_e>=57344?ft+=3:(mt++,ft+=4);return ft}function randomString(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function encode(pt){let _e="";for(let ft in pt)pt.hasOwnProperty(ft)&&(_e.length&&(_e+="&"),_e+=encodeURIComponent(ft)+"="+encodeURIComponent(pt[ft]));return _e}function decode(pt){let _e={},ft=pt.split("&");for(let mt=0,bt=ft.length;mt<bt;mt++){let vt=ft[mt].split("=");_e[decodeURIComponent(vt[0])]=decodeURIComponent(vt[1])}return _e}class TransportError extends Error{constructor(_e,ft,mt){super(_e),this.description=ft,this.context=mt,this.type="TransportError"}}class Transport extends Emitter$1{constructor(_e){super(),this.writable=!1,installTimerFunctions(this,_e),this.opts=_e,this.query=_e.query,this.socket=_e.socket,this.supportsBinary=!_e.forceBase64}onError(_e,ft,mt){return super.emitReserved("error",new TransportError(_e,ft,mt)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(_e){this.readyState==="open"&&this.write(_e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(_e){const ft=decodePacket(_e,this.socket.binaryType);this.onPacket(ft)}onPacket(_e){super.emitReserved("packet",_e)}onClose(_e){this.readyState="closed",super.emitReserved("close",_e)}pause(_e){}createUri(_e,ft={}){return _e+"://"+this._hostname()+this._port()+this.opts.path+this._query(ft)}_hostname(){const _e=this.opts.hostname;return _e.indexOf(":")===-1?_e:"["+_e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(_e){const ft=encode(_e);return ft.length?"?"+ft:""}}class Polling extends Transport{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(_e){this.readyState="pausing";const ft=()=>{this.readyState="paused",_e()};if(this._polling||!this.writable){let mt=0;this._polling&&(mt++,this.once("pollComplete",function(){--mt||ft()})),this.writable||(mt++,this.once("drain",function(){--mt||ft()}))}else ft()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(_e){const ft=mt=>{if(this.readyState==="opening"&&mt.type==="open"&&this.onOpen(),mt.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(mt)};decodePayload(_e,this.socket.binaryType).forEach(ft),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const _e=()=>{this.write([{type:"close"}])};this.readyState==="open"?_e():this.once("open",_e)}write(_e){this.writable=!1,encodePayload(_e,ft=>{this.doWrite(ft,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const _e=this.opts.secure?"https":"http",ft=this.query||{};return this.opts.timestampRequests!==!1&&(ft[this.opts.timestampParam]=randomString()),!this.supportsBinary&&!ft.sid&&(ft.b64=1),this.createUri(_e,ft)}}let value=!1;try{value=typeof XMLHttpRequest!="undefined"&&"withCredentials"in new XMLHttpRequest}catch(pt){}const hasCORS=value;function empty(){}class BaseXHR extends Polling{constructor(_e){if(super(_e),typeof location!="undefined"){const ft=location.protocol==="https:";let mt=location.port;mt||(mt=ft?"443":"80"),this.xd=typeof location!="undefined"&&_e.hostname!==location.hostname||mt!==_e.port}}doWrite(_e,ft){const mt=this.request({method:"POST",data:_e});mt.on("success",ft),mt.on("error",(bt,vt)=>{this.onError("xhr post error",bt,vt)})}doPoll(){const _e=this.request();_e.on("data",this.onData.bind(this)),_e.on("error",(ft,mt)=>{this.onError("xhr poll error",ft,mt)}),this.pollXhr=_e}}class Request extends Emitter$1{constructor(_e,ft,mt){super(),this.createRequest=_e,installTimerFunctions(this,mt),this._opts=mt,this._method=mt.method||"GET",this._uri=ft,this._data=mt.data!==void 0?mt.data:null,this._create()}_create(){var _e;const ft=pick(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");ft.xdomain=!!this._opts.xd;const mt=this._xhr=this.createRequest(ft);try{mt.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){mt.setDisableHeaderCheck&&mt.setDisableHeaderCheck(!0);for(let bt in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(bt)&&mt.setRequestHeader(bt,this._opts.extraHeaders[bt])}}catch(bt){}if(this._method==="POST")try{mt.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(bt){}try{mt.setRequestHeader("Accept","*/*")}catch(bt){}(_e=this._opts.cookieJar)===null||_e===void 0||_e.addCookies(mt),"withCredentials"in mt&&(mt.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(mt.timeout=this._opts.requestTimeout),mt.onreadystatechange=()=>{var bt;mt.readyState===3&&((bt=this._opts.cookieJar)===null||bt===void 0||bt.parseCookies(mt.getResponseHeader("set-cookie"))),mt.readyState===4&&(mt.status===200||mt.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof mt.status=="number"?mt.status:0)},0))},mt.send(this._data)}catch(bt){this.setTimeoutFn(()=>{this._onError(bt)},0);return}typeof document!="undefined"&&(this._index=Request.requestsCount++,Request.requests[this._index]=this)}_onError(_e){this.emitReserved("error",_e,this._xhr),this._cleanup(!0)}_cleanup(_e){if(!(typeof this._xhr=="undefined"||this._xhr===null)){if(this._xhr.onreadystatechange=empty,_e)try{this._xhr.abort()}catch(ft){}typeof document!="undefined"&&delete Request.requests[this._index],this._xhr=null}}_onLoad(){const _e=this._xhr.responseText;_e!==null&&(this.emitReserved("data",_e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Request.requestsCount=0;Request.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",unloadHandler);else if(typeof addEventListener=="function"){const pt="onpagehide"in globalThisShim?"pagehide":"unload";addEventListener(pt,unloadHandler,!1)}}function unloadHandler(){for(let pt in Request.requests)Request.requests.hasOwnProperty(pt)&&Request.requests[pt].abort()}const hasXHR2=function(){const pt=newRequest({xdomain:!1});return pt&&pt.responseType!==null}();class XHR extends BaseXHR{constructor(_e){super(_e);const ft=_e&&_e.forceBase64;this.supportsBinary=hasXHR2&&!ft}request(_e={}){return Object.assign(_e,{xd:this.xd},this.opts),new Request(newRequest,this.uri(),_e)}}function newRequest(pt){const _e=pt.xdomain;try{if(typeof XMLHttpRequest!="undefined"&&(!_e||hasCORS))return new XMLHttpRequest}catch(ft){}if(!_e)try{return new globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(ft){}}const isReactNative=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class BaseWS extends Transport{get name(){return"websocket"}doOpen(){const _e=this.uri(),ft=this.opts.protocols,mt=isReactNative?{}:pick(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(mt.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(_e,ft,mt)}catch(bt){return this.emitReserved("error",bt)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=_e=>this.onClose({description:"websocket connection closed",context:_e}),this.ws.onmessage=_e=>this.onData(_e.data),this.ws.onerror=_e=>this.onError("websocket error",_e)}write(_e){this.writable=!1;for(let ft=0;ft<_e.length;ft++){const mt=_e[ft],bt=ft===_e.length-1;encodePacket(mt,this.supportsBinary,vt=>{try{this.doWrite(mt,vt)}catch($t){}bt&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const _e=this.opts.secure?"wss":"ws",ft=this.query||{};return this.opts.timestampRequests&&(ft[this.opts.timestampParam]=randomString()),this.supportsBinary||(ft.b64=1),this.createUri(_e,ft)}}const WebSocketCtor=globalThisShim.WebSocket||globalThisShim.MozWebSocket;class WS extends BaseWS{createSocket(_e,ft,mt){return isReactNative?new WebSocketCtor(_e,ft,mt):ft?new WebSocketCtor(_e,ft):new WebSocketCtor(_e)}doWrite(_e,ft){this.ws.send(ft)}}let WT$1=class extends Transport{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(_e){return this.emitReserved("error",_e)}this._transport.closed.then(()=>{this.onClose()}).catch(_e=>{this.onError("webtransport error",_e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(_e=>{const ft=createPacketDecoderStream(Number.MAX_SAFE_INTEGER,this.socket.binaryType),mt=_e.readable.pipeThrough(ft).getReader(),bt=createPacketEncoderStream();bt.readable.pipeTo(_e.writable),this._writer=bt.writable.getWriter();const vt=()=>{mt.read().then(({done:_t,value:Rt})=>{_t||(this.onPacket(Rt),vt())}).catch(_t=>{})};vt();const $t={type:"open"};this.query.sid&&($t.data=`{"sid":"${this.query.sid}"}`),this._writer.write($t).then(()=>this.onOpen())})})}write(_e){this.writable=!1;for(let ft=0;ft<_e.length;ft++){const mt=_e[ft],bt=ft===_e.length-1;this._writer.write(mt).then(()=>{bt&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var _e;(_e=this._transport)===null||_e===void 0||_e.close()}};const transports={websocket:WS,webtransport:WT$1,polling:XHR},re$1=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function parse(pt){if(pt.length>8e3)throw"URI too long";const _e=pt,ft=pt.indexOf("["),mt=pt.indexOf("]");ft!=-1&&mt!=-1&&(pt=pt.substring(0,ft)+pt.substring(ft,mt).replace(/:/g,";")+pt.substring(mt,pt.length));let bt=re$1.exec(pt||""),vt={},$t=14;for(;$t--;)vt[parts[$t]]=bt[$t]||"";return ft!=-1&&mt!=-1&&(vt.source=_e,vt.host=vt.host.substring(1,vt.host.length-1).replace(/;/g,":"),vt.authority=vt.authority.replace("[","").replace("]","").replace(/;/g,":"),vt.ipv6uri=!0),vt.pathNames=pathNames(vt,vt.path),vt.queryKey=queryKey(vt,vt.query),vt}function pathNames(pt,_e){const ft=/\/{2,9}/g,mt=_e.replace(ft,"/").split("/");return(_e.slice(0,1)=="/"||_e.length===0)&&mt.splice(0,1),_e.slice(-1)=="/"&&mt.splice(mt.length-1,1),mt}function queryKey(pt,_e){const ft={};return _e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(mt,bt,vt){bt&&(ft[bt]=vt)}),ft}const withEventListeners=typeof addEventListener=="function"&&typeof removeEventListener=="function",OFFLINE_EVENT_LISTENERS=[];withEventListeners&&addEventListener("offline",()=>{OFFLINE_EVENT_LISTENERS.forEach(pt=>pt())},!1);class SocketWithoutUpgrade extends Emitter$1{constructor(_e,ft){if(super(),this.binaryType=defaultBinaryType,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,_e&&typeof _e=="object"&&(ft=_e,_e=null),_e){const mt=parse(_e);ft.hostname=mt.host,ft.secure=mt.protocol==="https"||mt.protocol==="wss",ft.port=mt.port,mt.query&&(ft.query=mt.query)}else ft.host&&(ft.hostname=parse(ft.host).host);installTimerFunctions(this,ft),this.secure=ft.secure!=null?ft.secure:typeof location!="undefined"&&location.protocol==="https:",ft.hostname&&!ft.port&&(ft.port=this.secure?"443":"80"),this.hostname=ft.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=ft.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},ft.transports.forEach(mt=>{const bt=mt.prototype.name;this.transports.push(bt),this._transportsByName[bt]=mt}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},ft),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=decode(this.opts.query)),withEventListeners&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},OFFLINE_EVENT_LISTENERS.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(_e){const ft=Object.assign({},this.opts.query);ft.EIO=protocol$1,ft.transport=_e,this.id&&(ft.sid=this.id);const mt=Object.assign({},this.opts,{query:ft,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[_e]);return new this._transportsByName[_e](mt)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const _e=this.opts.rememberUpgrade&&SocketWithoutUpgrade.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const ft=this.createTransport(_e);ft.open(),this.setTransport(ft)}setTransport(_e){this.transport&&this.transport.removeAllListeners(),this.transport=_e,_e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",ft=>this._onClose("transport close",ft))}onOpen(){this.readyState="open",SocketWithoutUpgrade.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(_e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",_e),this.emitReserved("heartbeat"),_e.type){case"open":this.onHandshake(JSON.parse(_e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const ft=new Error("server error");ft.code=_e.data,this._onError(ft);break;case"message":this.emitReserved("data",_e.data),this.emitReserved("message",_e.data);break}}onHandshake(_e){this.emitReserved("handshake",_e),this.id=_e.sid,this.transport.query.sid=_e.sid,this._pingInterval=_e.pingInterval,this._pingTimeout=_e.pingTimeout,this._maxPayload=_e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const _e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+_e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},_e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const _e=this._getWritablePackets();this.transport.send(_e),this._prevBufferLen=_e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let ft=1;for(let mt=0;mt<this.writeBuffer.length;mt++){const bt=this.writeBuffer[mt].data;if(bt&&(ft+=byteLength(bt)),mt>0&&ft>this._maxPayload)return this.writeBuffer.slice(0,mt);ft+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const _e=Date.now()>this._pingTimeoutTime;return _e&&(this._pingTimeoutTime=0,nextTick(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),_e}write(_e,ft,mt){return this._sendPacket("message",_e,ft,mt),this}send(_e,ft,mt){return this._sendPacket("message",_e,ft,mt),this}_sendPacket(_e,ft,mt,bt){if(typeof ft=="function"&&(bt=ft,ft=void 0),typeof mt=="function"&&(bt=mt,mt=null),this.readyState==="closing"||this.readyState==="closed")return;mt=mt||{},mt.compress=mt.compress!==!1;const vt={type:_e,data:ft,options:mt};this.emitReserved("packetCreate",vt),this.writeBuffer.push(vt),bt&&this.once("flush",bt),this.flush()}close(){const _e=()=>{this._onClose("forced close"),this.transport.close()},ft=()=>{this.off("upgrade",ft),this.off("upgradeError",ft),_e()},mt=()=>{this.once("upgrade",ft),this.once("upgradeError",ft)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?mt():_e()}):this.upgrading?mt():_e()),this}_onError(_e){if(SocketWithoutUpgrade.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",_e),this._onClose("transport error",_e)}_onClose(_e,ft){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),withEventListeners&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const mt=OFFLINE_EVENT_LISTENERS.indexOf(this._offlineEventListener);mt!==-1&&OFFLINE_EVENT_LISTENERS.splice(mt,1)}this.readyState="closed",this.id=null,this.emitReserved("close",_e,ft),this.writeBuffer=[],this._prevBufferLen=0}}}SocketWithoutUpgrade.protocol=protocol$1;class SocketWithUpgrade extends SocketWithoutUpgrade{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let _e=0;_e<this._upgrades.length;_e++)this._probe(this._upgrades[_e])}_probe(_e){let ft=this.createTransport(_e),mt=!1;SocketWithoutUpgrade.priorWebsocketSuccess=!1;const bt=()=>{mt||(ft.send([{type:"ping",data:"probe"}]),ft.once("packet",Bt=>{if(!mt)if(Bt.type==="pong"&&Bt.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",ft),!ft)return;SocketWithoutUpgrade.priorWebsocketSuccess=ft.name==="websocket",this.transport.pause(()=>{mt||this.readyState!=="closed"&&(Ft(),this.setTransport(ft),ft.send([{type:"upgrade"}]),this.emitReserved("upgrade",ft),ft=null,this.upgrading=!1,this.flush())})}else{const Gt=new Error("probe error");Gt.transport=ft.name,this.emitReserved("upgradeError",Gt)}}))};function vt(){mt||(mt=!0,Ft(),ft.close(),ft=null)}const $t=Bt=>{const Gt=new Error("probe error: "+Bt);Gt.transport=ft.name,vt(),this.emitReserved("upgradeError",Gt)};function _t(){$t("transport closed")}function Rt(){$t("socket closed")}function Pt(Bt){ft&&Bt.name!==ft.name&&vt()}const Ft=()=>{ft.removeListener("open",bt),ft.removeListener("error",$t),ft.removeListener("close",_t),this.off("close",Rt),this.off("upgrading",Pt)};ft.once("open",bt),ft.once("error",$t),ft.once("close",_t),this.once("close",Rt),this.once("upgrading",Pt),this._upgrades.indexOf("webtransport")!==-1&&_e!=="webtransport"?this.setTimeoutFn(()=>{mt||ft.open()},200):ft.open()}onHandshake(_e){this._upgrades=this._filterUpgrades(_e.upgrades),super.onHandshake(_e)}_filterUpgrades(_e){const ft=[];for(let mt=0;mt<_e.length;mt++)~this.transports.indexOf(_e[mt])&&ft.push(_e[mt]);return ft}}let Socket$1=class extends SocketWithUpgrade{constructor(_e,ft={}){const mt=typeof _e=="object"?_e:ft;(!mt.transports||mt.transports&&typeof mt.transports[0]=="string")&&(mt.transports=(mt.transports||["polling","websocket","webtransport"]).map(bt=>transports[bt]).filter(bt=>!!bt)),super(_e,mt)}};function url(pt,_e="",ft){let mt=pt;ft=ft||typeof location!="undefined"&&location,pt==null&&(pt=ft.protocol+"//"+ft.host),typeof pt=="string"&&(pt.charAt(0)==="/"&&(pt.charAt(1)==="/"?pt=ft.protocol+pt:pt=ft.host+pt),/^(https?|wss?):\/\//.test(pt)||(typeof ft!="undefined"?pt=ft.protocol+"//"+pt:pt="https://"+pt),mt=parse(pt)),mt.port||(/^(http|ws)$/.test(mt.protocol)?mt.port="80":/^(http|ws)s$/.test(mt.protocol)&&(mt.port="443")),mt.path=mt.path||"/";const vt=mt.host.indexOf(":")!==-1?"["+mt.host+"]":mt.host;return mt.id=mt.protocol+"://"+vt+":"+mt.port+_e,mt.href=mt.protocol+"://"+vt+(ft&&ft.port===mt.port?"":":"+mt.port),mt}const withNativeArrayBuffer=typeof ArrayBuffer=="function",isView=pt=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(pt):pt.buffer instanceof ArrayBuffer,toString=Object.prototype.toString,withNativeBlob=typeof Blob=="function"||typeof Blob!="undefined"&&toString.call(Blob)==="[object BlobConstructor]",withNativeFile=typeof File=="function"||typeof File!="undefined"&&toString.call(File)==="[object FileConstructor]";function isBinary(pt){return withNativeArrayBuffer&&(pt instanceof ArrayBuffer||isView(pt))||withNativeBlob&&pt instanceof Blob||withNativeFile&&pt instanceof File}function hasBinary(pt,_e){if(!pt||typeof pt!="object")return!1;if(Array.isArray(pt)){for(let ft=0,mt=pt.length;ft<mt;ft++)if(hasBinary(pt[ft]))return!0;return!1}if(isBinary(pt))return!0;if(pt.toJSON&&typeof pt.toJSON=="function"&&arguments.length===1)return hasBinary(pt.toJSON(),!0);for(const ft in pt)if(Object.prototype.hasOwnProperty.call(pt,ft)&&hasBinary(pt[ft]))return!0;return!1}function deconstructPacket(pt){const _e=[],ft=pt.data,mt=pt;return mt.data=_deconstructPacket(ft,_e),mt.attachments=_e.length,{packet:mt,buffers:_e}}function _deconstructPacket(pt,_e){if(!pt)return pt;if(isBinary(pt)){const ft={_placeholder:!0,num:_e.length};return _e.push(pt),ft}else if(Array.isArray(pt)){const ft=new Array(pt.length);for(let mt=0;mt<pt.length;mt++)ft[mt]=_deconstructPacket(pt[mt],_e);return ft}else if(typeof pt=="object"&&!(pt instanceof Date)){const ft={};for(const mt in pt)Object.prototype.hasOwnProperty.call(pt,mt)&&(ft[mt]=_deconstructPacket(pt[mt],_e));return ft}return pt}function reconstructPacket(pt,_e){return pt.data=_reconstructPacket(pt.data,_e),delete pt.attachments,pt}function _reconstructPacket(pt,_e){if(!pt)return pt;if(pt&&pt._placeholder===!0){if(typeof pt.num=="number"&&pt.num>=0&&pt.num<_e.length)return _e[pt.num];throw new Error("illegal attachments")}else if(Array.isArray(pt))for(let ft=0;ft<pt.length;ft++)pt[ft]=_reconstructPacket(pt[ft],_e);else if(typeof pt=="object")for(const ft in pt)Object.prototype.hasOwnProperty.call(pt,ft)&&(pt[ft]=_reconstructPacket(pt[ft],_e));return pt}const RESERVED_EVENTS$1=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],protocol=5;var PacketType;(function(pt){pt[pt.CONNECT=0]="CONNECT",pt[pt.DISCONNECT=1]="DISCONNECT",pt[pt.EVENT=2]="EVENT",pt[pt.ACK=3]="ACK",pt[pt.CONNECT_ERROR=4]="CONNECT_ERROR",pt[pt.BINARY_EVENT=5]="BINARY_EVENT",pt[pt.BINARY_ACK=6]="BINARY_ACK"})(PacketType||(PacketType={}));class Encoder{constructor(_e){this.replacer=_e}encode(_e){return(_e.type===PacketType.EVENT||_e.type===PacketType.ACK)&&hasBinary(_e)?this.encodeAsBinary({type:_e.type===PacketType.EVENT?PacketType.BINARY_EVENT:PacketType.BINARY_ACK,nsp:_e.nsp,data:_e.data,id:_e.id}):[this.encodeAsString(_e)]}encodeAsString(_e){let ft=""+_e.type;return(_e.type===PacketType.BINARY_EVENT||_e.type===PacketType.BINARY_ACK)&&(ft+=_e.attachments+"-"),_e.nsp&&_e.nsp!=="/"&&(ft+=_e.nsp+","),_e.id!=null&&(ft+=_e.id),_e.data!=null&&(ft+=JSON.stringify(_e.data,this.replacer)),ft}encodeAsBinary(_e){const ft=deconstructPacket(_e),mt=this.encodeAsString(ft.packet),bt=ft.buffers;return bt.unshift(mt),bt}}function isObject$1(pt){return Object.prototype.toString.call(pt)==="[object Object]"}class Decoder extends Emitter$1{constructor(_e){super(),this.reviver=_e}add(_e){let ft;if(typeof _e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");ft=this.decodeString(_e);const mt=ft.type===PacketType.BINARY_EVENT;mt||ft.type===PacketType.BINARY_ACK?(ft.type=mt?PacketType.EVENT:PacketType.ACK,this.reconstructor=new BinaryReconstructor(ft),ft.attachments===0&&super.emitReserved("decoded",ft)):super.emitReserved("decoded",ft)}else if(isBinary(_e)||_e.base64)if(this.reconstructor)ft=this.reconstructor.takeBinaryData(_e),ft&&(this.reconstructor=null,super.emitReserved("decoded",ft));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+_e)}decodeString(_e){let ft=0;const mt={type:Number(_e.charAt(0))};if(PacketType[mt.type]===void 0)throw new Error("unknown packet type "+mt.type);if(mt.type===PacketType.BINARY_EVENT||mt.type===PacketType.BINARY_ACK){const vt=ft+1;for(;_e.charAt(++ft)!=="-"&&ft!=_e.length;);const $t=_e.substring(vt,ft);if($t!=Number($t)||_e.charAt(ft)!=="-")throw new Error("Illegal attachments");mt.attachments=Number($t)}if(_e.charAt(ft+1)==="/"){const vt=ft+1;for(;++ft&&!(_e.charAt(ft)===","||ft===_e.length););mt.nsp=_e.substring(vt,ft)}else mt.nsp="/";const bt=_e.charAt(ft+1);if(bt!==""&&Number(bt)==bt){const vt=ft+1;for(;++ft;){const $t=_e.charAt(ft);if($t==null||Number($t)!=$t){--ft;break}if(ft===_e.length)break}mt.id=Number(_e.substring(vt,ft+1))}if(_e.charAt(++ft)){const vt=this.tryParse(_e.substr(ft));if(Decoder.isPayloadValid(mt.type,vt))mt.data=vt;else throw new Error("invalid payload")}return mt}tryParse(_e){try{return JSON.parse(_e,this.reviver)}catch(ft){return!1}}static isPayloadValid(_e,ft){switch(_e){case PacketType.CONNECT:return isObject$1(ft);case PacketType.DISCONNECT:return ft===void 0;case PacketType.CONNECT_ERROR:return typeof ft=="string"||isObject$1(ft);case PacketType.EVENT:case PacketType.BINARY_EVENT:return Array.isArray(ft)&&(typeof ft[0]=="number"||typeof ft[0]=="string"&&RESERVED_EVENTS$1.indexOf(ft[0])===-1);case PacketType.ACK:case PacketType.BINARY_ACK:return Array.isArray(ft)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class BinaryReconstructor{constructor(_e){this.packet=_e,this.buffers=[],this.reconPack=_e}takeBinaryData(_e){if(this.buffers.push(_e),this.buffers.length===this.reconPack.attachments){const ft=reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),ft}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const parser=Object.freeze(Object.defineProperty({__proto__:null,Decoder,Encoder,get PacketType(){return PacketType},protocol},Symbol.toStringTag,{value:"Module"}));function on(pt,_e,ft){return pt.on(_e,ft),function(){pt.off(_e,ft)}}const RESERVED_EVENTS=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Socket extends Emitter$1{constructor(_e,ft,mt){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=_e,this.nsp=ft,mt&&mt.auth&&(this.auth=mt.auth),this._opts=Object.assign({},mt),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const _e=this.io;this.subs=[on(_e,"open",this.onopen.bind(this)),on(_e,"packet",this.onpacket.bind(this)),on(_e,"error",this.onerror.bind(this)),on(_e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(..._e){return _e.unshift("message"),this.emit.apply(this,_e),this}emit(_e,...ft){var mt,bt,vt;if(RESERVED_EVENTS.hasOwnProperty(_e))throw new Error('"'+_e.toString()+'" is a reserved event name');if(ft.unshift(_e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(ft),this;const $t={type:PacketType.EVENT,data:ft};if($t.options={},$t.options.compress=this.flags.compress!==!1,typeof ft[ft.length-1]=="function"){const Ft=this.ids++,Bt=ft.pop();this._registerAckCallback(Ft,Bt),$t.id=Ft}const _t=(bt=(mt=this.io.engine)===null||mt===void 0?void 0:mt.transport)===null||bt===void 0?void 0:bt.writable,Rt=this.connected&&!(!((vt=this.io.engine)===null||vt===void 0)&&vt._hasPingExpired());return this.flags.volatile&&!_t||(Rt?(this.notifyOutgoingListeners($t),this.packet($t)):this.sendBuffer.push($t)),this.flags={},this}_registerAckCallback(_e,ft){var mt;const bt=(mt=this.flags.timeout)!==null&&mt!==void 0?mt:this._opts.ackTimeout;if(bt===void 0){this.acks[_e]=ft;return}const vt=this.io.setTimeoutFn(()=>{delete this.acks[_e];for(let _t=0;_t<this.sendBuffer.length;_t++)this.sendBuffer[_t].id===_e&&this.sendBuffer.splice(_t,1);ft.call(this,new Error("operation has timed out"))},bt),$t=(..._t)=>{this.io.clearTimeoutFn(vt),ft.apply(this,_t)};$t.withError=!0,this.acks[_e]=$t}emitWithAck(_e,...ft){return new Promise((mt,bt)=>{const vt=($t,_t)=>$t?bt($t):mt(_t);vt.withError=!0,ft.push(vt),this.emit(_e,...ft)})}_addToQueue(_e){let ft;typeof _e[_e.length-1]=="function"&&(ft=_e.pop());const mt={id:this._queueSeq++,tryCount:0,pending:!1,args:_e,flags:Object.assign({fromQueue:!0},this.flags)};_e.push((bt,...vt)=>mt!==this._queue[0]?void 0:(bt!==null?mt.tryCount>this._opts.retries&&(this._queue.shift(),ft&&ft(bt)):(this._queue.shift(),ft&&ft(null,...vt)),mt.pending=!1,this._drainQueue())),this._queue.push(mt),this._drainQueue()}_drainQueue(_e=!1){if(!this.connected||this._queue.length===0)return;const ft=this._queue[0];ft.pending&&!_e||(ft.pending=!0,ft.tryCount++,this.flags=ft.flags,this.emit.apply(this,ft.args))}packet(_e){_e.nsp=this.nsp,this.io._packet(_e)}onopen(){typeof this.auth=="function"?this.auth(_e=>{this._sendConnectPacket(_e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(_e){this.packet({type:PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},_e):_e})}onerror(_e){this.connected||this.emitReserved("connect_error",_e)}onclose(_e,ft){this.connected=!1,delete this.id,this.emitReserved("disconnect",_e,ft),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(_e=>{if(!this.sendBuffer.some(mt=>String(mt.id)===_e)){const mt=this.acks[_e];delete this.acks[_e],mt.withError&&mt.call(this,new Error("socket has been disconnected"))}})}onpacket(_e){if(_e.nsp===this.nsp)switch(_e.type){case PacketType.CONNECT:_e.data&&_e.data.sid?this.onconnect(_e.data.sid,_e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case PacketType.EVENT:case PacketType.BINARY_EVENT:this.onevent(_e);break;case PacketType.ACK:case PacketType.BINARY_ACK:this.onack(_e);break;case PacketType.DISCONNECT:this.ondisconnect();break;case PacketType.CONNECT_ERROR:this.destroy();const mt=new Error(_e.data.message);mt.data=_e.data.data,this.emitReserved("connect_error",mt);break}}onevent(_e){const ft=_e.data||[];_e.id!=null&&ft.push(this.ack(_e.id)),this.connected?this.emitEvent(ft):this.receiveBuffer.push(Object.freeze(ft))}emitEvent(_e){if(this._anyListeners&&this._anyListeners.length){const ft=this._anyListeners.slice();for(const mt of ft)mt.apply(this,_e)}super.emit.apply(this,_e),this._pid&&_e.length&&typeof _e[_e.length-1]=="string"&&(this._lastOffset=_e[_e.length-1])}ack(_e){const ft=this;let mt=!1;return function(...bt){mt||(mt=!0,ft.packet({type:PacketType.ACK,id:_e,data:bt}))}}onack(_e){const ft=this.acks[_e.id];typeof ft=="function"&&(delete this.acks[_e.id],ft.withError&&_e.data.unshift(null),ft.apply(this,_e.data))}onconnect(_e,ft){this.id=_e,this.recovered=ft&&this._pid===ft,this._pid=ft,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(_e=>this.emitEvent(_e)),this.receiveBuffer=[],this.sendBuffer.forEach(_e=>{this.notifyOutgoingListeners(_e),this.packet(_e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(_e=>_e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(_e){return this.flags.compress=_e,this}get volatile(){return this.flags.volatile=!0,this}timeout(_e){return this.flags.timeout=_e,this}onAny(_e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(_e),this}prependAny(_e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(_e),this}offAny(_e){if(!this._anyListeners)return this;if(_e){const ft=this._anyListeners;for(let mt=0;mt<ft.length;mt++)if(_e===ft[mt])return ft.splice(mt,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(_e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(_e),this}prependAnyOutgoing(_e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(_e),this}offAnyOutgoing(_e){if(!this._anyOutgoingListeners)return this;if(_e){const ft=this._anyOutgoingListeners;for(let mt=0;mt<ft.length;mt++)if(_e===ft[mt])return ft.splice(mt,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(_e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const ft=this._anyOutgoingListeners.slice();for(const mt of ft)mt.apply(this,_e.data)}}}function Backoff(pt){pt=pt||{},this.ms=pt.min||100,this.max=pt.max||1e4,this.factor=pt.factor||2,this.jitter=pt.jitter>0&&pt.jitter<=1?pt.jitter:0,this.attempts=0}Backoff.prototype.duration=function(){var pt=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var _e=Math.random(),ft=Math.floor(_e*this.jitter*pt);pt=Math.floor(_e*10)&1?pt+ft:pt-ft}return Math.min(pt,this.max)|0};Backoff.prototype.reset=function(){this.attempts=0};Backoff.prototype.setMin=function(pt){this.ms=pt};Backoff.prototype.setMax=function(pt){this.max=pt};Backoff.prototype.setJitter=function(pt){this.jitter=pt};class Manager extends Emitter$1{constructor(_e,ft){var mt;super(),this.nsps={},this.subs=[],_e&&typeof _e=="object"&&(ft=_e,_e=void 0),ft=ft||{},ft.path=ft.path||"/socket.io",this.opts=ft,installTimerFunctions(this,ft),this.reconnection(ft.reconnection!==!1),this.reconnectionAttempts(ft.reconnectionAttempts||1/0),this.reconnectionDelay(ft.reconnectionDelay||1e3),this.reconnectionDelayMax(ft.reconnectionDelayMax||5e3),this.randomizationFactor((mt=ft.randomizationFactor)!==null&&mt!==void 0?mt:.5),this.backoff=new Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(ft.timeout==null?2e4:ft.timeout),this._readyState="closed",this.uri=_e;const bt=ft.parser||parser;this.encoder=new bt.Encoder,this.decoder=new bt.Decoder,this._autoConnect=ft.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(_e){return arguments.length?(this._reconnection=!!_e,_e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(_e){return _e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=_e,this)}reconnectionDelay(_e){var ft;return _e===void 0?this._reconnectionDelay:(this._reconnectionDelay=_e,(ft=this.backoff)===null||ft===void 0||ft.setMin(_e),this)}randomizationFactor(_e){var ft;return _e===void 0?this._randomizationFactor:(this._randomizationFactor=_e,(ft=this.backoff)===null||ft===void 0||ft.setJitter(_e),this)}reconnectionDelayMax(_e){var ft;return _e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=_e,(ft=this.backoff)===null||ft===void 0||ft.setMax(_e),this)}timeout(_e){return arguments.length?(this._timeout=_e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(_e){if(~this._readyState.indexOf("open"))return this;this.engine=new Socket$1(this.uri,this.opts);const ft=this.engine,mt=this;this._readyState="opening",this.skipReconnect=!1;const bt=on(ft,"open",function(){mt.onopen(),_e&&_e()}),vt=_t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",_t),_e?_e(_t):this.maybeReconnectOnOpen()},$t=on(ft,"error",vt);if(this._timeout!==!1){const _t=this._timeout,Rt=this.setTimeoutFn(()=>{bt(),vt(new Error("timeout")),ft.close()},_t);this.opts.autoUnref&&Rt.unref(),this.subs.push(()=>{this.clearTimeoutFn(Rt)})}return this.subs.push(bt),this.subs.push($t),this}connect(_e){return this.open(_e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const _e=this.engine;this.subs.push(on(_e,"ping",this.onping.bind(this)),on(_e,"data",this.ondata.bind(this)),on(_e,"error",this.onerror.bind(this)),on(_e,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(_e){try{this.decoder.add(_e)}catch(ft){this.onclose("parse error",ft)}}ondecoded(_e){nextTick(()=>{this.emitReserved("packet",_e)},this.setTimeoutFn)}onerror(_e){this.emitReserved("error",_e)}socket(_e,ft){let mt=this.nsps[_e];return mt?this._autoConnect&&!mt.active&&mt.connect():(mt=new Socket(this,_e,ft),this.nsps[_e]=mt),mt}_destroy(_e){const ft=Object.keys(this.nsps);for(const mt of ft)if(this.nsps[mt].active)return;this._close()}_packet(_e){const ft=this.encoder.encode(_e);for(let mt=0;mt<ft.length;mt++)this.engine.write(ft[mt],_e.options)}cleanup(){this.subs.forEach(_e=>_e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(_e,ft){var mt;this.cleanup(),(mt=this.engine)===null||mt===void 0||mt.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",_e,ft),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const _e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const ft=this.backoff.duration();this._reconnecting=!0;const mt=this.setTimeoutFn(()=>{_e.skipReconnect||(this.emitReserved("reconnect_attempt",_e.backoff.attempts),!_e.skipReconnect&&_e.open(bt=>{bt?(_e._reconnecting=!1,_e.reconnect(),this.emitReserved("reconnect_error",bt)):_e.onreconnect()}))},ft);this.opts.autoUnref&&mt.unref(),this.subs.push(()=>{this.clearTimeoutFn(mt)})}}onreconnect(){const _e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",_e)}}const cache={};function lookup(pt,_e){typeof pt=="object"&&(_e=pt,pt=void 0),_e=_e||{};const ft=url(pt,_e.path||"/socket.io"),mt=ft.source,bt=ft.id,vt=ft.path,$t=cache[bt]&&vt in cache[bt].nsps,_t=_e.forceNew||_e["force new connection"]||_e.multiplex===!1||$t;let Rt;return _t?Rt=new Manager(mt,_e):(cache[bt]||(cache[bt]=new Manager(mt,_e)),Rt=cache[bt]),ft.query&&!_e.query&&(_e.query=ft.queryKey),Rt.socket(ft.path,_e)}Object.assign(lookup,{Manager,Socket,io:lookup,connect:lookup});var r$1=(pt=>(pt[pt.Normal=0]="Normal",pt[pt.Debug=1]="Debug",pt))(r$1||{}),u$3=Object.defineProperty,v$3=Object.getOwnPropertySymbols,o$1=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,l$2=(pt,_e,ft)=>_e in pt?u$3(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,a$1=(pt,_e)=>{for(var ft in _e||(_e={}))o$1.call(_e,ft)&&l$2(pt,ft,_e[ft]);if(v$3)for(var ft of v$3(_e))L.call(_e,ft)&&l$2(pt,ft,_e[ft]);return pt},h$3=(pt,_e,ft)=>(l$2(pt,typeof _e!="symbol"?_e+"":_e,ft),ft);const i$1=new t$1("[EventBus] ");let $$1=class{constructor(_e=!1){h$3(this,"eventListenerMap",{}),_e&&i$1.disable()}getEventListenerMap(){return a$1({},this.eventListenerMap)}on(_e,ft,mt=!1){this.eventListenerMap[_e]||(this.eventListenerMap[_e]=[]),mt?this.eventListenerMap[_e].push({fn:ft,once:!0}):this.eventListenerMap[_e].push(ft),i$1.log(`add event ${_e} listener ${mt?", call once":""}`)}once(_e,ft){this.on(_e,ft,!0)}off(_e,ft){if(this.eventListenerMap[_e]){const mt=this.eventListenerMap[_e].findIndex(bt=>{if(typeof bt=="function"&&ft===bt||(bt=bt,bt.fn===ft))return!0});mt<0?i$1.log(`event ${_e} listener ${ft.name} is not found`):(this.eventListenerMap[_e].splice(mt,1),i$1.log(`remove event ${_e} listener`))}else i$1.log(`event ${_e} listeners is empty`)}emit(_e,ft){if(!this.eventListenerMap[_e]){i$1.log(`event ${_e} listeners is empty`);return}const mt=[];for(let bt=0;bt<this.eventListenerMap[_e].length;bt++){const vt=this.eventListenerMap[_e][bt];typeof vt=="function"?vt(ft):mt.push(vt)}mt.forEach(bt=>{bt&&(bt.fn(ft),this.off(_e,bt.fn))}),i$1.log(`event ${_e} is fired, has ${this.eventListenerMap[_e].length} listeners`)}removeAllListeners(){this.eventListenerMap={}}};var Q=Object.defineProperty,T$1=Object.defineProperties,M$1=Object.getOwnPropertyDescriptors,E$1=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,R$3=Object.prototype.propertyIsEnumerable,b$5=(pt,_e,ft)=>_e in pt?Q(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,f$2=(pt,_e)=>{for(var ft in _e||(_e={}))O.call(_e,ft)&&b$5(pt,ft,_e[ft]);if(E$1)for(var ft of E$1(_e))R$3.call(_e,ft)&&b$5(pt,ft,_e[ft]);return pt},I$3=(pt,_e)=>T$1(pt,M$1(_e)),p$4=(pt,_e,ft)=>(b$5(pt,typeof _e!="symbol"?_e+"":_e,ft),ft),h$2=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const C$1=100,u$2=new t$1("[Session] ");var K$2=(pt=>(pt.DataRequestFailed="data request error",pt.SocketConnectionFailed="socket error",pt.IdUndefined="session id is not defined",pt.SendingEmptyContent="failed at sending empty content",pt.Frozen="session is frozen",pt.UserModeError="failed at setting socket user mode",pt.Inactive="session is inactive",pt))(K$2||{});let ee$1=class{constructor(_e,ft="",mt,bt,vt,$t){p$4(this,"_id"),p$4(this,"_frozen",!1),p$4(this,"inactivating",!1),p$4(this,"_ready",!1),p$4(this,"event",new $$1),p$4(this,"_applicationId"),p$4(this,"_application",null),p$4(this,"data",null),p$4(this,"client",null),p$4(this,"messages",[]),p$4(this,"_loadingMessages",!1),p$4(this,"_loadingMessagesSize",10),p$4(this,"cvforceApi"),p$4(this,"socket",null),p$4(this,"_promptVariables",[]),p$4(this,"active",!1),p$4(this,"activing",!1),p$4(this,"_stopAnswer",!1),p$4(this,"_dataLoading",!1),p$4(this,"_dataLoaded",!1),p$4(this,"_mcpServers",null),this.token=_e,this.lazyload=bt,this.client=$t||null,this._applicationId=c$2(_e).rid||c$3.applicationId,this.cvforceApi=this.getService(),vt&&(this._application=vt),this.event.emit("init",{applicationId:this._applicationId,sessionId:ft}),this.loadApplicationInfo().then(()=>{var _t;if(ft)this._id=ft,this.event.emit("data:loading"),mt?(this.data=mt,bt||(this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,ft).then(Rt=>h$2(this,null,function*(){this.data=Rt,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,ft)})).then(()=>h$2(this,null,function*(){this.messages=[],yield this.fetchMessages(),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data)})))):(this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,ft).then(Rt=>h$2(this,null,function*(){this.data=Rt,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,ft)})).then(()=>h$2(this,null,function*(){this.messages=[],yield this.fetchMessages(),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._dataLoading=!1,this._dataLoaded=!0})));else{const Rt=(mt==null?void 0:mt.name)||"新建会话";this.event.emit("data:creating",{applicationId:this._applicationId,name:Rt}),this.event.emit("data:loading"),this.cvforceApi.postSession(this.applicationId,{name:Rt,netOpen:mt==null?void 0:mt.netOpen,knowledgeIdList:(_t=mt==null?void 0:mt.knowledges)==null?void 0:_t.map(Pt=>Pt.id),applicationId:this._applicationId}).then(Pt=>h$2(this,null,function*(){var Ft;this._id=Pt.id,this.data=I$3(f$2({},Pt),{knowledges:mt==null?void 0:mt.knowledges}),this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this._id);try{yield(()=>h$2(this,null,function*(){if(mt!=null&&mt.knowledges)return this.setKnowledges((mt==null?void 0:mt.knowledges)||void 0)}))()}catch(Bt){u$2.error(Bt)}yield(()=>{if(mt!=null&&mt.promptVariables){const Bt=this._promptVariables.map(Gt=>{var Wt,Vt;const Xt=((Vt=(Wt=mt.promptVariables)==null?void 0:Wt.find(er=>er.key===Gt.key&&er.type===Gt.type))==null?void 0:Vt.value)||"";return I$3(f$2({},Gt),{value:Xt})}).sort((Gt,Wt)=>Gt.key.localeCompare(Wt.key));return this.setPromptVariables(Bt||[])}else return})(),this.event.emit("data:created",this.data),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),((Ft=this.application)==null?void 0:Ft.type)!==i$7.Agent&&(this._ready=!0,this.event.emit("ready"))}))}})}fetchData(){return h$2(this,null,function*(){if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.getSession(this.applicationId,this.data.id).then(_e=>h$2(this,null,function*(){return this.data=_e,this.event.emit("data:updated",this.data),_e}))})}get id(){var _e;return this._id||((_e=this.data)==null?void 0:_e.id)||""}get applicationId(){return this._applicationId}get application(){return this._application}set application(_e){this._application=_e}loadApplicationInfo(){if(this._application)return Promise.resolve(this._application);if(this._applicationId&&!this._application)return this.event.emit("application:data:loading"),this.cvforceApi.getApplicationId(this._applicationId).then(_e=>(this._application=_e,this.event.emit("application:data:loaded",_e),_e));throw Error("application id is not defined")}get ready(){return this._ready}get frozen(){return this._frozen}set frozen(_e){_e===!1&&this.inactivating&&this.socket&&(this.socket.disconnect(),this.socket=null,this.event.emit("inactivated")),this._frozen=_e,this.event.emit("frozen",_e)}get knowledges(){if(!this.data)throw Error("session data is not loaded");return this.data.knowledges||void 0}setKnowledges(_e){return h$2(this,null,function*(){if(!this.data)throw Error("session data is not loaded");if((_e||[]).some(ft=>Array.isArray(ft.fileIds)&&ft.fileIds.length===0))throw Error("fileIds cannot be an empty array");if((_e||[]).reduce((ft,mt)=>{var bt,vt;const $t=(vt=(bt=mt.fileIds)==null?void 0:bt.length)!=null?vt:0;return ft+($t>0?$t:1)},0)>C$1)throw Error(`knowledges and fileIds total count cannot exceed ${C$1}`);return yield this.cvforceApi.patchSessionsId(this._applicationId,this.data.id,{knowledges:_e}),this.data.knowledges=_e,this.event.emit("data:updated",this.data),this.event.emit("data:updated:knowledges",{knowledges:_e}),_e})}validateConfigs(){if(!this._id)throw Error("session id is not defined");if(!this.data)throw Error("session data is not loaded");const _e=this.promptVariables.filter(ft=>ft.status===L$2.Quoted).filter(ft=>!ft.value);if(_e.length)throw Error(`在提示词中被引用的变量值不能为空, 请检查以下变量: ${_e.map(ft=>ft.key).join(", ")}`)}get promptVariables(){return this._promptVariables.filter(_e=>!(_e.type===k$5.User&&_e.key==="query")&&!(_e.type===k$5.System&&_e.key==="datetime"))}setPromptVariables(_e){return h$2(this,null,function*(){const ft=_e==null?void 0:_e.map(bt=>bt.type?bt:I$3(f$2({},bt),{type:"instruction"})),mt=this._promptVariables.map(bt=>{var vt;const $t=((vt=ft==null?void 0:ft.find(_t=>_t.key===bt.key&&_t.type===bt.type))==null?void 0:vt.value)||bt.value;return I$3(f$2({},bt),{value:$t})}).sort((bt,vt)=>bt.key.localeCompare(vt.key));if(!(yield Promise.all(mt.filter(bt=>!(bt.type===k$5.User&&bt.key==="query")&&!(bt.type===k$5.System&&bt.key==="datetime")).map(bt=>{if(!this.data)throw Error("session data is not loaded");if(!(!bt.id||!bt.key))return this.cvforceApi.patchApplicationIdSessionpromptVariablesId(this._applicationId,this.data.id,bt.id,{value:bt.value})})).then(()=>!0).catch(bt=>!1)))return!1;if(!this.data)throw Error("session data is not loaded");return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this.data.id),this.event.emit("data:updated",this.data),this.event.emit("data:updated:promptVariables",{promptVariables:this._promptVariables}),this._promptVariables})}get netOpen(){if(!this.data)throw Error("session data is not loaded");return this.data.netOpen||!1}setNetOpen(_e){return h$2(this,null,function*(){var ft,mt,bt;if(u$2.log("setNetOpen:",_e),u$2.log("application arrange setting value: ",(ft=this._application)==null?void 0:ft.arrange[0].enableNetOpen),((mt=this._application)==null?void 0:mt.type)===i$7.Agent){console.warn("Agent Application Sessions are disabled to setNetOpen.");return}if(((bt=this._application)==null?void 0:bt.arrange[0].enableNetOpen)===!1){console.warn("This Application is disabled to change netOpen.");return}if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.patchSessionsId(this._applicationId,this.data.id,{netOpen:_e?1:2}),this.data.netOpen=_e,u$2.log("data:updated",this.data),this.event.emit("data:updated",this.data),this.event.emit("data:updated:netOpen",{netOpen:_e}),_e})}getService(){return z(c$3.apiRoot,this.token,(_e,ft)=>{const mt=new Error("data request error",{cause:{status:_e,message:ft}});u$2.error(mt),this.event.emit("error",mt)})}addEventListener(_e,ft,mt=!1){if(typeof ft!="function")throw Error("event listener is not a function");if(mt){this.event.once(_e,ft);return}this.event.on(_e,ft)}removeEventListener(_e,ft){this.event.off(_e,ft)}fetchMessages(){return h$2(this,arguments,function*(_e={}){var ft,mt;const bt={pageSize:this._loadingMessagesSize};if(this._id){_e=f$2(f$2({},bt),_e),this.event.emit("history:loading"),u$2.log("history:loading"),(_e.endTime||_e.startTime)&&(this.event.emit("history:moreloading",_e),u$2.log("history:moreloading",_e)),this._loadingMessages=!0;const vt=yield this.cvforceApi.getChatHistorySessionId(this._applicationId,this._id,_e),$t=vt.map((Rt,Pt)=>{var Ft,Bt;let Gt=[],Wt;return typeof((Ft=Rt.agentHistoryList)==null?void 0:Ft.agentList)=="string"&&(Gt=JSON.parse(Rt.agentHistoryList.agentList).reduce((Vt,Xt)=>(Vt[Xt.data.step-1]||(Vt[Xt.data.step-1]=[]),Vt[Xt.data.step-1].push(Xt),Vt),[])),Pt===vt.length-1&&(Wt=(Bt=this.data)==null?void 0:Bt.lastRelatedQuestion),I$3(f$2({},Rt),{actions:Gt,relatedQuesion:Wt,fromHistory:!0})});if(!_e.endTime&&!_e.startTime){const Rt=this.messages[this.messages.length-1];Rt&&!Rt.relatedQuesion&&(Rt.relatedQuesion=(ft=this.data)==null?void 0:ft.lastRelatedQuestion),this.messages=[...$t,...this.messages]}else if(_e.endTime&&!_e.startTime){const Rt=this.messages.findIndex(Pt=>Pt.ts===_e.endTime);this.messages.splice(0,Rt+1),this.messages=[...$t,...this.messages]}else if(!_e.endTime&&_e.startTime){const Rt=this.messages.findLastIndex(Pt=>Pt.ts===_e.endTime);this.messages.splice(Rt,this.messages.length-Rt-1),this.messages=[...this.messages,...$t]}else{const Rt=this.messages.findIndex(Ft=>Ft.ts===_e.endTime),Pt=this.messages.findLastIndex(Ft=>Ft.ts===_e.endTime);this.messages.splice(Rt,Pt-Rt+1,...$t)}const _t=this.messages[this.messages.length-1];return _t&&!_t.relatedQuesion&&(_t.relatedQuesion=(mt=this.data)==null?void 0:mt.lastRelatedQuestion),this.event.emit("history:moreloaded",$t),u$2.log("history:loaded",this.messages),this.event.emit("history:loaded",this.messages),this._loadingMessages=!1,$t}else{const vt=new Error("session id is not defined");return u$2.error(vt),this.event.emit("error",vt),!1}})}rename(_e){return h$2(this,null,function*(){if(!this._id)throw Error("session is not created yet");if(_e.trim()==="")throw Error("name is empty");return this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{name:_e}),u$2.log("data:updated",this.messages),this.event.emit("data:updated",this.data),this.event.emit("data:updated:name",{name:_e}),!0})}pushMessage(_e){return h$2(this,null,function*(){this.messages.push(_e),u$2.log("history:add",_e),this.event.emit("history:add",_e),this.event.emit("message:new",_e),this.event.emit("message:updated",_e)})}reloadSessionInfo(){if(!this._id)throw Error("session is not created yet");return this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,this._id).then(_e=>h$2(this,null,function*(){if(this.data=_e,!this._id)throw Error("session is not created yet");return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this._id),u$2.log("data:updated",this.data),this.event.emit("data:updated",this.data),this.data})).then(()=>h$2(this,null,function*(){return this.messages=[],yield this.fetchMessages(),this._dataLoading=!1,this._dataLoaded=!0,this.event.emit("data:loaded",this.data),this}))}reload(){return h$2(this,null,function*(){return yield this.reloadSessionInfo(),this.socket?(this.inactivate(!0),this.activate()):(this.inactivate(!0),this.activate())})}delete(){return h$2(this,null,function*(){if(!this.id){const _e=new Error("session id is not defined");return u$2.error(_e),this.event.emit("error",_e),!1}return this.event.emit("data:deleting"),yield this.cvforceApi.delSessionsId(this.applicationId,this.id),this.event.emit("data:deleted"),this.destroy()})}activate(){return h$2(this,null,function*(){if(this.activing)return new Promise(ft=>{this.addEventListener("activated",()=>{ft(!0)},!0)});if(!this._id)throw Error("session is not avalible. id is undefined");this.activing=!0;const _e=this._id;return this._dataLoading=!0,this._dataLoaded=!1,this.data=yield this.cvforceApi.getSession(this.applicationId,_e).then(ft=>h$2(this,null,function*(){return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,_e),ft})),this.messages.length||(this.messages=[],yield this.fetchMessages()),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._dataLoaded=!0,this._dataLoading=!1,this.inactivating=!1,this.frozen=!0,yield this.prepareConnection(),this.event.emit("activated",this.socket),this.active=!0,this.activing=!1,this})}inactivate(_e=!1){return this.socket?this._frozen?(_e||(this.inactivating=!0),this.activing=!1,!0):(this.socket.close(),this.socket=null,this.event.emit("inactivated"),this.active=!1,this.activing=!1,!0):(this.activing=!1,!0)}get dataLoaded(){return this._dataLoaded}get messagesLoading(){return this._loadingMessages}send(_e){return h$2(this,arguments,function*(ft,mt={stream:c$3.stream}){var bt;try{this.validateConfigs()}catch(Xt){console.error(Xt)}const{stream:vt=c$3.stream,referenceFirst:$t=!1}=mt,_t=ft.uuid||v4$1(),Rt=((bt=ft.text)==null?void 0:bt.trim())||"",Pt=ft.files||[],Ft=ft.fileIds,Bt=ft.imageContent;if(!Rt&&!Pt.length&&!(Ft!=null&&Ft.length)){const Xt=new Error("failed at sending empty content");return u$2.error(Xt),this.event.emit("error",Xt),!1}if(!this._id){const Xt=new Error("session id is not defined");return u$2.error(Xt),this.event.emit("error",Xt),!1}if(this.frozen){const Xt=new Error("session is frozen");return u$2.error(Xt),this.event.emit("error",Xt),!1}this.frozen=!0,this._stopAnswer=!1;const Gt={sessionId:this.id,role:2,content:Rt,messageId:_t,reference:[],searchReference:[],messageTime:"",files:Pt,imageContent:Bt},Wt={content:Rt,stream:vt,requestId:_t,fileIds:Ft,referenceFirst:$t,imageContent:Bt};this.pushMessage(Gt),this.event.emit("question:content",Rt);const Vt=Xt=>h$2(this,null,function*(){if(Xt.role!==v$6.Robot)return;switch(this.removeEventListener("answer:finish",Vt),this._id&&Xt.content&&Xt.index&&Xt.index<0&&(this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{finialMessage:Xt.content}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:finialMessage",{finialMessage:Xt.content})),yield this.fillMessageReference(Xt),Xt.code){case 11915:Xt.content="请您换个问题问我吧~",Xt.index=-1,Xt.isSensitive=!0,Xt.isLoading=!1,Xt.sessionId=this._id||"",this.event.emit("message:error",Xt);break;case 11916:Xt.content="尊敬的用户您好,让我们换个话题再聊聊吧。",Xt.index=-1,Xt.isSensitive=!0,Xt.isLoading=!1,Xt.sessionId=this._id||"",this.event.emit("message:error",Xt);break;case 200:Xt.index=-1,Xt.isLoading=!1;break;default:Xt.content=Xt.message||"未知错误",Xt.isLoading=!1,Xt.index=-1,this.event.emit("message:error",Xt)}this.getRelatedQuesion(Xt),Xt.isLoading=!1;let er=this.messages[this.messages.length-1];if(er&&er.role===v$6.Robot){const nr=f$2(f$2({},er),Xt);this.messages[this.messages.length-1]=nr,this.event.emit("message:updated",nr)}else this.pushMessage(Xt);this.frozen=!1});return this.addEventListener("answer:finish",Vt),this.sendQuestion(Wt,I$3(f$2({},mt),{stream:vt,referenceFirst:$t})),Gt})}getRelatedQuesion(_e){return h$2(this,null,function*(){var ft,mt;if(!_e.content||_e.isSensitive||_e.code!==200||!((ft=this.application)!=null&&ft.arrange[0].recommendQuestionOpen))return _e;this.event.emit("message:relatedQuesion:loading",_e);const bt=yield this.cvforceApi.postGeneques({content:_e.content}).catch(_t=>null);if(!bt){const _t=[],Rt=I$3(f$2({},_e),{relatedQuesion:_t,index:-3,isLoading:!1});return this.event.emit("message:relatedQuesion:loaded",{relatedQuesion:_t}),this.event.emit("message:updated",Rt),Rt}const vt=(mt=bt.content)==null?void 0:mt.split("*").map(a$3).map(p$6).filter(_t=>!!_t);_e.relatedQuesion=vt,_e.index=-3,_e.isLoading=!1;const $t=I$3(f$2({},_e),{relatedQuesion:vt,index:-3,isLoading:!1});return this.event.emit("message:relatedQuesion:loaded",$t),this.event.emit("message:updated",$t),this._id&&this.cvforceApi.patchSessionsId(this._applicationId,this._id,{lastRelatedQuestion:vt}),$t})}fillMessageReference(_e){return h$2(this,null,function*(){try{const ft=yield Promise.all(_e.reference.map(mt=>this.cvforceApi.getKnowledgeIdFileId(mt.knowledgeId,mt.docId)));_e.reference=_e.reference.map((mt,bt)=>f$2(f$2({},mt),ft[bt]))}catch(ft){console.error("Failed to fill message reference:",ft)}return this.event.emit("message:updated",_e),_e})}answerAgain(){return h$2(this,arguments,function*(_e={stream:c$3.stream}){const ft=this.messages[this.messages.length-1];if(!ft)throw Error("message list is empty");this.frozen=!0,this._stopAnswer=!1;const{stream:mt=c$3.stream}=_e;let bt;ft.role!==v$6.User&&(bt=_e.oldMessageId||ft.messageId,this.messages.splice(this.messages.length-1,1),this.event.emit("message:remove",ft),this.event.emit("history:remove",ft));const vt=this.messages[this.messages.length-1],$t={content:vt.content,fileIds:vt.fileIds,requestId:vt.messageId,stream:mt,oldMessageId:bt},_t=Rt=>h$2(this,null,function*(){if(Rt.role===v$6.Robot&&Rt.index===-1){switch(this._id&&Rt.content&&Rt.index&&Rt.index<0&&(this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{finialMessage:Rt.content}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:finialMessage",{finialMessage:Rt.content})),yield this.fillMessageReference(Rt),Rt.code){case 11915:Rt.content="请您换个问题问我吧~",Rt.index=-1,Rt.isSensitive=!0,Rt.isLoading=!1,Rt.sessionId=this._id||"",this.event.emit("message:error",Rt);break;case 11916:Rt.content="尊敬的用户您好,让我们换个话题再聊聊吧。",Rt.index=-1,Rt.isSensitive=!0,Rt.isLoading=!1,Rt.sessionId=this._id||"",this.event.emit("message:error",Rt);break;case 200:Rt.index=-1,Rt.isLoading=!1;break;default:Rt.content=Rt.message||"未知错误",Rt.isLoading=!1,Rt.index=-1,this.event.emit("message:error",Rt)}this.getRelatedQuesion(Rt),this.removeEventListener("message:content",_t),this.frozen=!1}});this.addEventListener("message:content",_t),this.sendQuestion($t,I$3(f$2({},_e),{stream:mt}))})}setTop(_e){return h$2(this,null,function*(){if(!this._id)throw Error("session is not avalible. id is undefined");this.data=yield this.cvforceApi.patchSessionsId(this._applicationId,this._id,{top:_e}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:top",{top:_e})})}suspend(){var _e;this.stopAnswer(),this.frozen=!1,this._stopAnswer=!0;let ft=this.messages[this.messages.length-1];const mt={messageId:v4$1(),isLoading:!1,index:-2,messageTime:KM(new Date).format("YYYY-MM-DD HH:ss:mm"),content:"",role:v$6.System,sessionId:this.id||"",reference:[],searchReference:[]};if(ft&&!ft.messageId){if(ft.index===-2)return;if(ft.actions){const bt=ft.actions[((_e=ft.actions)==null?void 0:_e.length)-1];if(bt){const vt=bt[bt.length-1];if(vt&&(vt.type==="BEFORE_CALL"||vt.type==="FUNCTION_CALL")){const{pluginName:$t,pluginCode:_t,funcCode:Rt,funcName:Pt}=vt.data;bt.push({data:{pluginName:$t,pluginCode:_t,funcCode:Rt,funcName:Pt,step:vt.data.step+1},type:"ABORT"}),this.event.emit("message:action",{messageId:ft.messageId,action:bt})}}}ft=f$2(f$2({},ft),mt),this.event.emit("message:content",ft),this.event.emit("message:updated",ft)}else this.pushMessage(mt),this.event.emit("message:content",mt);return this}handleStreamAnswer(_e,ft){var mt;if(!_e.data)return;const bt=_e.data.type,vt=_e.data.payload;ft.isReplying=!0;const $t=()=>{if(!ft.searchingStatus){ft.searchingStatus="start";return}if(ft.searchingStatus==="start"){ft.searchingStatus="end";return}};if(bt==="error"&&(ft.index=-1),bt==="beforeSearch"&&$t(),bt==="searchOver"&&$t(),bt==="search"&&ft.searchReference.push(vt),bt==="thinking"){ft.thinkingStatus="start";const _t=vt.choices[0];ft.reasoningContent=(ft.reasoningContent||"")+((mt=_t.delta.reasoningContent)!=null?mt:"")}if(bt==="thinkingOver"){ft.thinkingStatus="end";const _t=vt.thinkingSecs;ft.thinkingSecs=_t}if(bt==="text"){const _t=vt.choices[0];ft.content=(ft.content||"")+_t.delta.content}if(bt==="reference"&&(ft.reference=vt),bt==="updateSession"&&vt&&this.data&&(this.data=f$2(f$2({},this.data),vt),this.event.emit("data:updated",this.data)),bt==="result"){const _t=vt.messageId,Rt=vt.llmModel,Pt=vt.messageTime;ft.messageId=_t,ft.llmModel=Rt,ft.messageTime=Pt}bt==="over"?ft.index=-1:(ft.code=_e.code,ft.message=_e.message)}postMessageComment(_e){return h$2(this,null,function*(){if(!this._applicationId||!this._id)throw Error("session is not avalible. id is undefined");return this.cvforceApi.postComments(this._applicationId,this._id,_e).then(ft=>{const mt=this.messages.find(bt=>bt.messageId===_e.messageId);return mt&&(mt.comment=_e,this.event.emit("message:comment",mt)),ft})})}clear(){if(!this._id)throw Error("session is not avalible. id is undefined");return this.cvforceApi.patchApplicationIdSessionsIdContext(this._applicationId,this._id).then(()=>(this.event.emit("context:clear"),!0))}destroy(){var _e;return this._ready=!1,this.event.removeAllListeners(),(_e=this.socket)==null||_e.disconnect(),this.socket=null,this.event.emit("destroy",{applicationId:this._applicationId,sessionId:this._id}),this._id||""}};var A$3=Object.defineProperty,P$2=Object.defineProperties,b$4=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,x$2=Object.prototype.propertyIsEnumerable,C=(pt,_e,ft)=>_e in pt?A$3(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,d$2=(pt,_e)=>{for(var ft in _e||(_e={}))T.call(_e,ft)&&C(pt,ft,_e[ft]);if(S)for(var ft of S(_e))x$2.call(_e,ft)&&C(pt,ft,_e[ft]);return pt},w$2=(pt,_e)=>P$2(pt,b$4(_e)),v$2=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const p$3=new t$1("[AgentSession] ");class H extends ee$1{constructor(_e,ft="",mt,bt,vt,$t){super(_e,ft,mt,bt,vt,$t)}prepareConnection(){return new Promise(_e=>v$2(this,null,function*(){this.socket&&_e(!0);const ft={version:"1.0",stream:JSON.stringify(c$3.stream),appId:this._applicationId,sessionId:this.id,Authorization:`${this.token}`,userMode:c$3.debug?r$1.Debug:r$1.Normal},mt=new URL(c$3.apiRoot),bt=yield lookup(mt.origin,{path:mt.pathname.replace("api","socketio")+"/copilot",query:ft,transports:["websocket"]});bt.on("connect",()=>{p$3.log("socket:connect"),this.event.emit("socket:connect"),bt.emit("init")}),bt.on("disconnect",()=>{p$3.log("socket:disconnect"),this.event.emit("socket:disconnect"),this._ready=!1}),bt.on("ready",vt=>{if(vt.code===200)p$3.log("ready"),(c$3.debug?r$1.Debug:r$1.Normal)===r$1.Debug&&vt.userMode,this._ready||(this._ready=!0,this.event.emit("ready")),this.frozen=!1,this.registerMcpFromClientConfig(),_e(!0);else{this._ready&&(this._ready=!1);const $t=new Error(K$2.SocketConnectionFailed);p$3.error("error",$t),this.event.emit("error",$t),_e(!1)}}),bt.on("action",(vt,$t)=>v$2(this,null,function*(){if(this._stopAnswer||!this.id)return;const{type:_t,data:{runnerIsClient:Rt,pluginCode:Pt,funcCode:Ft,parameters:Bt,requestBody:Gt}}=vt,Wt=this.messages[this.messages.length-1];if(!Wt.messageId)Wt.actions||(Wt.actions=[]),Wt.actions[vt.data.step-1]||(Wt.actions[vt.data.step-1]=[]),Wt.actions[vt.data.step-1].push(vt),this.event.emit("message:action",{messageId:Wt.messageId,action:vt}),this.event.emit("message:updated",Wt);else{const Vt={messageId:"",content:"",role:v$6.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!0,messageTime:"",actions:[[vt]],comment:{isAgree:0},isReplying:!0};this.pushMessage(Vt),this.event.emit("message:action",{messageId:Vt.messageId,action:vt})}if(this.inactivating){const Vt=new Error(K$2.Inactive);p$3.warn("error",Vt),this.event.emit("error",Vt)}else if(_t==="FUNCTION_CALL"&&Rt){if(p$3.log(`calling function ${Ft} of plugin ${Pt} with argument:
809
+ ]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+bt+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:mt,quoted:{pattern:RegExp(/(^|\s)/.source+bt),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(_e)}return systemd_1}var t4Templating_1,hasRequiredT4Templating;function requireT4Templating(){if(hasRequiredT4Templating)return t4Templating_1;hasRequiredT4Templating=1,t4Templating_1=pt,pt.displayName="t4Templating",pt.aliases=[];function pt(_e){(function(ft){function mt(vt,$t,_t){return{pattern:RegExp("<#"+vt+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+vt+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:$t,alias:_t}}}}function bt(vt){var $t=ft.languages[vt],_t="language-"+vt;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:mt("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:mt("=",$t,_t),"class-feature":mt("\\+",$t,_t),standard:mt("",$t,_t)}}}}ft.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:bt})})(_e)}return t4Templating_1}var t4Cs_1,hasRequiredT4Cs;function requireT4Cs(){if(hasRequiredT4Cs)return t4Cs_1;hasRequiredT4Cs=1;var pt=requireT4Templating(),_e=requireCsharp();t4Cs_1=ft,ft.displayName="t4Cs",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),mt.languages.t4=mt.languages["t4-cs"]=mt.languages["t4-templating"].createT4("csharp")}return t4Cs_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;var pt=requireBasic();vbnet_1=_e,_e.displayName="vbnet",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.vbnet=ft.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return vbnet_1}var t4Vb_1,hasRequiredT4Vb;function requireT4Vb(){if(hasRequiredT4Vb)return t4Vb_1;hasRequiredT4Vb=1;var pt=requireT4Templating(),_e=requireVbnet();t4Vb_1=ft,ft.displayName="t4Vb",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),mt.languages["t4-vb"]=mt.languages["t4-templating"].createT4("vbnet")}return t4Vb_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1,yaml_1=pt,pt.displayName="yaml",pt.aliases=["yml"];function pt(_e){(function(ft){var mt=/[*&][^\s[\]{},]+/,bt=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,vt="(?:"+bt.source+"(?:[ ]+"+mt.source+")?|"+mt.source+"(?:[ ]+"+bt.source+")?)",$t=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),_t=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function Rt(Pt,Ft){Ft=(Ft||"").replace(/m/g,"")+"m";var Bt=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return vt}).replace(/<<value>>/g,function(){return Pt});return RegExp(Bt,Ft)}ft.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return vt})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return vt}).replace(/<<key>>/g,function(){return"(?:"+$t+"|"+_t+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:Rt(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:Rt(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:Rt(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:Rt(_t),lookbehind:!0,greedy:!0},number:{pattern:Rt(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:bt,important:mt,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},ft.languages.yml=ft.languages.yaml})(_e)}return yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;var pt=requireYaml();tap_1=_e,_e.displayName="tap",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:ft.languages.yaml,alias:"language-yaml"}}}return tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1,tcl_1=pt,pt.displayName="tcl",pt.aliases=[];function pt(_e){_e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return tcl_1}var textile_1,hasRequiredTextile;function requireTextile(){if(hasRequiredTextile)return textile_1;hasRequiredTextile=1,textile_1=pt,pt.displayName="textile",pt.aliases=[];function pt(_e){(function(ft){var mt=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,bt=/\)|\((?![^|()\n]+\))/.source;function vt(Gt,Wt){return RegExp(Gt.replace(/<MOD>/g,function(){return"(?:"+mt+")"}).replace(/<PAR>/g,function(){return"(?:"+bt+")"}),Wt||"")}var $t={css:{pattern:/\{[^{}]+\}/,inside:{rest:ft.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},_t=ft.languages.textile=ft.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:vt(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:vt(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:$t},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:vt(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:vt(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:$t},punctuation:/^[*#]+/}},table:{pattern:vt(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:vt(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:$t},punctuation:/\||^\./}},inline:{pattern:vt(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:vt(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:vt(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:vt(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:vt(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:vt(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:vt(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:vt(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:vt(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:$t},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:vt(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:vt(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:vt(/(^")<MOD>+/.source),lookbehind:!0,inside:$t},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:vt(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:vt(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:vt(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:$t},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),Rt=_t.phrase.inside,Pt={inline:Rt.inline,link:Rt.link,image:Rt.image,footnote:Rt.footnote,acronym:Rt.acronym,mark:Rt.mark};_t.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Ft=Rt.inline.inside;Ft.bold.inside=Pt,Ft.italic.inside=Pt,Ft.inserted.inside=Pt,Ft.deleted.inside=Pt,Ft.span.inside=Pt;var Bt=Rt.table.inside;Bt.inline=Pt.inline,Bt.link=Pt.link,Bt.image=Pt.image,Bt.footnote=Pt.footnote,Bt.acronym=Pt.acronym,Bt.mark=Pt.mark})(_e)}return textile_1}var toml_1,hasRequiredToml;function requireToml(){if(hasRequiredToml)return toml_1;hasRequiredToml=1,toml_1=pt,pt.displayName="toml",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function bt(vt){return vt.replace(/__/g,function(){return mt})}ft.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(bt(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(bt(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(_e)}return toml_1}var tremor_1,hasRequiredTremor;function requireTremor(){if(hasRequiredTremor)return tremor_1;hasRequiredTremor=1,tremor_1=pt,pt.displayName="tremor",pt.aliases=[];function pt(_e){(function(ft){ft.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var mt=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;ft.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+mt+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+mt+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(mt),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:ft.languages.tremor}}},string:/[\s\S]+/}},ft.languages.troy=ft.languages.tremor,ft.languages.trickle=ft.languages.tremor})(_e)}return tremor_1}var tsx_1,hasRequiredTsx;function requireTsx(){if(hasRequiredTsx)return tsx_1;hasRequiredTsx=1;var pt=requireJsx(),_e=requireTypescript();tsx_1=ft,ft.displayName="tsx",ft.aliases=[];function ft(mt){mt.register(pt),mt.register(_e),function(bt){var vt=bt.util.clone(bt.languages.typescript);bt.languages.tsx=bt.languages.extend("jsx",vt),delete bt.languages.tsx.parameter,delete bt.languages.tsx["literal-property"];var $t=bt.languages.tsx.tag;$t.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+$t.pattern.source+")",$t.pattern.flags),$t.lookbehind=!0}(mt)}return tsx_1}var tt2_1,hasRequiredTt2;function requireTt2(){if(hasRequiredTt2)return tt2_1;hasRequiredTt2=1;var pt=requireMarkupTemplating();tt2_1=_e,_e.displayName="tt2",_e.aliases=[];function _e(ft){ft.register(pt),function(mt){mt.languages.tt2=mt.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),mt.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),mt.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),mt.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete mt.languages.tt2.string,mt.hooks.add("before-tokenize",function(bt){var vt=/\[%[\s\S]+?%\]/g;mt.languages["markup-templating"].buildPlaceholders(bt,"tt2",vt)}),mt.hooks.add("after-tokenize",function(bt){mt.languages["markup-templating"].tokenizePlaceholders(bt,"tt2")})}(ft)}return tt2_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;var pt=requireMarkupTemplating();twig_1=_e,_e.displayName="twig",_e.aliases=[];function _e(ft){ft.register(pt),ft.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},ft.hooks.add("before-tokenize",function(mt){if(mt.language==="twig"){var bt=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;ft.languages["markup-templating"].buildPlaceholders(mt,"twig",bt)}}),ft.hooks.add("after-tokenize",function(mt){ft.languages["markup-templating"].tokenizePlaceholders(mt,"twig")})}return twig_1}var typoscript_1,hasRequiredTyposcript;function requireTyposcript(){if(hasRequiredTyposcript)return typoscript_1;hasRequiredTyposcript=1,typoscript_1=pt,pt.displayName="typoscript",pt.aliases=["tsconfig"];function pt(_e){(function(ft){var mt=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;ft.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:mt}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:mt,number:/^\d+$/,punctuation:/[,|:]/}},keyword:mt,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},ft.languages.tsconfig=ft.languages.typoscript})(_e)}return typoscript_1}var unrealscript_1,hasRequiredUnrealscript;function requireUnrealscript(){if(hasRequiredUnrealscript)return unrealscript_1;hasRequiredUnrealscript=1,unrealscript_1=pt,pt.displayName="unrealscript",pt.aliases=["uc","uscript"];function pt(_e){_e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},_e.languages.uc=_e.languages.uscript=_e.languages.unrealscript}return unrealscript_1}var uorazor_1,hasRequiredUorazor;function requireUorazor(){if(hasRequiredUorazor)return uorazor_1;hasRequiredUorazor=1,uorazor_1=pt,pt.displayName="uorazor",pt.aliases=[];function pt(_e){_e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return uorazor_1}var uri_1,hasRequiredUri;function requireUri(){if(hasRequiredUri)return uri_1;hasRequiredUri=1,uri_1=pt,pt.displayName="uri",pt.aliases=["url"];function pt(_e){_e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},_e.languages.url=_e.languages.uri}return uri_1}var v_1,hasRequiredV;function requireV(){if(hasRequiredV)return v_1;hasRequiredV=1,v_1=pt,pt.displayName="v",pt.aliases=[];function pt(_e){(function(ft){var mt={pattern:/[\s\S]+/,inside:null};ft.languages.v=ft.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":mt}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),mt.inside=ft.languages.v,ft.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),ft.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),ft.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:ft.languages.v.generic.inside}}}})})(_e)}return v_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1,vala_1=pt,pt.displayName="vala",pt.aliases=[];function pt(_e){_e.languages.vala=_e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),_e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:_e.languages.vala}},string:/[\s\S]+/}}}),_e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:_e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return vala_1}var velocity_1,hasRequiredVelocity;function requireVelocity(){if(hasRequiredVelocity)return velocity_1;hasRequiredVelocity=1,velocity_1=pt,pt.displayName="velocity",pt.aliases=[];function pt(_e){(function(ft){ft.languages.velocity=ft.languages.extend("markup",{});var mt={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};mt.variable.inside={string:mt.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:mt.number,boolean:mt.boolean,punctuation:mt.punctuation},ft.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:mt}},variable:mt.variable}),ft.languages.velocity.tag.inside["attr-value"].inside.rest=ft.languages.velocity})(_e)}return velocity_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1,verilog_1=pt,pt.displayName="verilog",pt.aliases=[];function pt(_e){_e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|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|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1,vhdl_1=pt,pt.displayName="vhdl",pt.aliases=[];function pt(_e){_e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1,vim_1=pt,pt.displayName="vim",pt.aliases=[];function pt(_e){_e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return vim_1}var visualBasic_1,hasRequiredVisualBasic;function requireVisualBasic(){if(hasRequiredVisualBasic)return visualBasic_1;hasRequiredVisualBasic=1,visualBasic_1=pt,pt.displayName="visualBasic",pt.aliases=[];function pt(_e){_e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},_e.languages.vb=_e.languages["visual-basic"],_e.languages.vba=_e.languages["visual-basic"]}return visualBasic_1}var warpscript_1,hasRequiredWarpscript;function requireWarpscript(){if(hasRequiredWarpscript)return warpscript_1;hasRequiredWarpscript=1,warpscript_1=pt,pt.displayName="warpscript",pt.aliases=[];function pt(_e){_e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return warpscript_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1,wasm_1=pt,pt.displayName="wasm",pt.aliases=[];function pt(_e){_e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\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|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\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/,punctuation:/[()]/}}return wasm_1}var webIdl_1,hasRequiredWebIdl;function requireWebIdl(){if(hasRequiredWebIdl)return webIdl_1;hasRequiredWebIdl=1,webIdl_1=pt,pt.displayName="webIdl",pt.aliases=[];function pt(_e){(function(ft){var mt=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,bt="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+mt+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,vt={};ft.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+mt),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:vt},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+bt),lookbehind:!0,inside:vt},{pattern:RegExp("("+/\bcallback\s+/.source+mt+/\s*=\s*/.source+")"+bt),lookbehind:!0,inside:vt},{pattern:RegExp(/(\btypedef\b\s*)/.source+bt),lookbehind:!0,inside:vt},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+mt),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+mt),lookbehind:!0},RegExp(mt+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+mt),lookbehind:!0},{pattern:RegExp(bt+"(?="+/\s*(?:\.{3}\s*)?/.source+mt+/\s*[(),;=]/.source+")"),inside:vt}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var $t in ft.languages["web-idl"])$t!=="class-name"&&(vt[$t]=ft.languages["web-idl"][$t]);ft.languages.webidl=ft.languages["web-idl"]})(_e)}return webIdl_1}var wiki_1,hasRequiredWiki;function requireWiki(){if(hasRequiredWiki)return wiki_1;hasRequiredWiki=1,wiki_1=pt,pt.displayName="wiki",pt.aliases=[];function pt(_e){_e.languages.wiki=_e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:_e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),_e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:_e.languages.markup.tag.inside}}}})}return wiki_1}var wolfram_1,hasRequiredWolfram;function requireWolfram(){if(hasRequiredWolfram)return wolfram_1;hasRequiredWolfram=1,wolfram_1=pt,pt.displayName="wolfram",pt.aliases=["mathematica","wl","nb"];function pt(_e){_e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},_e.languages.mathematica=_e.languages.wolfram,_e.languages.wl=_e.languages.wolfram,_e.languages.nb=_e.languages.wolfram}return wolfram_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1,wren_1=pt,pt.displayName="wren",pt.aliases=[];function pt(_e){_e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},_e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:_e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return wren_1}var xeora_1,hasRequiredXeora;function requireXeora(){if(hasRequiredXeora)return xeora_1;hasRequiredXeora=1,xeora_1=pt,pt.displayName="xeora",pt.aliases=["xeoracube"];function pt(_e){(function(ft){ft.languages.xeora=ft.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),ft.languages.insertBefore("inside","punctuation",{variable:ft.languages.xeora["function-inline"].inside.variable},ft.languages.xeora["function-block"]),ft.languages.xeoracube=ft.languages.xeora})(_e)}return xeora_1}var xmlDoc_1,hasRequiredXmlDoc;function requireXmlDoc(){if(hasRequiredXmlDoc)return xmlDoc_1;hasRequiredXmlDoc=1,xmlDoc_1=pt,pt.displayName="xmlDoc",pt.aliases=[];function pt(_e){(function(ft){function mt(_t,Rt){ft.languages[_t]&&ft.languages.insertBefore(_t,"comment",{"doc-comment":Rt})}var bt=ft.languages.markup.tag,vt={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:bt}},$t={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:bt}};mt("csharp",vt),mt("fsharp",vt),mt("vbnet",$t)})(_e)}return xmlDoc_1}var xojo_1,hasRequiredXojo;function requireXojo(){if(hasRequiredXojo)return xojo_1;hasRequiredXojo=1,xojo_1=pt,pt.displayName="xojo",pt.aliases=[];function pt(_e){_e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return xojo_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1,xquery_1=pt,pt.displayName="xquery",pt.aliases=[];function pt(_e){(function(ft){ft.languages.xquery=ft.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),ft.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,ft.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,ft.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,ft.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:ft.languages.xquery,alias:"language-xquery"};var mt=function(vt){return typeof vt=="string"?vt:typeof vt.content=="string"?vt.content:vt.content.map(mt).join("")},bt=function(vt){for(var $t=[],_t=0;_t<vt.length;_t++){var Rt=vt[_t],Pt=!1;if(typeof Rt!="string"&&(Rt.type==="tag"&&Rt.content[0]&&Rt.content[0].type==="tag"?Rt.content[0].content[0].content==="</"?$t.length>0&&$t[$t.length-1].tagName===mt(Rt.content[0].content[1])&&$t.pop():Rt.content[Rt.content.length-1].content==="/>"||$t.push({tagName:mt(Rt.content[0].content[1]),openedBraces:0}):$t.length>0&&Rt.type==="punctuation"&&Rt.content==="{"&&(!vt[_t+1]||vt[_t+1].type!=="punctuation"||vt[_t+1].content!=="{")&&(!vt[_t-1]||vt[_t-1].type!=="plain-text"||vt[_t-1].content!=="{")?$t[$t.length-1].openedBraces++:$t.length>0&&$t[$t.length-1].openedBraces>0&&Rt.type==="punctuation"&&Rt.content==="}"?$t[$t.length-1].openedBraces--:Rt.type!=="comment"&&(Pt=!0)),(Pt||typeof Rt=="string")&&$t.length>0&&$t[$t.length-1].openedBraces===0){var Ft=mt(Rt);_t<vt.length-1&&(typeof vt[_t+1]=="string"||vt[_t+1].type==="plain-text")&&(Ft+=mt(vt[_t+1]),vt.splice(_t+1,1)),_t>0&&(typeof vt[_t-1]=="string"||vt[_t-1].type==="plain-text")&&(Ft=mt(vt[_t-1])+Ft,vt.splice(_t-1,1),_t--),/^\s+$/.test(Ft)?vt[_t]=Ft:vt[_t]=new ft.Token("plain-text",Ft,null,Ft)}Rt.content&&typeof Rt.content!="string"&&bt(Rt.content)}};ft.hooks.add("after-tokenize",function(vt){vt.language==="xquery"&&bt(vt.tokens)})})(_e)}return xquery_1}var yang_1,hasRequiredYang;function requireYang(){if(hasRequiredYang)return yang_1;hasRequiredYang=1,yang_1=pt,pt.displayName="yang",pt.aliases=[];function pt(_e){_e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return yang_1}var zig_1,hasRequiredZig;function requireZig(){if(hasRequiredZig)return zig_1;hasRequiredZig=1,zig_1=pt,pt.displayName="zig",pt.aliases=[];function pt(_e){(function(ft){function mt(Ft){return function(){return Ft}}var bt=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,vt="\\b(?!"+bt.source+")(?!\\d)\\w+\\b",$t=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,_t=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,mt($t)),Rt=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,mt(vt)),Pt="(?!\\s)(?:!?\\s*(?:"+_t+"\\s*)*"+Rt+")+";ft.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,mt(Pt)).replace(/<ALIGN>/g,mt($t))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,mt(Pt)).replace(/<ALIGN>/g,mt($t))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:bt,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},ft.languages.zig["class-name"].forEach(function(Ft){Ft.inside===null&&(Ft.inside=ft.languages.zig)})})(_e)}return zig_1}var refractor=core,refractor_1=refractor;refractor.register(requireAbap());refractor.register(requireAbnf());refractor.register(requireActionscript());refractor.register(requireAda());refractor.register(requireAgda());refractor.register(requireAl());refractor.register(requireAntlr4());refractor.register(requireApacheconf());refractor.register(requireApex());refractor.register(requireApl());refractor.register(requireApplescript());refractor.register(requireAql());refractor.register(requireArduino());refractor.register(requireArff());refractor.register(requireAsciidoc());refractor.register(requireAsm6502());refractor.register(requireAsmatmel());refractor.register(requireAspnet());refractor.register(requireAutohotkey());refractor.register(requireAutoit());refractor.register(requireAvisynth());refractor.register(requireAvroIdl());refractor.register(requireBash());refractor.register(requireBasic());refractor.register(requireBatch());refractor.register(requireBbcode());refractor.register(requireBicep());refractor.register(requireBirb());refractor.register(requireBison());refractor.register(requireBnf());refractor.register(requireBrainfuck());refractor.register(requireBrightscript());refractor.register(requireBro());refractor.register(requireBsl());refractor.register(requireC());refractor.register(requireCfscript());refractor.register(requireChaiscript());refractor.register(requireCil());refractor.register(requireClojure());refractor.register(requireCmake());refractor.register(requireCobol());refractor.register(requireCoffeescript());refractor.register(requireConcurnas());refractor.register(requireCoq());refractor.register(requireCpp());refractor.register(requireCrystal());refractor.register(requireCsharp());refractor.register(requireCshtml());refractor.register(requireCsp());refractor.register(requireCssExtras());refractor.register(requireCsv());refractor.register(requireCypher());refractor.register(requireD());refractor.register(requireDart());refractor.register(requireDataweave());refractor.register(requireDax());refractor.register(requireDhall());refractor.register(requireDiff());refractor.register(requireDjango());refractor.register(requireDnsZoneFile());refractor.register(requireDocker());refractor.register(requireDot());refractor.register(requireEbnf());refractor.register(requireEditorconfig());refractor.register(requireEiffel());refractor.register(requireEjs());refractor.register(requireElixir());refractor.register(requireElm());refractor.register(requireErb());refractor.register(requireErlang());refractor.register(requireEtlua());refractor.register(requireExcelFormula());refractor.register(requireFactor());refractor.register(require_false());refractor.register(requireFirestoreSecurityRules());refractor.register(requireFlow());refractor.register(requireFortran());refractor.register(requireFsharp());refractor.register(requireFtl());refractor.register(requireGap());refractor.register(requireGcode());refractor.register(requireGdscript());refractor.register(requireGedcom());refractor.register(requireGherkin());refractor.register(requireGit());refractor.register(requireGlsl());refractor.register(requireGml());refractor.register(requireGn());refractor.register(requireGoModule());refractor.register(requireGo());refractor.register(requireGraphql());refractor.register(requireGroovy());refractor.register(requireHaml());refractor.register(requireHandlebars());refractor.register(requireHaskell());refractor.register(requireHaxe());refractor.register(requireHcl());refractor.register(requireHlsl());refractor.register(requireHoon());refractor.register(requireHpkp());refractor.register(requireHsts());refractor.register(requireHttp());refractor.register(requireIchigojam());refractor.register(requireIcon());refractor.register(requireIcuMessageFormat());refractor.register(requireIdris());refractor.register(requireIecst());refractor.register(requireIgnore());refractor.register(requireInform7());refractor.register(requireIni());refractor.register(requireIo());refractor.register(requireJ());refractor.register(requireJava());refractor.register(requireJavadoc());refractor.register(requireJavadoclike());refractor.register(requireJavastacktrace());refractor.register(requireJexl());refractor.register(requireJolie());refractor.register(requireJq());refractor.register(requireJsExtras());refractor.register(requireJsTemplates());refractor.register(requireJsdoc());refractor.register(requireJson());refractor.register(requireJson5());refractor.register(requireJsonp());refractor.register(requireJsstacktrace());refractor.register(requireJsx());refractor.register(requireJulia());refractor.register(requireKeepalived());refractor.register(requireKeyman());refractor.register(requireKotlin());refractor.register(requireKumir());refractor.register(requireKusto());refractor.register(requireLatex());refractor.register(requireLatte());refractor.register(requireLess());refractor.register(requireLilypond());refractor.register(requireLiquid());refractor.register(requireLisp());refractor.register(requireLivescript());refractor.register(requireLlvm());refractor.register(requireLog());refractor.register(requireLolcode());refractor.register(requireLua());refractor.register(requireMagma());refractor.register(requireMakefile());refractor.register(requireMarkdown());refractor.register(requireMarkupTemplating());refractor.register(requireMatlab());refractor.register(requireMaxscript());refractor.register(requireMel());refractor.register(requireMermaid());refractor.register(requireMizar());refractor.register(requireMongodb());refractor.register(requireMonkey());refractor.register(requireMoonscript());refractor.register(requireN1ql());refractor.register(requireN4js());refractor.register(requireNand2tetrisHdl());refractor.register(requireNaniscript());refractor.register(requireNasm());refractor.register(requireNeon());refractor.register(requireNevod());refractor.register(requireNginx());refractor.register(requireNim());refractor.register(requireNix());refractor.register(requireNsis());refractor.register(requireObjectivec());refractor.register(requireOcaml());refractor.register(requireOpencl());refractor.register(requireOpenqasm());refractor.register(requireOz());refractor.register(requireParigp());refractor.register(requireParser());refractor.register(requirePascal());refractor.register(requirePascaligo());refractor.register(requirePcaxis());refractor.register(requirePeoplecode());refractor.register(requirePerl());refractor.register(requirePhpExtras());refractor.register(requirePhp());refractor.register(requirePhpdoc());refractor.register(requirePlsql());refractor.register(requirePowerquery());refractor.register(requirePowershell());refractor.register(requireProcessing());refractor.register(requireProlog());refractor.register(requirePromql());refractor.register(requireProperties());refractor.register(requireProtobuf());refractor.register(requirePsl());refractor.register(requirePug());refractor.register(requirePuppet());refractor.register(requirePure());refractor.register(requirePurebasic());refractor.register(requirePurescript());refractor.register(requirePython());refractor.register(requireQ());refractor.register(requireQml());refractor.register(requireQore());refractor.register(requireQsharp());refractor.register(requireR());refractor.register(requireRacket());refractor.register(requireReason());refractor.register(requireRegex());refractor.register(requireRego());refractor.register(requireRenpy());refractor.register(requireRest());refractor.register(requireRip());refractor.register(requireRoboconf());refractor.register(requireRobotframework());refractor.register(requireRuby());refractor.register(requireRust());refractor.register(requireSas());refractor.register(requireSass());refractor.register(requireScala());refractor.register(requireScheme());refractor.register(requireScss());refractor.register(requireShellSession());refractor.register(requireSmali());refractor.register(requireSmalltalk());refractor.register(requireSmarty());refractor.register(requireSml());refractor.register(requireSolidity());refractor.register(requireSolutionFile());refractor.register(requireSoy());refractor.register(requireSparql());refractor.register(requireSplunkSpl());refractor.register(requireSqf());refractor.register(requireSql());refractor.register(requireSquirrel());refractor.register(requireStan());refractor.register(requireStylus());refractor.register(requireSwift());refractor.register(requireSystemd());refractor.register(requireT4Cs());refractor.register(requireT4Templating());refractor.register(requireT4Vb());refractor.register(requireTap());refractor.register(requireTcl());refractor.register(requireTextile());refractor.register(requireToml());refractor.register(requireTremor());refractor.register(requireTsx());refractor.register(requireTt2());refractor.register(requireTurtle());refractor.register(requireTwig());refractor.register(requireTypescript());refractor.register(requireTyposcript());refractor.register(requireUnrealscript());refractor.register(requireUorazor());refractor.register(requireUri());refractor.register(requireV());refractor.register(requireVala());refractor.register(requireVbnet());refractor.register(requireVelocity());refractor.register(requireVerilog());refractor.register(requireVhdl());refractor.register(requireVim());refractor.register(requireVisualBasic());refractor.register(requireWarpscript());refractor.register(requireWasm());refractor.register(requireWebIdl());refractor.register(requireWiki());refractor.register(requireWolfram());refractor.register(requireWren());refractor.register(requireXeora());refractor.register(requireXmlDoc());refractor.register(requireXojo());refractor.register(requireXquery());refractor.register(requireYaml());refractor.register(requireYang());refractor.register(requireZig());const refractor$1=getDefaultExportFromCjs(refractor_1);var highlighter=highlight$2(refractor$1,defaultStyle);highlighter.supportedLanguages=supportedLanguages;const b$7=highlighter,N=create$7({scriptUrl:new URL("data:application/javascript;base64,d2luZG93Ll9pY29uZm9udF9zdmdfc3RyaW5nXzM5MjkyMDkgPSAnPHN2Zz48c3ltYm9sIGlkPSJpY29uLXNhbmppYW8teGlhIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMTkyLjk1NzAzMTI1IDM1NC42NDA2MjVoNDMzLjc0MDIzNDM4YzQyLjEzNDc2NTYzIDAgODAuODQxNzk2ODgtMC4xNTgyMDMxMyAxMTYuMjI2NTYyNDktMC40MjE4NzVDNzc4LjMwODU5Mzc1IDM1My45NTUwNzgxMiA4MDUuODM1OTM3NSAzNTMuNzk2ODc1IDgyNS40NTMxMjUgMzUzLjc5Njg3NWMxMy41IDAgMjQuNzMyNDIxODggMy4xNjQwNjI1IDMzLjc1IDkuNTk3NjU2MjUgOC45NjQ4NDM3NSA2LjQzMzU5Mzc1IDE0Ljk3NjU2MjUgMTQuNTAxOTUzMTMgMTguMDg3ODkwNjMgMjQuMjU3ODEyNSAzLjA1ODU5Mzc1IDkuNzAzMTI1IDMuMDU4NTkzNzUgMjAuNDYwOTM3NS0xZS04IDMyLjE2Nzk2ODc1YTcxLjcxODc1IDcxLjcxODc1IDAgMCAxLTE5LjgyODEyNDk5IDMyLjUzNzEwOTM4Yy0yMS4zMDQ2ODc1IDIwLjU2NjQwNjI1LTQzLjY2NDA2MjUgNDIuODczMDQ2ODgtNjYuOTcyNjU2MjYgNjYuODE0NDUzMTItMjMuMjU1ODU5MzggMjMuOTQxNDA2MjUtNDYuNzIyNjU2MjUgNDguNTY4MzU5MzgtNzAuMjk0OTIxODcgNzMuOTMzNTkzNzUtMjMuNTcyMjY1NjMgMjUuMzEyNS00Ny4xNDQ1MzEyNSA1MC45NDE0MDYyNS03MC43Njk1MzEyNSA3Ni44MzM5ODQzOGwtNjguMTg1NTQ2ODggNzQuNzI0NjA5MzdhODkuMTIxMDkzNzUgODkuMTIxMDkzNzUgMCAwIDEtMzUuMzMyMDMxMjUgMjMuODM1OTM3NWMtMTQuMDgwMDc4MTMgNS4yNzM0Mzc1LTI4LjY4NzUgNy42NDY0ODQzOC00My44MjIyNjU2MiA3LjA2NjQwNjI1YTEzMi4zNjMyODEyNSAxMzIuMzYzMjgxMjUgMCAwIDEtNDQuNjY2MDE1NjMtOS41OTc2NTYyNSA5NC44MTY0MDYyNSA5NC44MTY0MDYyNSAwIDAgMS0zNy4wNzIyNjU2Mi0yNi4zMTQ0NTMxMyA2MzQ3LjYzNjcxODc1IDYzNDcuNjM2NzE4NzUgMCAwIDAtNTcuNjkxNDA2MjUtNjQuNzA1MDc4MTJjLTE5LjM1MzUxNTYzLTIxLjQ2Mjg5MDYzLTM5LjI4NzEwOTM4LTQzLjQ1MzEyNS01OS44MDA3ODEyNS02NS45NzA3MDMxM2E3MzY0Ny42MTUyMzQzOCA3MzY0Ny42MTUyMzQzOCAwIDAgMS0xMzYuMDAxOTUzMTMtMTQ5LjkyMzgyODEyIDk1LjE4NTU0Njg4IDk1LjE4NTU0Njg4IDAgMCAxLTIyLjMwNjY0MDYyLTM3LjE3NzczNDM4QTY0LjE3NzczNDM4IDY0LjE3NzczNDM4IDAgMCAxIDE0Mi44NTkzNzUgMzg4LjAyMTQ4NDM3YTQxLjEzMjgxMjUgNDEuMTMyODEyNSAwIDAgMSAxNi44NzUtMjQuMjA1MDc4MTJjOC42NDg0Mzc1LTYuMTE3MTg3NSAxOS43NzUzOTA2My05LjE3NTc4MTI1IDMzLjIyMjY1NjI1LTkuMTc1NzgxMjV6IiAgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLXNhbmppYW8tc2hhbmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik04MzEuMDQyOTY4NzUgNjY5LjM1OTM3NUgzOTcuMzAyNzM0MzdjLTQyLjEzNDc2NTYzIDAtODAuODQxNzk2ODggMC4xNTgyMDMxMy0xMTYuMjI2NTYyNDkgMC40MjE4NzUtMzUuMzg0NzY1NjMgMC4yNjM2NzE4OC02Mi45MTIxMDkzOCAwLjQyMTg3NS04Mi41MjkyOTY4OCAwLjQyMTg3NS0xMy41IDAtMjQuNzMyNDIxODgtMy4xNjQwNjI1LTMzLjc1LTkuNTk3NjU2MjVhNDYuNjE3MTg3NSA0Ni42MTcxODc1IDAgMCAxLTE4LjA4Nzg5MDYyLTI0LjI1NzgxMjUgNTYuODQ3NjU2MjUgNTYuODQ3NjU2MjUgMCAwIDEgMC0zMi4xNjc5Njg3NSA3MS43MTg3NSA3MS43MTg3NSAwIDAgMSAxOS44MjgxMjUtMzIuNTM3MTA5MzhjMjEuMzA0Njg3NS0yMC41NjY0MDYyNSA0My42NjQwNjI1LTQyLjg3MzA0Njg4IDY2Ljk3MjY1NjI1LTY2LjgxNDQ1MzEyIDIzLjI1NTg1OTM4LTIzLjk0MTQwNjI1IDQ2LjcyMjY1NjI1LTQ4LjU2ODM1OTM4IDcwLjI5NDkyMTg3LTczLjkzMzU5Mzc1IDIzLjU3MjI2NTYzLTI1LjMxMjUgNDcuMTQ0NTMxMjUtNTAuOTQxNDA2MjUgNzAuNzY5NTMxMjUtNzYuODMzOTg0MzhsNjguMTg1NTQ2ODgtNzQuNzI0NjA5MzdjOS41NDQ5MjE4OC0xMC41OTk2MDkzOCAyMS4zNTc0MjE4OC0xOC41NjI1IDM1LjMzMjAzMTI1LTIzLjgzNTkzNzUgMTQuMDgwMDc4MTMtNS4yNzM0Mzc1IDI4LjY4NzUtNy42NDY0ODQzOCA0My44MjIyNjU2Mi03LjA2NjQwNjI1IDE1LjE4NzUgMC41MjczNDM3NSAzMC4wNTg1OTM3NSAzLjY5MTQwNjI1IDQ0LjY2NjAxNTYzIDkuNTk3NjU2MjUgMTQuNjA3NDIxODggNS44MDA3ODEyNSAyNi45NDcyNjU2MyAxNC42MDc0MjE4OCAzNy4wNzIyNjU2MiAyNi4zMTQ0NTMxMyAxOS4wODk4NDM3NSAyMS42NzM4MjgxMyAzOC4yODUxNTYyNSA0My4yNDIxODc1IDU3LjY5MTQwNjI1IDY0LjcwNTA3ODEyIDE5LjM1MzUxNTYzIDIxLjQ2Mjg5MDYzIDM5LjI4NzEwOTM4IDQzLjQ1MzEyNSA1OS44MDA3ODEyNSA2NS45NzA3MDMxM2E3MzY0Ny42MTUyMzQzOCA3MzY0Ny42MTUyMzQzOCAwIDAgMSAxMzYuMDAxOTUzMTMgMTQ5LjkyMzgyODEyYzExLjIzMjQyMTg4IDEyLjI4NzEwOTM4IDE4LjY2Nzk2ODc1IDI0LjY3OTY4NzUgMjIuMzA2NjQwNjIgMzcuMTc3NzM0MzggMy42OTE0MDYyNSAxMi41NTA3ODEyNSA0LjIxODc1IDIzLjgzNTkzNzUgMS42ODc1IDMzLjg1NTQ2ODc1YTQxLjEzMjgxMjUgNDEuMTMyODEyNSAwIDAgMS0xNi44NzUgMjQuMjA1MDc4MTJjLTguNjQ4NDM3NSA2LjExNzE4NzUtMTkuNzc1MzkwNjMgOS4xNzU3ODEyNS0zMy4yMjI2NTYyNSA5LjE3NTc4MTI1eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi15aW5jYW5nLXp1byIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTEyOCAxOTJoNzY4djY0SDEyOFYxOTJ6IG03Ny4yNDggMzIwbDEwNS40MDggMTA1LjM0NC00NS4zMTIgNDUuMzEyLTEyOC0xMjhhMzIgMzIgMCAwIDEgMC00NS4zMTJsMTI4LTEyOCA0NS4zMTIgNDUuMzEyTDIwNS4yNDggNTEyek04OTYgMzg0SDM4NHY2NGg1MTJWMzg0ek0zODQgNTc2aDUxMnY2NEgzODRWNTc2eiBtNTEyIDE5MkgxMjh2NjRoNzY4di02NHoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tY29tcGFyZS1pY29uIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNNTU0LjY2NjY2NyA4NS4zMzMzMzNoLTg1LjMzMzMzNHY4NTMuMzMzMzM0aDg1LjMzMzMzNFY4NS4zMzMzMzN6TTE3MC42NjY2NjcgMTcwLjY2NjY2N2gyMTMuMzMzMzMzdjg1LjMzMzMzM0gxNzAuNjY2NjY3djUxMmgyMTMuMzMzMzMzdjg1LjMzMzMzM0gxNzAuNjY2NjY3YTg1LjMzMzMzMyA4NS4zMzMzMzMgMCAwIDEtODUuMzMzMzM0LTg1LjMzMzMzM1YyNTZhODUuMzMzMzMzIDg1LjMzMzMzMyAwIDAgMSA4NS4zMzMzMzQtODUuMzMzMzMzek04NTMuMzMzMzMzIDc2OGgtMjEzLjMzMzMzM3Y4NS4zMzMzMzNoMjEzLjMzMzMzM2E4NS4zMzMzMzMgODUuMzMzMzMzIDAgMCAwIDg1LjMzMzMzNC04NS4zMzMzMzNWMjU2YTg1LjMzMzMzMyA4NS4zMzMzMzMgMCAwIDAtODUuMzMzMzM0LTg1LjMzMzMzM2gtMjEzLjMzMzMzM3Y4NS4zMzMzMzNoMjEzLjMzMzMzM3Y1MTJ6IiAgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLWJpbS1pY29uIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMTQuOTgxNTQ3IDc2OGExMy40ODI2NjcgMTMuNDgyNjY3IDAgMCAxLTEwLjYyNC01LjEyIDE4LjQ3NDY2NyAxOC40NzQ2NjcgMCAwIDEtNC4zNTItMTIuNDE2VjI3NC4zMDRjMC01LjM3NiAxLjQ1MDY2Ny05Ljc3MDY2NyA0LjM1Mi0xMy4xODRBMTMuNDgyNjY3IDEzLjQ4MjY2NyAwIDAgMSAxNS4wMjQyMTMgMjU2aDE4MS4xMmMzMy43MDY2NjcgMCA2MS4yMjY2NjcgNi4xMDEzMzMgODIuNDMyIDE4LjMwNCAyMS4yNDggMTEuNjkwNjY3IDM2Ljg2NCAyOC4wMzIgNDYuODQ4IDQ4Ljk4MTMzMyAxMC40MTA2NjcgMjAuOTkyIDE1LjYxNiA0NS4zNTQ2NjcgMTUuNjE2IDczLjEzMDY2NyAwIDE4LjU2LTIuOTAxMzMzIDM0LjkwMTMzMy04Ljc0NjY2NiA0OS4wMjQtNS40MTg2NjcgMTMuNjUzMzMzLTEyLjI4OCAyNC44NzQ2NjctMjAuNjA4IDMzLjY2NC03Ljg5MzMzMyA4Ljc0NjY2Ny0xNS43ODY2NjcgMTUuNTczMzMzLTIzLjcyMjY2NyAyMC40OCAxNi4yMTMzMzMgOC43NDY2NjcgMzAuNTkyIDIzLjM4MTMzMyA0My4wOTMzMzMgNDMuODYxMzMzIDEyLjUwMTMzMyAyMC40OCAxOC43NzMzMzMgNDQuODg1MzMzIDE4Ljc3MzMzNCA3My4xMzA2NjcgMCAyOS4yNjkzMzMtNS42NzQ2NjcgNTUuMzgxMzMzLTE2Ljg5NiA3OC4yOTMzMzMtMTEuMjY0IDIyLjkxMi0yNy45MDQgNDAuOTYtNDkuOTYyNjY3IDU0LjEwMTMzNC0yMi4wNTg2NjcgMTIuNjcyLTQ5LjM2NTMzMyAxOS4wMjkzMzMtODEuODM0NjY3IDE5LjAyOTMzM0gxNC45ODE1NDd6IG03MS44NTA2NjYtNzcuNTI1MzMzSDE5MS4xNTIyMTNjMjIuNDg1MzMzIDAgMzkuNTUyLTcuMDgyNjY3IDUxLjItMjEuMjA1MzM0IDExLjY0OC0xNC42MzQ2NjcgMTcuNDkzMzMzLTMyLjIxMzMzMyAxNy40OTMzMzQtNTIuNjkzMzMzIDAtMjEuNDE4NjY3LTYuMDE2LTM5LjI1MzMzMy0xOC4wOTA2NjctNTMuMzc2LTExLjY5MDY2Ny0xNC4xMjI2NjctMjguNTQ0LTIxLjIwNTMzMy01MC42MDI2NjctMjEuMjA1MzMzSDg2LjgzMjIxM3YxNDguNDh6IG0wLTIyNC41NTQ2NjdoOTguMDQ4YzIyLjEwMTMzMyAwIDM4LjUyOC02LjEwMTMzMyA0OS4zNjUzMzQtMTguMzA0IDExLjIyMTMzMy0xMi42NzIgMTYuODUzMzMzLTI5LjAxMzMzMyAxNi44NTMzMzMtNDguOTgxMzMzIDAtMjAuNDgtNS42MzItMzYuMzUyLTE2Ljg1MzMzMy00Ny41MzA2NjctMTAuODM3MzMzLTExLjczMzMzMy0yNy4zMDY2NjctMTcuNTc4NjY3LTQ5LjM2NTMzNC0xNy41Nzg2NjdIODYuODMyMjEzdjEzMi4zOTQ2Njd6TTQ0My4yMjY4OCA3NjhhMTMuNDgyNjY3IDEzLjQ4MjY2NyAwIDAgMS0xMC42NjY2NjctNS4xMiAxOC41MTczMzMgMTguNTE3MzMzIDAgMCAxLTQuMzUyLTEyLjQxNlYyNzMuNDkzMzMzYzAtNC44NjQgMS40NTA2NjctOS4wMDI2NjcgNC4zOTQ2NjctMTIuNDE2YTEzLjQ4MjY2NyAxMy40ODI2NjcgMCAwIDEgMTAuNjI0LTUuMTJoNTguNzA5MzMzYzQuNTY1MzMzIDAgOC4xMDY2NjcgMS43MDY2NjcgMTAuNjI0IDUuMTIgMi45MDEzMzMgMy40MTMzMzMgNC4zNTIgNy41NTIgNC4zNTIgMTIuNDE2Vjc1MC41MDY2NjdhMTguNTE3MzMzIDE4LjUxNzMzMyAwIDAgMS00LjM1MiAxMi40MTYgMTIuMzczMzMzIDEyLjM3MzMzMyAwIDAgMS0xMC42NjY2NjYgNS4xMmgtNTguNjY2NjY3ek02MzAuNDkwODggNzY4YTE0LjA4IDE0LjA4IDAgMCAxLTExLjIyMTMzMy01LjEyIDE4LjQ3NDY2NyAxOC40NzQ2NjcgMCAwIDEtNC4zOTQ2NjctMTIuNDE2VjI3NC4zMDRjMC01LjM3NiAxLjQ1MDY2Ny05Ljc3MDY2NyA0LjM5NDY2Ny0xMy4xODRhMTQuMDggMTQuMDggMCAwIDEgMTEuMjIxMzMzLTUuMTJoNDkuMzY1MzMzYzUuODAyNjY3IDAgMTAuMTk3MzMzIDEuOTYyNjY3IDEzLjA5ODY2NyA1Ljg0NTMzMyAyLjkwMTMzMyAzLjQxMzMzMyA0Ljc3ODY2NyA2LjEwMTMzMyA1LjYzMiA4LjA2NGwxMjAuNTMzMzMzIDI2My4yOTYgMTIxLjgxMzMzNC0yNjMuMjk2YTM1LjkyNTMzMyAzNS45MjUzMzMgMCAwIDEgNS42MzItOC4wNjRjMi45MDEzMzMtMy44ODI2NjcgNy4yNTMzMzMtNS44NDUzMzMgMTMuMDk4NjY2LTUuODQ1MzMzaDQ4LjcyNTMzNGExNC4wOCAxNC4wOCAwIDAgMSAxMS4yNjQgNS4xMmMyLjkwMTMzMyAzLjQxMzMzMyA0LjM1MiA3LjgwOCA0LjM1MiAxMy4xODR2NDc2LjE2YTE4LjUxNzMzMyAxOC41MTczMzMgMCAwIDEtNC4zNTIgMTIuNDE2IDE0LjA4IDE0LjA4IDAgMCAxLTExLjI2NCA1LjEyaC01Mi40OGExNC4wOCAxNC4wOCAwIDAgMS0xMS4yMjEzMzQtNS4xMiAyMC40OCAyMC40OCAwIDAgMS0zLjc1NDY2Ni0xMi40MTZ2LTMxNi43MTQ2NjdsLTg3LjQ2NjY2NyAxOTUuMjg1MzM0YTQzLjA1MDY2NyA0My4wNTA2NjcgMCAwIDEtOC4xMDY2NjcgMTEuNjkwNjY2IDE5LjE1NzMzMyAxOS4xNTczMzMgMCAwIDEtMTMuMDk4NjY2IDQuMzk0NjY3aC0yNS42YTIwLjA5NiAyMC4wOTYgMCAwIDEtMTMuNzgxMzM0LTQuMzk0NjY3IDUyLjczNiA1Mi43MzYgMCAwIDEtNy40NjY2NjYtMTEuNjkwNjY2bC04Ny40NjY2NjctMTk1LjI4NTMzNHYzMTYuNzE0NjY3YTE4LjUxNzMzMyAxOC41MTczMzMgMCAwIDEtNC4zNTIgMTIuNDE2IDEzLjQ4MjY2NyAxMy40ODI2NjcgMCAwIDEtMTAuNjY2NjY3IDUuMTJoLTUyLjQzNzMzM3oiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tb3ZlcmxhcC1pY29uIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNOTM4LjY2NjY2NyA0MDIuMDA1MzMzVjI5OC42NjY2NjdjMC0yOS40ODI2NjctMjMuODkzMzMzLTUzLjMzMzMzMy01My4zMzMzMzQtNTMuMzMzMzM0aC05My4zNTQ2NjZhMTMuMzU0NjY3IDEzLjM1NDY2NyAwIDAgMS0xMy4zMTItMTMuMzU0NjY2VjEzOC42NjY2NjdDNzc4LjY2NjY2NyAxMDkuMTg0IDc1NC43NzMzMzMgODUuMzMzMzMzIDcyNS4zMzMzMzMgODUuMzMzMzMzSDEzOC42NjY2NjdDMTA5LjIyNjY2NyA4NS4zMzMzMzMgODUuMzMzMzMzIDEwOS4xODQgODUuMzMzMzMzIDEzOC42NjY2NjdWNzI1LjMzMzMzM2MwIDI5LjQ0IDIzLjg5MzMzMyA1My4zMzMzMzMgNTMuMzMzMzM0IDUzLjMzMzMzNGg5My4zNTQ2NjZjNy4yOTYgMCAxMy4zMTIgNS45NzMzMzMgMTMuMzEyIDEzLjM1NDY2NnY5My4zMTJjMCAyOS40NCAyMy44OTMzMzMgNTMuMzMzMzMzIDUzLjMzMzMzNCA1My4zMzMzMzRoMTAzLjMzODY2NmEzLjMyOCAzLjMyOCAwIDAgMCAzLjMyOC0zLjMyOHYtNDYuNjc3MzM0YTMuMzI4IDMuMzI4IDAgMCAwLTMuMzI4LTMuMzI4SDI5OC42NjY2Njd2LTkzLjM1NDY2NmMwLTcuMjk2IDUuOTczMzMzLTEzLjMxMiAxMy4zNTQ2NjYtMTMuMzEySDcyNS4zMzMzMzNjMjkuNDQgMCA1My4zMzMzMzMtMjMuODkzMzMzIDUzLjMzMzMzNC01My4zMzMzMzRWMzExLjk3ODY2N2MwLTcuMjk2IDUuOTczMzMzLTEzLjMxMiAxMy4zNTQ2NjYtMTMuMzEyaDkzLjMxMnYxMDMuMzM4NjY2YzAgMS44MzQ2NjcgMS40OTMzMzMgMy4zMjggMy4zMjggMy4zMjhoNDYuNjc3MzM0QTMuMzI4IDMuMzI4IDAgMCAwIDkzOC42NjY2NjcgNDAyLjAwNTMzM3pNNzgxLjk5NDY2NyA5MzguNjY2NjY3aDEwMy4zMzg2NjZjMjkuNDQgMCA1My4zMzMzMzMtMjMuODkzMzMzIDUzLjMzMzMzNC01My4zMzMzMzR2LTEwMy4zMzg2NjZhMy4zMjggMy4zMjggMCAwIDAtMy4zMjgtMy4zMjhoLTQ2LjY3NzMzNGEzLjMyOCAzLjMyOCAwIDAgMC0zLjMyOCAzLjMyOHY5MC4wMjY2NjZjMCA3LjI5Ni01Ljk3MzMzMyAxMy4zMTItMTMuMzU0NjY2IDEzLjMxMmgtODkuOTg0YTMuMzI4IDMuMzI4IDAgMCAwLTMuMzI4IDMuMzI4djQ2LjY3NzMzNGMwIDEuODM0NjY3IDEuNDkzMzMzIDMuMzI4IDMuMzI4IDMuMzI4eiIgID48L3BhdGg+PHBhdGggZD0iTTQ4OC42NjEzMzMgOTM4LjY2NjY2N2gyMDYuNjc3MzM0YTMuMzI4IDMuMzI4IDAgMCAwIDMuMzI4LTMuMzI4di00Ni42NzczMzRhMy4zMjggMy4zMjggMCAwIDAtMy4zMjgtMy4zMjhoLTIwNi42NzczMzRhMy4zMjggMy4zMjggMCAwIDAtMy4zMjggMy4zMjh2NDYuNjc3MzM0YzAgMS44MzQ2NjcgMS40OTMzMzMgMy4zMjggMy4zMjggMy4zMjh6TTg4OC42NjEzMzMgNjk4LjY2NjY2N2g0Ni42NzczMzRhMy4zMjggMy4zMjggMCAwIDAgMy4zMjgtMy4zMjh2LTIwNi42NzczMzRhMy4zMjggMy4zMjggMCAwIDAtMy4zMjgtMy4zMjhoLTQ2LjY3NzMzNGEzLjMyOCAzLjMyOCAwIDAgMC0zLjMyOCAzLjMyOHYyMDYuNjc3MzM0YzAgMS44MzQ2NjcgMS40OTMzMzMgMy4zMjggMy4zMjggMy4zMjh6IiAgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLXRpYW96aGVuZyIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTUyOS43NDkzMzMgNDIuNjY2NjY3aDEuODc3MzM0bDEuMzIyNjY2IDAuMDg1MzMzIDEuMTUyIDAuMTI4IDEuMzIyNjY3IDAuMTcwNjY3IDIuMDQ4IDAuMzQxMzMzIDEuODM0NjY3IDAuNDI2NjY3IDEuODM0NjY2IDAuNDY5MzMzIDEuNzA2NjY3IDAuNTk3MzMzIDEuMzY1MzMzIDAuNTEyIDEuMzY1MzM0IDAuNjQgMS4yOCAwLjU5NzMzNCAxLjUzNiAwLjg1MzMzMyAxLjE1MiAwLjY4MjY2NyAxLjQwOCAwLjkzODY2NiAxLjQ5MzMzMyAxLjA2NjY2NyAwLjg1MzMzMyAwLjY4MjY2NyAxLjk2MjY2NyAxLjcwNjY2NiAwLjcyNTMzMyAwLjc2OCAxMDkuMDEzMzM0IDEwOC45NzA2NjdhMzYuMzA5MzMzIDM2LjMwOTMzMyAwIDAgMS01MC4yNjEzMzQgNTIuNDhsLTEuMTA5MzMzLTEuMDY2NjY3LTQ1LjE4NC00NS4xODR2MzA1LjkyaDMwOC40MzczMzNsLTQ0LjUwMTMzMy00Mi4wMjY2NjZhMzYuMzUyIDM2LjM1MiAwIDAgMSA0OC43NjgtNTMuODQ1MzM0bDEuMTA5MzMzIDEuMDI0IDExMC4wOCAxMDQuMDIxMzM0IDEuMTUyIDEuMjM3MzMzIDEuMDY2NjY3IDEuMTk0NjY3IDAuOTM4NjY3IDEuMjM3MzMzIDEuMDY2NjY2IDEuNDkzMzMzIDAuOTM4NjY3IDEuNDkzMzM0IDAuODUzMzMzIDEuNTM2IDAuNjgyNjY3IDEuMjggMC43NjggMS43MDY2NjYgMC44MTA2NjcgMi4wNDggMC4yMTMzMzMgMC42ODI2NjcgMC40MjY2NjcgMS4yOCAwLjM0MTMzMyAxLjQ1MDY2NyAwLjM0MTMzMyAxLjQwOCAwLjI5ODY2NyAxLjcwNjY2NiAwLjIxMzMzMyAxLjcwNjY2NyAwLjE3MDY2NyAxLjgzNDY2NyAwLjA0MjY2NyAxLjQ5MzMzM3YxLjg3NzMzM2wtMC4wODUzMzQgMS4zMjI2NjctMC4xMjggMS4xNTItMC4xMjggMS4zMjI2NjctMC4zODQgMi4wNDgtMC40MjY2NjYgMS44MzQ2NjYtMC40NjkzMzQgMS44MzQ2NjctMC41OTczMzMgMS43MDY2NjctMC41MTIgMS4zNjUzMzMtMC41OTczMzMgMS4zNjUzMzMtMC42NCAxLjI4LTAuODUzMzM0IDEuNTM2LTAuNjgyNjY2IDEuMTUyLTAuOTM4NjY3IDEuNDA4LTEuMDY2NjY3IDEuNDkzMzM0LTAuNjgyNjY2IDAuODUzMzMzLTEuNzA2NjY3IDEuOTYyNjY3LTAuNzI1MzMzIDAuNzI1MzMzLTEwOS4wMTMzMzQgMTA5LjAxMzMzM2EzNi4zMDkzMzMgMzYuMzA5MzMzIDAgMCAxLTUyLjQ4LTUwLjI2MTMzM2wxLjA2NjY2Ny0xLjEwOTMzMyA0NS4xODQtNDUuMTg0aC0zMDguMzUydjMwOC4zNTJsNDUuMTg0LTQ1LjE4NGEzNi4zMDkzMzMgMzYuMzA5MzMzIDAgMCAxIDUyLjQzNzMzMyA1MC4zMDRsLTEuMDY2NjY2IDEuMTA5MzMzLTEwOS43Mzg2NjcgMTA5LjczODY2Ny0wLjY0IDAuNTU0NjY2LTEuNTM2IDEuMzIyNjY3LTEuNDkzMzMzIDEuMTUyLTEuNTM2IDEuMDI0LTEuNzA2NjY3IDEuMDI0LTEuMTA5MzMzIDAuNjQtMS4xOTQ2NjcgMC41OTczMzMtMS4zNjUzMzMgMC42NC0xLjc5MiAwLjcyNTMzNC0xLjc0OTMzNCAwLjU5NzMzMy0xLjQwOCAwLjM4NC0xLjc5MiAwLjQyNjY2Ny0xLjYyMTMzMyAwLjI5ODY2Ni0xLjg3NzMzMyAwLjI1Ni0xLjgzNDY2NyAwLjE3MDY2Ny0xLjkyIDAuMDg1MzMzaC0xLjQwOGwtMS40MDgtMC4wODUzMzMtMS40MDgtMC4xMjgtMS43NDkzMzMtMC4yMTMzMzMtMS4xNTItMC4yMTMzMzQtMS4wNjY2NjctMC4yMTMzMzMtMS4wNjY2NjctMC4yNTYtMS4yOC0wLjM0MTMzMy0xLjUzNi0wLjQ2OTMzNC0xLjgzNDY2Ni0wLjY4MjY2Ni0xLjUzNi0wLjY0LTEuNzA2NjY3LTAuODUzMzM0LTEuMjgtMC43MjUzMzMtMS41Nzg2NjctMC45Mzg2NjctMS41Nzg2NjYtMS4wNjY2NjYtMS43MDY2NjctMS4yOC0xLjIzNzMzMy0xLjA2NjY2Ny0xLjE5NDY2Ny0xLjEwOTMzMy0xLjA2NjY2Ny0xLjEwOTMzNC0xMDIuOTU0NjY2LTEwOS4wMTMzMzNhMzYuMzUyIDM2LjM1MiAwIDAgMSA1MS43NTQ2NjYtNTAuOTg2NjY3bDEuMDY2NjY3IDEuMTA5MzM0IDQyLjAyNjY2NyA0NC40NTg2NjZ2LTMwOC4zOTQ2NjZIMTg5Ljg2NjY2N2w0NS4xODQgNDUuMTg0QTM2LjM1MiAzNi4zNTIgMCAwIDEgMTg0Ljc0NjY2NyA2NDQuNjkzMzMzbC0xLjEwOTMzNC0xLjA2NjY2Ni0xMDkuNzM4NjY2LTEwOS43Mzg2NjctMC41NTQ2NjctMC42NC0xLjMyMjY2Ny0xLjUzNi0xLjE1Mi0xLjQ5MzMzMy0xLjA2NjY2Ni0xLjUzNi0wLjk4MTMzNC0xLjcwNjY2Ny0wLjY0LTEuMTA5MzMzLTAuNTk3MzMzLTEuMTk0NjY3LTAuNjQtMS4zNjUzMzMtMC43MjUzMzMtMS43OTItMC41OTczMzQtMS43NDkzMzQtMC40MjY2NjYtMS40MDgtMC40MjY2NjctMS43OTItMC4yNTYtMS42NjQtMC4yOTg2NjctMS44MzQ2NjYtMC4xMjgtMS44MzQ2NjctMC4wODUzMzMtMS45MnYtMS40MDhsMC4wODUzMzMtMS40MDggMC4xMjgtMS40MDggMC4yMTMzMzQtMS43NDkzMzMgMC4yMTMzMzMtMS4xNTIgMC4yMTMzMzMtMS4wNjY2NjcgMC4yNTYtMS4wNjY2NjcgMC4zNDEzMzQtMS4yOCAwLjQyNjY2Ni0xLjUzNiAwLjcyNTMzNC0xLjgzNDY2NiAwLjY0LTEuNTM2IDAuODUzMzMzLTEuNzA2NjY3IDAuNjgyNjY3LTEuMjggMC45ODEzMzMtMS41Nzg2NjcgMS4wNjY2NjctMS41Nzg2NjYgMS4yOC0xLjcwNjY2NyAxLjA2NjY2Ni0xLjE5NDY2NyAxLjEwOTMzNC0xLjIzNzMzMyAxLjEwOTMzMy0xLjA2NjY2NyAxMDkuMDEzMzMzLTEwMi45NTQ2NjZhMzYuMzUyIDM2LjM1MiAwIDAgMSA1MC45ODY2NjcgNTEuNzU0NjY2bC0xLjEwOTMzMyAxLjA2NjY2Ny00NC41MDEzMzQgNDIuMDI2NjY3aDMwNi4wMDUzMzRWMTY4LjQ0OGwtNDIuMDI2NjY3IDQ0LjUwMTMzM2EzNi4zMDkzMzMgMzYuMzA5MzMzIDAgMCAxLTUzLjg0NTMzMy00OC43NjhsMS4wMjQtMS4xMDkzMzMgMTA0LjAyMTMzMy0xMTAuMDggMS4yMzczMzMtMS4xNTIgMS4xOTQ2NjctMS4wNjY2NjcgMS4yMzczMzMtMC45Mzg2NjYgMS40OTMzMzQtMS4wMjQgMS40OTMzMzMtMC45ODEzMzQgMS41MzYtMC44NTMzMzMgMS4yOC0wLjY4MjY2NyAxLjcwNjY2Ny0wLjc2OCAyLjA0OC0wLjc2OCAwLjY4MjY2Ni0wLjI1NiAxLjI4LTAuNDI2NjY2IDEuNDUwNjY3LTAuMzQxMzM0IDEuNDA4LTAuMzQxMzMzIDEuNzA2NjY3LTAuMjk4NjY3IDEuNzA2NjY2LTAuMjEzMzMzIDEuODM0NjY3LTAuMTcwNjY3IDEuNDkzMzMzLTAuMDQyNjY2eiIgZmlsbD0iIzY2NjY2NiIgPjwvcGF0aD48L3N5bWJvbD48c3ltYm9sIGlkPSJpY29uLW1hcCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTk0Ni41NiAxNzAuNjI0YTMyLjY0IDMyLjY0IDAgMCAwLTI2Ljc1Mi03LjA0bC0yMzcuMTg0IDQyLjExMkw2MjIuMDggMTg1LjZhMzIuNjQgMzIuNjQgMCAxIDAtMjAuNjcyIDYyLjA4bDY4LjQ4IDIyLjc4NGMxLjYgMC41MTIgMy4yIDAuODk2IDQuODY0IDEuMTUydjI2NS42bC0xMzUuMzYtNDEuNmEyMS44MjQgMjEuODI0IDAgMCAwLTEyLjggNDEuNmwxNDguMTYgNDUuNjMydjI3My44NTZsLTI4My41Mi03OS42OHYtMTIzLjI2NGEyMS43NiAyMS43NiAwIDEgMC00My43MTIgMHYxMjMuODRsLTIxOC4xMTIgMzQuMjRWMTk1LjcxMmEzMi43MDQgMzIuNzA0IDAgMCAwLTY1LjQwOCAwdjY1NC40YTMyLjY0IDMyLjY0IDAgMCAwIDM3Ljc2IDMyLjMybDI3MS4xMDQtNDIuNTYgMzA0IDg1LjM3NmEzMi44MzIgMzIuODMyIDAgMCAwIDE0LjY1NiAwLjY0bDIzOS44NzItNDMuNTg0YTMyLjcwNCAzMi43MDQgMCAwIDAgMjYuODgtMzIuMTkyVjE5NS43MTJhMzIuNjQgMzIuNjQgMCAwIDAtMTEuNzEyLTI1LjA4OHogbS01My43NiAzMzkuODRsLTE3NC40NjQgMzAuNFYyNjUuODU2bDE3NC41MjgtMzEuMDR2Mjc1LjY0OHogbS0xNzQuNDY0IDM0NC4wNjR2LTI2OS40NGwxNzQuNTI4LTMwLjMzNnYyNjguMDMybC0xNzQuNTI4IDMxLjc0NHoiICA+PC9wYXRoPjxwYXRoIGQ9Ik0yMDkuNzI4IDM2NS45NTJjMTAuNjg4IDIxLjEyIDEwOC45OTIgMTU5Ljc0NCAxMzguODggMjAxLjY2NCA2LjE0NCA4LjY0IDE2IDEzLjc2IDI2LjYyNCAxMy43NmgwLjA2NGEzMi43MDQgMzIuNzA0IDAgMCAwIDI2LjY4OC0xMy44ODhjMjkuNzYtNDIuMzA0IDEyNy43NDQtMTgxLjg4OCAxMzcuNzkyLTIwMS4yMTYgMTMuMTg0LTI1LjQwOCAyMC40OC01NS4wNCAyMC40OC04My4zMjhhMTg1LjYgMTg1LjYgMCAwIDAtMTg1LjQwOC0xODUuNDA4QTE4NS42IDE4NS42IDAgMCAwIDE4OS40NCAyODIuOTQ0YzAgMjguMjg4IDYuNzg0IDU2LjE5MiAyMC4yODggODIuOTQ0eiBtMTY1LjEyLTIwMy4wMDhjNjYuMTEyIDAgMTE5LjkzNiA1My44MjQgMTE5LjkzNiAxMjAgMCAxNy43MjgtNC43MzYgMzcuMTItMTMuMDU2IDUzLjEyLTUuNjk2IDEwLjU2LTU1LjE2OCA4Mi4zNjgtMTA2LjYyNCAxNTUuODQtNDcuMjMyLTY2LjgxNi0xMDAuNzM2LTE0My42MTYtMTA2Ljk0NC0xNTUuNTJhMTE4LjcyIDExOC43MiAwIDAgMS0xMy4zMTItNTMuNDRjMC02Ni4xNzYgNTMuODI0LTEyMCAxMjAtMTIweiIgID48L3BhdGg+PHBhdGggZD0iTTMyMC4zMiAyODMuMDA4YTU0LjUyOCA1NC41MjggMCAxIDAgMTA5LjA1NiAwIDU0LjUyOCA1NC41MjggMCAwIDAtMTA5LjA1NiAweiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi1mYW5nZGEiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0zNjIuNjY2NjY3IDUzMy4zMzMzMzNoODUuMzMzMzMzdjg1LjMzMzMzNGg4NS4zMzMzMzN2LTg1LjMzMzMzNGg4NS4zMzMzMzR2LTg1LjMzMzMzM2gtODUuMzMzMzM0di04NS4zMzMzMzNoLTg1LjMzMzMzM3Y4NS4zMzMzMzNoLTg1LjMzMzMzM3Y4NS4zMzMzMzN6IiAgPjwvcGF0aD48cGF0aCBkPSJNMTI4IDQ5MC42NjY2NjdhMzYyLjY2NjY2NyAzNjIuNjY2NjY3IDAgMSAxIDY0Ny41MDkzMzMgMjI0LjUxMmwxOTMuMzIyNjY3IDE5My4zMjI2NjYtNjAuMzMwNjY3IDYwLjMzMDY2Ny0xOTMuMzIyNjY2LTE5My4zMjI2NjdBMzYyLjY2NjY2NyAzNjIuNjY2NjY3IDAgMCAxIDEyOCA0OTAuNjY2NjY3ek00OTAuNjY2NjY3IDIxMy4zMzMzMzNhMjc3LjMzMzMzMyAyNzcuMzMzMzMzIDAgMSAwIDAgNTU0LjY2NjY2NyAyNzcuMzMzMzMzIDI3Ny4zMzMzMzMgMCAwIDAgMC01NTQuNjY2NjY3eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi1zdW94aWFvIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNNjE4LjY2NjY2NyA1MzMuMzMzMzMzaC0yNTZ2LTg1LjMzMzMzM2gyNTZ2ODUuMzMzMzMzeiIgID48L3BhdGg+PHBhdGggZD0iTTEyOCA0OTAuNjY2NjY3YTM2Mi42NjY2NjcgMzYyLjY2NjY2NyAwIDEgMSA2NDcuNTA5MzMzIDIyNC41MTJsMTkzLjMyMjY2NyAxOTMuMzIyNjY2LTYwLjMzMDY2NyA2MC4zMzA2NjctMTkzLjMyMjY2Ni0xOTMuMzIyNjY3QTM2Mi42NjY2NjcgMzYyLjY2NjY2NyAwIDAgMSAxMjggNDkwLjY2NjY2N3pNNDkwLjY2NjY2NyAyMTMuMzMzMzMzYTI3Ny4zMzMzMzMgMjc3LjMzMzMzMyAwIDEgMCAwIDU1NC42NjY2NjcgMjc3LjMzMzMzMyAyNzcuMzMzMzMzIDAgMCAwIDAtNTU0LjY2NjY2N3oiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tYm9mYW5nIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNODc1LjYwNTMzMyA1NDguMzk0NjY3YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDAgMC03Mi43ODkzMzRMMzMxLjYwNTMzMyAxNDMuMDE4NjY3YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDAtNjQuOTM4NjY2IDM2LjQzNzMzM3Y2NjUuMDg4YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDAgNjQuOTM4NjY2IDM2LjM5NDY2N2w1NDQtMzMyLjU0NHoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tZGl5aWdlIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMzQxLjMzMzMzMyAxMjh2NzY4SDI1NlYxMjhoODUuMzMzMzMzek03ODAuNTAxMzMzIDg4My40OTg2NjdsLTM0MS4zMzMzMzMtMzQxLjMzMzMzNGE0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDAtNjAuMzMwNjY2bDM0MS4zMzMzMzMtMzQxLjMzMzMzNCA2MC4zMzA2NjcgNjAuMzMwNjY3TDUyOS42NjQgNTEybDMxMS4xNjggMzExLjE2OC02MC4zMzA2NjcgNjAuMzMwNjY3eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi1xaWFueWlnZSIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTMxMS4xNjggNDgxLjgzNDY2N2wzNDEuMzMzMzMzLTM0MS4zMzMzMzQgNjAuMzMwNjY3IDYwLjMzMDY2N0w0MDEuNjY0IDUxMmwzMTEuMTY4IDMxMS4xNjgtNjAuMzMwNjY3IDYwLjMzMDY2Ny0zNDEuMzMzMzMzLTM0MS4zMzMzMzRhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSAwLTYwLjMzMDY2NnoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24teGlheWlnZSIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTcxMi44MzIgNDgxLjgzNDY2N2wtMzQxLjMzMzMzMy0zNDEuMzMzMzM0LTYwLjM3MzMzNCA2MC4zMzA2NjdMNjIyLjI5MzMzMyA1MTJsLTMxMS4xNjggMzExLjE2OCA2MC4zNzMzMzQgNjAuMzMwNjY3IDM0MS4zMzMzMzMtMzQxLjMzMzMzNGE0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAwIDAtNjAuMzMwNjY2eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi16YW50aW5nIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNNDI2LjY2NjY2NyAxNzAuNjY2NjY3SDIxMy4zMzMzMzN2NjgyLjY2NjY2NmgyMTMuMzMzMzM0VjE3MC42NjY2Njd6TTgxMC42NjY2NjcgMTcwLjY2NjY2N2gtMjEzLjMzMzMzNHY2ODIuNjY2NjY2aDIxMy4zMzMzMzRWMTcwLjY2NjY2N3oiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tenVpaG91eWlnZSIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTY4Mi42NjY2NjcgMTI4djc2OGg4NS4zMzMzMzNWMTI4aC04NS4zMzMzMzN6TTI0My40OTg2NjcgODgzLjQ5ODY2N2wzNDEuMzMzMzMzLTM0MS4zMzMzMzRhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMCAwLTYwLjMzMDY2NmwtMzQxLjMzMzMzMy0zNDEuMzMzMzM0LTYwLjMzMDY2NyA2MC4zMzA2NjdMNDk0LjMzNiA1MTJsLTMxMS4xNjggMzExLjE2OCA2MC4zMzA2NjcgNjAuMzMwNjY3eiIgID48L3BhdGg+PC9zeW1ib2w+PHN5bWJvbCBpZD0iaWNvbi15aW5jYW5nIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJNMTI4IDE4MS4zMzMzMzN2NjRoNzY4di02NEgxMjh6TTEyOCAzODRsMTkyIDEyOEwxMjggNjQwVjM4NHpNODk2IDQ4MEg0MjYuNjY2NjY3djY0aDQ2OS4zMzMzMzN2LTY0ek04OTYgNzc4LjY2NjY2N3Y2NEgxMjh2LTY0aDc2OHoiICA+PC9wYXRoPjwvc3ltYm9sPjxzeW1ib2wgaWQ9Imljb24tc3VvZmFuZyIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZD0iTTU5Ny4zMzMzMzMgNDEzLjM1NDY2N0gzOTQuNjY2NjY3djY0aDE3MC42NjY2NjZ2MTcwLjY2NjY2Nmg2NHYtMjAyLjY2NjY2NmEzMiAzMiAwIDAgMC0zMi0zMnoiICA+PC9wYXRoPjxwYXRoIGQ9Ik0xMzguNjY2NjY3IDE4OS4zNTQ2NjdhMzIgMzIgMCAwIDEgMzItMzJoNjgyLjY2NjY2NmEzMiAzMiAwIDAgMSAzMiAzMnY2ODIuNjY2NjY2YTMyIDMyIDAgMCAxLTMyIDMySDE3MC42NjY2NjdhMzIgMzIgMCAwIDEtMzItMzJ2LTY4Mi42NjY2NjZ6IG02ODIuNjY2NjY2IDY1MC42NjY2NjZ2LTYxOC42NjY2NjZIMjAyLjY2NjY2N3YzMjBINDY5LjMzMzMzM2EzMiAzMiAwIDAgMSAzMiAzMnYyNjYuNjY2NjY2aDMyMHogbS02MTguNjY2NjY2IDBoMjM0LjY2NjY2NnYtMjM0LjY2NjY2NmgtMjM0LjY2NjY2NnYyMzQuNjY2NjY2eiIgID48L3BhdGg+PC9zeW1ib2w+PC9zdmc+JywgZnVuY3Rpb24gKG8pIHsgdmFyIGEgPSAoYSA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCJzY3JpcHQiKSlbYS5sZW5ndGggLSAxXSwgdCA9IGEuZ2V0QXR0cmlidXRlKCJkYXRhLWluamVjdGNzcyIpLCBhID0gYS5nZXRBdHRyaWJ1dGUoImRhdGEtZGlzYWJsZS1pbmplY3RzdmciKTsgaWYgKCFhKSB7IHZhciBpLCBlLCBoLCBsLCBuLCBjID0gZnVuY3Rpb24gKGEsIHQpIHsgdC5wYXJlbnROb2RlLmluc2VydEJlZm9yZShhLCB0KSB9OyBpZiAodCAmJiAhby5fX2ljb25mb250X19zdmdfX2Nzc2luamVjdF9fKSB7IG8uX19pY29uZm9udF9fc3ZnX19jc3NpbmplY3RfXyA9ICEwOyB0cnkgeyBkb2N1bWVudC53cml0ZSgiPHN0eWxlPi5zdmdmb250IHtkaXNwbGF5OiBpbmxpbmUtYmxvY2s7d2lkdGg6IDFlbTtoZWlnaHQ6IDFlbTtmaWxsOiBjdXJyZW50Q29sb3I7dmVydGljYWwtYWxpZ246IC0wLjFlbTtmb250LXNpemU6MTZweDt9PC9zdHlsZT4iKSB9IGNhdGNoIChhKSB7IGNvbnNvbGUgJiYgY29uc29sZS5sb2coYSkgfSB9IGkgPSBmdW5jdGlvbiAoKSB7IHZhciBhLCB0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgiZGl2Iik7IHQuaW5uZXJIVE1MID0gby5faWNvbmZvbnRfc3ZnX3N0cmluZ18zOTI5MjA5LCAodCA9IHQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoInN2ZyIpWzBdKSAmJiAodC5zZXRBdHRyaWJ1dGUoImFyaWEtaGlkZGVuIiwgInRydWUiKSwgdC5zdHlsZS5wb3NpdGlvbiA9ICJhYnNvbHV0ZSIsIHQuc3R5bGUud2lkdGggPSAwLCB0LnN0eWxlLmhlaWdodCA9IDAsIHQuc3R5bGUub3ZlcmZsb3cgPSAiaGlkZGVuIiwgdCA9IHQsIChhID0gZG9jdW1lbnQuYm9keSkuZmlyc3RDaGlsZCA/IGModCwgYS5maXJzdENoaWxkKSA6IGEuYXBwZW5kQ2hpbGQodCkpIH0sIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIgPyB+WyJjb21wbGV0ZSIsICJsb2FkZWQiLCAiaW50ZXJhY3RpdmUiXS5pbmRleE9mKGRvY3VtZW50LnJlYWR5U3RhdGUpID8gc2V0VGltZW91dChpLCAwKSA6IChlID0gZnVuY3Rpb24gKCkgeyBkb2N1bWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIiwgZSwgITEpLCBpKCkgfSwgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigiRE9NQ29udGVudExvYWRlZCIsIGUsICExKSkgOiBkb2N1bWVudC5hdHRhY2hFdmVudCAmJiAoaCA9IGksIGwgPSBvLmRvY3VtZW50LCBuID0gITEsIGQoKSwgbC5vbnJlYWR5c3RhdGVjaGFuZ2UgPSBmdW5jdGlvbiAoKSB7ICJjb21wbGV0ZSIgPT0gbC5yZWFkeVN0YXRlICYmIChsLm9ucmVhZHlzdGF0ZWNoYW5nZSA9IG51bGwsIHYoKSkgfSkgfSBmdW5jdGlvbiB2KCkgeyBuIHx8IChuID0gITAsIGgoKSkgfSBmdW5jdGlvbiBkKCkgeyB0cnkgeyBsLmRvY3VtZW50RWxlbWVudC5kb1Njcm9sbCgibGVmdCIpIH0gY2F0Y2ggKGEpIHsgcmV0dXJuIHZvaWQgc2V0VGltZW91dChkLCA1MCkgfSB2KCkgfSB9KHdpbmRvdyk7",self.location).href});var l$4=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const d$7=pt=>l$4(void 0,[pt],function*({target:_e,value:ft}){try{let mt="";if(!navigator.clipboard)return console.warn("Browser don't have support for native clipboard."),!1;if(_e){const bt=document.querySelector(_e);if(!bt||!bt.textContent)return console.warn("Element not found"),!1;ft=bt.textContent}return ft&&(mt=ft),yield navigator.clipboard.writeText(mt),!0}catch(mt){return!1}}),b$6=({text:pt})=>{const[_e,ft]=reactExports.useState();return reactExports.useEffect(()=>{_e&&setTimeout(()=>ft(void 0),2e3)},[_e]),_e?jsxRuntimeExports.jsx("div",{className:"copy-tip",children:_e==="success"?jsxRuntimeExports.jsx(p$b,{style:{color:"rgba(48, 191, 19, 1)"}}):jsxRuntimeExports.jsx(n$5,{style:{color:"#dc4446"}})}):jsxRuntimeExports.jsx(Mt$1,{title:"复制",children:jsxRuntimeExports.jsx("div",{className:"copy-btn",onClick:()=>{d$7({value:pt}).then(mt=>{ft(mt?"success":"failed")})},children:jsxRuntimeExports.jsx(N,{type:"icon-fuzhi"})})})};var x$5=Object.defineProperty,f$7=Object.defineProperties,h$7=Object.getOwnPropertyDescriptors,t$2=Object.getOwnPropertySymbols,g$6=Object.prototype.hasOwnProperty,p$9=Object.prototype.propertyIsEnumerable,w$5=(pt,_e,ft)=>_e in pt?x$5(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,d$6=(pt,_e)=>{for(var ft in _e||(_e={}))g$6.call(_e,ft)&&w$5(pt,ft,_e[ft]);if(t$2)for(var ft of t$2(_e))p$9.call(_e,ft)&&w$5(pt,ft,_e[ft]);return pt},m$4=(pt,_e)=>f$7(pt,h$7(_e)),u$7=(pt,_e)=>{var ft={};for(var mt in pt)g$6.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&t$2)for(var mt of t$2(pt))_e.indexOf(mt)<0&&p$9.call(pt,mt)&&(ft[mt]=pt[mt]);return ft};const L$1=pt=>{var _e=pt,{node:ft,inline:mt,className:bt,children:vt}=_e,$t=u$7(_e,["node","inline","className","children"]);const _t=/language-(\w+)/.exec(bt||""),Rt=_t?_t[1]:null;return!mt&&Rt?jsxRuntimeExports.jsxs("div",{className:"markdown-code",children:[jsxRuntimeExports.jsxs("div",{className:"markdown-code-title",children:[jsxRuntimeExports.jsx("span",{className:"markdown-code-title-text",children:Rt}),jsxRuntimeExports.jsx(ue,{className:"markdown-code-title-action",children:jsxRuntimeExports.jsx(b$6,{text:String(vt)})})]}),jsxRuntimeExports.jsx(b$7,m$4(d$6({className:"markdown-code-context",language:Rt},$t),{wrapLongLines:!0,showLineNumbers:!0,PreTag:"div",children:String(vt).replace(/\n$/,"")}))]}):jsxRuntimeExports.jsx("code",m$4(d$6({className:bt},$t),{children:vt}))},y$2=L$1;var j$1=Object.defineProperty,v$5=Object.defineProperties,A$4=Object.getOwnPropertyDescriptors,w$4=Object.getOwnPropertySymbols,f$6=Object.prototype.hasOwnProperty,m$3=Object.prototype.propertyIsEnumerable,d$5=(pt,_e,ft)=>_e in pt?j$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,c$5=(pt,_e)=>{for(var ft in _e||(_e={}))f$6.call(_e,ft)&&d$5(pt,ft,_e[ft]);if(w$4)for(var ft of w$4(_e))m$3.call(_e,ft)&&d$5(pt,ft,_e[ft]);return pt},u$6=(pt,_e)=>v$5(pt,A$4(_e)),x$4=(pt,_e)=>{var ft={};for(var mt in pt)f$6.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&w$4)for(var mt of w$4(pt))_e.indexOf(mt)<0&&m$3.call(pt,mt)&&(ft[mt]=pt[mt]);return ft};const p$8=pt=>{var _e,ft;const mt=pt,{node:bt}=mt,vt=x$4(mt,["node"]);if(bt.tagName==="a"&&((_e=bt.children)==null?void 0:_e.length)>0){const $t=((ft=bt.children[0])==null?void 0:ft.value)||"";let _t=/(^https?:\/\/|^www\.)(?:www\.)?[\w\-]+(\.[\w\-]+)+(\/[\w\- .\/?%&=]*)?/g,Rt=$t.match(_t),Pt=$t.replace(_t,"").trim();if(!(Rt!=null&&Rt.length))return jsxRuntimeExports.jsx("a",c$5({},vt));const Ft=Rt[0];return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("a",u$6(c$5({href:/^www\./.test(Ft)?"//"+Ft:Ft,onClick:()=>window.open(pt.href,pt.target||"_blank")},vt),{children:Ft})),Pt]})}return jsxRuntimeExports.jsx("a",c$5({},vt))},M$2=p$8;var c$4=Object.defineProperty,C$2=Object.defineProperties,T$2=Object.getOwnPropertyDescriptors,m$2=Object.getOwnPropertySymbols,u$5=Object.prototype.hasOwnProperty,h$6=Object.prototype.propertyIsEnumerable,g$5=(pt,_e,ft)=>_e in pt?c$4(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,d$4=(pt,_e)=>{for(var ft in _e||(_e={}))u$5.call(_e,ft)&&g$5(pt,ft,_e[ft]);if(m$2)for(var ft of m$2(_e))h$6.call(_e,ft)&&g$5(pt,ft,_e[ft]);return pt},n$3=(pt,_e)=>C$2(pt,T$2(_e)),s$2=(pt,_e)=>{var ft={};for(var mt in pt)u$5.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&m$2)for(var mt of m$2(pt))_e.indexOf(mt)<0&&h$6.call(pt,mt)&&(ft[mt]=pt[mt]);return ft};function K$3(pt){return pt&&pt.replace(/<think>/gi,'<div class="think">').replace(/<\/think>/gi,"</div>").replace(/<redacted_reasoning>/gi,'<div class="redacted_reasoning">').replace(/<\/redacted_reasoning>/gi,"</div>")}const $$2=pt=>{var _e=pt,{showLatex:ft=!0,components:mt={},componentProps:bt,children:vt}=_e,$t=s$2(_e,["showLatex","components","componentProps","children"]);const _t=reactExports.useRef(null),Rt=d$4({img(Bt){return jsxRuntimeExports.jsx(B$1,d$4(d$4({},Bt),bt==null?void 0:bt.img))},code(Bt){return jsxRuntimeExports.jsx(y$2,d$4(d$4({},Bt),bt==null?void 0:bt.code))},video(Bt){return jsxRuntimeExports.jsx(c$7,d$4(d$4({},Bt),bt==null?void 0:bt.video))},a(Bt){return jsxRuntimeExports.jsx(M$2,d$4(d$4({},Bt),bt==null?void 0:bt.a))}},mt),Pt=K$3(vt),Ft=ft?c$6(Pt):Pt;return jsxRuntimeExports.jsx("div",{ref:_t,children:jsxRuntimeExports.jsx(Markdown,n$3(d$4({className:"markdown",rehypePlugins:[rehypeKatex,[rehypeExternalLinks,{target:"_blank"}]],remarkPlugins:[remarkMath,[remarkGfm,{singleTilde:!1}]]},$t),{children:Ft,components:Rt}))})};(function(){try{if(typeof document!="undefined"){var pt=document.createElement("style");pt.appendChild(document.createTextNode('.document-viewer{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;gap:8px}.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #f0f0f0;background:#fafafa;border-radius:4px;flex-shrink:0}.document-viewer-toolbar-meta{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.document-viewer-toolbar-name{font-weight:500;color:#1f1f1f;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-viewer-toolbar-size{font-size:12px;color:#666;flex-shrink:0}.document-viewer-body{flex:1;min-height:0;display:flex}.document-viewer-loading{display:flex;justify-content:center;align-items:center;min-height:200px;flex:1}.document-viewer-text,.document-viewer-json,.document-viewer-xml{padding:16px;background:#f5f5f5;border-radius:4px;overflow:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;flex:1;min-height:0}.document-viewer-json{background:#f9f9f9}.document-viewer-xml{background:#fff8e1}.document-viewer-jsonl{padding:16px;overflow:auto;flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.document-viewer-jsonl-item{margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:4px;border-left:3px solid #1890ff;width:100%;box-sizing:border-box;max-width:100%}.document-viewer-jsonl-item:last-child{margin-bottom:0}.document-viewer-jsonl-item pre{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;width:100%;max-width:100%;box-sizing:border-box}.document-viewer-code{border-radius:4px;overflow:auto;max-height:100%;height:100%;display:flex;flex-direction:column;width:100%}.document-viewer-code pre{margin:0!important;padding:16px!important;background:#f5f5f5!important;overflow:visible;width:100%;box-sizing:border-box}.document-viewer-code>div{overflow:auto;max-height:100%;width:100%}.document-viewer-image{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-image .ant-image{max-width:100%;max-height:100%;width:100%;height:100%}.document-viewer-image .ant-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.document-viewer-video{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-video video{max-width:100%;max-height:100%}.document-viewer-audio{padding:16px;display:flex;justify-content:center;align-items:center;min-height:100px;overflow:hidden;flex:1;min-height:0}.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-zip{width:100%;height:100%;min-height:0;position:relative;flex:1;display:flex;flex-direction:column}.document-viewer-zip{display:flex;flex-direction:column;padding:16px;background:#fff;overflow:hidden}.document-viewer-zip .ant-table{font-size:12px}.document-viewer-zip .ant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}.document-viewer-zip .ant-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e6f7ff}.document-viewer-iframe{width:100%;height:100%;min-height:0;border:none;border-radius:4px;flex:1}.document-viewer-docx{overflow:hidden;background:#f5f5f5}.document-viewer-docx-content{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box;background:#f5f5f5}.document-viewer-docx-content>section{margin:0 auto 16px;box-shadow:0 2px 8px #00000014}.document-viewer-fallback{margin-top:16px}.document-viewer-alert-full{width:100%;align-self:flex-start}@media (max-width: 768px){.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-iframe{min-height:0}}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}:root{--rpv-drop__area-background-color: #fff;--rpv-drop__area-body-border-color: rgba(0, 0, 0, .3);--rpv-drop__area-body-color: #000}.rpv-core__viewer--dark{--rpv-drop__area-background-color: #191919;--rpv-drop__area-body-border-color: #fff;--rpv-drop__area-body-color: #fff}.rpv-drop__area{background-color:var(--rpv-drop__area-background-color);inset:0;position:absolute;padding:.5rem;z-index:9999}.rpv-drop__area-body{border:2px dashed var(--rpv-drop__area-body-border-color);color:var(--rpv-drop__area-body-color);font-size:1.5rem;align-items:center;display:flex;justify-content:center;height:100%}.rpv-drop__area-body--rtl{direction:rtl}:root{--rpv-full-screen__overlay-background-color: #fff}.rpv-core__viewer--dark{--rpv-full-screen__overlay-background-color: #1a1a1a}.rpv-full-screen__exit-button{bottom:0;padding:.5rem;position:fixed;z-index:2}.rpv-full-screen__exit-button--ltr{right:0}.rpv-full-screen__exit-button--rtl{left:0}.rpv-full-screen__overlay{position:fixed;top:0;left:0;height:100%;width:100%;align-items:center;display:flex;justify-content:center;background-color:var(--rpv-full-screen__overlay-background-color);z-index:1}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-print__progress-body-background-color: #fff;--rpv-print__progress-body-border-color: rgba(0, 0, 0, .3);--rpv-print__progress-body-color: #000}.rpv-core__viewer--dark{--rpv-print__progress-body-background-color: #363636;--rpv-print__progress-body-border-color: transparent;--rpv-print__progress-body-color: #fff}.rpv-print__permission-body{padding:1rem}.rpv-print__permission-footer{display:flex;justify-content:center;padding:0 1rem 1rem 0}.rpv-print__progress{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:9999}.rpv-print__progress-body{background-color:var(--rpv-print__progress-body-background-color);border:1px solid var(--rpv-print__progress-body-border-color);border-radius:.25rem;color:var(--rpv-print__progress-body-color);padding:1.5rem;text-align:center;width:15rem}.rpv-print__progress-body--rtl{direction:rtl}.rpv-print__progress-bar{margin-bottom:1rem}.rpv-print__progress-message{margin-bottom:.5rem}.rpv-print__zone{display:none}@media print{@page{margin:0}.rpv-print__html-printing{height:100%}.rpv-print__body-printing{height:100%;margin:0}.rpv-print__body-printing *{display:none}.rpv-print__zone{display:block;height:100%}.rpv-print__page{align-items:center;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rpv-print__page img{display:block;max-height:100%;max-width:100%}}.rpv-properties__loader{text-align:center}.rpv-properties__modal{min-height:20rem;padding:.5rem 0}.rpv-properties__modal-section{padding:0 .5rem}.rpv-properties__modal-footer{display:flex;justify-content:center;margin-top:.5rem}.rpv-properties__item{align-items:flex-start;display:flex;margin:.5rem 0}.rpv-properties__item--rtl{direction:rtl}.rpv-properties__item-label{padding-right:.5rem;width:25%}.rpv-properties__item-value{flex:1}.rpv-search__highlights{left:0;position:absolute;top:0;height:100%;width:100%}.rpv-search__highlight{background-color:var(--rpv-search__highlight-background-color);border-radius:.25rem;position:absolute;z-index:1}.rpv-search__highlight--current{background-color:var(--rpv-search__highlight--current-background-color)}.rpv-search__popover{padding:0 .5rem}.rpv-search__popover-input-counter{align-items:center;display:flex;margin-bottom:.5rem;position:relative;width:12rem}.rpv-search__popover-counter{align-items:center;bottom:0;display:flex;position:absolute;top:0}.rpv-search__popover-counter--ltr{padding-right:.25rem;right:0}.rpv-search__popover-counter--rtl{left:0;padding-left:.25rem}.rpv-search__popover-label{align-items:center;cursor:pointer;display:flex;margin-bottom:.5rem}.rpv-search__popover-label-checkbox{cursor:pointer;margin-right:.25rem}.rpv-search__popover-footer{align-items:center;display:flex}.rpv-search__popover-footer-item{padding:0 .25rem}.rpv-search__popover-footer-button--ltr{margin-left:auto}.rpv-search__popover-footer-button--rtl{margin-right:auto}:root{--rpv-search__highlight-background-color: rgba(255, 255, 0, .4);--rpv-search__highlight--current-background-color: rgba(0, 128, 0, .4)}.rpv-selection-mode__grab{cursor:grab}.rpv-selection-mode__grab :not(input),.rpv-selection-mode__grab :not(select),.rpv-selection-mode__grab :not(textarea){cursor:grab!important}.rpv-selection-mode__grabbing{cursor:grabbing}.rpv-selection-mode__grabbing :not(input),.rpv-selection-mode__grabbing :not(select),.rpv-selection-mode__grabbing :not(textarea){cursor:grabbing!important}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}:root{--rpv-toolbar__label--color: #000}.rpv-core__viewer--dark{--rpv-toolbar__label--color: #fff}.rpv-toolbar{align-items:center;display:flex;width:100%}.rpv-toolbar--rtl{direction:rtl}.rpv-toolbar__left{align-items:center;display:flex}.rpv-toolbar__center{align-items:center;display:flex;flex-grow:1;flex-shrink:1;justify-content:center}.rpv-toolbar__right{align-items:center;display:flex;margin-left:auto}.rpv-toolbar__item{align-items:center;display:flex;padding:0 .125rem}.rpv-toolbar__label{color:var(--rpv-toolbar__label--color)}.rpv-open__input-wrapper{position:relative}.rpv-open__input{display:none;cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.rpv-open__input::-webkit-file-upload-button{width:0}.pdf-viewer{width:100%;height:100%;overflow-y:auto}')),document.head.appendChild(pt)}}catch(_e){console.error("vite-plugin-css-injected-by-js",_e)}})();var n$2=Object.defineProperty,f$5=(pt,_e,ft)=>_e in pt?n$2(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,r$2=(pt,_e,ft)=>(f$5(pt,typeof _e!="symbol"?_e+"":_e,ft),ft);const o$2=class gm{constructor(_e,ft=!1){this.prefix=_e,this.open=ft}disable(){this.open=!1}enable(){this.open=!0}log(..._e){!this.open&&!gm.debug||console.log(this.prefix,..._e)}info(..._e){!this.open&&!gm.debug||console.info(`%c ${this.prefix} %o`,"color:#0f0;",..._e)}error(..._e){!this.open&&!gm.debug||console.error(this.prefix,..._e)}warn(..._e){!this.open&&!gm.debug||console.warn(this.prefix,..._e)}};r$2(o$2,"debug",!1);let t$1=o$2;var s$1=Object.defineProperty,v$4=Object.defineProperties,u$4=Object.getOwnPropertyDescriptors,n$1=Object.getOwnPropertySymbols,p$7=Object.prototype.hasOwnProperty,h$5=Object.prototype.propertyIsEnumerable,g$4=(pt,_e,ft)=>_e in pt?s$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,i$3=(pt,_e)=>{for(var ft in _e||(_e={}))p$7.call(_e,ft)&&g$4(pt,ft,_e[ft]);if(n$1)for(var ft of n$1(_e))h$5.call(_e,ft)&&g$4(pt,ft,_e[ft]);return pt},l$3=(pt,_e)=>v$4(pt,u$4(_e));const R$4=new t$1("[Config] ");var f$4=(pt=>(pt.dev="https://aiot-dev.glodon.com/api/cvforcepd",pt.test="https://aiot-dev.glodon.com/api/cvforce",pt.prod="https://copilot.glodon.com/api/cvforce",pt.local="http://localhost:3000/api/cvforcepd",pt))(f$4||{});let c$3={debug:!1,env:"prod",apiRoot:"https://copilot.glodon.com/api/cvforce",applicationId:"",plugins:{},mcp:void 0,loadRelatedQuesions:!0,stream:!1};function w$3(pt){t$1.debug=(pt==null?void 0:pt.debug)||!1,c$3=l$3(i$3(i$3({},c$3),pt),{apiRoot:(pt==null?void 0:pt.apiRoot)||c$3.apiRoot||(pt!=null&&pt.env?f$4[pt.env||"prod"]:c$3.apiRoot)}),t$1.debug&&R$4.log("updated",c$3)}const _hasBuffer=typeof Buffer=="function",_TD=typeof TextDecoder=="function"?new TextDecoder:void 0;typeof TextEncoder=="function"&&new TextEncoder;const b64ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b64chs=Array.prototype.slice.call(b64ch),b64tab=(pt=>{let _e={};return pt.forEach((ft,mt)=>_e[ft]=mt),_e})(b64chs),b64re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_fromCC=String.fromCharCode.bind(String),_U8Afrom=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):pt=>new Uint8Array(Array.prototype.slice.call(pt,0)),_tidyB64=pt=>pt.replace(/[^A-Za-z0-9\+\/]/g,""),re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=pt=>{switch(pt.length){case 4:var _e=(7&pt.charCodeAt(0))<<18|(63&pt.charCodeAt(1))<<12|(63&pt.charCodeAt(2))<<6|63&pt.charCodeAt(3),ft=_e-65536;return _fromCC((ft>>>10)+55296)+_fromCC((ft&1023)+56320);case 3:return _fromCC((15&pt.charCodeAt(0))<<12|(63&pt.charCodeAt(1))<<6|63&pt.charCodeAt(2));default:return _fromCC((31&pt.charCodeAt(0))<<6|63&pt.charCodeAt(1))}},btou=pt=>pt.replace(re_btou,cb_btou),atobPolyfill=pt=>{if(pt=pt.replace(/\s+/g,""),!b64re.test(pt))throw new TypeError("malformed base64.");pt+="==".slice(2-(pt.length&3));let _e,ft="",mt,bt;for(let vt=0;vt<pt.length;)_e=b64tab[pt.charAt(vt++)]<<18|b64tab[pt.charAt(vt++)]<<12|(mt=b64tab[pt.charAt(vt++)])<<6|(bt=b64tab[pt.charAt(vt++)]),ft+=mt===64?_fromCC(_e>>16&255):bt===64?_fromCC(_e>>16&255,_e>>8&255):_fromCC(_e>>16&255,_e>>8&255,_e&255);return ft},_atob=typeof atob=="function"?pt=>atob(_tidyB64(pt)):_hasBuffer?pt=>Buffer.from(pt,"base64").toString("binary"):atobPolyfill,_toUint8Array=_hasBuffer?pt=>_U8Afrom(Buffer.from(pt,"base64")):pt=>_U8Afrom(_atob(pt).split("").map(_e=>_e.charCodeAt(0))),_decode=_hasBuffer?pt=>Buffer.from(pt,"base64").toString("utf8"):_TD?pt=>_TD.decode(_toUint8Array(pt)):pt=>btou(_atob(pt)),_unURI=pt=>_tidyB64(pt.replace(/[-_]/g,_e=>_e=="-"?"+":"/")),decode$2=pt=>_decode(_unURI(pt)),c$2=pt=>JSON.parse(decode$2(pt.split(".")[1])),i$2=pt=>{const _e=c$2(pt).exp;return new Date().valueOf()/1e3>=_e},a$3=pt=>pt==null?void 0:pt.replace(/[\r\n]+/gm,""),p$6=pt=>pt.replace(/\\|\\/g,"");var d$3=Object.defineProperty,h$4=Object.defineProperties,x$3=Object.getOwnPropertyDescriptors,c$1=Object.getOwnPropertySymbols,E$2=Object.prototype.hasOwnProperty,I$4=Object.prototype.propertyIsEnumerable,a$2=(pt,_e,ft)=>_e in pt?d$3(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,f$3=(pt,_e)=>{for(var ft in _e||(_e={}))E$2.call(_e,ft)&&a$2(pt,ft,_e[ft]);if(c$1)for(var ft of c$1(_e))I$4.call(_e,ft)&&a$2(pt,ft,_e[ft]);return pt},p$5=(pt,_e)=>h$4(pt,x$3(_e));function z(pt,_e,ft){const mt=Rt=>{var Pt;return _e&&(i$2(_e)&&ft(403,"aiotToken is timeout"),Rt.headers=(Pt=Rt.headers)!=null?Pt:{},Rt.headers=p$5(f$3({},Rt.headers),{Authorization:_e?`Bearer ${_e}`:""})),Rt};function bt(Rt,Pt=!0){const Ft=`${pt}${Rt}`,Bt=qz.create({baseURL:Ft});return Pt&&Bt.interceptors.request.use(mt),Bt}const vt=(Rt,Pt)=>{Rt===401&&ft(Rt,"aiotToken is invalid")},$t=(Rt,Pt)=>{Rt!==10001&&Rt!==10215&&ft(Rt,Pt)},_t=bt("/data/v1");return new k$6(_t,{onHttpStatusError:vt,onAppStatusError:$t})}const PACKET_TYPES=Object.create(null);PACKET_TYPES.open="0";PACKET_TYPES.close="1";PACKET_TYPES.ping="2";PACKET_TYPES.pong="3";PACKET_TYPES.message="4";PACKET_TYPES.upgrade="5";PACKET_TYPES.noop="6";const PACKET_TYPES_REVERSE=Object.create(null);Object.keys(PACKET_TYPES).forEach(pt=>{PACKET_TYPES_REVERSE[PACKET_TYPES[pt]]=pt});const ERROR_PACKET={type:"error",data:"parser error"},withNativeBlob$1=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",withNativeArrayBuffer$2=typeof ArrayBuffer=="function",isView$1=pt=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(pt):pt&&pt.buffer instanceof ArrayBuffer,encodePacket=({type:pt,data:_e},ft,mt)=>withNativeBlob$1&&_e instanceof Blob?ft?mt(_e):encodeBlobAsBase64(_e,mt):withNativeArrayBuffer$2&&(_e instanceof ArrayBuffer||isView$1(_e))?ft?mt(_e):encodeBlobAsBase64(new Blob([_e]),mt):mt(PACKET_TYPES[pt]+(_e||"")),encodeBlobAsBase64=(pt,_e)=>{const ft=new FileReader;return ft.onload=function(){const mt=ft.result.split(",")[1];_e("b"+(mt||""))},ft.readAsDataURL(pt)};function toArray(pt){return pt instanceof Uint8Array?pt:pt instanceof ArrayBuffer?new Uint8Array(pt):new Uint8Array(pt.buffer,pt.byteOffset,pt.byteLength)}let TEXT_ENCODER;function encodePacketToBinary(pt,_e){if(withNativeBlob$1&&pt.data instanceof Blob)return pt.data.arrayBuffer().then(toArray).then(_e);if(withNativeArrayBuffer$2&&(pt.data instanceof ArrayBuffer||isView$1(pt.data)))return _e(toArray(pt.data));encodePacket(pt,!1,ft=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder),_e(TEXT_ENCODER.encode(ft))})}const chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(let pt=0;pt<chars.length;pt++)lookup$1[chars.charCodeAt(pt)]=pt;const decode$1=pt=>{let _e=pt.length*.75,ft=pt.length,mt,bt=0,vt,$t,_t,Rt;pt[pt.length-1]==="="&&(_e--,pt[pt.length-2]==="="&&_e--);const Pt=new ArrayBuffer(_e),Ft=new Uint8Array(Pt);for(mt=0;mt<ft;mt+=4)vt=lookup$1[pt.charCodeAt(mt)],$t=lookup$1[pt.charCodeAt(mt+1)],_t=lookup$1[pt.charCodeAt(mt+2)],Rt=lookup$1[pt.charCodeAt(mt+3)],Ft[bt++]=vt<<2|$t>>4,Ft[bt++]=($t&15)<<4|_t>>2,Ft[bt++]=(_t&3)<<6|Rt&63;return Pt},withNativeArrayBuffer$1=typeof ArrayBuffer=="function",decodePacket=(pt,_e)=>{if(typeof pt!="string")return{type:"message",data:mapBinary(pt,_e)};const ft=pt.charAt(0);return ft==="b"?{type:"message",data:decodeBase64Packet(pt.substring(1),_e)}:PACKET_TYPES_REVERSE[ft]?pt.length>1?{type:PACKET_TYPES_REVERSE[ft],data:pt.substring(1)}:{type:PACKET_TYPES_REVERSE[ft]}:ERROR_PACKET},decodeBase64Packet=(pt,_e)=>{if(withNativeArrayBuffer$1){const ft=decode$1(pt);return mapBinary(ft,_e)}else return{base64:!0,data:pt}},mapBinary=(pt,_e)=>{switch(_e){case"blob":return pt instanceof Blob?pt:new Blob([pt]);case"arraybuffer":default:return pt instanceof ArrayBuffer?pt:pt.buffer}},SEPARATOR=String.fromCharCode(30),encodePayload=(pt,_e)=>{const ft=pt.length,mt=new Array(ft);let bt=0;pt.forEach((vt,$t)=>{encodePacket(vt,!1,_t=>{mt[$t]=_t,++bt===ft&&_e(mt.join(SEPARATOR))})})},decodePayload=(pt,_e)=>{const ft=pt.split(SEPARATOR),mt=[];for(let bt=0;bt<ft.length;bt++){const vt=decodePacket(ft[bt],_e);if(mt.push(vt),vt.type==="error")break}return mt};function createPacketEncoderStream(){return new TransformStream({transform(pt,_e){encodePacketToBinary(pt,ft=>{const mt=ft.length;let bt;if(mt<126)bt=new Uint8Array(1),new DataView(bt.buffer).setUint8(0,mt);else if(mt<65536){bt=new Uint8Array(3);const vt=new DataView(bt.buffer);vt.setUint8(0,126),vt.setUint16(1,mt)}else{bt=new Uint8Array(9);const vt=new DataView(bt.buffer);vt.setUint8(0,127),vt.setBigUint64(1,BigInt(mt))}pt.data&&typeof pt.data!="string"&&(bt[0]|=128),_e.enqueue(bt),_e.enqueue(ft)})}})}let TEXT_DECODER;function totalLength(pt){return pt.reduce((_e,ft)=>_e+ft.length,0)}function concatChunks(pt,_e){if(pt[0].length===_e)return pt.shift();const ft=new Uint8Array(_e);let mt=0;for(let bt=0;bt<_e;bt++)ft[bt]=pt[0][mt++],mt===pt[0].length&&(pt.shift(),mt=0);return pt.length&&mt<pt[0].length&&(pt[0]=pt[0].slice(mt)),ft}function createPacketDecoderStream(pt,_e){TEXT_DECODER||(TEXT_DECODER=new TextDecoder);const ft=[];let mt=0,bt=-1,vt=!1;return new TransformStream({transform($t,_t){for(ft.push($t);;){if(mt===0){if(totalLength(ft)<1)break;const Rt=concatChunks(ft,1);vt=(Rt[0]&128)===128,bt=Rt[0]&127,bt<126?mt=3:bt===126?mt=1:mt=2}else if(mt===1){if(totalLength(ft)<2)break;const Rt=concatChunks(ft,2);bt=new DataView(Rt.buffer,Rt.byteOffset,Rt.length).getUint16(0),mt=3}else if(mt===2){if(totalLength(ft)<8)break;const Rt=concatChunks(ft,8),Pt=new DataView(Rt.buffer,Rt.byteOffset,Rt.length),Ft=Pt.getUint32(0);if(Ft>Math.pow(2,53-32)-1){_t.enqueue(ERROR_PACKET);break}bt=Ft*Math.pow(2,32)+Pt.getUint32(4),mt=3}else{if(totalLength(ft)<bt)break;const Rt=concatChunks(ft,bt);_t.enqueue(decodePacket(vt?Rt:TEXT_DECODER.decode(Rt),_e)),mt=0}if(bt===0||bt>pt){_t.enqueue(ERROR_PACKET);break}}}})}const protocol$1=4;function Emitter$1(pt){if(pt)return mixin(pt)}function mixin(pt){for(var _e in Emitter$1.prototype)pt[_e]=Emitter$1.prototype[_e];return pt}Emitter$1.prototype.on=Emitter$1.prototype.addEventListener=function(pt,_e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+pt]=this._callbacks["$"+pt]||[]).push(_e),this};Emitter$1.prototype.once=function(pt,_e){function ft(){this.off(pt,ft),_e.apply(this,arguments)}return ft.fn=_e,this.on(pt,ft),this};Emitter$1.prototype.off=Emitter$1.prototype.removeListener=Emitter$1.prototype.removeAllListeners=Emitter$1.prototype.removeEventListener=function(pt,_e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var ft=this._callbacks["$"+pt];if(!ft)return this;if(arguments.length==1)return delete this._callbacks["$"+pt],this;for(var mt,bt=0;bt<ft.length;bt++)if(mt=ft[bt],mt===_e||mt.fn===_e){ft.splice(bt,1);break}return ft.length===0&&delete this._callbacks["$"+pt],this};Emitter$1.prototype.emit=function(pt){this._callbacks=this._callbacks||{};for(var _e=new Array(arguments.length-1),ft=this._callbacks["$"+pt],mt=1;mt<arguments.length;mt++)_e[mt-1]=arguments[mt];if(ft){ft=ft.slice(0);for(var mt=0,bt=ft.length;mt<bt;++mt)ft[mt].apply(this,_e)}return this};Emitter$1.prototype.emitReserved=Emitter$1.prototype.emit;Emitter$1.prototype.listeners=function(pt){return this._callbacks=this._callbacks||{},this._callbacks["$"+pt]||[]};Emitter$1.prototype.hasListeners=function(pt){return!!this.listeners(pt).length};const nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?_e=>Promise.resolve().then(_e):(_e,ft)=>ft(_e,0))(),globalThisShim=(()=>typeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")())(),defaultBinaryType="arraybuffer";function createCookieJar(){}function pick(pt,..._e){return _e.reduce((ft,mt)=>(pt.hasOwnProperty(mt)&&(ft[mt]=pt[mt]),ft),{})}const NATIVE_SET_TIMEOUT=globalThisShim.setTimeout,NATIVE_CLEAR_TIMEOUT=globalThisShim.clearTimeout;function installTimerFunctions(pt,_e){_e.useNativeTimers?(pt.setTimeoutFn=NATIVE_SET_TIMEOUT.bind(globalThisShim),pt.clearTimeoutFn=NATIVE_CLEAR_TIMEOUT.bind(globalThisShim)):(pt.setTimeoutFn=globalThisShim.setTimeout.bind(globalThisShim),pt.clearTimeoutFn=globalThisShim.clearTimeout.bind(globalThisShim))}const BASE64_OVERHEAD=1.33;function byteLength(pt){return typeof pt=="string"?utf8Length(pt):Math.ceil((pt.byteLength||pt.size)*BASE64_OVERHEAD)}function utf8Length(pt){let _e=0,ft=0;for(let mt=0,bt=pt.length;mt<bt;mt++)_e=pt.charCodeAt(mt),_e<128?ft+=1:_e<2048?ft+=2:_e<55296||_e>=57344?ft+=3:(mt++,ft+=4);return ft}function randomString(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function encode(pt){let _e="";for(let ft in pt)pt.hasOwnProperty(ft)&&(_e.length&&(_e+="&"),_e+=encodeURIComponent(ft)+"="+encodeURIComponent(pt[ft]));return _e}function decode(pt){let _e={},ft=pt.split("&");for(let mt=0,bt=ft.length;mt<bt;mt++){let vt=ft[mt].split("=");_e[decodeURIComponent(vt[0])]=decodeURIComponent(vt[1])}return _e}class TransportError extends Error{constructor(_e,ft,mt){super(_e),this.description=ft,this.context=mt,this.type="TransportError"}}class Transport extends Emitter$1{constructor(_e){super(),this.writable=!1,installTimerFunctions(this,_e),this.opts=_e,this.query=_e.query,this.socket=_e.socket,this.supportsBinary=!_e.forceBase64}onError(_e,ft,mt){return super.emitReserved("error",new TransportError(_e,ft,mt)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(_e){this.readyState==="open"&&this.write(_e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(_e){const ft=decodePacket(_e,this.socket.binaryType);this.onPacket(ft)}onPacket(_e){super.emitReserved("packet",_e)}onClose(_e){this.readyState="closed",super.emitReserved("close",_e)}pause(_e){}createUri(_e,ft={}){return _e+"://"+this._hostname()+this._port()+this.opts.path+this._query(ft)}_hostname(){const _e=this.opts.hostname;return _e.indexOf(":")===-1?_e:"["+_e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(_e){const ft=encode(_e);return ft.length?"?"+ft:""}}class Polling extends Transport{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(_e){this.readyState="pausing";const ft=()=>{this.readyState="paused",_e()};if(this._polling||!this.writable){let mt=0;this._polling&&(mt++,this.once("pollComplete",function(){--mt||ft()})),this.writable||(mt++,this.once("drain",function(){--mt||ft()}))}else ft()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(_e){const ft=mt=>{if(this.readyState==="opening"&&mt.type==="open"&&this.onOpen(),mt.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(mt)};decodePayload(_e,this.socket.binaryType).forEach(ft),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const _e=()=>{this.write([{type:"close"}])};this.readyState==="open"?_e():this.once("open",_e)}write(_e){this.writable=!1,encodePayload(_e,ft=>{this.doWrite(ft,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const _e=this.opts.secure?"https":"http",ft=this.query||{};return this.opts.timestampRequests!==!1&&(ft[this.opts.timestampParam]=randomString()),!this.supportsBinary&&!ft.sid&&(ft.b64=1),this.createUri(_e,ft)}}let value=!1;try{value=typeof XMLHttpRequest!="undefined"&&"withCredentials"in new XMLHttpRequest}catch(pt){}const hasCORS=value;function empty(){}class BaseXHR extends Polling{constructor(_e){if(super(_e),typeof location!="undefined"){const ft=location.protocol==="https:";let mt=location.port;mt||(mt=ft?"443":"80"),this.xd=typeof location!="undefined"&&_e.hostname!==location.hostname||mt!==_e.port}}doWrite(_e,ft){const mt=this.request({method:"POST",data:_e});mt.on("success",ft),mt.on("error",(bt,vt)=>{this.onError("xhr post error",bt,vt)})}doPoll(){const _e=this.request();_e.on("data",this.onData.bind(this)),_e.on("error",(ft,mt)=>{this.onError("xhr poll error",ft,mt)}),this.pollXhr=_e}}class Request extends Emitter$1{constructor(_e,ft,mt){super(),this.createRequest=_e,installTimerFunctions(this,mt),this._opts=mt,this._method=mt.method||"GET",this._uri=ft,this._data=mt.data!==void 0?mt.data:null,this._create()}_create(){var _e;const ft=pick(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");ft.xdomain=!!this._opts.xd;const mt=this._xhr=this.createRequest(ft);try{mt.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){mt.setDisableHeaderCheck&&mt.setDisableHeaderCheck(!0);for(let bt in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(bt)&&mt.setRequestHeader(bt,this._opts.extraHeaders[bt])}}catch(bt){}if(this._method==="POST")try{mt.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(bt){}try{mt.setRequestHeader("Accept","*/*")}catch(bt){}(_e=this._opts.cookieJar)===null||_e===void 0||_e.addCookies(mt),"withCredentials"in mt&&(mt.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(mt.timeout=this._opts.requestTimeout),mt.onreadystatechange=()=>{var bt;mt.readyState===3&&((bt=this._opts.cookieJar)===null||bt===void 0||bt.parseCookies(mt.getResponseHeader("set-cookie"))),mt.readyState===4&&(mt.status===200||mt.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof mt.status=="number"?mt.status:0)},0))},mt.send(this._data)}catch(bt){this.setTimeoutFn(()=>{this._onError(bt)},0);return}typeof document!="undefined"&&(this._index=Request.requestsCount++,Request.requests[this._index]=this)}_onError(_e){this.emitReserved("error",_e,this._xhr),this._cleanup(!0)}_cleanup(_e){if(!(typeof this._xhr=="undefined"||this._xhr===null)){if(this._xhr.onreadystatechange=empty,_e)try{this._xhr.abort()}catch(ft){}typeof document!="undefined"&&delete Request.requests[this._index],this._xhr=null}}_onLoad(){const _e=this._xhr.responseText;_e!==null&&(this.emitReserved("data",_e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Request.requestsCount=0;Request.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",unloadHandler);else if(typeof addEventListener=="function"){const pt="onpagehide"in globalThisShim?"pagehide":"unload";addEventListener(pt,unloadHandler,!1)}}function unloadHandler(){for(let pt in Request.requests)Request.requests.hasOwnProperty(pt)&&Request.requests[pt].abort()}const hasXHR2=function(){const pt=newRequest({xdomain:!1});return pt&&pt.responseType!==null}();class XHR extends BaseXHR{constructor(_e){super(_e);const ft=_e&&_e.forceBase64;this.supportsBinary=hasXHR2&&!ft}request(_e={}){return Object.assign(_e,{xd:this.xd},this.opts),new Request(newRequest,this.uri(),_e)}}function newRequest(pt){const _e=pt.xdomain;try{if(typeof XMLHttpRequest!="undefined"&&(!_e||hasCORS))return new XMLHttpRequest}catch(ft){}if(!_e)try{return new globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(ft){}}const isReactNative=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class BaseWS extends Transport{get name(){return"websocket"}doOpen(){const _e=this.uri(),ft=this.opts.protocols,mt=isReactNative?{}:pick(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(mt.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(_e,ft,mt)}catch(bt){return this.emitReserved("error",bt)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=_e=>this.onClose({description:"websocket connection closed",context:_e}),this.ws.onmessage=_e=>this.onData(_e.data),this.ws.onerror=_e=>this.onError("websocket error",_e)}write(_e){this.writable=!1;for(let ft=0;ft<_e.length;ft++){const mt=_e[ft],bt=ft===_e.length-1;encodePacket(mt,this.supportsBinary,vt=>{try{this.doWrite(mt,vt)}catch($t){}bt&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const _e=this.opts.secure?"wss":"ws",ft=this.query||{};return this.opts.timestampRequests&&(ft[this.opts.timestampParam]=randomString()),this.supportsBinary||(ft.b64=1),this.createUri(_e,ft)}}const WebSocketCtor=globalThisShim.WebSocket||globalThisShim.MozWebSocket;class WS extends BaseWS{createSocket(_e,ft,mt){return isReactNative?new WebSocketCtor(_e,ft,mt):ft?new WebSocketCtor(_e,ft):new WebSocketCtor(_e)}doWrite(_e,ft){this.ws.send(ft)}}let WT$1=class extends Transport{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(_e){return this.emitReserved("error",_e)}this._transport.closed.then(()=>{this.onClose()}).catch(_e=>{this.onError("webtransport error",_e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(_e=>{const ft=createPacketDecoderStream(Number.MAX_SAFE_INTEGER,this.socket.binaryType),mt=_e.readable.pipeThrough(ft).getReader(),bt=createPacketEncoderStream();bt.readable.pipeTo(_e.writable),this._writer=bt.writable.getWriter();const vt=()=>{mt.read().then(({done:_t,value:Rt})=>{_t||(this.onPacket(Rt),vt())}).catch(_t=>{})};vt();const $t={type:"open"};this.query.sid&&($t.data=`{"sid":"${this.query.sid}"}`),this._writer.write($t).then(()=>this.onOpen())})})}write(_e){this.writable=!1;for(let ft=0;ft<_e.length;ft++){const mt=_e[ft],bt=ft===_e.length-1;this._writer.write(mt).then(()=>{bt&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var _e;(_e=this._transport)===null||_e===void 0||_e.close()}};const transports={websocket:WS,webtransport:WT$1,polling:XHR},re$1=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function parse(pt){if(pt.length>8e3)throw"URI too long";const _e=pt,ft=pt.indexOf("["),mt=pt.indexOf("]");ft!=-1&&mt!=-1&&(pt=pt.substring(0,ft)+pt.substring(ft,mt).replace(/:/g,";")+pt.substring(mt,pt.length));let bt=re$1.exec(pt||""),vt={},$t=14;for(;$t--;)vt[parts[$t]]=bt[$t]||"";return ft!=-1&&mt!=-1&&(vt.source=_e,vt.host=vt.host.substring(1,vt.host.length-1).replace(/;/g,":"),vt.authority=vt.authority.replace("[","").replace("]","").replace(/;/g,":"),vt.ipv6uri=!0),vt.pathNames=pathNames(vt,vt.path),vt.queryKey=queryKey(vt,vt.query),vt}function pathNames(pt,_e){const ft=/\/{2,9}/g,mt=_e.replace(ft,"/").split("/");return(_e.slice(0,1)=="/"||_e.length===0)&&mt.splice(0,1),_e.slice(-1)=="/"&&mt.splice(mt.length-1,1),mt}function queryKey(pt,_e){const ft={};return _e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(mt,bt,vt){bt&&(ft[bt]=vt)}),ft}const withEventListeners=typeof addEventListener=="function"&&typeof removeEventListener=="function",OFFLINE_EVENT_LISTENERS=[];withEventListeners&&addEventListener("offline",()=>{OFFLINE_EVENT_LISTENERS.forEach(pt=>pt())},!1);class SocketWithoutUpgrade extends Emitter$1{constructor(_e,ft){if(super(),this.binaryType=defaultBinaryType,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,_e&&typeof _e=="object"&&(ft=_e,_e=null),_e){const mt=parse(_e);ft.hostname=mt.host,ft.secure=mt.protocol==="https"||mt.protocol==="wss",ft.port=mt.port,mt.query&&(ft.query=mt.query)}else ft.host&&(ft.hostname=parse(ft.host).host);installTimerFunctions(this,ft),this.secure=ft.secure!=null?ft.secure:typeof location!="undefined"&&location.protocol==="https:",ft.hostname&&!ft.port&&(ft.port=this.secure?"443":"80"),this.hostname=ft.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=ft.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},ft.transports.forEach(mt=>{const bt=mt.prototype.name;this.transports.push(bt),this._transportsByName[bt]=mt}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},ft),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=decode(this.opts.query)),withEventListeners&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},OFFLINE_EVENT_LISTENERS.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(_e){const ft=Object.assign({},this.opts.query);ft.EIO=protocol$1,ft.transport=_e,this.id&&(ft.sid=this.id);const mt=Object.assign({},this.opts,{query:ft,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[_e]);return new this._transportsByName[_e](mt)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const _e=this.opts.rememberUpgrade&&SocketWithoutUpgrade.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const ft=this.createTransport(_e);ft.open(),this.setTransport(ft)}setTransport(_e){this.transport&&this.transport.removeAllListeners(),this.transport=_e,_e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",ft=>this._onClose("transport close",ft))}onOpen(){this.readyState="open",SocketWithoutUpgrade.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(_e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",_e),this.emitReserved("heartbeat"),_e.type){case"open":this.onHandshake(JSON.parse(_e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const ft=new Error("server error");ft.code=_e.data,this._onError(ft);break;case"message":this.emitReserved("data",_e.data),this.emitReserved("message",_e.data);break}}onHandshake(_e){this.emitReserved("handshake",_e),this.id=_e.sid,this.transport.query.sid=_e.sid,this._pingInterval=_e.pingInterval,this._pingTimeout=_e.pingTimeout,this._maxPayload=_e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const _e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+_e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},_e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const _e=this._getWritablePackets();this.transport.send(_e),this._prevBufferLen=_e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let ft=1;for(let mt=0;mt<this.writeBuffer.length;mt++){const bt=this.writeBuffer[mt].data;if(bt&&(ft+=byteLength(bt)),mt>0&&ft>this._maxPayload)return this.writeBuffer.slice(0,mt);ft+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const _e=Date.now()>this._pingTimeoutTime;return _e&&(this._pingTimeoutTime=0,nextTick(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),_e}write(_e,ft,mt){return this._sendPacket("message",_e,ft,mt),this}send(_e,ft,mt){return this._sendPacket("message",_e,ft,mt),this}_sendPacket(_e,ft,mt,bt){if(typeof ft=="function"&&(bt=ft,ft=void 0),typeof mt=="function"&&(bt=mt,mt=null),this.readyState==="closing"||this.readyState==="closed")return;mt=mt||{},mt.compress=mt.compress!==!1;const vt={type:_e,data:ft,options:mt};this.emitReserved("packetCreate",vt),this.writeBuffer.push(vt),bt&&this.once("flush",bt),this.flush()}close(){const _e=()=>{this._onClose("forced close"),this.transport.close()},ft=()=>{this.off("upgrade",ft),this.off("upgradeError",ft),_e()},mt=()=>{this.once("upgrade",ft),this.once("upgradeError",ft)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?mt():_e()}):this.upgrading?mt():_e()),this}_onError(_e){if(SocketWithoutUpgrade.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",_e),this._onClose("transport error",_e)}_onClose(_e,ft){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),withEventListeners&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const mt=OFFLINE_EVENT_LISTENERS.indexOf(this._offlineEventListener);mt!==-1&&OFFLINE_EVENT_LISTENERS.splice(mt,1)}this.readyState="closed",this.id=null,this.emitReserved("close",_e,ft),this.writeBuffer=[],this._prevBufferLen=0}}}SocketWithoutUpgrade.protocol=protocol$1;class SocketWithUpgrade extends SocketWithoutUpgrade{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let _e=0;_e<this._upgrades.length;_e++)this._probe(this._upgrades[_e])}_probe(_e){let ft=this.createTransport(_e),mt=!1;SocketWithoutUpgrade.priorWebsocketSuccess=!1;const bt=()=>{mt||(ft.send([{type:"ping",data:"probe"}]),ft.once("packet",Bt=>{if(!mt)if(Bt.type==="pong"&&Bt.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",ft),!ft)return;SocketWithoutUpgrade.priorWebsocketSuccess=ft.name==="websocket",this.transport.pause(()=>{mt||this.readyState!=="closed"&&(Ft(),this.setTransport(ft),ft.send([{type:"upgrade"}]),this.emitReserved("upgrade",ft),ft=null,this.upgrading=!1,this.flush())})}else{const Gt=new Error("probe error");Gt.transport=ft.name,this.emitReserved("upgradeError",Gt)}}))};function vt(){mt||(mt=!0,Ft(),ft.close(),ft=null)}const $t=Bt=>{const Gt=new Error("probe error: "+Bt);Gt.transport=ft.name,vt(),this.emitReserved("upgradeError",Gt)};function _t(){$t("transport closed")}function Rt(){$t("socket closed")}function Pt(Bt){ft&&Bt.name!==ft.name&&vt()}const Ft=()=>{ft.removeListener("open",bt),ft.removeListener("error",$t),ft.removeListener("close",_t),this.off("close",Rt),this.off("upgrading",Pt)};ft.once("open",bt),ft.once("error",$t),ft.once("close",_t),this.once("close",Rt),this.once("upgrading",Pt),this._upgrades.indexOf("webtransport")!==-1&&_e!=="webtransport"?this.setTimeoutFn(()=>{mt||ft.open()},200):ft.open()}onHandshake(_e){this._upgrades=this._filterUpgrades(_e.upgrades),super.onHandshake(_e)}_filterUpgrades(_e){const ft=[];for(let mt=0;mt<_e.length;mt++)~this.transports.indexOf(_e[mt])&&ft.push(_e[mt]);return ft}}let Socket$1=class extends SocketWithUpgrade{constructor(_e,ft={}){const mt=typeof _e=="object"?_e:ft;(!mt.transports||mt.transports&&typeof mt.transports[0]=="string")&&(mt.transports=(mt.transports||["polling","websocket","webtransport"]).map(bt=>transports[bt]).filter(bt=>!!bt)),super(_e,mt)}};function url(pt,_e="",ft){let mt=pt;ft=ft||typeof location!="undefined"&&location,pt==null&&(pt=ft.protocol+"//"+ft.host),typeof pt=="string"&&(pt.charAt(0)==="/"&&(pt.charAt(1)==="/"?pt=ft.protocol+pt:pt=ft.host+pt),/^(https?|wss?):\/\//.test(pt)||(typeof ft!="undefined"?pt=ft.protocol+"//"+pt:pt="https://"+pt),mt=parse(pt)),mt.port||(/^(http|ws)$/.test(mt.protocol)?mt.port="80":/^(http|ws)s$/.test(mt.protocol)&&(mt.port="443")),mt.path=mt.path||"/";const vt=mt.host.indexOf(":")!==-1?"["+mt.host+"]":mt.host;return mt.id=mt.protocol+"://"+vt+":"+mt.port+_e,mt.href=mt.protocol+"://"+vt+(ft&&ft.port===mt.port?"":":"+mt.port),mt}const withNativeArrayBuffer=typeof ArrayBuffer=="function",isView=pt=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(pt):pt.buffer instanceof ArrayBuffer,toString=Object.prototype.toString,withNativeBlob=typeof Blob=="function"||typeof Blob!="undefined"&&toString.call(Blob)==="[object BlobConstructor]",withNativeFile=typeof File=="function"||typeof File!="undefined"&&toString.call(File)==="[object FileConstructor]";function isBinary(pt){return withNativeArrayBuffer&&(pt instanceof ArrayBuffer||isView(pt))||withNativeBlob&&pt instanceof Blob||withNativeFile&&pt instanceof File}function hasBinary(pt,_e){if(!pt||typeof pt!="object")return!1;if(Array.isArray(pt)){for(let ft=0,mt=pt.length;ft<mt;ft++)if(hasBinary(pt[ft]))return!0;return!1}if(isBinary(pt))return!0;if(pt.toJSON&&typeof pt.toJSON=="function"&&arguments.length===1)return hasBinary(pt.toJSON(),!0);for(const ft in pt)if(Object.prototype.hasOwnProperty.call(pt,ft)&&hasBinary(pt[ft]))return!0;return!1}function deconstructPacket(pt){const _e=[],ft=pt.data,mt=pt;return mt.data=_deconstructPacket(ft,_e),mt.attachments=_e.length,{packet:mt,buffers:_e}}function _deconstructPacket(pt,_e){if(!pt)return pt;if(isBinary(pt)){const ft={_placeholder:!0,num:_e.length};return _e.push(pt),ft}else if(Array.isArray(pt)){const ft=new Array(pt.length);for(let mt=0;mt<pt.length;mt++)ft[mt]=_deconstructPacket(pt[mt],_e);return ft}else if(typeof pt=="object"&&!(pt instanceof Date)){const ft={};for(const mt in pt)Object.prototype.hasOwnProperty.call(pt,mt)&&(ft[mt]=_deconstructPacket(pt[mt],_e));return ft}return pt}function reconstructPacket(pt,_e){return pt.data=_reconstructPacket(pt.data,_e),delete pt.attachments,pt}function _reconstructPacket(pt,_e){if(!pt)return pt;if(pt&&pt._placeholder===!0){if(typeof pt.num=="number"&&pt.num>=0&&pt.num<_e.length)return _e[pt.num];throw new Error("illegal attachments")}else if(Array.isArray(pt))for(let ft=0;ft<pt.length;ft++)pt[ft]=_reconstructPacket(pt[ft],_e);else if(typeof pt=="object")for(const ft in pt)Object.prototype.hasOwnProperty.call(pt,ft)&&(pt[ft]=_reconstructPacket(pt[ft],_e));return pt}const RESERVED_EVENTS$1=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],protocol=5;var PacketType;(function(pt){pt[pt.CONNECT=0]="CONNECT",pt[pt.DISCONNECT=1]="DISCONNECT",pt[pt.EVENT=2]="EVENT",pt[pt.ACK=3]="ACK",pt[pt.CONNECT_ERROR=4]="CONNECT_ERROR",pt[pt.BINARY_EVENT=5]="BINARY_EVENT",pt[pt.BINARY_ACK=6]="BINARY_ACK"})(PacketType||(PacketType={}));class Encoder{constructor(_e){this.replacer=_e}encode(_e){return(_e.type===PacketType.EVENT||_e.type===PacketType.ACK)&&hasBinary(_e)?this.encodeAsBinary({type:_e.type===PacketType.EVENT?PacketType.BINARY_EVENT:PacketType.BINARY_ACK,nsp:_e.nsp,data:_e.data,id:_e.id}):[this.encodeAsString(_e)]}encodeAsString(_e){let ft=""+_e.type;return(_e.type===PacketType.BINARY_EVENT||_e.type===PacketType.BINARY_ACK)&&(ft+=_e.attachments+"-"),_e.nsp&&_e.nsp!=="/"&&(ft+=_e.nsp+","),_e.id!=null&&(ft+=_e.id),_e.data!=null&&(ft+=JSON.stringify(_e.data,this.replacer)),ft}encodeAsBinary(_e){const ft=deconstructPacket(_e),mt=this.encodeAsString(ft.packet),bt=ft.buffers;return bt.unshift(mt),bt}}function isObject$1(pt){return Object.prototype.toString.call(pt)==="[object Object]"}class Decoder extends Emitter$1{constructor(_e){super(),this.reviver=_e}add(_e){let ft;if(typeof _e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");ft=this.decodeString(_e);const mt=ft.type===PacketType.BINARY_EVENT;mt||ft.type===PacketType.BINARY_ACK?(ft.type=mt?PacketType.EVENT:PacketType.ACK,this.reconstructor=new BinaryReconstructor(ft),ft.attachments===0&&super.emitReserved("decoded",ft)):super.emitReserved("decoded",ft)}else if(isBinary(_e)||_e.base64)if(this.reconstructor)ft=this.reconstructor.takeBinaryData(_e),ft&&(this.reconstructor=null,super.emitReserved("decoded",ft));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+_e)}decodeString(_e){let ft=0;const mt={type:Number(_e.charAt(0))};if(PacketType[mt.type]===void 0)throw new Error("unknown packet type "+mt.type);if(mt.type===PacketType.BINARY_EVENT||mt.type===PacketType.BINARY_ACK){const vt=ft+1;for(;_e.charAt(++ft)!=="-"&&ft!=_e.length;);const $t=_e.substring(vt,ft);if($t!=Number($t)||_e.charAt(ft)!=="-")throw new Error("Illegal attachments");mt.attachments=Number($t)}if(_e.charAt(ft+1)==="/"){const vt=ft+1;for(;++ft&&!(_e.charAt(ft)===","||ft===_e.length););mt.nsp=_e.substring(vt,ft)}else mt.nsp="/";const bt=_e.charAt(ft+1);if(bt!==""&&Number(bt)==bt){const vt=ft+1;for(;++ft;){const $t=_e.charAt(ft);if($t==null||Number($t)!=$t){--ft;break}if(ft===_e.length)break}mt.id=Number(_e.substring(vt,ft+1))}if(_e.charAt(++ft)){const vt=this.tryParse(_e.substr(ft));if(Decoder.isPayloadValid(mt.type,vt))mt.data=vt;else throw new Error("invalid payload")}return mt}tryParse(_e){try{return JSON.parse(_e,this.reviver)}catch(ft){return!1}}static isPayloadValid(_e,ft){switch(_e){case PacketType.CONNECT:return isObject$1(ft);case PacketType.DISCONNECT:return ft===void 0;case PacketType.CONNECT_ERROR:return typeof ft=="string"||isObject$1(ft);case PacketType.EVENT:case PacketType.BINARY_EVENT:return Array.isArray(ft)&&(typeof ft[0]=="number"||typeof ft[0]=="string"&&RESERVED_EVENTS$1.indexOf(ft[0])===-1);case PacketType.ACK:case PacketType.BINARY_ACK:return Array.isArray(ft)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class BinaryReconstructor{constructor(_e){this.packet=_e,this.buffers=[],this.reconPack=_e}takeBinaryData(_e){if(this.buffers.push(_e),this.buffers.length===this.reconPack.attachments){const ft=reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),ft}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const parser=Object.freeze(Object.defineProperty({__proto__:null,Decoder,Encoder,get PacketType(){return PacketType},protocol},Symbol.toStringTag,{value:"Module"}));function on(pt,_e,ft){return pt.on(_e,ft),function(){pt.off(_e,ft)}}const RESERVED_EVENTS=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Socket extends Emitter$1{constructor(_e,ft,mt){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=_e,this.nsp=ft,mt&&mt.auth&&(this.auth=mt.auth),this._opts=Object.assign({},mt),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const _e=this.io;this.subs=[on(_e,"open",this.onopen.bind(this)),on(_e,"packet",this.onpacket.bind(this)),on(_e,"error",this.onerror.bind(this)),on(_e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(..._e){return _e.unshift("message"),this.emit.apply(this,_e),this}emit(_e,...ft){var mt,bt,vt;if(RESERVED_EVENTS.hasOwnProperty(_e))throw new Error('"'+_e.toString()+'" is a reserved event name');if(ft.unshift(_e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(ft),this;const $t={type:PacketType.EVENT,data:ft};if($t.options={},$t.options.compress=this.flags.compress!==!1,typeof ft[ft.length-1]=="function"){const Ft=this.ids++,Bt=ft.pop();this._registerAckCallback(Ft,Bt),$t.id=Ft}const _t=(bt=(mt=this.io.engine)===null||mt===void 0?void 0:mt.transport)===null||bt===void 0?void 0:bt.writable,Rt=this.connected&&!(!((vt=this.io.engine)===null||vt===void 0)&&vt._hasPingExpired());return this.flags.volatile&&!_t||(Rt?(this.notifyOutgoingListeners($t),this.packet($t)):this.sendBuffer.push($t)),this.flags={},this}_registerAckCallback(_e,ft){var mt;const bt=(mt=this.flags.timeout)!==null&&mt!==void 0?mt:this._opts.ackTimeout;if(bt===void 0){this.acks[_e]=ft;return}const vt=this.io.setTimeoutFn(()=>{delete this.acks[_e];for(let _t=0;_t<this.sendBuffer.length;_t++)this.sendBuffer[_t].id===_e&&this.sendBuffer.splice(_t,1);ft.call(this,new Error("operation has timed out"))},bt),$t=(..._t)=>{this.io.clearTimeoutFn(vt),ft.apply(this,_t)};$t.withError=!0,this.acks[_e]=$t}emitWithAck(_e,...ft){return new Promise((mt,bt)=>{const vt=($t,_t)=>$t?bt($t):mt(_t);vt.withError=!0,ft.push(vt),this.emit(_e,...ft)})}_addToQueue(_e){let ft;typeof _e[_e.length-1]=="function"&&(ft=_e.pop());const mt={id:this._queueSeq++,tryCount:0,pending:!1,args:_e,flags:Object.assign({fromQueue:!0},this.flags)};_e.push((bt,...vt)=>mt!==this._queue[0]?void 0:(bt!==null?mt.tryCount>this._opts.retries&&(this._queue.shift(),ft&&ft(bt)):(this._queue.shift(),ft&&ft(null,...vt)),mt.pending=!1,this._drainQueue())),this._queue.push(mt),this._drainQueue()}_drainQueue(_e=!1){if(!this.connected||this._queue.length===0)return;const ft=this._queue[0];ft.pending&&!_e||(ft.pending=!0,ft.tryCount++,this.flags=ft.flags,this.emit.apply(this,ft.args))}packet(_e){_e.nsp=this.nsp,this.io._packet(_e)}onopen(){typeof this.auth=="function"?this.auth(_e=>{this._sendConnectPacket(_e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(_e){this.packet({type:PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},_e):_e})}onerror(_e){this.connected||this.emitReserved("connect_error",_e)}onclose(_e,ft){this.connected=!1,delete this.id,this.emitReserved("disconnect",_e,ft),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(_e=>{if(!this.sendBuffer.some(mt=>String(mt.id)===_e)){const mt=this.acks[_e];delete this.acks[_e],mt.withError&&mt.call(this,new Error("socket has been disconnected"))}})}onpacket(_e){if(_e.nsp===this.nsp)switch(_e.type){case PacketType.CONNECT:_e.data&&_e.data.sid?this.onconnect(_e.data.sid,_e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case PacketType.EVENT:case PacketType.BINARY_EVENT:this.onevent(_e);break;case PacketType.ACK:case PacketType.BINARY_ACK:this.onack(_e);break;case PacketType.DISCONNECT:this.ondisconnect();break;case PacketType.CONNECT_ERROR:this.destroy();const mt=new Error(_e.data.message);mt.data=_e.data.data,this.emitReserved("connect_error",mt);break}}onevent(_e){const ft=_e.data||[];_e.id!=null&&ft.push(this.ack(_e.id)),this.connected?this.emitEvent(ft):this.receiveBuffer.push(Object.freeze(ft))}emitEvent(_e){if(this._anyListeners&&this._anyListeners.length){const ft=this._anyListeners.slice();for(const mt of ft)mt.apply(this,_e)}super.emit.apply(this,_e),this._pid&&_e.length&&typeof _e[_e.length-1]=="string"&&(this._lastOffset=_e[_e.length-1])}ack(_e){const ft=this;let mt=!1;return function(...bt){mt||(mt=!0,ft.packet({type:PacketType.ACK,id:_e,data:bt}))}}onack(_e){const ft=this.acks[_e.id];typeof ft=="function"&&(delete this.acks[_e.id],ft.withError&&_e.data.unshift(null),ft.apply(this,_e.data))}onconnect(_e,ft){this.id=_e,this.recovered=ft&&this._pid===ft,this._pid=ft,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(_e=>this.emitEvent(_e)),this.receiveBuffer=[],this.sendBuffer.forEach(_e=>{this.notifyOutgoingListeners(_e),this.packet(_e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(_e=>_e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(_e){return this.flags.compress=_e,this}get volatile(){return this.flags.volatile=!0,this}timeout(_e){return this.flags.timeout=_e,this}onAny(_e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(_e),this}prependAny(_e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(_e),this}offAny(_e){if(!this._anyListeners)return this;if(_e){const ft=this._anyListeners;for(let mt=0;mt<ft.length;mt++)if(_e===ft[mt])return ft.splice(mt,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(_e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(_e),this}prependAnyOutgoing(_e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(_e),this}offAnyOutgoing(_e){if(!this._anyOutgoingListeners)return this;if(_e){const ft=this._anyOutgoingListeners;for(let mt=0;mt<ft.length;mt++)if(_e===ft[mt])return ft.splice(mt,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(_e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const ft=this._anyOutgoingListeners.slice();for(const mt of ft)mt.apply(this,_e.data)}}}function Backoff(pt){pt=pt||{},this.ms=pt.min||100,this.max=pt.max||1e4,this.factor=pt.factor||2,this.jitter=pt.jitter>0&&pt.jitter<=1?pt.jitter:0,this.attempts=0}Backoff.prototype.duration=function(){var pt=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var _e=Math.random(),ft=Math.floor(_e*this.jitter*pt);pt=Math.floor(_e*10)&1?pt+ft:pt-ft}return Math.min(pt,this.max)|0};Backoff.prototype.reset=function(){this.attempts=0};Backoff.prototype.setMin=function(pt){this.ms=pt};Backoff.prototype.setMax=function(pt){this.max=pt};Backoff.prototype.setJitter=function(pt){this.jitter=pt};class Manager extends Emitter$1{constructor(_e,ft){var mt;super(),this.nsps={},this.subs=[],_e&&typeof _e=="object"&&(ft=_e,_e=void 0),ft=ft||{},ft.path=ft.path||"/socket.io",this.opts=ft,installTimerFunctions(this,ft),this.reconnection(ft.reconnection!==!1),this.reconnectionAttempts(ft.reconnectionAttempts||1/0),this.reconnectionDelay(ft.reconnectionDelay||1e3),this.reconnectionDelayMax(ft.reconnectionDelayMax||5e3),this.randomizationFactor((mt=ft.randomizationFactor)!==null&&mt!==void 0?mt:.5),this.backoff=new Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(ft.timeout==null?2e4:ft.timeout),this._readyState="closed",this.uri=_e;const bt=ft.parser||parser;this.encoder=new bt.Encoder,this.decoder=new bt.Decoder,this._autoConnect=ft.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(_e){return arguments.length?(this._reconnection=!!_e,_e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(_e){return _e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=_e,this)}reconnectionDelay(_e){var ft;return _e===void 0?this._reconnectionDelay:(this._reconnectionDelay=_e,(ft=this.backoff)===null||ft===void 0||ft.setMin(_e),this)}randomizationFactor(_e){var ft;return _e===void 0?this._randomizationFactor:(this._randomizationFactor=_e,(ft=this.backoff)===null||ft===void 0||ft.setJitter(_e),this)}reconnectionDelayMax(_e){var ft;return _e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=_e,(ft=this.backoff)===null||ft===void 0||ft.setMax(_e),this)}timeout(_e){return arguments.length?(this._timeout=_e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(_e){if(~this._readyState.indexOf("open"))return this;this.engine=new Socket$1(this.uri,this.opts);const ft=this.engine,mt=this;this._readyState="opening",this.skipReconnect=!1;const bt=on(ft,"open",function(){mt.onopen(),_e&&_e()}),vt=_t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",_t),_e?_e(_t):this.maybeReconnectOnOpen()},$t=on(ft,"error",vt);if(this._timeout!==!1){const _t=this._timeout,Rt=this.setTimeoutFn(()=>{bt(),vt(new Error("timeout")),ft.close()},_t);this.opts.autoUnref&&Rt.unref(),this.subs.push(()=>{this.clearTimeoutFn(Rt)})}return this.subs.push(bt),this.subs.push($t),this}connect(_e){return this.open(_e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const _e=this.engine;this.subs.push(on(_e,"ping",this.onping.bind(this)),on(_e,"data",this.ondata.bind(this)),on(_e,"error",this.onerror.bind(this)),on(_e,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(_e){try{this.decoder.add(_e)}catch(ft){this.onclose("parse error",ft)}}ondecoded(_e){nextTick(()=>{this.emitReserved("packet",_e)},this.setTimeoutFn)}onerror(_e){this.emitReserved("error",_e)}socket(_e,ft){let mt=this.nsps[_e];return mt?this._autoConnect&&!mt.active&&mt.connect():(mt=new Socket(this,_e,ft),this.nsps[_e]=mt),mt}_destroy(_e){const ft=Object.keys(this.nsps);for(const mt of ft)if(this.nsps[mt].active)return;this._close()}_packet(_e){const ft=this.encoder.encode(_e);for(let mt=0;mt<ft.length;mt++)this.engine.write(ft[mt],_e.options)}cleanup(){this.subs.forEach(_e=>_e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(_e,ft){var mt;this.cleanup(),(mt=this.engine)===null||mt===void 0||mt.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",_e,ft),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const _e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const ft=this.backoff.duration();this._reconnecting=!0;const mt=this.setTimeoutFn(()=>{_e.skipReconnect||(this.emitReserved("reconnect_attempt",_e.backoff.attempts),!_e.skipReconnect&&_e.open(bt=>{bt?(_e._reconnecting=!1,_e.reconnect(),this.emitReserved("reconnect_error",bt)):_e.onreconnect()}))},ft);this.opts.autoUnref&&mt.unref(),this.subs.push(()=>{this.clearTimeoutFn(mt)})}}onreconnect(){const _e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",_e)}}const cache={};function lookup(pt,_e){typeof pt=="object"&&(_e=pt,pt=void 0),_e=_e||{};const ft=url(pt,_e.path||"/socket.io"),mt=ft.source,bt=ft.id,vt=ft.path,$t=cache[bt]&&vt in cache[bt].nsps,_t=_e.forceNew||_e["force new connection"]||_e.multiplex===!1||$t;let Rt;return _t?Rt=new Manager(mt,_e):(cache[bt]||(cache[bt]=new Manager(mt,_e)),Rt=cache[bt]),ft.query&&!_e.query&&(_e.query=ft.queryKey),Rt.socket(ft.path,_e)}Object.assign(lookup,{Manager,Socket,io:lookup,connect:lookup});var r$1=(pt=>(pt[pt.Normal=0]="Normal",pt[pt.Debug=1]="Debug",pt))(r$1||{}),u$3=Object.defineProperty,v$3=Object.getOwnPropertySymbols,o$1=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,l$2=(pt,_e,ft)=>_e in pt?u$3(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,a$1=(pt,_e)=>{for(var ft in _e||(_e={}))o$1.call(_e,ft)&&l$2(pt,ft,_e[ft]);if(v$3)for(var ft of v$3(_e))L.call(_e,ft)&&l$2(pt,ft,_e[ft]);return pt},h$3=(pt,_e,ft)=>(l$2(pt,typeof _e!="symbol"?_e+"":_e,ft),ft);const i$1=new t$1("[EventBus] ");let $$1=class{constructor(_e=!1){h$3(this,"eventListenerMap",{}),_e&&i$1.disable()}getEventListenerMap(){return a$1({},this.eventListenerMap)}on(_e,ft,mt=!1){this.eventListenerMap[_e]||(this.eventListenerMap[_e]=[]),mt?this.eventListenerMap[_e].push({fn:ft,once:!0}):this.eventListenerMap[_e].push(ft),i$1.log(`add event ${_e} listener ${mt?", call once":""}`)}once(_e,ft){this.on(_e,ft,!0)}off(_e,ft){if(this.eventListenerMap[_e]){const mt=this.eventListenerMap[_e].findIndex(bt=>{if(typeof bt=="function"&&ft===bt||(bt=bt,bt.fn===ft))return!0});mt<0?i$1.log(`event ${_e} listener ${ft.name} is not found`):(this.eventListenerMap[_e].splice(mt,1),i$1.log(`remove event ${_e} listener`))}else i$1.log(`event ${_e} listeners is empty`)}emit(_e,ft){if(!this.eventListenerMap[_e]){i$1.log(`event ${_e} listeners is empty`);return}const mt=[];for(let bt=0;bt<this.eventListenerMap[_e].length;bt++){const vt=this.eventListenerMap[_e][bt];typeof vt=="function"?vt(ft):mt.push(vt)}mt.forEach(bt=>{bt&&(bt.fn(ft),this.off(_e,bt.fn))}),i$1.log(`event ${_e} is fired, has ${this.eventListenerMap[_e].length} listeners`)}removeAllListeners(){this.eventListenerMap={}}};var Q=Object.defineProperty,T$1=Object.defineProperties,M$1=Object.getOwnPropertyDescriptors,E$1=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,R$3=Object.prototype.propertyIsEnumerable,b$5=(pt,_e,ft)=>_e in pt?Q(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,f$2=(pt,_e)=>{for(var ft in _e||(_e={}))O.call(_e,ft)&&b$5(pt,ft,_e[ft]);if(E$1)for(var ft of E$1(_e))R$3.call(_e,ft)&&b$5(pt,ft,_e[ft]);return pt},I$3=(pt,_e)=>T$1(pt,M$1(_e)),p$4=(pt,_e,ft)=>(b$5(pt,typeof _e!="symbol"?_e+"":_e,ft),ft),h$2=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const C$1=100,u$2=new t$1("[Session] ");var K$2=(pt=>(pt.DataRequestFailed="data request error",pt.SocketConnectionFailed="socket error",pt.IdUndefined="session id is not defined",pt.SendingEmptyContent="failed at sending empty content",pt.Frozen="session is frozen",pt.UserModeError="failed at setting socket user mode",pt.Inactive="session is inactive",pt))(K$2||{});let ee$1=class{constructor(_e,ft="",mt,bt,vt,$t){p$4(this,"_id"),p$4(this,"_frozen",!1),p$4(this,"inactivating",!1),p$4(this,"_ready",!1),p$4(this,"event",new $$1),p$4(this,"_applicationId"),p$4(this,"_application",null),p$4(this,"data",null),p$4(this,"client",null),p$4(this,"messages",[]),p$4(this,"_loadingMessages",!1),p$4(this,"_loadingMessagesSize",10),p$4(this,"cvforceApi"),p$4(this,"socket",null),p$4(this,"_promptVariables",[]),p$4(this,"active",!1),p$4(this,"activing",!1),p$4(this,"_stopAnswer",!1),p$4(this,"_dataLoading",!1),p$4(this,"_dataLoaded",!1),p$4(this,"_mcpServers",null),this.token=_e,this.lazyload=bt,this.client=$t||null,this._applicationId=c$2(_e).rid||c$3.applicationId,this.cvforceApi=this.getService(),vt&&(this._application=vt),this.event.emit("init",{applicationId:this._applicationId,sessionId:ft}),this.loadApplicationInfo().then(()=>{var _t;if(ft)this._id=ft,this.event.emit("data:loading"),mt?(this.data=mt,bt||(this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,ft).then(Rt=>h$2(this,null,function*(){this.data=Rt,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,ft)})).then(()=>h$2(this,null,function*(){this.messages=[],yield this.fetchMessages(),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data)})))):(this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,ft).then(Rt=>h$2(this,null,function*(){this.data=Rt,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,ft)})).then(()=>h$2(this,null,function*(){this.messages=[],yield this.fetchMessages(),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._dataLoading=!1,this._dataLoaded=!0})));else{const Rt=(mt==null?void 0:mt.name)||"新建会话";this.event.emit("data:creating",{applicationId:this._applicationId,name:Rt}),this.event.emit("data:loading"),this.cvforceApi.postSession(this.applicationId,{name:Rt,netOpen:mt==null?void 0:mt.netOpen,knowledgeIdList:(_t=mt==null?void 0:mt.knowledges)==null?void 0:_t.map(Pt=>Pt.id),applicationId:this._applicationId}).then(Pt=>h$2(this,null,function*(){var Ft;this._id=Pt.id,this.data=I$3(f$2({},Pt),{knowledges:mt==null?void 0:mt.knowledges}),this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this._id);try{yield(()=>h$2(this,null,function*(){if(mt!=null&&mt.knowledges)return this.setKnowledges((mt==null?void 0:mt.knowledges)||void 0)}))()}catch(Bt){u$2.error(Bt)}yield(()=>{if(mt!=null&&mt.promptVariables){const Bt=this._promptVariables.map(Gt=>{var Wt,Vt;const Xt=((Vt=(Wt=mt.promptVariables)==null?void 0:Wt.find(er=>er.key===Gt.key&&er.type===Gt.type))==null?void 0:Vt.value)||"";return I$3(f$2({},Gt),{value:Xt})}).sort((Gt,Wt)=>Gt.key.localeCompare(Wt.key));return this.setPromptVariables(Bt||[])}else return})(),this.event.emit("data:created",this.data),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),((Ft=this.application)==null?void 0:Ft.type)!==i$7.Agent&&(this._ready=!0,this.event.emit("ready"))}))}})}fetchData(){return h$2(this,null,function*(){if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.getSession(this.applicationId,this.data.id).then(_e=>h$2(this,null,function*(){return this.data=_e,this.event.emit("data:updated",this.data),_e}))})}get id(){var _e;return this._id||((_e=this.data)==null?void 0:_e.id)||""}get applicationId(){return this._applicationId}get application(){return this._application}set application(_e){this._application=_e}loadApplicationInfo(){if(this._application)return Promise.resolve(this._application);if(this._applicationId&&!this._application)return this.event.emit("application:data:loading"),this.cvforceApi.getApplicationId(this._applicationId).then(_e=>(this._application=_e,this.event.emit("application:data:loaded",_e),_e));throw Error("application id is not defined")}get ready(){return this._ready}get frozen(){return this._frozen}set frozen(_e){_e===!1&&this.inactivating&&this.socket&&(this.socket.disconnect(),this.socket=null,this.event.emit("inactivated")),this._frozen=_e,this.event.emit("frozen",_e)}get knowledges(){if(!this.data)throw Error("session data is not loaded");return this.data.knowledges||void 0}setKnowledges(_e){return h$2(this,null,function*(){if(!this.data)throw Error("session data is not loaded");if((_e||[]).some(ft=>Array.isArray(ft.fileIds)&&ft.fileIds.length===0))throw Error("fileIds cannot be an empty array");if((_e||[]).reduce((ft,mt)=>{var bt,vt;const $t=(vt=(bt=mt.fileIds)==null?void 0:bt.length)!=null?vt:0;return ft+($t>0?$t:1)},0)>C$1)throw Error(`knowledges and fileIds total count cannot exceed ${C$1}`);return yield this.cvforceApi.patchSessionsId(this._applicationId,this.data.id,{knowledges:_e}),this.data.knowledges=_e,this.event.emit("data:updated",this.data),this.event.emit("data:updated:knowledges",{knowledges:_e}),_e})}validateConfigs(){if(!this._id)throw Error("session id is not defined");if(!this.data)throw Error("session data is not loaded");const _e=this.promptVariables.filter(ft=>ft.status===L$2.Quoted).filter(ft=>!ft.value);if(_e.length)throw Error(`在提示词中被引用的变量值不能为空, 请检查以下变量: ${_e.map(ft=>ft.key).join(", ")}`)}get promptVariables(){return this._promptVariables.filter(_e=>!(_e.type===k$5.User&&_e.key==="query")&&!(_e.type===k$5.System&&_e.key==="datetime"))}setPromptVariables(_e){return h$2(this,null,function*(){const ft=_e==null?void 0:_e.map(bt=>bt.type?bt:I$3(f$2({},bt),{type:"instruction"})),mt=this._promptVariables.map(bt=>{var vt;const $t=((vt=ft==null?void 0:ft.find(_t=>_t.key===bt.key&&_t.type===bt.type))==null?void 0:vt.value)||bt.value;return I$3(f$2({},bt),{value:$t})}).sort((bt,vt)=>bt.key.localeCompare(vt.key));if(!(yield Promise.all(mt.filter(bt=>!(bt.type===k$5.User&&bt.key==="query")&&!(bt.type===k$5.System&&bt.key==="datetime")).map(bt=>{if(!this.data)throw Error("session data is not loaded");if(!(!bt.id||!bt.key))return this.cvforceApi.patchApplicationIdSessionpromptVariablesId(this._applicationId,this.data.id,bt.id,{value:bt.value})})).then(()=>!0).catch(bt=>!1)))return!1;if(!this.data)throw Error("session data is not loaded");return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this.data.id),this.event.emit("data:updated",this.data),this.event.emit("data:updated:promptVariables",{promptVariables:this._promptVariables}),this._promptVariables})}get netOpen(){if(!this.data)throw Error("session data is not loaded");return this.data.netOpen||!1}setNetOpen(_e){return h$2(this,null,function*(){var ft,mt,bt;if(u$2.log("setNetOpen:",_e),u$2.log("application arrange setting value: ",(ft=this._application)==null?void 0:ft.arrange[0].enableNetOpen),((mt=this._application)==null?void 0:mt.type)===i$7.Agent){console.warn("Agent Application Sessions are disabled to setNetOpen.");return}if(((bt=this._application)==null?void 0:bt.arrange[0].enableNetOpen)===!1){console.warn("This Application is disabled to change netOpen.");return}if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.patchSessionsId(this._applicationId,this.data.id,{netOpen:_e?1:2}),this.data.netOpen=_e,u$2.log("data:updated",this.data),this.event.emit("data:updated",this.data),this.event.emit("data:updated:netOpen",{netOpen:_e}),_e})}getService(){return z(c$3.apiRoot,this.token,(_e,ft)=>{const mt=new Error("data request error",{cause:{status:_e,message:ft}});u$2.error(mt),this.event.emit("error",mt)})}addEventListener(_e,ft,mt=!1){if(typeof ft!="function")throw Error("event listener is not a function");if(mt){this.event.once(_e,ft);return}this.event.on(_e,ft)}removeEventListener(_e,ft){this.event.off(_e,ft)}fetchMessages(){return h$2(this,arguments,function*(_e={}){var ft,mt;const bt={pageSize:this._loadingMessagesSize};if(this._id){_e=f$2(f$2({},bt),_e),this.event.emit("history:loading"),u$2.log("history:loading"),(_e.endTime||_e.startTime)&&(this.event.emit("history:moreloading",_e),u$2.log("history:moreloading",_e)),this._loadingMessages=!0;const vt=yield this.cvforceApi.getChatHistorySessionId(this._applicationId,this._id,_e),$t=vt.map((Rt,Pt)=>{var Ft,Bt;let Gt=[],Wt;return typeof((Ft=Rt.agentHistoryList)==null?void 0:Ft.agentList)=="string"&&(Gt=JSON.parse(Rt.agentHistoryList.agentList).reduce((Vt,Xt)=>(Vt[Xt.data.step-1]||(Vt[Xt.data.step-1]=[]),Vt[Xt.data.step-1].push(Xt),Vt),[])),Pt===vt.length-1&&(Wt=(Bt=this.data)==null?void 0:Bt.lastRelatedQuestion),I$3(f$2({},Rt),{actions:Gt,relatedQuesion:Wt,fromHistory:!0})});if(!_e.endTime&&!_e.startTime){const Rt=this.messages[this.messages.length-1];Rt&&!Rt.relatedQuesion&&(Rt.relatedQuesion=(ft=this.data)==null?void 0:ft.lastRelatedQuestion),this.messages=[...$t,...this.messages]}else if(_e.endTime&&!_e.startTime){const Rt=this.messages.findIndex(Pt=>Pt.ts===_e.endTime);this.messages.splice(0,Rt+1),this.messages=[...$t,...this.messages]}else if(!_e.endTime&&_e.startTime){const Rt=this.messages.findLastIndex(Pt=>Pt.ts===_e.endTime);this.messages.splice(Rt,this.messages.length-Rt-1),this.messages=[...this.messages,...$t]}else{const Rt=this.messages.findIndex(Ft=>Ft.ts===_e.endTime),Pt=this.messages.findLastIndex(Ft=>Ft.ts===_e.endTime);this.messages.splice(Rt,Pt-Rt+1,...$t)}const _t=this.messages[this.messages.length-1];return _t&&!_t.relatedQuesion&&(_t.relatedQuesion=(mt=this.data)==null?void 0:mt.lastRelatedQuestion),this.event.emit("history:moreloaded",$t),u$2.log("history:loaded",this.messages),this.event.emit("history:loaded",this.messages),this._loadingMessages=!1,$t}else{const vt=new Error("session id is not defined");return u$2.error(vt),this.event.emit("error",vt),!1}})}rename(_e){return h$2(this,null,function*(){if(!this._id)throw Error("session is not created yet");if(_e.trim()==="")throw Error("name is empty");return this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{name:_e}),u$2.log("data:updated",this.messages),this.event.emit("data:updated",this.data),this.event.emit("data:updated:name",{name:_e}),!0})}pushMessage(_e){return h$2(this,null,function*(){this.messages.push(_e),u$2.log("history:add",_e),this.event.emit("history:add",_e),this.event.emit("message:new",_e),this.event.emit("message:updated",_e)})}reloadSessionInfo(){if(!this._id)throw Error("session is not created yet");return this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,this._id).then(_e=>h$2(this,null,function*(){if(this.data=_e,!this._id)throw Error("session is not created yet");return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this._id),u$2.log("data:updated",this.data),this.event.emit("data:updated",this.data),this.data})).then(()=>h$2(this,null,function*(){return this.messages=[],yield this.fetchMessages(),this._dataLoading=!1,this._dataLoaded=!0,this.event.emit("data:loaded",this.data),this}))}reload(){return h$2(this,null,function*(){return yield this.reloadSessionInfo(),this.socket?(this.inactivate(!0),this.activate()):(this.inactivate(!0),this.activate())})}delete(){return h$2(this,null,function*(){if(!this.id){const _e=new Error("session id is not defined");return u$2.error(_e),this.event.emit("error",_e),!1}return this.event.emit("data:deleting"),yield this.cvforceApi.delSessionsId(this.applicationId,this.id),this.event.emit("data:deleted"),this.destroy()})}activate(){return h$2(this,null,function*(){if(this.activing)return new Promise(ft=>{this.addEventListener("activated",()=>{ft(!0)},!0)});if(!this._id)throw Error("session is not avalible. id is undefined");this.activing=!0;const _e=this._id;return this._dataLoading=!0,this._dataLoaded=!1,this.data=yield this.cvforceApi.getSession(this.applicationId,_e).then(ft=>h$2(this,null,function*(){return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,_e),ft})),this.messages.length||(this.messages=[],yield this.fetchMessages()),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._dataLoaded=!0,this._dataLoading=!1,this.inactivating=!1,this.frozen=!0,yield this.prepareConnection(),this.event.emit("activated",this.socket),this.active=!0,this.activing=!1,this})}inactivate(_e=!1){return this.socket?this._frozen?(_e||(this.inactivating=!0),this.activing=!1,!0):(this.socket.close(),this.socket=null,this.event.emit("inactivated"),this.active=!1,this.activing=!1,!0):(this.activing=!1,!0)}get dataLoaded(){return this._dataLoaded}get messagesLoading(){return this._loadingMessages}send(_e){return h$2(this,arguments,function*(ft,mt={stream:c$3.stream}){var bt;try{this.validateConfigs()}catch(Xt){console.error(Xt)}const{stream:vt=c$3.stream,referenceFirst:$t=!1}=mt,_t=ft.uuid||v4$1(),Rt=((bt=ft.text)==null?void 0:bt.trim())||"",Pt=ft.files||[],Ft=ft.fileIds,Bt=ft.imageContent;if(!Rt&&!Pt.length&&!(Ft!=null&&Ft.length)){const Xt=new Error("failed at sending empty content");return u$2.error(Xt),this.event.emit("error",Xt),!1}if(!this._id){const Xt=new Error("session id is not defined");return u$2.error(Xt),this.event.emit("error",Xt),!1}if(this.frozen){const Xt=new Error("session is frozen");return u$2.error(Xt),this.event.emit("error",Xt),!1}this.frozen=!0,this._stopAnswer=!1;const Gt={sessionId:this.id,role:2,content:Rt,messageId:_t,reference:[],searchReference:[],messageTime:"",files:Pt,imageContent:Bt},Wt={content:Rt,stream:vt,requestId:_t,fileIds:Ft,referenceFirst:$t,imageContent:Bt};this.pushMessage(Gt),this.event.emit("question:content",Rt);const Vt=Xt=>h$2(this,null,function*(){if(Xt.role!==v$6.Robot)return;switch(this.removeEventListener("answer:finish",Vt),this._id&&Xt.content&&Xt.index&&Xt.index<0&&(this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{finialMessage:Xt.content}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:finialMessage",{finialMessage:Xt.content})),yield this.fillMessageReference(Xt),Xt.code){case 11915:Xt.content="请您换个问题问我吧~",Xt.index=-1,Xt.isSensitive=!0,Xt.isLoading=!1,Xt.sessionId=this._id||"",this.event.emit("message:error",Xt);break;case 11916:Xt.content="尊敬的用户您好,让我们换个话题再聊聊吧。",Xt.index=-1,Xt.isSensitive=!0,Xt.isLoading=!1,Xt.sessionId=this._id||"",this.event.emit("message:error",Xt);break;case 200:Xt.index=-1,Xt.isLoading=!1;break;default:Xt.content=Xt.message||"未知错误",Xt.isLoading=!1,Xt.index=-1,this.event.emit("message:error",Xt)}this.getRelatedQuesion(Xt),Xt.isLoading=!1;let er=this.messages[this.messages.length-1];if(er&&er.role===v$6.Robot){const nr=f$2(f$2({},er),Xt);this.messages[this.messages.length-1]=nr,this.event.emit("message:updated",nr)}else this.pushMessage(Xt);this.frozen=!1});return this.addEventListener("answer:finish",Vt),this.sendQuestion(Wt,I$3(f$2({},mt),{stream:vt,referenceFirst:$t})),Gt})}getRelatedQuesion(_e){return h$2(this,null,function*(){var ft,mt;if(!_e.content||_e.isSensitive||_e.code!==200||!((ft=this.application)!=null&&ft.arrange[0].recommendQuestionOpen))return _e;this.event.emit("message:relatedQuesion:loading",_e);const bt=yield this.cvforceApi.postGeneques({content:_e.content}).catch(_t=>null);if(!bt){const _t=[],Rt=I$3(f$2({},_e),{relatedQuesion:_t,index:-3,isLoading:!1});return this.event.emit("message:relatedQuesion:loaded",{relatedQuesion:_t}),this.event.emit("message:updated",Rt),Rt}const vt=(mt=bt.content)==null?void 0:mt.split("*").map(a$3).map(p$6).filter(_t=>!!_t);_e.relatedQuesion=vt,_e.index=-3,_e.isLoading=!1;const $t=I$3(f$2({},_e),{relatedQuesion:vt,index:-3,isLoading:!1});return this.event.emit("message:relatedQuesion:loaded",$t),this.event.emit("message:updated",$t),this._id&&this.cvforceApi.patchSessionsId(this._applicationId,this._id,{lastRelatedQuestion:vt}),$t})}fillMessageReference(_e){return h$2(this,null,function*(){try{const ft=yield Promise.all(_e.reference.map(mt=>this.cvforceApi.getKnowledgeIdFileId(mt.knowledgeId,mt.docId)));_e.reference=_e.reference.map((mt,bt)=>f$2(f$2({},mt),ft[bt]))}catch(ft){console.error("Failed to fill message reference:",ft)}return this.event.emit("message:updated",_e),_e})}answerAgain(){return h$2(this,arguments,function*(_e={stream:c$3.stream}){const ft=this.messages[this.messages.length-1];if(!ft)throw Error("message list is empty");this.frozen=!0,this._stopAnswer=!1;const{stream:mt=c$3.stream}=_e;let bt;ft.role!==v$6.User&&(bt=_e.oldMessageId||ft.messageId,this.messages.splice(this.messages.length-1,1),this.event.emit("message:remove",ft),this.event.emit("history:remove",ft));const vt=this.messages[this.messages.length-1],$t={content:vt.content,fileIds:vt.fileIds,requestId:vt.messageId,stream:mt,oldMessageId:bt},_t=Rt=>h$2(this,null,function*(){if(Rt.role===v$6.Robot&&Rt.index===-1){switch(this._id&&Rt.content&&Rt.index&&Rt.index<0&&(this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{finialMessage:Rt.content}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:finialMessage",{finialMessage:Rt.content})),yield this.fillMessageReference(Rt),Rt.code){case 11915:Rt.content="请您换个问题问我吧~",Rt.index=-1,Rt.isSensitive=!0,Rt.isLoading=!1,Rt.sessionId=this._id||"",this.event.emit("message:error",Rt);break;case 11916:Rt.content="尊敬的用户您好,让我们换个话题再聊聊吧。",Rt.index=-1,Rt.isSensitive=!0,Rt.isLoading=!1,Rt.sessionId=this._id||"",this.event.emit("message:error",Rt);break;case 200:Rt.index=-1,Rt.isLoading=!1;break;default:Rt.content=Rt.message||"未知错误",Rt.isLoading=!1,Rt.index=-1,this.event.emit("message:error",Rt)}this.getRelatedQuesion(Rt),this.removeEventListener("message:content",_t),this.frozen=!1}});this.addEventListener("message:content",_t),this.sendQuestion($t,I$3(f$2({},_e),{stream:mt}))})}setTop(_e){return h$2(this,null,function*(){if(!this._id)throw Error("session is not avalible. id is undefined");this.data=yield this.cvforceApi.patchSessionsId(this._applicationId,this._id,{top:_e}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:top",{top:_e})})}suspend(){var _e;this.stopAnswer(),this.frozen=!1,this._stopAnswer=!0;let ft=this.messages[this.messages.length-1];const mt={messageId:v4$1(),isLoading:!1,index:-2,messageTime:KM(new Date).format("YYYY-MM-DD HH:ss:mm"),content:"",role:v$6.System,sessionId:this.id||"",reference:[],searchReference:[]};if(ft&&!ft.messageId){if(ft.index===-2)return;if(ft.actions){const bt=ft.actions[((_e=ft.actions)==null?void 0:_e.length)-1];if(bt){const vt=bt[bt.length-1];if(vt&&(vt.type==="BEFORE_CALL"||vt.type==="FUNCTION_CALL")){const{pluginName:$t,pluginCode:_t,funcCode:Rt,funcName:Pt}=vt.data;bt.push({data:{pluginName:$t,pluginCode:_t,funcCode:Rt,funcName:Pt,step:vt.data.step+1},type:"ABORT"}),this.event.emit("message:action",{messageId:ft.messageId,action:bt})}}}ft=f$2(f$2({},ft),mt),this.event.emit("message:content",ft),this.event.emit("message:updated",ft)}else this.pushMessage(mt),this.event.emit("message:content",mt);return this}handleStreamAnswer(_e,ft){var mt;if(!_e.data)return;const bt=_e.data.type,vt=_e.data.payload;ft.isReplying=!0;const $t=()=>{if(!ft.searchingStatus){ft.searchingStatus="start";return}if(ft.searchingStatus==="start"){ft.searchingStatus="end";return}};if(bt==="error"&&(ft.index=-1),bt==="beforeSearch"&&$t(),bt==="searchOver"&&$t(),bt==="search"&&ft.searchReference.push(vt),bt==="thinking"){ft.thinkingStatus="start";const _t=vt.choices[0];ft.reasoningContent=(ft.reasoningContent||"")+((mt=_t.delta.reasoningContent)!=null?mt:"")}if(bt==="thinkingOver"){ft.thinkingStatus="end";const _t=vt.thinkingSecs;ft.thinkingSecs=_t}if(bt==="text"){const _t=vt.choices[0];ft.content=(ft.content||"")+_t.delta.content}if(bt==="reference"&&(ft.reference=vt),bt==="updateSession"&&vt&&this.data&&(this.data=f$2(f$2({},this.data),vt),this.event.emit("data:updated",this.data)),bt==="result"){const _t=vt.messageId,Rt=vt.llmModel,Pt=vt.messageTime;ft.messageId=_t,ft.llmModel=Rt,ft.messageTime=Pt}bt==="over"?ft.index=-1:(ft.code=_e.code,ft.message=_e.message)}postMessageComment(_e){return h$2(this,null,function*(){if(!this._applicationId||!this._id)throw Error("session is not avalible. id is undefined");return this.cvforceApi.postComments(this._applicationId,this._id,_e).then(ft=>{const mt=this.messages.find(bt=>bt.messageId===_e.messageId);return mt&&(mt.comment=_e,this.event.emit("message:comment",mt)),ft})})}clear(){if(!this._id)throw Error("session is not avalible. id is undefined");return this.cvforceApi.patchApplicationIdSessionsIdContext(this._applicationId,this._id).then(()=>(this.event.emit("context:clear"),!0))}destroy(){var _e;return this._ready=!1,this.event.removeAllListeners(),(_e=this.socket)==null||_e.disconnect(),this.socket=null,this.event.emit("destroy",{applicationId:this._applicationId,sessionId:this._id}),this._id||""}};var A$3=Object.defineProperty,P$2=Object.defineProperties,b$4=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,x$2=Object.prototype.propertyIsEnumerable,C=(pt,_e,ft)=>_e in pt?A$3(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,d$2=(pt,_e)=>{for(var ft in _e||(_e={}))T.call(_e,ft)&&C(pt,ft,_e[ft]);if(S)for(var ft of S(_e))x$2.call(_e,ft)&&C(pt,ft,_e[ft]);return pt},w$2=(pt,_e)=>P$2(pt,b$4(_e)),v$2=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const p$3=new t$1("[AgentSession] ");class H extends ee$1{constructor(_e,ft="",mt,bt,vt,$t){super(_e,ft,mt,bt,vt,$t)}prepareConnection(){return new Promise(_e=>v$2(this,null,function*(){this.socket&&_e(!0);const ft={version:"1.0",stream:JSON.stringify(c$3.stream),appId:this._applicationId,sessionId:this.id,Authorization:`${this.token}`,userMode:c$3.debug?r$1.Debug:r$1.Normal},mt=new URL(c$3.apiRoot),bt=yield lookup(mt.origin,{path:mt.pathname.replace("api","socketio")+"/copilot",query:ft,transports:["websocket"]});bt.on("connect",()=>{p$3.log("socket:connect"),this.event.emit("socket:connect"),bt.emit("init")}),bt.on("disconnect",()=>{p$3.log("socket:disconnect"),this.event.emit("socket:disconnect"),this._ready=!1}),bt.on("ready",vt=>{if(vt.code===200)p$3.log("ready"),(c$3.debug?r$1.Debug:r$1.Normal)===r$1.Debug&&vt.userMode,this._ready||(this._ready=!0,this.event.emit("ready")),this.frozen=!1,this.registerMcpFromClientConfig(),_e(!0);else{this._ready&&(this._ready=!1);const $t=new Error(K$2.SocketConnectionFailed);p$3.error("error",$t),this.event.emit("error",$t),_e(!1)}}),bt.on("action",(vt,$t)=>v$2(this,null,function*(){if(this._stopAnswer||!this.id)return;const{type:_t,data:{runnerIsClient:Rt,pluginCode:Pt,funcCode:Ft,parameters:Bt,requestBody:Gt}}=vt,Wt=this.messages[this.messages.length-1];if(!Wt.messageId)Wt.actions||(Wt.actions=[]),Wt.actions[vt.data.step-1]||(Wt.actions[vt.data.step-1]=[]),Wt.actions[vt.data.step-1].push(vt),this.event.emit("message:action",{messageId:Wt.messageId,action:vt}),this.event.emit("message:updated",Wt);else{const Vt={messageId:"",content:"",role:v$6.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!0,messageTime:"",actions:[[vt]],comment:{isAgree:0},isReplying:!0};this.pushMessage(Vt),this.event.emit("message:action",{messageId:Vt.messageId,action:vt})}if(this.inactivating){const Vt=new Error(K$2.Inactive);p$3.warn("error",Vt),this.event.emit("error",Vt)}else if(_t==="FUNCTION_CALL"&&Rt){if(p$3.log(`calling function ${Ft} of plugin ${Pt} with argument:
810
810
  ${JSON.stringify(Bt)}`),!c$3.plugins[Pt]){$t({code:404,message:"对不起,没有找到插件。"});return}const Vt=c$3.plugins[Pt][Ft];typeof Vt!="function"&&$t({code:404,message:"对不起,没有找到插件方法。"});let Xt=Bt==null?void 0:Bt.query;try{Xt=JSON.parse(Bt==null?void 0:Bt.query)}catch(er){}Vt(Xt,(...er)=>{this._stopAnswer||$t(...er)})}})),bt.on("answer",vt=>{if(!this._stopAnswer)if(vt.data.code!==200&&(vt.data.index=-1),vt.data.stream||vt.data.stream===void 0){let $t=this.messages[this.messages.length-1];if($t&&$t.role===v$6.Robot)this.handleStreamAnswer(vt.data,$t),this.messages[this.messages.length-1]=$t,this.event.emit("message:content",$t),this.event.emit("message:updated",$t),$t.index===-1&&($t.isReplying=!1,this.event.emit("answer:finish",$t));else{const _t={content:"",role:v$6.Robot,reference:[],searchReference:[],messageId:"",sessionId:this.id,messageTime:KM(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0,reasoningContent:"",thinkingSecs:"",thinkingStatus:"",searchingStatus:""};this.handleStreamAnswer(vt.data,_t),this.pushMessage(_t),this.event.emit("message:content",_t),_t.index===-1&&(_t.isReplying=!1,this.event.emit("answer:finish",_t))}}else if(vt.data.updateSession&&this.data&&(this.data=d$2(d$2({},this.data),vt.data.updateSession),this.event.emit("data:updated",this.data)),vt.data.index===-1){let $t=this.messages[this.messages.length-1];if($t&&!$t.messageId)$t=d$2(d$2({},$t),vt.data),this.event.emit("message:content",$t),this.event.emit("message:updated",$t),this.event.emit("answer:finish",$t);else{const _t=d$2({messageId:"",content:"",role:v$6.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!1,messageTime:"",actions:[],comment:{isAgree:0},isReplying:!0},vt.data);this.event.emit("message:content",_t),this.pushMessage(_t),this.event.emit("answer:finish",_t)}}else{let $t=this.messages[this.messages.length-1];$t&&!$t.messageId?($t=d$2(d$2({},$t),vt.data),this.messages[this.messages.length-1]=$t,this.event.emit("message:content",$t),this.event.emit("message:updated",$t)):(this.pushMessage(d$2({messageId:"",content:"",role:v$6.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!1,messageTime:"",actions:[],comment:{isAgree:0},isReplying:!0},vt.data)),this.event.emit("message:content",vt.data))}}),bt.on("reference",vt=>v$2(this,null,function*(){if(this._stopAnswer)return;if(!this.id){const Bt=new Error(K$2.IdUndefined);p$3.error(Bt),this.event.emit("error",Bt),this.frozen=!1;return}const{type:$t,data:_t,requestId:Rt}=vt,Pt=this.messages.findIndex(Bt=>Bt.messageId===Rt&&Bt.role===v$6.User);if(Pt<0)return;const Ft=Pt+1;if(Ft>=this.messages.length){const Bt={messageId:"",content:"",role:v$6.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!0,messageTime:"",actions:[],comment:{isAgree:0},isReplying:!0};this.pushMessage(Bt)}$t==="KG"?(this.messages[Ft]=w$2(d$2({},this.messages[Ft]),{reference:_t.knowledgeReference}),yield this.fillMessageReference(this.messages[Ft]),this.event.emit("message:reference",_t.knowledgeReference),this.event.emit("message:updated",this.messages[Ft])):$t==="WEB_SEARCH"&&(this.messages[Ft]=w$2(d$2({},this.messages[Ft]),{searchReference:_t.knowledgeReference}),this.event.emit("message:searchreference",_t.searchReference),this.event.emit("message:updated",this.messages[Ft]))})),this.socket=bt,bt.open()}))}registerMcpFromClientConfig(){return c$3.mcp?new Promise((_e,ft)=>{if(!this.socket){ft("socket is undefined");return}this.socket.emit("add_mcp_servers",c$3.mcp,mt=>{mt.code===200?(Object.keys(mt.data).forEach(bt=>{mt.data[bt].code!==200&&console.error(bt,"MCP Server 注册失败。",mt.data[bt])}),_e(!0)):(console.error("MCP Server 注册失败。",mt),ft(mt))})}):Promise.resolve(!0)}addMcpServers(_e){return v$2(this,null,function*(){return this.ready?this.socket?new Promise((ft,mt)=>{this.socket&&this.socket.emit("add_mcp_servers",_e,bt=>{bt.code===200?(Object.keys(bt.data).forEach(vt=>{bt.data[vt].code!==200&&console.error(vt,"MCP Server 注册失败。",bt.data[vt])}),ft(!0)):(console.error("MCP Server 注册失败。",bt),mt(bt))})}):(console.error(" socket is undefined."),Promise.reject("socket is undefined")):(console.error("session is not avalible."),Promise.reject("session is not avalible"))})}listMcpServers(){return v$2(this,null,function*(){return this.ready?this.socket?new Promise((_e,ft)=>{this.socket&&this.socket.emit("list_mcp_servers",mt=>{mt.code===200?_e(mt.data):ft(mt)})}):(console.error(" socket is undefined."),Promise.reject("socket is undefined")):(console.error("session is not avalible."),Promise.reject("session is not avalible"))})}sendQuestion(_e,ft){return v$2(this,null,function*(){var mt,bt,vt;this.convertKnowledgesToChatFormat(this.knowledges);let $t=w$2(d$2({},_e),{promptVariables:this.promptVariables.filter(_t=>_t.type===k$5.User).reduce((_t,Rt)=>w$2(d$2({},_t),{[Rt.key]:Rt.value}),{}),systemPromptVariables:this.promptVariables.filter(_t=>_t.type===k$5.System).reduce((_t,Rt)=>w$2(d$2({},_t),{[Rt.key]:Rt.value}),{}),knowledges:(mt=this.knowledges)==null?void 0:mt.map(_t=>_t.id),enableTitleSummary:!0});if(!this.active){if(yield this.activate(),!this.socket){const _t=new Error(K$2.SocketConnectionFailed);return p$3.warn("error",_t),this.event.emit("error",_t),!1}(bt=this.socket)==null||bt.emit("question",$t);return}(vt=this.socket)==null||vt.emit("question",$t)})}stopAnswer(){var _e;(_e=this.socket)==null||_e.emit("stop_answer")}convertKnowledgesToChatFormat(_e){return _e?_e.map(ft=>ft!=null&&ft.fileIds?{id:ft.id,fileIds:ft.fileIds}:ft.id):[]}}var b$3=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});function w$1(pt,_e){return b$3(this,null,function*(){const ft=pt.getReader();let mt;for(;!(mt=yield ft.read()).done;)_e(mt.value)})}function g$3(pt){let _e,ft,mt,bt=!1,vt;return function($t){_e===void 0?(_e=$t,ft=0,mt=-1,vt=!1):_e=h$1(_e,$t);const _t=_e.length;let Rt=0;for(;ft<_t;){bt&&(_e[ft]===10&&(Rt=++ft),bt=!1);let Pt=-1;for(;ft<_t&&Pt===-1;++ft)switch(_e[ft]){case 58:mt===-1&&(mt=ft-Rt);break;case 13:bt=!1,ft+4<_t&&_e[ft+1]===10&&_e[ft+2]!==13&&_e[ft-1]!==10&&_e[ft-2]!==13&&(vt=!0);case 10:Pt=ft;break}if(Pt===-1)break;pt(_e.subarray(Rt,Pt),mt,vt),Rt=ft,mt=-1,vt=!1}Rt===_t?_e=void 0:Rt!==0&&(_e=_e.subarray(Rt),ft-=Rt)}}function k$3(pt,_e,ft){let mt=y$1();const bt=new TextDecoder;return function(vt,$t,_t){if(vt.length===0)ft==null||ft(mt),mt=y$1();else if($t>0){const Rt=bt.decode(vt.subarray(0,$t)),Pt=$t+(vt[$t+1]===32?2:1);let Ft=bt.decode(vt.subarray(Pt));switch(_t&&(Ft+=`
811
811
  `),Rt){case"data":mt.data=mt.data?mt.data+`
812
- `+Ft:Ft;break;case"event":mt.event=Ft;break;case"id":pt(mt.id=Ft);break;case"retry":const Bt=parseInt(Ft,10);isNaN(Bt)||_e(mt.retry=Bt);break}}}}function h$1(pt,_e){const ft=new Uint8Array(pt.length+_e.length);return ft.set(pt),ft.set(_e,pt.length),ft}function y$1(){return{data:"",event:"",id:"",retry:void 0}}var W$1=Object.defineProperty,j=Object.defineProperties,k$2=Object.getOwnPropertyDescriptors,v$1=Object.getOwnPropertySymbols,A$2=Object.prototype.hasOwnProperty,R$2=Object.prototype.propertyIsEnumerable,I$2=(pt,_e,ft)=>_e in pt?W$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,E=(pt,_e)=>{for(var ft in _e||(_e={}))A$2.call(_e,ft)&&I$2(pt,ft,_e[ft]);if(v$1)for(var ft of v$1(_e))R$2.call(_e,ft)&&I$2(pt,ft,_e[ft]);return pt},$=(pt,_e)=>j(pt,k$2(_e)),q=(pt,_e)=>{var ft={};for(var mt in pt)A$2.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&v$1)for(var mt of v$1(pt))_e.indexOf(mt)<0&&R$2.call(pt,mt)&&(ft[mt]=pt[mt]);return ft},B=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const g$2="text/event-stream",J=1e3,D$1="last-event-id";function X(pt,_e){var ft=_e,{signal:mt,headers:bt,onopen:vt,onmessage:$t,onclose:_t,onerror:Rt,openWhenHidden:Pt,fetch:Ft}=ft,Bt=q(ft,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((Gt,Wt)=>{const Vt=E({},bt);Vt.accept||(Vt.accept=g$2);let Xt;function er(){Xt.abort(),document.hidden||sr()}Pt||document.addEventListener("visibilitychange",er);let nr=J,rr=0;function tr(){document.removeEventListener("visibilitychange",er),window.clearTimeout(rr),Xt.abort()}mt==null||mt.addEventListener("abort",()=>{tr(),Gt()});const or=Ft!=null?Ft:window.fetch,ar=vt!=null?vt:K$1;function sr(){return B(this,null,function*(){var lr;Xt=new AbortController;try{const fr=yield or(pt,$(E({},Bt),{headers:Vt,signal:Xt.signal}));yield ar(fr),yield w$1(fr.body,g$3(k$3(gr=>{gr?Vt[D$1]=gr:delete Vt[D$1]},gr=>{nr=gr},$t))),_t==null||_t(),tr(),Gt()}catch(fr){if(!Xt.signal.aborted)try{const gr=(lr=Rt==null?void 0:Rt(fr))!=null?lr:nr;window.clearTimeout(rr),rr=window.setTimeout(sr,gr)}catch(gr){tr(),Wt(gr)}}})}sr()})}function K$1(pt){const _e=pt.headers.get("content-type");if(!(_e!=null&&_e.startsWith(g$2)))throw new Error(`Expected content-type to be ${g$2}, Actual: ${_e}`)}var I$1=Object.defineProperty,A$1=Object.defineProperties,P$1=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,b$2=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,R$1=(pt,_e,ft)=>_e in pt?I$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,u$1=(pt,_e)=>{for(var ft in _e||(_e={}))b$2.call(_e,ft)&&R$1(pt,ft,_e[ft]);if(w)for(var ft of w(_e))D.call(_e,ft)&&R$1(pt,ft,_e[ft]);return pt},y=(pt,_e)=>A$1(pt,P$1(_e)),M=(pt,_e,ft)=>(R$1(pt,typeof _e!="symbol"?_e+"":_e,ft),ft),f$1=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const p$2=new t$1("[DialogSession] ");let k$1=class extends ee$1{constructor(_e,ft="",mt,bt,vt,$t){super(_e,ft,mt,bt,vt,$t),M(this,"ctrl",new AbortController)}prepareConnection(){return new Promise(_e=>f$1(this,null,function*(){this._ready=!0,this.event.emit("ready"),this.frozen=!1,_e(!0)}))}postChatV2EventSource(_e,ft,mt,bt,vt,$t){return f$1(this,null,function*(){const _t={code:0,content:"",role:n$6.Robot,sessionId:ft,reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},Rt=y(u$1({},mt),{stream:c$3.stream});X(`${c$3.apiRoot}/chat/v2/chat?applicationId=${_e}&sessionId=${ft}`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:JSON.stringify(Rt),openWhenHidden:!0,signal:bt,onopen(Pt){return Pt.ok&&vt!=null&&vt.onopen&&vt.onopen(),Promise.resolve()},onmessage(Pt){if(!Pt.data.includes('{"code": ')){let Bt={};try{Bt=JSON.parse(Pt.data)}catch(Wt){}(Bt==null?void 0:Bt.mtype)==="search"?_t.searchReference.push(Bt):_t.content=_t.content+Pt.data;const Gt={content:_t.content,role:1,reference:_t.reference,searchReference:_t.searchReference,messageId:_t.messageId,sessionId:ft,messageTime:KM(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(vt==null?void 0:vt.onmessage)&&vt.onmessage(Gt)}const Ft=JSON.parse(Pt.data);if(_t.reference=Ft.data.reference,_t.searchReference=Ft.data.searchReference,_t.messageTime=Ft.data.messageTime,_t.messageId=Ft.data.messageId,_t.llmModel=Ft.data.llmModel,_t.content=Ft.data.content,_t.code=Ft.code,Ft.code===200){const Bt={code:_t.code,content:_t.content,role:1,reference:_t.reference,searchReference:_t.searchReference,messageId:_t.messageId,sessionId:ft,messageTime:_t.messageTime,isReplying:!0};vt!=null&&vt.onmessage&&vt.onmessage(Bt)}else return vt!=null&&vt.onclose&&vt.onclose(_t),$t&&$t({code:_t.code,message:_t.message})},onerror(){vt!=null&&vt.onerror&&vt.onerror()},onclose(){const Pt={code:_t.code,content:_t.content,role:1,reference:_t.reference,searchReference:_t.searchReference,messageId:_t.messageId,sessionId:ft,messageTime:_t.messageTime,comment:{isAgree:0},isReplying:!1,index:-1};vt!=null&&vt.onclose&&vt.onclose(Pt)}})})}postChatV3EventSource(_e,ft,mt,bt,vt,$t){return f$1(this,null,function*(){const _t=this,Rt={code:0,content:"",role:n$6.Robot,sessionId:ft,reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,reasoningContent:"",thinkingSecs:"",thinkingStatus:"",searchingStatus:""},Pt=y(u$1({},mt),{stream:c$3.stream});X(`${c$3.apiRoot}/chat/v3/chat?applicationId=${_e}&sessionId=${ft}`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:JSON.stringify(Pt),openWhenHidden:!0,signal:bt,onopen(Ft){return Ft.ok&&vt!=null&&vt.onopen&&vt.onopen(),Promise.resolve()},onmessage(Ft){if(!Ft.data&&!Ft.event&&!Ft.id&&!Ft.retry)return;let Bt={};try{Bt=JSON.parse(Ft.data)}catch(Gt){console.error("parse eventData to JSON failed. ",Ft.data)}if(Bt.code!==200)return Rt.index=-1,Rt.code=Bt.code,Rt.message=Bt.message,vt!=null&&vt.onmessage&&vt.onmessage(Rt),$t&&$t({code:Bt.code,message:Bt.message});_t.handleStreamAnswer(Bt,Rt),vt!=null&&vt.onmessage&&vt.onmessage(Rt)},onerror(){vt!=null&&vt.onerror&&vt.onerror()},onclose(){const Ft=y(u$1({},Rt),{isReplying:!1});vt!=null&&vt.onclose&&vt.onclose(Ft)}})})}sendQuestion(_e,ft){return f$1(this,null,function*(){const{content:mt,fileIds:bt,oldMessageId:vt,imageContent:$t}=_e,{stream:_t,referenceFirst:Rt}=ft;if(this.active||(yield this.activate()),this._id){const Pt=this.convertKnowledgesToChatFormat(this.knowledges);let Ft={content:mt,fileIds:bt,referenceFirst:Rt,oldMessageId:vt,promptVariables:this.promptVariables.filter(Bt=>Bt.type===k$5.User).reduce((Bt,Gt)=>y(u$1({},Bt),{[Gt.key]:Gt.value}),{}),systemPromptVariables:this.promptVariables.filter(Bt=>Bt.type===k$5.System).reduce((Bt,Gt)=>y(u$1({},Bt),{[Gt.key]:Gt.value}),{}),knowledges:Pt,enableTitleSummary:!0,imageContent:$t};this.ctrl=new AbortController,this.postChatV3EventSource(this._applicationId,this._id,Ft,this.ctrl.signal,{onopen:()=>{p$2.log("open",this.ctrl)},onmessage:Bt=>{if(this._stopAnswer)return;let Gt=this.messages[this.messages.length-1];Gt&&Gt.role===v$6.Robot?(Gt=u$1(u$1({},Gt),Bt),this.messages[this.messages.length-1]=Gt,this.event.emit("message:content",Gt),this.event.emit("message:updated",Gt)):(this.pushMessage(Bt),this.event.emit("message:content",Bt))},onclose:Bt=>f$1(this,null,function*(){this._stopAnswer||(p$2.log(Bt,"onclose"),this.event.emit("answer:finish",Bt))}),onerror:()=>{this._stopAnswer||(this.event.emit("message:error",""),this.frozen=!1)}})}})}stopAnswer(){this.ctrl.abort()}registerMcpFromClientConfig(){return f$1(this,null,function*(){throw new Error("MCP registration is not supported by DialogSession")})}addMcpServers(_e){return f$1(this,null,function*(){throw new Error("MCP registration is not supported by DialogSession")})}listMcpServers(){return f$1(this,null,function*(){throw new Error("MCP registration is not supported by DialogSession")})}convertKnowledgesToChatFormat(_e){return _e?_e.map(ft=>ft!=null&&ft.fileIds?{id:ft.id,fileIds:ft.fileIds}:ft.id):[]}};const e="@glodon-aiot/bot-client-sdk",t="3.23.0-alpha.2",i="glodoncv",s="aiot bot client js sdk",n="module",o=["aiot","bot","bot client","sdk"],l$1=["dist"],p$1="./dist/es/index.mjs",c="./dist/lib/index.js",r="./dist/src/index.d.ts",d$1={".":{import:"./dist/es/index.mjs",require:"./dist/lib/index.js",types:"./dist/src/index.d.ts"}},a="MIT",u={watch:"yarn build --watch",example:"node ./example/server.js",dev:"npm-run-all -p watch example",start:"vite",build:"tsc && vite build --mode prod && yarn build:cdn","build:npm":"tsc && vite build --mode prod","build:cdn":"tsc && vite build --mode prod --config ./vite.config.cdn.ts",preview:"vite preview",check:"yarn prettier --check .",write:"yarn prettier --write .",lint:"eslint --ext .tsx,.ts --fix ./example -c .eslintrc.js"},g$1={"@babel/core":"^7.20.12","@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.6","@types/express":"^4","@types/identity-obj-proxy":"^3","@typescript-eslint/eslint-plugin":"^5.35.1","@typescript-eslint/parser":"^5.35.1","babel-loader":"^8.3.0",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^22.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.0","eslint-plugin-storybook":"^0.6.10",express:"4","http-proxy-middleware":"^3.0.0","identity-obj-proxy":"^3.0.0","npm-run-all":"^4.1.5",prettier:"2.7.1","rollup-plugin-visualizer":"^6.0.1","socket.io":"^4.7.5","ts-node":"^10.9.2",typescript:"*",vite:"^4.1.1","vite-plugin-dts":"^4.3.0","vite-plugin-externalize-deps":"^0.9.0","vite-tsconfig-paths":"^5.1.4"},m$1={access:"public",registry:"https://registry.npmjs.org/"},b$1={"@glodon-aiot/apis":"^3.23.0-alpha.2",axios:"0.24.0",buffer:"^6.0.3",dayjs:"^1.11.13","js-base64":"^3.7.7","socket.io-client":"^4.7.5",uuid:"^11.1.0"},x$1={name:e,version:t,author:i,description:s,type:n,sideEffects:!1,keywords:o,files:l$1,module:p$1,main:c,typings:r,exports:d$1,license:a,scripts:u,devDependencies:g$1,"lint-staged":{"*.{js,css,md,jsx,less,ts,tsx,json}":"prettier --write"},publishConfig:m$1,dependencies:b$1};var k=Object.defineProperty,A=Object.defineProperties,x=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,g=(pt,_e,ft)=>_e in pt?k(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,p=(pt,_e)=>{for(var ft in _e||(_e={}))I.call(_e,ft)&&g(pt,ft,_e[ft]);if(v)for(var ft of v(_e))R.call(_e,ft)&&g(pt,ft,_e[ft]);return pt},f=(pt,_e)=>A(pt,x(_e)),d=(pt,_e,ft)=>(g(pt,typeof _e!="symbol"?_e+"":_e,ft),ft),l=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const b=new t$1("[BotClient] ");class W{constructor(_e,ft,mt=!0,bt={analytics:{enabled:!1}}){if(d(this,"event",new $$1),d(this,"cvforceApi"),d(this,"_applicationId"),d(this,"_application",null),d(this,"_sessions",[]),d(this,"_activeSession"),d(this,"_ready",!1),d(this,"_questionContextMaxLength",4e3),d(this,"_promptVariables",[]),this._token=_e,this.lazyload=mt,this.sdkConfigs=bt,w$3(ft),this._applicationId=c$2(_e).rid||c$3.applicationId,!this._applicationId)throw"token is not vaild";this.cvforceApi=this.getService(),this.loadApplication().then(vt=>{w$3(f(p({},ft),{stream:ft.stream===void 0?(vt==null?void 0:vt.type)===i$7.Dialog||(vt==null?void 0:vt.type)===i$7.Agent:ft.stream})),this.event.emit("ready")})}checkReady(){if(!this.ready)throw Error("client is not ready.")}get ready(){return this._ready}set ready(_e){this._ready=_e}get questionContextMaxLength(){return this.checkReady(),this._questionContextMaxLength}get promptVariables(){return this.checkReady(),this._promptVariables}get knowledges(){var _e;return this.checkReady(),(_e=this._application)==null?void 0:_e.arrange[0].knowledges}get sessions(){return this.checkReady(),this._sessions}set sessions(_e){this.checkReady(),this._sessions=_e,this.event.emit("sessions:updated",_e)}loadApplication(){return l(this,null,function*(){var _e,ft,mt,bt,vt;this._application=yield this.cvforceApi.getApplicationId(this._applicationId,{ui:(_e=this.sdkConfigs.ui)==null?void 0:_e.name,uiVersion:(ft=this.sdkConfigs.ui)==null?void 0:ft.version,sdkVersion:x$1.version}).then(_t=>(typeof _t.arrange[0].recommendQuestionOpen!="boolean"&&(_t.arrange[0].recommendQuestionOpen=!0),typeof _t.arrange[0].thinkingModeOpen!="boolean"&&(_t.arrange[0].thinkingModeOpen=!0),typeof _t.arrange[0].thinkingTextOpen!="boolean"&&(_t.arrange[0].thinkingTextOpen=!0),f(p({},_t),{arrange:[f(p({},_t.arrange[0]),{recommendQuestionOpen:c$3.loadRelatedQuesions&&_t.arrange[0].recommendQuestionOpen})]})));const $t=(vt=(bt=(mt=this._application)==null?void 0:mt.arrange)==null?void 0:bt[0])==null?void 0:vt.llmModel;return $t&&(this._questionContextMaxLength=yield this.cvforceApi.getBaseModel($t).then(_t=>_t.maxModelLength)),this._promptVariables=yield Promise.all([this.cvforceApi.getPrompts(this._applicationId,{type:k$5.User}),this.cvforceApi.getPrompts(this._applicationId,{type:k$5.System})]).then(([_t,Rt])=>[..._t,...Rt]),this._ready=!0,this.event.emit("application:loaded"),this._application})}getService(){return this.cvforceApi?this.cvforceApi:z(c$3.apiRoot,this.token,(_e,ft)=>b.error(ft))}get token(){return this._token}set token(_e){this.checkReady(),this._token=_e,this.ready=!1;const ft=c$2(_e).rid;this._applicationId!==ft&&(this._applicationId=ft,this._application=null,this.loadApplication().then(()=>{this.event.emit("ready")}),this.clean())}get applicationId(){return this._applicationId}get application(){return this.checkReady(),this._application}get activeSession(){var _e;return this.checkReady(),((_e=this._activeSession)==null?void 0:_e.id)||""}set activeSession(_e){this.checkReady(),this.loadSession(_e).then(ft=>{this._activeSession&&this._activeSession.id!==_e&&this._activeSession.inactivate(),this._activeSession=ft})}createSession(_e,ft,mt,bt,vt){return l(this,null,function*(){const $t=this;return new Promise((_t,Rt)=>{const Pt=Ft=>l(this,null,function*(){if(Ft===i$7.Agent)_t(new H(_e,ft,mt,bt,vt,$t));else if(Ft===i$7.Dialog)_t(new k$1(_e,ft,mt,bt,vt,$t));else throw Error(`不支持的应用类型:${Ft}`)});if(this.ready){if(!this._application)throw Error("client is not ready");Pt(this._application.type)}else this.event.on("ready",()=>{if(!this._application)throw Error("_application is null");Pt(this._application.type)},!0)})})}getSessions(_e){return l(this,null,function*(){return new Promise((ft,mt)=>{const bt=()=>this.cvforceApi.listSessions(this._applicationId,_e).then(vt=>l(this,null,function*(){const $t=[];for(const _t of vt){const Rt=this._sessions.find(Pt=>Pt.id===_t.id);if(Rt)Rt.data=_t,this._application?Rt.application=this._application:yield Rt.loadApplicationInfo(),$t.push(Rt);else{const Pt=yield this.createSession(this.token,_t.id,_t,this.lazyload,this._application||void 0);$t.push(Pt)}}if(_e!=null&&_e.pageSize){const _t=[...this._sessions,...$t],Rt=new Map;for(const Pt of _t)Rt.set(Pt.id,Pt);return this.sessions=Array.from(Rt.values()),this.sessions}else return this.sessions=$t,$t}));if(this.ready){if(!this._application)throw Error("_application is null");ft(bt())}else this.event.on("ready",()=>{if(!this._application)throw Error("_application is null");ft(bt())},!0)})})}loadSession(_e="",ft){return l(this,null,function*(){this.checkReady();let mt=this.sessions.find(bt=>bt.id===_e);if(mt||(mt=yield this.createSession(this.token,_e,ft),this._sessions.push(mt)),this._activeSession){if(this._activeSession===mt)return mt;this._activeSession.inactivate()}return mt.id?(this._activeSession=mt,yield mt.activate()):mt.addEventListener("data:loaded",()=>{this._activeSession!==mt&&(mt==null||mt.activate(),this._activeSession=mt)},!0),mt})}reload(){return this.loadApplication().then(()=>l(this,null,function*(){return yield this.getSessions(),this.event.emit("ready"),this}))}reloadSession(_e){return l(this,null,function*(){yield this.reload();let ft=this._sessions.find(mt=>mt.id===_e)||this._activeSession;if(!ft){console.warn("reloadSession session failed.");return}return yield ft.reload(),ft})}setTop(_e,ft,mt="top_time desc, sort_status desc, updated_at desc"){return l(this,null,function*(){let bt=_e?this._sessions.find(vt=>vt.id===_e):this._activeSession;if(!bt){console.warn("setTop session failed.");return}return yield bt.setTop(ft),this.getSessions({order:mt})})}addEventListener(_e,ft,mt=!1){if(typeof ft!="function")throw Error("event listener is not a function");if(mt){this.event.once(_e,ft);return}this.event.on(_e,ft)}removeEventListener(_e,ft){this.event.off(_e,ft)}removeSession(_e,ft){return l(this,null,function*(){this.checkReady();let mt=-1;if(typeof _e=="string"?mt=this._sessions.findIndex(bt=>bt.id===_e):mt=this._sessions.findIndex(bt=>bt.id===_e.id),mt>-1){const bt=this._sessions[mt];ft&&(yield bt.delete()),this._sessions.splice(mt,1)}else console.warn("session delete failed, session is not exist.")})}clean(){this._sessions.forEach(_e=>_e.destroy()),this.sessions=[]}}var isFunction$1=function(pt){return typeof pt=="function"},isString=function(pt){return typeof pt=="string"},isNumber=function(pt){return typeof pt=="number"},isDev=!1;const isDev$1=isDev;function useMemoizedFn(pt){isDev$1&&(isFunction$1(pt)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof pt)));var _e=reactExports.useRef(pt);_e.current=reactExports.useMemo(function(){return pt},[pt]);var ft=reactExports.useRef();return ft.current||(ft.current=function(){for(var mt=[],bt=0;bt<arguments.length;bt++)mt[bt]=arguments[bt];return _e.current.apply(this,mt)}),ft.current}function depsAreSame(pt,_e){if(pt===_e)return!0;for(var ft=0;ft<pt.length;ft++)if(!Object.is(pt[ft],_e[ft]))return!1;return!0}function useLatest(pt){var _e=reactExports.useRef(pt);return _e.current=pt,_e}var useUnmount=function(pt){isDev$1&&(isFunction$1(pt)||console.error("useUnmount expected parameter is a function, got ".concat(typeof pt)));var _e=useLatest(pt);reactExports.useEffect(function(){return function(){_e.current()}},[])};const useUnmount$1=useUnmount;var isBrowser=!!(typeof window!="undefined"&&window.document&&window.document.createElement);const isBrowser$1=isBrowser;function getTargetElement(pt,_e){if(isBrowser$1){if(!pt)return _e;var ft;return isFunction$1(pt)?ft=pt():"current"in pt?ft=pt.current:ft=pt,ft}}var createEffectWithTarget=function(pt){var _e=function(ft,mt,bt){var vt=reactExports.useRef(!1),$t=reactExports.useRef([]),_t=reactExports.useRef([]),Rt=reactExports.useRef();pt(function(){var Pt,Ft=Array.isArray(bt)?bt:[bt],Bt=Ft.map(function(Gt){return getTargetElement(Gt)});if(!vt.current){vt.current=!0,$t.current=Bt,_t.current=mt,Rt.current=ft();return}(Bt.length!==$t.current.length||!depsAreSame($t.current,Bt)||!depsAreSame(_t.current,mt))&&((Pt=Rt.current)===null||Pt===void 0||Pt.call(Rt),$t.current=Bt,_t.current=mt,Rt.current=ft())}),useUnmount$1(function(){var Pt;(Pt=Rt.current)===null||Pt===void 0||Pt.call(Rt),vt.current=!1})};return _e};const createEffectWithTarget$1=createEffectWithTarget;var useEffectWithTarget=createEffectWithTarget$1(reactExports.useEffect);const useEffectWithTarget$1=useEffectWithTarget;var depsEqual=function(pt,_e){return pt===void 0&&(pt=[]),_e===void 0&&(_e=[]),isEqual$4(pt,_e)},useDeepCompareEffectWithTarget=function(pt,_e,ft){var mt=reactExports.useRef(),bt=reactExports.useRef(0);depsEqual(_e,mt.current)||(bt.current+=1),mt.current=_e,useEffectWithTarget$1(pt,[bt.current],ft)};const useDeepCompareEffectWithTarget$1=useDeepCompareEffectWithTarget;var isAppleDevice=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?navigator==null?void 0:navigator.platform:"");const isAppleDevice$1=isAppleDevice;var aliasKeyCodeMap={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:isAppleDevice$1?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},modifierKey={ctrl:function(pt){return pt.ctrlKey},shift:function(pt){return pt.shiftKey},alt:function(pt){return pt.altKey},meta:function(pt){return pt.type==="keyup"?aliasKeyCodeMap.meta.includes(pt.keyCode):pt.metaKey}};function isValidKeyType(pt){return isString(pt)||isNumber(pt)}function countKeyByEvent(pt){var _e=Object.keys(modifierKey).reduce(function(ft,mt){return modifierKey[mt](pt)?ft+1:ft},0);return[16,17,18,91,92].includes(pt.keyCode)?_e:_e+1}function genFilterKey(pt,_e,ft){var mt,bt;if(!pt.key)return!1;if(isNumber(_e))return pt.keyCode===_e?_e:!1;var vt=_e.split("."),$t=0;try{for(var _t=__values(vt),Rt=_t.next();!Rt.done;Rt=_t.next()){var Pt=Rt.value,Ft=modifierKey[Pt],Bt=aliasKeyCodeMap[Pt.toLowerCase()];(Ft&&Ft(pt)||Bt&&Bt===pt.keyCode)&&$t++}}catch(Gt){mt={error:Gt}}finally{try{Rt&&!Rt.done&&(bt=_t.return)&&bt.call(_t)}finally{if(mt)throw mt.error}}return ft?$t===vt.length&&countKeyByEvent(pt)===vt.length?_e:!1:$t===vt.length?_e:!1}function genKeyFormatter(pt,_e){return isFunction$1(pt)?pt:isValidKeyType(pt)?function(ft){return genFilterKey(ft,pt,_e)}:Array.isArray(pt)?function(ft){return pt.find(function(mt){return genFilterKey(ft,mt,_e)})}:function(){return!!pt}}var defaultEvents=["keydown"];function useKeyPress(pt,_e,ft){var mt=ft||{},bt=mt.events,vt=bt===void 0?defaultEvents:bt,$t=mt.target,_t=mt.exactMatch,Rt=_t===void 0?!1:_t,Pt=mt.useCapture,Ft=Pt===void 0?!1:Pt,Bt=useLatest(_e),Gt=useLatest(pt);useDeepCompareEffectWithTarget$1(function(){var Wt,Vt,Xt,er=getTargetElement($t,window);if(er){var nr=function(ar){var sr,lr=genKeyFormatter(Gt.current,Rt),fr=lr(ar),gr=isValidKeyType(fr)?fr:ar.key;if(fr)return(sr=Bt.current)===null||sr===void 0?void 0:sr.call(Bt,ar,gr)};try{for(var rr=__values(vt),tr=rr.next();!tr.done;tr=rr.next()){var or=tr.value;(Xt=er==null?void 0:er.addEventListener)===null||Xt===void 0||Xt.call(er,or,nr,Ft)}}catch(ar){Wt={error:ar}}finally{try{tr&&!tr.done&&(Vt=rr.return)&&Vt.call(rr)}finally{if(Wt)throw Wt.error}}return function(){var ar,sr,lr;try{for(var fr=__values(vt),gr=fr.next();!gr.done;gr=fr.next()){var vr=gr.value;(lr=er==null?void 0:er.removeEventListener)===null||lr===void 0||lr.call(er,vr,nr,Ft)}}catch(Ut){ar={error:Ut}}finally{try{gr&&!gr.done&&(sr=fr.return)&&sr.call(fr)}finally{if(ar)throw ar.error}}}}},[vt],$t)}var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$1=root$1.Symbol;const Symbol$2=Symbol$1;var objectProto$f=Object.prototype,hasOwnProperty$c=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(pt){var _e=hasOwnProperty$c.call(pt,symToStringTag$1),ft=pt[symToStringTag$1];try{pt[symToStringTag$1]=void 0;var mt=!0}catch(vt){}var bt=nativeObjectToString$1.call(pt);return mt&&(_e?pt[symToStringTag$1]=ft:delete pt[symToStringTag$1]),bt}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(pt){return nativeObjectToString.call(pt)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(pt){return pt==null?pt===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(pt)?getRawTag(pt):objectToString(pt)}function isObjectLike(pt){return pt!=null&&typeof pt=="object"}var isArray=Array.isArray;const isArray$1=isArray;function isObject(pt){var _e=typeof pt;return pt!=null&&(_e=="object"||_e=="function")}function identity(pt){return pt}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(pt){if(!isObject(pt))return!1;var _e=baseGetTag(pt);return _e==funcTag$2||_e==genTag$1||_e==asyncTag||_e==proxyTag}var coreJsData=root$1["__core-js_shared__"];const coreJsData$1=coreJsData;var maskSrcKey=function(){var pt=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return pt?"Symbol(src)_1."+pt:""}();function isMasked(pt){return!!maskSrcKey&&maskSrcKey in pt}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(pt){if(pt!=null){try{return funcToString$2.call(pt)}catch(_e){}try{return pt+""}catch(_e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$b=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$b).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(pt){if(!isObject(pt)||isMasked(pt))return!1;var _e=isFunction(pt)?reIsNative:reIsHostCtor;return _e.test(toSource(pt))}function getValue(pt,_e){return pt==null?void 0:pt[_e]}function getNative(pt,_e){var ft=getValue(pt,_e);return baseIsNative(ft)?ft:void 0}var WeakMap$1=getNative(root$1,"WeakMap");const WeakMap$2=WeakMap$1;var objectCreate=Object.create,baseCreate=function(){function pt(){}return function(_e){if(!isObject(_e))return{};if(objectCreate)return objectCreate(_e);pt.prototype=_e;var ft=new pt;return pt.prototype=void 0,ft}}();const baseCreate$1=baseCreate;function apply(pt,_e,ft){switch(ft.length){case 0:return pt.call(_e);case 1:return pt.call(_e,ft[0]);case 2:return pt.call(_e,ft[0],ft[1]);case 3:return pt.call(_e,ft[0],ft[1],ft[2])}return pt.apply(_e,ft)}function copyArray(pt,_e){var ft=-1,mt=pt.length;for(_e||(_e=Array(mt));++ft<mt;)_e[ft]=pt[ft];return _e}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(pt){var _e=0,ft=0;return function(){var mt=nativeNow(),bt=HOT_SPAN-(mt-ft);if(ft=mt,bt>0){if(++_e>=HOT_COUNT)return arguments[0]}else _e=0;return pt.apply(void 0,arguments)}}function constant(pt){return function(){return pt}}var defineProperty=function(){try{var pt=getNative(Object,"defineProperty");return pt({},"",{}),pt}catch(_e){}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(pt,_e){return defineProperty$1(pt,"toString",{configurable:!0,enumerable:!1,value:constant(_e),writable:!0})}:identity;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(pt,_e){for(var ft=-1,mt=pt==null?0:pt.length;++ft<mt&&_e(pt[ft],ft,pt)!==!1;);return pt}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(pt,_e){var ft=typeof pt;return _e=_e==null?MAX_SAFE_INTEGER$1:_e,!!_e&&(ft=="number"||ft!="symbol"&&reIsUint.test(pt))&&pt>-1&&pt%1==0&&pt<_e}function baseAssignValue(pt,_e,ft){_e=="__proto__"&&defineProperty$1?defineProperty$1(pt,_e,{configurable:!0,enumerable:!0,value:ft,writable:!0}):pt[_e]=ft}function eq(pt,_e){return pt===_e||pt!==pt&&_e!==_e}var objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty;function assignValue(pt,_e,ft){var mt=pt[_e];(!(hasOwnProperty$a.call(pt,_e)&&eq(mt,ft))||ft===void 0&&!(_e in pt))&&baseAssignValue(pt,_e,ft)}function copyObject(pt,_e,ft,mt){var bt=!ft;ft||(ft={});for(var vt=-1,$t=_e.length;++vt<$t;){var _t=_e[vt],Rt=mt?mt(ft[_t],pt[_t],_t,ft,pt):void 0;Rt===void 0&&(Rt=pt[_t]),bt?baseAssignValue(ft,_t,Rt):assignValue(ft,_t,Rt)}return ft}var nativeMax=Math.max;function overRest(pt,_e,ft){return _e=nativeMax(_e===void 0?pt.length-1:_e,0),function(){for(var mt=arguments,bt=-1,vt=nativeMax(mt.length-_e,0),$t=Array(vt);++bt<vt;)$t[bt]=mt[_e+bt];bt=-1;for(var _t=Array(_e+1);++bt<_e;)_t[bt]=mt[bt];return _t[_e]=ft($t),apply(pt,this,_t)}}function baseRest(pt,_e){return setToString$1(overRest(pt,_e,identity),pt+"")}var MAX_SAFE_INTEGER=9007199254740991;function isLength(pt){return typeof pt=="number"&&pt>-1&&pt%1==0&&pt<=MAX_SAFE_INTEGER}function isArrayLike(pt){return pt!=null&&isLength(pt.length)&&!isFunction(pt)}function isIterateeCall(pt,_e,ft){if(!isObject(ft))return!1;var mt=typeof _e;return(mt=="number"?isArrayLike(ft)&&isIndex(_e,ft.length):mt=="string"&&_e in ft)?eq(ft[_e],pt):!1}function createAssigner(pt){return baseRest(function(_e,ft){var mt=-1,bt=ft.length,vt=bt>1?ft[bt-1]:void 0,$t=bt>2?ft[2]:void 0;for(vt=pt.length>3&&typeof vt=="function"?(bt--,vt):void 0,$t&&isIterateeCall(ft[0],ft[1],$t)&&(vt=bt<3?void 0:vt,bt=1),_e=Object(_e);++mt<bt;){var _t=ft[mt];_t&&pt(_e,_t,mt,vt)}return _e})}var objectProto$b=Object.prototype;function isPrototype(pt){var _e=pt&&pt.constructor,ft=typeof _e=="function"&&_e.prototype||objectProto$b;return pt===ft}function baseTimes(pt,_e){for(var ft=-1,mt=Array(pt);++ft<pt;)mt[ft]=_e(ft);return mt}var argsTag$3="[object Arguments]";function baseIsArguments(pt){return isObjectLike(pt)&&baseGetTag(pt)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(pt){return isObjectLike(pt)&&hasOwnProperty$9.call(pt,"callee")&&!propertyIsEnumerable$1.call(pt,"callee")};const isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse;const isBuffer$1=isBuffer;var argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(pt){return isObjectLike(pt)&&isLength(pt.length)&&!!typedArrayTags[baseGetTag(pt)]}function baseUnary(pt){return function(_e){return pt(_e)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var pt=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return pt||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(_e){}}();const nodeUtil$1=nodeUtil;var nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;const isTypedArray$1=isTypedArray;var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function arrayLikeKeys(pt,_e){var ft=isArray$1(pt),mt=!ft&&isArguments$1(pt),bt=!ft&&!mt&&isBuffer$1(pt),vt=!ft&&!mt&&!bt&&isTypedArray$1(pt),$t=ft||mt||bt||vt,_t=$t?baseTimes(pt.length,String):[],Rt=_t.length;for(var Pt in pt)(_e||hasOwnProperty$8.call(pt,Pt))&&!($t&&(Pt=="length"||bt&&(Pt=="offset"||Pt=="parent")||vt&&(Pt=="buffer"||Pt=="byteLength"||Pt=="byteOffset")||isIndex(Pt,Rt)))&&_t.push(Pt);return _t}function overArg(pt,_e){return function(ft){return pt(_e(ft))}}var nativeKeys=overArg(Object.keys,Object);const nativeKeys$1=nativeKeys;var objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function baseKeys(pt){if(!isPrototype(pt))return nativeKeys$1(pt);var _e=[];for(var ft in Object(pt))hasOwnProperty$7.call(pt,ft)&&ft!="constructor"&&_e.push(ft);return _e}function keys(pt){return isArrayLike(pt)?arrayLikeKeys(pt):baseKeys(pt)}function nativeKeysIn(pt){var _e=[];if(pt!=null)for(var ft in Object(pt))_e.push(ft);return _e}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeysIn(pt){if(!isObject(pt))return nativeKeysIn(pt);var _e=isPrototype(pt),ft=[];for(var mt in pt)mt=="constructor"&&(_e||!hasOwnProperty$6.call(pt,mt))||ft.push(mt);return ft}function keysIn(pt){return isArrayLike(pt)?arrayLikeKeys(pt,!0):baseKeysIn(pt)}var nativeCreate=getNative(Object,"create");const nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(pt){var _e=this.has(pt)&&delete this.__data__[pt];return this.size-=_e?1:0,_e}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function hashGet(pt){var _e=this.__data__;if(nativeCreate$1){var ft=_e[pt];return ft===HASH_UNDEFINED$2?void 0:ft}return hasOwnProperty$5.call(_e,pt)?_e[pt]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashHas(pt){var _e=this.__data__;return nativeCreate$1?_e[pt]!==void 0:hasOwnProperty$4.call(_e,pt)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(pt,_e){var ft=this.__data__;return this.size+=this.has(pt)?0:1,ft[pt]=nativeCreate$1&&_e===void 0?HASH_UNDEFINED$1:_e,this}function Hash(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.clear();++_e<ft;){var mt=pt[_e];this.set(mt[0],mt[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(pt,_e){for(var ft=pt.length;ft--;)if(eq(pt[ft][0],_e))return ft;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(pt){var _e=this.__data__,ft=assocIndexOf(_e,pt);if(ft<0)return!1;var mt=_e.length-1;return ft==mt?_e.pop():splice.call(_e,ft,1),--this.size,!0}function listCacheGet(pt){var _e=this.__data__,ft=assocIndexOf(_e,pt);return ft<0?void 0:_e[ft][1]}function listCacheHas(pt){return assocIndexOf(this.__data__,pt)>-1}function listCacheSet(pt,_e){var ft=this.__data__,mt=assocIndexOf(ft,pt);return mt<0?(++this.size,ft.push([pt,_e])):ft[mt][1]=_e,this}function ListCache(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.clear();++_e<ft;){var mt=pt[_e];this.set(mt[0],mt[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$1,"Map");const Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(pt){var _e=typeof pt;return _e=="string"||_e=="number"||_e=="symbol"||_e=="boolean"?pt!=="__proto__":pt===null}function getMapData(pt,_e){var ft=pt.__data__;return isKeyable(_e)?ft[typeof _e=="string"?"string":"hash"]:ft.map}function mapCacheDelete(pt){var _e=getMapData(this,pt).delete(pt);return this.size-=_e?1:0,_e}function mapCacheGet(pt){return getMapData(this,pt).get(pt)}function mapCacheHas(pt){return getMapData(this,pt).has(pt)}function mapCacheSet(pt,_e){var ft=getMapData(this,pt),mt=ft.size;return ft.set(pt,_e),this.size+=ft.size==mt?0:1,this}function MapCache(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.clear();++_e<ft;){var mt=pt[_e];this.set(mt[0],mt[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function arrayPush(pt,_e){for(var ft=-1,mt=_e.length,bt=pt.length;++ft<mt;)pt[bt+ft]=_e[ft];return pt}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$3=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject(pt){if(!isObjectLike(pt)||baseGetTag(pt)!=objectTag$3)return!1;var _e=getPrototype$1(pt);if(_e===null)return!0;var ft=hasOwnProperty$3.call(_e,"constructor")&&_e.constructor;return typeof ft=="function"&&ft instanceof ft&&funcToString.call(ft)==objectCtorString}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(pt){var _e=this.__data__,ft=_e.delete(pt);return this.size=_e.size,ft}function stackGet(pt){return this.__data__.get(pt)}function stackHas(pt){return this.__data__.has(pt)}var LARGE_ARRAY_SIZE=200;function stackSet(pt,_e){var ft=this.__data__;if(ft instanceof ListCache){var mt=ft.__data__;if(!Map$2||mt.length<LARGE_ARRAY_SIZE-1)return mt.push([pt,_e]),this.size=++ft.size,this;ft=this.__data__=new MapCache(mt)}return ft.set(pt,_e),this.size=ft.size,this}function Stack(pt){var _e=this.__data__=new ListCache(pt);this.size=_e.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(pt,_e){return pt&&copyObject(_e,keys(_e),pt)}function baseAssignIn(pt,_e){return pt&&copyObject(_e,keysIn(_e),pt)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(pt,_e){if(_e)return pt.slice();var ft=pt.length,mt=allocUnsafe?allocUnsafe(ft):new pt.constructor(ft);return pt.copy(mt),mt}function arrayFilter(pt,_e){for(var ft=-1,mt=pt==null?0:pt.length,bt=0,vt=[];++ft<mt;){var $t=pt[ft];_e($t,ft,pt)&&(vt[bt++]=$t)}return vt}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(pt){return pt==null?[]:(pt=Object(pt),arrayFilter(nativeGetSymbols$1(pt),function(_e){return propertyIsEnumerable.call(pt,_e)}))}:stubArray;const getSymbols$1=getSymbols;function copySymbols(pt,_e){return copyObject(pt,getSymbols$1(pt),_e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(pt){for(var _e=[];pt;)arrayPush(_e,getSymbols$1(pt)),pt=getPrototype$1(pt);return _e}:stubArray;const getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(pt,_e){return copyObject(pt,getSymbolsIn$1(pt),_e)}function baseGetAllKeys(pt,_e,ft){var mt=_e(pt);return isArray$1(pt)?mt:arrayPush(mt,ft(pt))}function getAllKeys(pt){return baseGetAllKeys(pt,keys,getSymbols$1)}function getAllKeysIn(pt){return baseGetAllKeys(pt,keysIn,getSymbolsIn$1)}var DataView$1=getNative(root$1,"DataView");const DataView$2=DataView$1;var Promise$1=getNative(root$1,"Promise");const Promise$2=Promise$1;var Set$1=getNative(root$1,"Set");const Set$2=Set$1;var mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$2),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$2&&getTag(new DataView$2(new ArrayBuffer(1)))!=dataViewTag$3||Map$2&&getTag(new Map$2)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$4||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag$1)&&(getTag=function(pt){var _e=baseGetTag(pt),ft=_e==objectTag$2?pt.constructor:void 0,mt=ft?toSource(ft):"";if(mt)switch(mt){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return _e});const getTag$1=getTag;var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function initCloneArray(pt){var _e=pt.length,ft=new pt.constructor(_e);return _e&&typeof pt[0]=="string"&&hasOwnProperty$2.call(pt,"index")&&(ft.index=pt.index,ft.input=pt.input),ft}var Uint8Array$1=root$1.Uint8Array;const Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(pt){var _e=new pt.constructor(pt.byteLength);return new Uint8Array$2(_e).set(new Uint8Array$2(pt)),_e}function cloneDataView(pt,_e){var ft=_e?cloneArrayBuffer(pt.buffer):pt.buffer;return new pt.constructor(ft,pt.byteOffset,pt.byteLength)}var reFlags=/\w*$/;function cloneRegExp(pt){var _e=new pt.constructor(pt.source,reFlags.exec(pt));return _e.lastIndex=pt.lastIndex,_e}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(pt){return symbolValueOf$1?Object(symbolValueOf$1.call(pt)):{}}function cloneTypedArray(pt,_e){var ft=_e?cloneArrayBuffer(pt.buffer):pt.buffer;return new pt.constructor(ft,pt.byteOffset,pt.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(pt,_e,ft){var mt=pt.constructor;switch(_e){case arrayBufferTag$2:return cloneArrayBuffer(pt);case boolTag$2:case dateTag$2:return new mt(+pt);case dataViewTag$2:return cloneDataView(pt,ft);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(pt,ft);case mapTag$3:return new mt;case numberTag$2:case stringTag$2:return new mt(pt);case regexpTag$2:return cloneRegExp(pt);case setTag$3:return new mt;case symbolTag$2:return cloneSymbol(pt)}}function initCloneObject(pt){return typeof pt.constructor=="function"&&!isPrototype(pt)?baseCreate$1(getPrototype$1(pt)):{}}var mapTag$2="[object Map]";function baseIsMap(pt){return isObjectLike(pt)&&getTag$1(pt)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;const isMap$1=isMap;var setTag$2="[object Set]";function baseIsSet(pt){return isObjectLike(pt)&&getTag$1(pt)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;const isSet$1=isSet;var CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(pt,_e,ft,mt,bt,vt){var $t,_t=_e&CLONE_DEEP_FLAG$1,Rt=_e&CLONE_FLAT_FLAG,Pt=_e&CLONE_SYMBOLS_FLAG$1;if(ft&&($t=bt?ft(pt,mt,bt,vt):ft(pt)),$t!==void 0)return $t;if(!isObject(pt))return pt;var Ft=isArray$1(pt);if(Ft){if($t=initCloneArray(pt),!_t)return copyArray(pt,$t)}else{var Bt=getTag$1(pt),Gt=Bt==funcTag||Bt==genTag;if(isBuffer$1(pt))return cloneBuffer(pt,_t);if(Bt==objectTag$1||Bt==argsTag$1||Gt&&!bt){if($t=Rt||Gt?{}:initCloneObject(pt),!_t)return Rt?copySymbolsIn(pt,baseAssignIn($t,pt)):copySymbols(pt,baseAssign($t,pt))}else{if(!cloneableTags[Bt])return bt?pt:{};$t=initCloneByTag(pt,Bt,_t)}}vt||(vt=new Stack);var Wt=vt.get(pt);if(Wt)return Wt;vt.set(pt,$t),isSet$1(pt)?pt.forEach(function(er){$t.add(baseClone(er,_e,ft,er,pt,vt))}):isMap$1(pt)&&pt.forEach(function(er,nr){$t.set(nr,baseClone(er,_e,ft,nr,pt,vt))});var Vt=Pt?Rt?getAllKeysIn:getAllKeys:Rt?keysIn:keys,Xt=Ft?void 0:Vt(pt);return arrayEach(Xt||pt,function(er,nr){Xt&&(nr=er,er=pt[nr]),assignValue($t,nr,baseClone(er,_e,ft,nr,pt,vt))}),$t}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep$1(pt){return baseClone(pt,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(pt){return this.__data__.set(pt,HASH_UNDEFINED),this}function setCacheHas(pt){return this.__data__.has(pt)}function SetCache(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.__data__=new MapCache;++_e<ft;)this.add(pt[_e])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(pt,_e){for(var ft=-1,mt=pt==null?0:pt.length;++ft<mt;)if(_e(pt[ft],ft,pt))return!0;return!1}function cacheHas(pt,_e){return pt.has(_e)}var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(pt,_e,ft,mt,bt,vt){var $t=ft&COMPARE_PARTIAL_FLAG$3,_t=pt.length,Rt=_e.length;if(_t!=Rt&&!($t&&Rt>_t))return!1;var Pt=vt.get(pt),Ft=vt.get(_e);if(Pt&&Ft)return Pt==_e&&Ft==pt;var Bt=-1,Gt=!0,Wt=ft&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(vt.set(pt,_e),vt.set(_e,pt);++Bt<_t;){var Vt=pt[Bt],Xt=_e[Bt];if(mt)var er=$t?mt(Xt,Vt,Bt,_e,pt,vt):mt(Vt,Xt,Bt,pt,_e,vt);if(er!==void 0){if(er)continue;Gt=!1;break}if(Wt){if(!arraySome(_e,function(nr,rr){if(!cacheHas(Wt,rr)&&(Vt===nr||bt(Vt,nr,ft,mt,vt)))return Wt.push(rr)})){Gt=!1;break}}else if(!(Vt===Xt||bt(Vt,Xt,ft,mt,vt))){Gt=!1;break}}return vt.delete(pt),vt.delete(_e),Gt}function mapToArray(pt){var _e=-1,ft=Array(pt.size);return pt.forEach(function(mt,bt){ft[++_e]=[bt,mt]}),ft}function setToArray(pt){var _e=-1,ft=Array(pt.size);return pt.forEach(function(mt){ft[++_e]=mt}),ft}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(pt,_e,ft,mt,bt,vt,$t){switch(ft){case dataViewTag:if(pt.byteLength!=_e.byteLength||pt.byteOffset!=_e.byteOffset)return!1;pt=pt.buffer,_e=_e.buffer;case arrayBufferTag:return!(pt.byteLength!=_e.byteLength||!vt(new Uint8Array$2(pt),new Uint8Array$2(_e)));case boolTag:case dateTag:case numberTag:return eq(+pt,+_e);case errorTag:return pt.name==_e.name&&pt.message==_e.message;case regexpTag:case stringTag:return pt==_e+"";case mapTag:var _t=mapToArray;case setTag:var Rt=mt&COMPARE_PARTIAL_FLAG$2;if(_t||(_t=setToArray),pt.size!=_e.size&&!Rt)return!1;var Pt=$t.get(pt);if(Pt)return Pt==_e;mt|=COMPARE_UNORDERED_FLAG,$t.set(pt,_e);var Ft=equalArrays(_t(pt),_t(_e),mt,bt,vt,$t);return $t.delete(pt),Ft;case symbolTag:if(symbolValueOf)return symbolValueOf.call(pt)==symbolValueOf.call(_e)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(pt,_e,ft,mt,bt,vt){var $t=ft&COMPARE_PARTIAL_FLAG$1,_t=getAllKeys(pt),Rt=_t.length,Pt=getAllKeys(_e),Ft=Pt.length;if(Rt!=Ft&&!$t)return!1;for(var Bt=Rt;Bt--;){var Gt=_t[Bt];if(!($t?Gt in _e:hasOwnProperty$1.call(_e,Gt)))return!1}var Wt=vt.get(pt),Vt=vt.get(_e);if(Wt&&Vt)return Wt==_e&&Vt==pt;var Xt=!0;vt.set(pt,_e),vt.set(_e,pt);for(var er=$t;++Bt<Rt;){Gt=_t[Bt];var nr=pt[Gt],rr=_e[Gt];if(mt)var tr=$t?mt(rr,nr,Gt,_e,pt,vt):mt(nr,rr,Gt,pt,_e,vt);if(!(tr===void 0?nr===rr||bt(nr,rr,ft,mt,vt):tr)){Xt=!1;break}er||(er=Gt=="constructor")}if(Xt&&!er){var or=pt.constructor,ar=_e.constructor;or!=ar&&"constructor"in pt&&"constructor"in _e&&!(typeof or=="function"&&or instanceof or&&typeof ar=="function"&&ar instanceof ar)&&(Xt=!1)}return vt.delete(pt),vt.delete(_e),Xt}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(pt,_e,ft,mt,bt,vt){var $t=isArray$1(pt),_t=isArray$1(_e),Rt=$t?arrayTag:getTag$1(pt),Pt=_t?arrayTag:getTag$1(_e);Rt=Rt==argsTag?objectTag:Rt,Pt=Pt==argsTag?objectTag:Pt;var Ft=Rt==objectTag,Bt=Pt==objectTag,Gt=Rt==Pt;if(Gt&&isBuffer$1(pt)){if(!isBuffer$1(_e))return!1;$t=!0,Ft=!1}if(Gt&&!Ft)return vt||(vt=new Stack),$t||isTypedArray$1(pt)?equalArrays(pt,_e,ft,mt,bt,vt):equalByTag(pt,_e,Rt,ft,mt,bt,vt);if(!(ft&COMPARE_PARTIAL_FLAG)){var Wt=Ft&&hasOwnProperty.call(pt,"__wrapped__"),Vt=Bt&&hasOwnProperty.call(_e,"__wrapped__");if(Wt||Vt){var Xt=Wt?pt.value():pt,er=Vt?_e.value():_e;return vt||(vt=new Stack),bt(Xt,er,ft,mt,vt)}}return Gt?(vt||(vt=new Stack),equalObjects(pt,_e,ft,mt,bt,vt)):!1}function baseIsEqual(pt,_e,ft,mt,bt){return pt===_e?!0:pt==null||_e==null||!isObjectLike(pt)&&!isObjectLike(_e)?pt!==pt&&_e!==_e:baseIsEqualDeep(pt,_e,ft,mt,baseIsEqual,bt)}function createBaseFor(pt){return function(_e,ft,mt){for(var bt=-1,vt=Object(_e),$t=mt(_e),_t=$t.length;_t--;){var Rt=$t[pt?_t:++bt];if(ft(vt[Rt],Rt,vt)===!1)break}return _e}}var baseFor=createBaseFor();const baseFor$1=baseFor;function assignMergeValue(pt,_e,ft){(ft!==void 0&&!eq(pt[_e],ft)||ft===void 0&&!(_e in pt))&&baseAssignValue(pt,_e,ft)}function isArrayLikeObject(pt){return isObjectLike(pt)&&isArrayLike(pt)}function safeGet(pt,_e){if(!(_e==="constructor"&&typeof pt[_e]=="function")&&_e!="__proto__")return pt[_e]}function toPlainObject(pt){return copyObject(pt,keysIn(pt))}function baseMergeDeep(pt,_e,ft,mt,bt,vt,$t){var _t=safeGet(pt,ft),Rt=safeGet(_e,ft),Pt=$t.get(Rt);if(Pt){assignMergeValue(pt,ft,Pt);return}var Ft=vt?vt(_t,Rt,ft+"",pt,_e,$t):void 0,Bt=Ft===void 0;if(Bt){var Gt=isArray$1(Rt),Wt=!Gt&&isBuffer$1(Rt),Vt=!Gt&&!Wt&&isTypedArray$1(Rt);Ft=Rt,Gt||Wt||Vt?isArray$1(_t)?Ft=_t:isArrayLikeObject(_t)?Ft=copyArray(_t):Wt?(Bt=!1,Ft=cloneBuffer(Rt,!0)):Vt?(Bt=!1,Ft=cloneTypedArray(Rt,!0)):Ft=[]:isPlainObject(Rt)||isArguments$1(Rt)?(Ft=_t,isArguments$1(_t)?Ft=toPlainObject(_t):(!isObject(_t)||isFunction(_t))&&(Ft=initCloneObject(Rt))):Bt=!1}Bt&&($t.set(Rt,Ft),bt(Ft,Rt,mt,vt,$t),$t.delete(Rt)),assignMergeValue(pt,ft,Ft)}function baseMerge(pt,_e,ft,mt,bt){pt!==_e&&baseFor$1(_e,function(vt,$t){if(bt||(bt=new Stack),isObject(vt))baseMergeDeep(pt,_e,$t,ft,baseMerge,mt,bt);else{var _t=mt?mt(safeGet(pt,$t),vt,$t+"",pt,_e,bt):void 0;_t===void 0&&(_t=vt),assignMergeValue(pt,$t,_t)}},keysIn)}function isEqual$2(pt,_e){return baseIsEqual(pt,_e)}var merge=createAssigner(function(pt,_e,ft){baseMerge(pt,_e,ft)});const merge$1=merge;var Scope=(pt=>(pt[pt.TYPE=3]="TYPE",pt[pt.LEVEL=12]="LEVEL",pt[pt.ATTRIBUTE=13]="ATTRIBUTE",pt[pt.BLOT=14]="BLOT",pt[pt.INLINE=7]="INLINE",pt[pt.BLOCK=11]="BLOCK",pt[pt.BLOCK_BLOT=10]="BLOCK_BLOT",pt[pt.INLINE_BLOT=6]="INLINE_BLOT",pt[pt.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",pt[pt.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",pt[pt.ANY=15]="ANY",pt))(Scope||{});class Attributor{constructor(_e,ft,mt={}){this.attrName=_e,this.keyName=ft;const bt=Scope.TYPE&Scope.ATTRIBUTE;this.scope=mt.scope!=null?mt.scope&Scope.LEVEL|bt:Scope.ATTRIBUTE,mt.whitelist!=null&&(this.whitelist=mt.whitelist)}static keys(_e){return Array.from(_e.attributes).map(ft=>ft.name)}add(_e,ft){return this.canAdd(_e,ft)?(_e.setAttribute(this.keyName,ft),!0):!1}canAdd(_e,ft){return this.whitelist==null?!0:typeof ft=="string"?this.whitelist.indexOf(ft.replace(/["']/g,""))>-1:this.whitelist.indexOf(ft)>-1}remove(_e){_e.removeAttribute(this.keyName)}value(_e){const ft=_e.getAttribute(this.keyName);return this.canAdd(_e,ft)&&ft?ft:""}}class ParchmentError extends Error{constructor(_e){_e="[Parchment] "+_e,super(_e),this.message=_e,this.name=this.constructor.name}}const _Registry=class o1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(_e,ft=!1){if(_e==null)return null;if(this.blots.has(_e))return this.blots.get(_e)||null;if(ft){let mt=null;try{mt=_e.parentNode}catch(bt){return null}return this.find(mt,ft)}return null}create(_e,ft,mt){const bt=this.query(ft);if(bt==null)throw new ParchmentError(`Unable to create ${ft} blot`);const vt=bt,$t=ft instanceof Node||ft.nodeType===Node.TEXT_NODE?ft:vt.create(mt),_t=new vt(_e,$t,mt);return o1.blots.set(_t.domNode,_t),_t}find(_e,ft=!1){return o1.find(_e,ft)}query(_e,ft=Scope.ANY){let mt;return typeof _e=="string"?mt=this.types[_e]||this.attributes[_e]:_e instanceof Text||_e.nodeType===Node.TEXT_NODE?mt=this.types.text:typeof _e=="number"?_e&Scope.LEVEL&Scope.BLOCK?mt=this.types.block:_e&Scope.LEVEL&Scope.INLINE&&(mt=this.types.inline):_e instanceof Element&&((_e.getAttribute("class")||"").split(/\s+/).some(bt=>(mt=this.classes[bt],!!mt)),mt=mt||this.tags[_e.tagName]),mt==null?null:"scope"in mt&&ft&Scope.LEVEL&mt.scope&&ft&Scope.TYPE&mt.scope?mt:null}register(..._e){return _e.map(ft=>{const mt="blotName"in ft,bt="attrName"in ft;if(!mt&&!bt)throw new ParchmentError("Invalid definition");if(mt&&ft.blotName==="abstract")throw new ParchmentError("Cannot register abstract class");const vt=mt?ft.blotName:bt?ft.attrName:void 0;return this.types[vt]=ft,bt?typeof ft.keyName=="string"&&(this.attributes[ft.keyName]=ft):mt&&(ft.className&&(this.classes[ft.className]=ft),ft.tagName&&(Array.isArray(ft.tagName)?ft.tagName=ft.tagName.map($t=>$t.toUpperCase()):ft.tagName=ft.tagName.toUpperCase(),(Array.isArray(ft.tagName)?ft.tagName:[ft.tagName]).forEach($t=>{(this.tags[$t]==null||ft.className==null)&&(this.tags[$t]=ft)}))),ft})}};_Registry.blots=new WeakMap;let Registry=_Registry;function match(pt,_e){return(pt.getAttribute("class")||"").split(/\s+/).filter(ft=>ft.indexOf(`${_e}-`)===0)}class ClassAttributor extends Attributor{static keys(_e){return(_e.getAttribute("class")||"").split(/\s+/).map(ft=>ft.split("-").slice(0,-1).join("-"))}add(_e,ft){return this.canAdd(_e,ft)?(this.remove(_e),_e.classList.add(`${this.keyName}-${ft}`),!0):!1}remove(_e){match(_e,this.keyName).forEach(ft=>{_e.classList.remove(ft)}),_e.classList.length===0&&_e.removeAttribute("class")}value(_e){const ft=(match(_e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(_e,ft)?ft:""}}const ClassAttributor$1=ClassAttributor;function camelize(pt){const _e=pt.split("-"),ft=_e.slice(1).map(mt=>mt[0].toUpperCase()+mt.slice(1)).join("");return _e[0]+ft}class StyleAttributor extends Attributor{static keys(_e){return(_e.getAttribute("style")||"").split(";").map(ft=>ft.split(":")[0].trim())}add(_e,ft){return this.canAdd(_e,ft)?(_e.style[camelize(this.keyName)]=ft,!0):!1}remove(_e){_e.style[camelize(this.keyName)]="",_e.getAttribute("style")||_e.removeAttribute("style")}value(_e){const ft=_e.style[camelize(this.keyName)];return this.canAdd(_e,ft)?ft:""}}const StyleAttributor$1=StyleAttributor;class AttributorStore{constructor(_e){this.attributes={},this.domNode=_e,this.build()}attribute(_e,ft){ft?_e.add(this.domNode,ft)&&(_e.value(this.domNode)!=null?this.attributes[_e.attrName]=_e:delete this.attributes[_e.attrName]):(_e.remove(this.domNode),delete this.attributes[_e.attrName])}build(){this.attributes={};const _e=Registry.find(this.domNode);if(_e==null)return;const ft=Attributor.keys(this.domNode),mt=ClassAttributor$1.keys(this.domNode),bt=StyleAttributor$1.keys(this.domNode);ft.concat(mt).concat(bt).forEach(vt=>{const $t=_e.scroll.query(vt,Scope.ATTRIBUTE);$t instanceof Attributor&&(this.attributes[$t.attrName]=$t)})}copy(_e){Object.keys(this.attributes).forEach(ft=>{const mt=this.attributes[ft].value(this.domNode);_e.format(ft,mt)})}move(_e){this.copy(_e),Object.keys(this.attributes).forEach(ft=>{this.attributes[ft].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((_e,ft)=>(_e[ft]=this.attributes[ft].value(this.domNode),_e),{})}}const AttributorStore$1=AttributorStore,_ShadowBlot=class{constructor(_e,ft){this.scroll=_e,this.domNode=ft,Registry.blots.set(ft,this),this.prev=null,this.next=null}static create(_e){if(this.tagName==null)throw new ParchmentError("Blot definition missing tagName");let ft,mt;return Array.isArray(this.tagName)?(typeof _e=="string"?(mt=_e.toUpperCase(),parseInt(mt,10).toString()===mt&&(mt=parseInt(mt,10))):typeof _e=="number"&&(mt=_e),typeof mt=="number"?ft=document.createElement(this.tagName[mt-1]):mt&&this.tagName.indexOf(mt)>-1?ft=document.createElement(mt):ft=document.createElement(this.tagName[0])):ft=document.createElement(this.tagName),this.className&&ft.classList.add(this.className),ft}get statics(){return this.constructor}attach(){}clone(){const _e=this.domNode.cloneNode(!1);return this.scroll.create(_e)}detach(){this.parent!=null&&this.parent.removeChild(this),Registry.blots.delete(this.domNode)}deleteAt(_e,ft){this.isolate(_e,ft).remove()}formatAt(_e,ft,mt,bt){const vt=this.isolate(_e,ft);if(this.scroll.query(mt,Scope.BLOT)!=null&&bt)vt.wrap(mt,bt);else if(this.scroll.query(mt,Scope.ATTRIBUTE)!=null){const $t=this.scroll.create(this.statics.scope);vt.wrap($t),$t.format(mt,bt)}}insertAt(_e,ft,mt){const bt=mt==null?this.scroll.create("text",ft):this.scroll.create(ft,mt),vt=this.split(_e);this.parent.insertBefore(bt,vt||void 0)}isolate(_e,ft){const mt=this.split(_e);if(mt==null)throw new Error("Attempt to isolate at end");return mt.split(ft),mt}length(){return 1}offset(_e=this.parent){return this.parent==null||this===_e?0:this.parent.children.offset(this)+this.parent.offset(_e)}optimize(_e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(_e,ft){const mt=typeof _e=="string"?this.scroll.create(_e,ft):_e;return this.parent!=null&&(this.parent.insertBefore(mt,this.next||void 0),this.remove()),mt}split(_e,ft){return _e===0?this:this.next}update(_e,ft){}wrap(_e,ft){const mt=typeof _e=="string"?this.scroll.create(_e,ft):_e;if(this.parent!=null&&this.parent.insertBefore(mt,this.next||void 0),typeof mt.appendChild!="function")throw new ParchmentError(`Cannot wrap ${_e}`);return mt.appendChild(this),mt}};_ShadowBlot.blotName="abstract";let ShadowBlot=_ShadowBlot;const _LeafBlot=class extends ShadowBlot{static value(_e){return!0}index(_e,ft){return this.domNode===_e||this.domNode.compareDocumentPosition(_e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(ft,1):-1}position(_e,ft){let mt=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return _e>0&&(mt+=1),[this.parent.domNode,mt]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};_LeafBlot.scope=Scope.INLINE_BLOT;let LeafBlot=_LeafBlot;const LeafBlot$1=LeafBlot;class LinkedList{constructor(){this.head=null,this.tail=null,this.length=0}append(..._e){if(this.insertBefore(_e[0],null),_e.length>1){const ft=_e.slice(1);this.append(...ft)}}at(_e){const ft=this.iterator();let mt=ft();for(;mt&&_e>0;)_e-=1,mt=ft();return mt}contains(_e){const ft=this.iterator();let mt=ft();for(;mt;){if(mt===_e)return!0;mt=ft()}return!1}indexOf(_e){const ft=this.iterator();let mt=ft(),bt=0;for(;mt;){if(mt===_e)return bt;bt+=1,mt=ft()}return-1}insertBefore(_e,ft){_e!=null&&(this.remove(_e),_e.next=ft,ft!=null?(_e.prev=ft.prev,ft.prev!=null&&(ft.prev.next=_e),ft.prev=_e,ft===this.head&&(this.head=_e)):this.tail!=null?(this.tail.next=_e,_e.prev=this.tail,this.tail=_e):(_e.prev=null,this.head=this.tail=_e),this.length+=1)}offset(_e){let ft=0,mt=this.head;for(;mt!=null;){if(mt===_e)return ft;ft+=mt.length(),mt=mt.next}return-1}remove(_e){this.contains(_e)&&(_e.prev!=null&&(_e.prev.next=_e.next),_e.next!=null&&(_e.next.prev=_e.prev),_e===this.head&&(this.head=_e.next),_e===this.tail&&(this.tail=_e.prev),this.length-=1)}iterator(_e=this.head){return()=>{const ft=_e;return _e!=null&&(_e=_e.next),ft}}find(_e,ft=!1){const mt=this.iterator();let bt=mt();for(;bt;){const vt=bt.length();if(_e<vt||ft&&_e===vt&&(bt.next==null||bt.next.length()!==0))return[bt,_e];_e-=vt,bt=mt()}return[null,0]}forEach(_e){const ft=this.iterator();let mt=ft();for(;mt;)_e(mt),mt=ft()}forEachAt(_e,ft,mt){if(ft<=0)return;const[bt,vt]=this.find(_e);let $t=_e-vt;const _t=this.iterator(bt);let Rt=_t();for(;Rt&&$t<_e+ft;){const Pt=Rt.length();_e>$t?mt(Rt,_e-$t,Math.min(ft,$t+Pt-_e)):mt(Rt,0,Math.min(Pt,_e+ft-$t)),$t+=Pt,Rt=_t()}}map(_e){return this.reduce((ft,mt)=>(ft.push(_e(mt)),ft),[])}reduce(_e,ft){const mt=this.iterator();let bt=mt();for(;bt;)ft=_e(ft,bt),bt=mt();return ft}}function makeAttachedBlot(pt,_e){const ft=_e.find(pt);if(ft)return ft;try{return _e.create(pt)}catch(mt){const bt=_e.create(Scope.INLINE);return Array.from(pt.childNodes).forEach(vt=>{bt.domNode.appendChild(vt)}),pt.parentNode&&pt.parentNode.replaceChild(bt.domNode,pt),bt.attach(),bt}}const _ParentBlot=class zp extends ShadowBlot{constructor(_e,ft){super(_e,ft),this.uiNode=null,this.build()}appendChild(_e){this.insertBefore(_e)}attach(){super.attach(),this.children.forEach(_e=>{_e.attach()})}attachUI(_e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=_e,zp.uiClass&&this.uiNode.classList.add(zp.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new LinkedList,Array.from(this.domNode.childNodes).filter(_e=>_e!==this.uiNode).reverse().forEach(_e=>{try{const ft=makeAttachedBlot(_e,this.scroll);this.insertBefore(ft,this.children.head||void 0)}catch(ft){if(ft instanceof ParchmentError)return;throw ft}})}deleteAt(_e,ft){if(_e===0&&ft===this.length())return this.remove();this.children.forEachAt(_e,ft,(mt,bt,vt)=>{mt.deleteAt(bt,vt)})}descendant(_e,ft=0){const[mt,bt]=this.children.find(ft);return _e.blotName==null&&_e(mt)||_e.blotName!=null&&mt instanceof _e?[mt,bt]:mt instanceof zp?mt.descendant(_e,bt):[null,-1]}descendants(_e,ft=0,mt=Number.MAX_VALUE){let bt=[],vt=mt;return this.children.forEachAt(ft,mt,($t,_t,Rt)=>{(_e.blotName==null&&_e($t)||_e.blotName!=null&&$t instanceof _e)&&bt.push($t),$t instanceof zp&&(bt=bt.concat($t.descendants(_e,_t,vt))),vt-=Rt}),bt}detach(){this.children.forEach(_e=>{_e.detach()}),super.detach()}enforceAllowedChildren(){let _e=!1;this.children.forEach(ft=>{_e||this.statics.allowedChildren.some(mt=>ft instanceof mt)||(ft.statics.scope===Scope.BLOCK_BLOT?(ft.next!=null&&this.splitAfter(ft),ft.prev!=null&&this.splitAfter(ft.prev),ft.parent.unwrap(),_e=!0):ft instanceof zp?ft.unwrap():ft.remove())})}formatAt(_e,ft,mt,bt){this.children.forEachAt(_e,ft,(vt,$t,_t)=>{vt.formatAt($t,_t,mt,bt)})}insertAt(_e,ft,mt){const[bt,vt]=this.children.find(_e);if(bt)bt.insertAt(vt,ft,mt);else{const $t=mt==null?this.scroll.create("text",ft):this.scroll.create(ft,mt);this.appendChild($t)}}insertBefore(_e,ft){_e.parent!=null&&_e.parent.children.remove(_e);let mt=null;this.children.insertBefore(_e,ft||null),_e.parent=this,ft!=null&&(mt=ft.domNode),(this.domNode.parentNode!==_e.domNode||this.domNode.nextSibling!==mt)&&this.domNode.insertBefore(_e.domNode,mt),_e.attach()}length(){return this.children.reduce((_e,ft)=>_e+ft.length(),0)}moveChildren(_e,ft){this.children.forEach(mt=>{_e.insertBefore(mt,ft)})}optimize(_e){if(super.optimize(_e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const ft=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(ft)}else this.remove()}path(_e,ft=!1){const[mt,bt]=this.children.find(_e,ft),vt=[[this,_e]];return mt instanceof zp?vt.concat(mt.path(bt,ft)):(mt!=null&&vt.push([mt,bt]),vt)}removeChild(_e){this.children.remove(_e)}replaceWith(_e,ft){const mt=typeof _e=="string"?this.scroll.create(_e,ft):_e;return mt instanceof zp&&this.moveChildren(mt),super.replaceWith(mt)}split(_e,ft=!1){if(!ft){if(_e===0)return this;if(_e===this.length())return this.next}const mt=this.clone();return this.parent&&this.parent.insertBefore(mt,this.next||void 0),this.children.forEachAt(_e,this.length(),(bt,vt,$t)=>{const _t=bt.split(vt,ft);_t!=null&&mt.appendChild(_t)}),mt}splitAfter(_e){const ft=this.clone();for(;_e.next!=null;)ft.appendChild(_e.next);return this.parent&&this.parent.insertBefore(ft,this.next||void 0),ft}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(_e,ft){const mt=[],bt=[];_e.forEach(vt=>{vt.target===this.domNode&&vt.type==="childList"&&(mt.push(...vt.addedNodes),bt.push(...vt.removedNodes))}),bt.forEach(vt=>{if(vt.parentNode!=null&&vt.tagName!=="IFRAME"&&document.body.compareDocumentPosition(vt)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const $t=this.scroll.find(vt);$t!=null&&($t.domNode.parentNode==null||$t.domNode.parentNode===this.domNode)&&$t.detach()}),mt.filter(vt=>vt.parentNode===this.domNode&&vt!==this.uiNode).sort((vt,$t)=>vt===$t?0:vt.compareDocumentPosition($t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(vt=>{let $t=null;vt.nextSibling!=null&&($t=this.scroll.find(vt.nextSibling));const _t=makeAttachedBlot(vt,this.scroll);(_t.next!==$t||_t.next==null)&&(_t.parent!=null&&_t.parent.removeChild(this),this.insertBefore(_t,$t||void 0))}),this.enforceAllowedChildren()}};_ParentBlot.uiClass="";let ParentBlot=_ParentBlot;const ParentBlot$1=ParentBlot;function isEqual$1(pt,_e){if(Object.keys(pt).length!==Object.keys(_e).length)return!1;for(const ft in pt)if(pt[ft]!==_e[ft])return!1;return!0}const _InlineBlot=class _f extends ParentBlot$1{static create(_e){return super.create(_e)}static formats(_e,ft){const mt=ft.query(_f.blotName);if(!(mt!=null&&_e.tagName===mt.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return _e.tagName.toLowerCase()}}constructor(_e,ft){super(_e,ft),this.attributes=new AttributorStore$1(this.domNode)}format(_e,ft){if(_e===this.statics.blotName&&!ft)this.children.forEach(mt=>{mt instanceof _f||(mt=mt.wrap(_f.blotName,!0)),this.attributes.copy(mt)}),this.unwrap();else{const mt=this.scroll.query(_e,Scope.INLINE);if(mt==null)return;mt instanceof Attributor?this.attributes.attribute(mt,ft):ft&&(_e!==this.statics.blotName||this.formats()[_e]!==ft)&&this.replaceWith(_e,ft)}}formats(){const _e=this.attributes.values(),ft=this.statics.formats(this.domNode,this.scroll);return ft!=null&&(_e[this.statics.blotName]=ft),_e}formatAt(_e,ft,mt,bt){this.formats()[mt]!=null||this.scroll.query(mt,Scope.ATTRIBUTE)?this.isolate(_e,ft).format(mt,bt):super.formatAt(_e,ft,mt,bt)}optimize(_e){super.optimize(_e);const ft=this.formats();if(Object.keys(ft).length===0)return this.unwrap();const mt=this.next;mt instanceof _f&&mt.prev===this&&isEqual$1(ft,mt.formats())&&(mt.moveChildren(this),mt.remove())}replaceWith(_e,ft){const mt=super.replaceWith(_e,ft);return this.attributes.copy(mt),mt}update(_e,ft){super.update(_e,ft),_e.some(mt=>mt.target===this.domNode&&mt.type==="attributes")&&this.attributes.build()}wrap(_e,ft){const mt=super.wrap(_e,ft);return mt instanceof _f&&this.attributes.move(mt),mt}};_InlineBlot.allowedChildren=[_InlineBlot,LeafBlot$1],_InlineBlot.blotName="inline",_InlineBlot.scope=Scope.INLINE_BLOT,_InlineBlot.tagName="SPAN";let InlineBlot=_InlineBlot;const InlineBlot$1=InlineBlot,_BlockBlot=class a1 extends ParentBlot$1{static create(_e){return super.create(_e)}static formats(_e,ft){const mt=ft.query(a1.blotName);if(!(mt!=null&&_e.tagName===mt.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return _e.tagName.toLowerCase()}}constructor(_e,ft){super(_e,ft),this.attributes=new AttributorStore$1(this.domNode)}format(_e,ft){const mt=this.scroll.query(_e,Scope.BLOCK);mt!=null&&(mt instanceof Attributor?this.attributes.attribute(mt,ft):_e===this.statics.blotName&&!ft?this.replaceWith(a1.blotName):ft&&(_e!==this.statics.blotName||this.formats()[_e]!==ft)&&this.replaceWith(_e,ft))}formats(){const _e=this.attributes.values(),ft=this.statics.formats(this.domNode,this.scroll);return ft!=null&&(_e[this.statics.blotName]=ft),_e}formatAt(_e,ft,mt,bt){this.scroll.query(mt,Scope.BLOCK)!=null?this.format(mt,bt):super.formatAt(_e,ft,mt,bt)}insertAt(_e,ft,mt){if(mt==null||this.scroll.query(ft,Scope.INLINE)!=null)super.insertAt(_e,ft,mt);else{const bt=this.split(_e);if(bt!=null){const vt=this.scroll.create(ft,mt);bt.parent.insertBefore(vt,bt)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(_e,ft){const mt=super.replaceWith(_e,ft);return this.attributes.copy(mt),mt}update(_e,ft){super.update(_e,ft),_e.some(mt=>mt.target===this.domNode&&mt.type==="attributes")&&this.attributes.build()}};_BlockBlot.blotName="block",_BlockBlot.scope=Scope.BLOCK_BLOT,_BlockBlot.tagName="P",_BlockBlot.allowedChildren=[InlineBlot$1,_BlockBlot,LeafBlot$1];let BlockBlot=_BlockBlot;const BlockBlot$1=BlockBlot,_ContainerBlot=class extends ParentBlot$1{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(_e,ft){super.deleteAt(_e,ft),this.enforceAllowedChildren()}formatAt(_e,ft,mt,bt){super.formatAt(_e,ft,mt,bt),this.enforceAllowedChildren()}insertAt(_e,ft,mt){super.insertAt(_e,ft,mt),this.enforceAllowedChildren()}optimize(_e){super.optimize(_e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};_ContainerBlot.blotName="container",_ContainerBlot.scope=Scope.BLOCK_BLOT;let ContainerBlot=_ContainerBlot;const ContainerBlot$1=ContainerBlot;class EmbedBlot extends LeafBlot$1{static formats(_e,ft){}format(_e,ft){super.formatAt(0,this.length(),_e,ft)}formatAt(_e,ft,mt,bt){_e===0&&ft===this.length()?this.format(mt,bt):super.formatAt(_e,ft,mt,bt)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const EmbedBlot$1=EmbedBlot,OBSERVER_CONFIG={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},MAX_OPTIMIZE_ITERATIONS=100,_ScrollBlot=class extends ParentBlot$1{constructor(_e,ft){super(null,ft),this.registry=_e,this.scroll=this,this.build(),this.observer=new MutationObserver(mt=>{this.update(mt)}),this.observer.observe(this.domNode,OBSERVER_CONFIG),this.attach()}create(_e,ft){return this.registry.create(this,_e,ft)}find(_e,ft=!1){const mt=this.registry.find(_e,ft);return mt?mt.scroll===this?mt:ft?this.find(mt.scroll.domNode.parentNode,!0):null:null}query(_e,ft=Scope.ANY){return this.registry.query(_e,ft)}register(..._e){return this.registry.register(..._e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(_e,ft){this.update(),_e===0&&ft===this.length()?this.children.forEach(mt=>{mt.remove()}):super.deleteAt(_e,ft)}formatAt(_e,ft,mt,bt){this.update(),super.formatAt(_e,ft,mt,bt)}insertAt(_e,ft,mt){this.update(),super.insertAt(_e,ft,mt)}optimize(_e=[],ft={}){super.optimize(ft);const mt=ft.mutationsMap||new WeakMap;let bt=Array.from(this.observer.takeRecords());for(;bt.length>0;)_e.push(bt.pop());const vt=(Rt,Pt=!0)=>{Rt==null||Rt===this||Rt.domNode.parentNode!=null&&(mt.has(Rt.domNode)||mt.set(Rt.domNode,[]),Pt&&vt(Rt.parent))},$t=Rt=>{mt.has(Rt.domNode)&&(Rt instanceof ParentBlot$1&&Rt.children.forEach($t),mt.delete(Rt.domNode),Rt.optimize(ft))};let _t=_e;for(let Rt=0;_t.length>0;Rt+=1){if(Rt>=MAX_OPTIMIZE_ITERATIONS)throw new Error("[Parchment] Maximum optimize iterations reached");for(_t.forEach(Pt=>{const Ft=this.find(Pt.target,!0);Ft!=null&&(Ft.domNode===Pt.target&&(Pt.type==="childList"?(vt(this.find(Pt.previousSibling,!1)),Array.from(Pt.addedNodes).forEach(Bt=>{const Gt=this.find(Bt,!1);vt(Gt,!1),Gt instanceof ParentBlot$1&&Gt.children.forEach(Wt=>{vt(Wt,!1)})})):Pt.type==="attributes"&&vt(Ft.prev)),vt(Ft))}),this.children.forEach($t),_t=Array.from(this.observer.takeRecords()),bt=_t.slice();bt.length>0;)_e.push(bt.pop())}}update(_e,ft={}){_e=_e||this.observer.takeRecords();const mt=new WeakMap;_e.map(bt=>{const vt=this.find(bt.target,!0);return vt==null?null:mt.has(vt.domNode)?(mt.get(vt.domNode).push(bt),null):(mt.set(vt.domNode,[bt]),vt)}).forEach(bt=>{bt!=null&&bt!==this&&mt.has(bt.domNode)&&bt.update(mt.get(bt.domNode)||[],ft)}),ft.mutationsMap=mt,mt.has(this.domNode)&&super.update(mt.get(this.domNode),ft),this.optimize(_e,ft)}};_ScrollBlot.blotName="scroll",_ScrollBlot.defaultChild=BlockBlot$1,_ScrollBlot.allowedChildren=[BlockBlot$1,ContainerBlot$1],_ScrollBlot.scope=Scope.BLOCK_BLOT,_ScrollBlot.tagName="DIV";let ScrollBlot=_ScrollBlot;const ScrollBlot$1=ScrollBlot,_TextBlot=class ev extends LeafBlot$1{static create(_e){return document.createTextNode(_e)}static value(_e){return _e.data}constructor(_e,ft){super(_e,ft),this.text=this.statics.value(this.domNode)}deleteAt(_e,ft){this.domNode.data=this.text=this.text.slice(0,_e)+this.text.slice(_e+ft)}index(_e,ft){return this.domNode===_e?ft:-1}insertAt(_e,ft,mt){mt==null?(this.text=this.text.slice(0,_e)+ft+this.text.slice(_e),this.domNode.data=this.text):super.insertAt(_e,ft,mt)}length(){return this.text.length}optimize(_e){super.optimize(_e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof ev&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(_e,ft=!1){return[this.domNode,_e]}split(_e,ft=!1){if(!ft){if(_e===0)return this;if(_e===this.length())return this.next}const mt=this.scroll.create(this.domNode.splitText(_e));return this.parent.insertBefore(mt,this.next||void 0),this.text=this.statics.value(this.domNode),mt}update(_e,ft){_e.some(mt=>mt.type==="characterData"&&mt.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};_TextBlot.blotName="text",_TextBlot.scope=Scope.INLINE_BLOT;let TextBlot=_TextBlot;const TextBlot$1=TextBlot,Parchment=Object.freeze(Object.defineProperty({__proto__:null,Attributor,AttributorStore:AttributorStore$1,BlockBlot:BlockBlot$1,ClassAttributor:ClassAttributor$1,ContainerBlot:ContainerBlot$1,EmbedBlot:EmbedBlot$1,InlineBlot:InlineBlot$1,LeafBlot:LeafBlot$1,ParentBlot:ParentBlot$1,Registry,Scope,ScrollBlot:ScrollBlot$1,StyleAttributor:StyleAttributor$1,TextBlot:TextBlot$1},Symbol.toStringTag,{value:"Module"}));var Delta$1={exports:{}},DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0;function diff_main(pt,_e,ft,mt,bt){if(pt===_e)return pt?[[DIFF_EQUAL,pt]]:[];if(ft!=null){var vt=find_cursor_edit_diff(pt,_e,ft);if(vt)return vt}var $t=diff_commonPrefix(pt,_e),_t=pt.substring(0,$t);pt=pt.substring($t),_e=_e.substring($t),$t=diff_commonSuffix(pt,_e);var Rt=pt.substring(pt.length-$t);pt=pt.substring(0,pt.length-$t),_e=_e.substring(0,_e.length-$t);var Pt=diff_compute_(pt,_e);return _t&&Pt.unshift([DIFF_EQUAL,_t]),Rt&&Pt.push([DIFF_EQUAL,Rt]),diff_cleanupMerge(Pt,bt),mt&&diff_cleanupSemantic(Pt),Pt}function diff_compute_(pt,_e){var ft;if(!pt)return[[DIFF_INSERT,_e]];if(!_e)return[[DIFF_DELETE,pt]];var mt=pt.length>_e.length?pt:_e,bt=pt.length>_e.length?_e:pt,vt=mt.indexOf(bt);if(vt!==-1)return ft=[[DIFF_INSERT,mt.substring(0,vt)],[DIFF_EQUAL,bt],[DIFF_INSERT,mt.substring(vt+bt.length)]],pt.length>_e.length&&(ft[0][0]=ft[2][0]=DIFF_DELETE),ft;if(bt.length===1)return[[DIFF_DELETE,pt],[DIFF_INSERT,_e]];var $t=diff_halfMatch_(pt,_e);if($t){var _t=$t[0],Rt=$t[1],Pt=$t[2],Ft=$t[3],Bt=$t[4],Gt=diff_main(_t,Pt),Wt=diff_main(Rt,Ft);return Gt.concat([[DIFF_EQUAL,Bt]],Wt)}return diff_bisect_(pt,_e)}function diff_bisect_(pt,_e){for(var ft=pt.length,mt=_e.length,bt=Math.ceil((ft+mt)/2),vt=bt,$t=2*bt,_t=new Array($t),Rt=new Array($t),Pt=0;Pt<$t;Pt++)_t[Pt]=-1,Rt[Pt]=-1;_t[vt+1]=0,Rt[vt+1]=0;for(var Ft=ft-mt,Bt=Ft%2!==0,Gt=0,Wt=0,Vt=0,Xt=0,er=0;er<bt;er++){for(var nr=-er+Gt;nr<=er-Wt;nr+=2){var rr=vt+nr,tr;nr===-er||nr!==er&&_t[rr-1]<_t[rr+1]?tr=_t[rr+1]:tr=_t[rr-1]+1;for(var or=tr-nr;tr<ft&&or<mt&&pt.charAt(tr)===_e.charAt(or);)tr++,or++;if(_t[rr]=tr,tr>ft)Wt+=2;else if(or>mt)Gt+=2;else if(Bt){var ar=vt+Ft-nr;if(ar>=0&&ar<$t&&Rt[ar]!==-1){var sr=ft-Rt[ar];if(tr>=sr)return diff_bisectSplit_(pt,_e,tr,or)}}}for(var lr=-er+Vt;lr<=er-Xt;lr+=2){var ar=vt+lr,sr;lr===-er||lr!==er&&Rt[ar-1]<Rt[ar+1]?sr=Rt[ar+1]:sr=Rt[ar-1]+1;for(var fr=sr-lr;sr<ft&&fr<mt&&pt.charAt(ft-sr-1)===_e.charAt(mt-fr-1);)sr++,fr++;if(Rt[ar]=sr,sr>ft)Xt+=2;else if(fr>mt)Vt+=2;else if(!Bt){var rr=vt+Ft-lr;if(rr>=0&&rr<$t&&_t[rr]!==-1){var tr=_t[rr],or=vt+tr-rr;if(sr=ft-sr,tr>=sr)return diff_bisectSplit_(pt,_e,tr,or)}}}}return[[DIFF_DELETE,pt],[DIFF_INSERT,_e]]}function diff_bisectSplit_(pt,_e,ft,mt){var bt=pt.substring(0,ft),vt=_e.substring(0,mt),$t=pt.substring(ft),_t=_e.substring(mt),Rt=diff_main(bt,vt),Pt=diff_main($t,_t);return Rt.concat(Pt)}function diff_commonPrefix(pt,_e){if(!pt||!_e||pt.charAt(0)!==_e.charAt(0))return 0;for(var ft=0,mt=Math.min(pt.length,_e.length),bt=mt,vt=0;ft<bt;)pt.substring(vt,bt)==_e.substring(vt,bt)?(ft=bt,vt=ft):mt=bt,bt=Math.floor((mt-ft)/2+ft);return is_surrogate_pair_start(pt.charCodeAt(bt-1))&&bt--,bt}function diff_commonOverlap_(pt,_e){var ft=pt.length,mt=_e.length;if(ft==0||mt==0)return 0;ft>mt?pt=pt.substring(ft-mt):ft<mt&&(_e=_e.substring(0,ft));var bt=Math.min(ft,mt);if(pt==_e)return bt;for(var vt=0,$t=1;;){var _t=pt.substring(bt-$t),Rt=_e.indexOf(_t);if(Rt==-1)return vt;$t+=Rt,(Rt==0||pt.substring(bt-$t)==_e.substring(0,$t))&&(vt=$t,$t++)}}function diff_commonSuffix(pt,_e){if(!pt||!_e||pt.slice(-1)!==_e.slice(-1))return 0;for(var ft=0,mt=Math.min(pt.length,_e.length),bt=mt,vt=0;ft<bt;)pt.substring(pt.length-bt,pt.length-vt)==_e.substring(_e.length-bt,_e.length-vt)?(ft=bt,vt=ft):mt=bt,bt=Math.floor((mt-ft)/2+ft);return is_surrogate_pair_end(pt.charCodeAt(pt.length-bt))&&bt--,bt}function diff_halfMatch_(pt,_e){var ft=pt.length>_e.length?pt:_e,mt=pt.length>_e.length?_e:pt;if(ft.length<4||mt.length*2<ft.length)return null;function bt(Wt,Vt,Xt){for(var er=Wt.substring(Xt,Xt+Math.floor(Wt.length/4)),nr=-1,rr="",tr,or,ar,sr;(nr=Vt.indexOf(er,nr+1))!==-1;){var lr=diff_commonPrefix(Wt.substring(Xt),Vt.substring(nr)),fr=diff_commonSuffix(Wt.substring(0,Xt),Vt.substring(0,nr));rr.length<fr+lr&&(rr=Vt.substring(nr-fr,nr)+Vt.substring(nr,nr+lr),tr=Wt.substring(0,Xt-fr),or=Wt.substring(Xt+lr),ar=Vt.substring(0,nr-fr),sr=Vt.substring(nr+lr))}return rr.length*2>=Wt.length?[tr,or,ar,sr,rr]:null}var vt=bt(ft,mt,Math.ceil(ft.length/4)),$t=bt(ft,mt,Math.ceil(ft.length/2)),_t;if(!vt&&!$t)return null;$t?vt?_t=vt[4].length>$t[4].length?vt:$t:_t=$t:_t=vt;var Rt,Pt,Ft,Bt;pt.length>_e.length?(Rt=_t[0],Pt=_t[1],Ft=_t[2],Bt=_t[3]):(Ft=_t[0],Bt=_t[1],Rt=_t[2],Pt=_t[3]);var Gt=_t[4];return[Rt,Pt,Ft,Bt,Gt]}function diff_cleanupSemantic(pt){for(var _e=!1,ft=[],mt=0,bt=null,vt=0,$t=0,_t=0,Rt=0,Pt=0;vt<pt.length;)pt[vt][0]==DIFF_EQUAL?(ft[mt++]=vt,$t=Rt,_t=Pt,Rt=0,Pt=0,bt=pt[vt][1]):(pt[vt][0]==DIFF_INSERT?Rt+=pt[vt][1].length:Pt+=pt[vt][1].length,bt&&bt.length<=Math.max($t,_t)&&bt.length<=Math.max(Rt,Pt)&&(pt.splice(ft[mt-1],0,[DIFF_DELETE,bt]),pt[ft[mt-1]+1][0]=DIFF_INSERT,mt--,mt--,vt=mt>0?ft[mt-1]:-1,$t=0,_t=0,Rt=0,Pt=0,bt=null,_e=!0)),vt++;for(_e&&diff_cleanupMerge(pt),diff_cleanupSemanticLossless(pt),vt=1;vt<pt.length;){if(pt[vt-1][0]==DIFF_DELETE&&pt[vt][0]==DIFF_INSERT){var Ft=pt[vt-1][1],Bt=pt[vt][1],Gt=diff_commonOverlap_(Ft,Bt),Wt=diff_commonOverlap_(Bt,Ft);Gt>=Wt?(Gt>=Ft.length/2||Gt>=Bt.length/2)&&(pt.splice(vt,0,[DIFF_EQUAL,Bt.substring(0,Gt)]),pt[vt-1][1]=Ft.substring(0,Ft.length-Gt),pt[vt+1][1]=Bt.substring(Gt),vt++):(Wt>=Ft.length/2||Wt>=Bt.length/2)&&(pt.splice(vt,0,[DIFF_EQUAL,Ft.substring(0,Wt)]),pt[vt-1][0]=DIFF_INSERT,pt[vt-1][1]=Bt.substring(0,Bt.length-Wt),pt[vt+1][0]=DIFF_DELETE,pt[vt+1][1]=Ft.substring(Wt),vt++),vt++}vt++}}var nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,whitespaceRegex_=/\s/,linebreakRegex_=/[\r\n]/,blanklineEndRegex_=/\n\r?\n$/,blanklineStartRegex_=/^\r?\n\r?\n/;function diff_cleanupSemanticLossless(pt){function _e(Wt,Vt){if(!Wt||!Vt)return 6;var Xt=Wt.charAt(Wt.length-1),er=Vt.charAt(0),nr=Xt.match(nonAlphaNumericRegex_),rr=er.match(nonAlphaNumericRegex_),tr=nr&&Xt.match(whitespaceRegex_),or=rr&&er.match(whitespaceRegex_),ar=tr&&Xt.match(linebreakRegex_),sr=or&&er.match(linebreakRegex_),lr=ar&&Wt.match(blanklineEndRegex_),fr=sr&&Vt.match(blanklineStartRegex_);return lr||fr?5:ar||sr?4:nr&&!tr&&or?3:tr||or?2:nr||rr?1:0}for(var ft=1;ft<pt.length-1;){if(pt[ft-1][0]==DIFF_EQUAL&&pt[ft+1][0]==DIFF_EQUAL){var mt=pt[ft-1][1],bt=pt[ft][1],vt=pt[ft+1][1],$t=diff_commonSuffix(mt,bt);if($t){var _t=bt.substring(bt.length-$t);mt=mt.substring(0,mt.length-$t),bt=_t+bt.substring(0,bt.length-$t),vt=_t+vt}for(var Rt=mt,Pt=bt,Ft=vt,Bt=_e(mt,bt)+_e(bt,vt);bt.charAt(0)===vt.charAt(0);){mt+=bt.charAt(0),bt=bt.substring(1)+vt.charAt(0),vt=vt.substring(1);var Gt=_e(mt,bt)+_e(bt,vt);Gt>=Bt&&(Bt=Gt,Rt=mt,Pt=bt,Ft=vt)}pt[ft-1][1]!=Rt&&(Rt?pt[ft-1][1]=Rt:(pt.splice(ft-1,1),ft--),pt[ft][1]=Pt,Ft?pt[ft+1][1]=Ft:(pt.splice(ft+1,1),ft--))}ft++}}function diff_cleanupMerge(pt,_e){pt.push([DIFF_EQUAL,""]);for(var ft=0,mt=0,bt=0,vt="",$t="",_t;ft<pt.length;){if(ft<pt.length-1&&!pt[ft][1]){pt.splice(ft,1);continue}switch(pt[ft][0]){case DIFF_INSERT:bt++,$t+=pt[ft][1],ft++;break;case DIFF_DELETE:mt++,vt+=pt[ft][1],ft++;break;case DIFF_EQUAL:var Rt=ft-bt-mt-1;if(_e){if(Rt>=0&&ends_with_pair_start(pt[Rt][1])){var Pt=pt[Rt][1].slice(-1);if(pt[Rt][1]=pt[Rt][1].slice(0,-1),vt=Pt+vt,$t=Pt+$t,!pt[Rt][1]){pt.splice(Rt,1),ft--;var Ft=Rt-1;pt[Ft]&&pt[Ft][0]===DIFF_INSERT&&(bt++,$t=pt[Ft][1]+$t,Ft--),pt[Ft]&&pt[Ft][0]===DIFF_DELETE&&(mt++,vt=pt[Ft][1]+vt,Ft--),Rt=Ft}}if(starts_with_pair_end(pt[ft][1])){var Pt=pt[ft][1].charAt(0);pt[ft][1]=pt[ft][1].slice(1),vt+=Pt,$t+=Pt}}if(ft<pt.length-1&&!pt[ft][1]){pt.splice(ft,1);break}if(vt.length>0||$t.length>0){vt.length>0&&$t.length>0&&(_t=diff_commonPrefix($t,vt),_t!==0&&(Rt>=0?pt[Rt][1]+=$t.substring(0,_t):(pt.splice(0,0,[DIFF_EQUAL,$t.substring(0,_t)]),ft++),$t=$t.substring(_t),vt=vt.substring(_t)),_t=diff_commonSuffix($t,vt),_t!==0&&(pt[ft][1]=$t.substring($t.length-_t)+pt[ft][1],$t=$t.substring(0,$t.length-_t),vt=vt.substring(0,vt.length-_t)));var Bt=bt+mt;vt.length===0&&$t.length===0?(pt.splice(ft-Bt,Bt),ft=ft-Bt):vt.length===0?(pt.splice(ft-Bt,Bt,[DIFF_INSERT,$t]),ft=ft-Bt+1):$t.length===0?(pt.splice(ft-Bt,Bt,[DIFF_DELETE,vt]),ft=ft-Bt+1):(pt.splice(ft-Bt,Bt,[DIFF_DELETE,vt],[DIFF_INSERT,$t]),ft=ft-Bt+2)}ft!==0&&pt[ft-1][0]===DIFF_EQUAL?(pt[ft-1][1]+=pt[ft][1],pt.splice(ft,1)):ft++,bt=0,mt=0,vt="",$t="";break}}pt[pt.length-1][1]===""&&pt.pop();var Gt=!1;for(ft=1;ft<pt.length-1;)pt[ft-1][0]===DIFF_EQUAL&&pt[ft+1][0]===DIFF_EQUAL&&(pt[ft][1].substring(pt[ft][1].length-pt[ft-1][1].length)===pt[ft-1][1]?(pt[ft][1]=pt[ft-1][1]+pt[ft][1].substring(0,pt[ft][1].length-pt[ft-1][1].length),pt[ft+1][1]=pt[ft-1][1]+pt[ft+1][1],pt.splice(ft-1,1),Gt=!0):pt[ft][1].substring(0,pt[ft+1][1].length)==pt[ft+1][1]&&(pt[ft-1][1]+=pt[ft+1][1],pt[ft][1]=pt[ft][1].substring(pt[ft+1][1].length)+pt[ft+1][1],pt.splice(ft+1,1),Gt=!0)),ft++;Gt&&diff_cleanupMerge(pt,_e)}function is_surrogate_pair_start(pt){return pt>=55296&&pt<=56319}function is_surrogate_pair_end(pt){return pt>=56320&&pt<=57343}function starts_with_pair_end(pt){return is_surrogate_pair_end(pt.charCodeAt(0))}function ends_with_pair_start(pt){return is_surrogate_pair_start(pt.charCodeAt(pt.length-1))}function remove_empty_tuples(pt){for(var _e=[],ft=0;ft<pt.length;ft++)pt[ft][1].length>0&&_e.push(pt[ft]);return _e}function make_edit_splice(pt,_e,ft,mt){return ends_with_pair_start(pt)||starts_with_pair_end(mt)?null:remove_empty_tuples([[DIFF_EQUAL,pt],[DIFF_DELETE,_e],[DIFF_INSERT,ft],[DIFF_EQUAL,mt]])}function find_cursor_edit_diff(pt,_e,ft){var mt=typeof ft=="number"?{index:ft,length:0}:ft.oldRange,bt=typeof ft=="number"?null:ft.newRange,vt=pt.length,$t=_e.length;if(mt.length===0&&(bt===null||bt.length===0)){var _t=mt.index,Rt=pt.slice(0,_t),Pt=pt.slice(_t),Ft=bt?bt.index:null;e:{var Bt=_t+$t-vt;if(Ft!==null&&Ft!==Bt||Bt<0||Bt>$t)break e;var Gt=_e.slice(0,Bt),Wt=_e.slice(Bt);if(Wt!==Pt)break e;var Vt=Math.min(_t,Bt),Xt=Rt.slice(0,Vt),er=Gt.slice(0,Vt);if(Xt!==er)break e;var nr=Rt.slice(Vt),rr=Gt.slice(Vt);return make_edit_splice(Xt,nr,rr,Pt)}e:{if(Ft!==null&&Ft!==_t)break e;var tr=_t,Gt=_e.slice(0,tr),Wt=_e.slice(tr);if(Gt!==Rt)break e;var or=Math.min(vt-tr,$t-tr),ar=Pt.slice(Pt.length-or),sr=Wt.slice(Wt.length-or);if(ar!==sr)break e;var nr=Pt.slice(0,Pt.length-or),rr=Wt.slice(0,Wt.length-or);return make_edit_splice(Rt,nr,rr,ar)}}if(mt.length>0&&bt&&bt.length===0)e:{var Xt=pt.slice(0,mt.index),ar=pt.slice(mt.index+mt.length),Vt=Xt.length,or=ar.length;if($t<Vt+or)break e;var er=_e.slice(0,Vt),sr=_e.slice($t-or);if(Xt!==er||ar!==sr)break e;var nr=pt.slice(Vt,vt-or),rr=_e.slice(Vt,$t-or);return make_edit_splice(Xt,nr,rr,ar)}return null}function diff(pt,_e,ft,mt){return diff_main(pt,_e,ft,mt,!0)}diff.INSERT=DIFF_INSERT;diff.DELETE=DIFF_DELETE;diff.EQUAL=DIFF_EQUAL;var diff_1=diff,lodash_clonedeep={exports:{}};lodash_clonedeep.exports;(function(pt,_e){var ft=200,mt="__lodash_hash_undefined__",bt=9007199254740991,vt="[object Arguments]",$t="[object Array]",_t="[object Boolean]",Rt="[object Date]",Pt="[object Error]",Ft="[object Function]",Bt="[object GeneratorFunction]",Gt="[object Map]",Wt="[object Number]",Vt="[object Object]",Xt="[object Promise]",er="[object RegExp]",nr="[object Set]",rr="[object String]",tr="[object Symbol]",or="[object WeakMap]",ar="[object ArrayBuffer]",sr="[object DataView]",lr="[object Float32Array]",fr="[object Float64Array]",gr="[object Int8Array]",vr="[object Int16Array]",Ut="[object Int32Array]",Zt="[object Uint8Array]",Kt="[object Uint8ClampedArray]",qt="[object Uint16Array]",Ht="[object Uint32Array]",Jt=/[\\^$.*+?()[\]{}|]/g,ir=/\w*$/,dr=/^\[object .+?Constructor\]$/,pr=/^(?:0|[1-9]\d*)$/,ur={};ur[vt]=ur[$t]=ur[ar]=ur[sr]=ur[_t]=ur[Rt]=ur[lr]=ur[fr]=ur[gr]=ur[vr]=ur[Ut]=ur[Gt]=ur[Wt]=ur[Vt]=ur[er]=ur[nr]=ur[rr]=ur[tr]=ur[Zt]=ur[Kt]=ur[qt]=ur[Ht]=!0,ur[Pt]=ur[Ft]=ur[or]=!1;var hr=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,mr=typeof self=="object"&&self&&self.Object===Object&&self,yr=hr||mr||Function("return this")(),Er=_e&&!_e.nodeType&&_e,Ir=Er&&!0&&pt&&!pt.nodeType&&pt,Mr=Ir&&Ir.exports===Er;function Tr(Ur,tn){return Ur.set(tn[0],tn[1]),Ur}function xr(Ur,tn){return Ur.add(tn),Ur}function Nr(Ur,tn){for(var hn=-1,Hn=Ur?Ur.length:0;++hn<Hn&&tn(Ur[hn],hn,Ur)!==!1;);return Ur}function Or(Ur,tn){for(var hn=-1,Hn=tn.length,Jo=Ur.length;++hn<Hn;)Ur[Jo+hn]=tn[hn];return Ur}function jr(Ur,tn,hn,Hn){var Jo=-1,Bo=Ur?Ur.length:0;for(Hn&&Bo&&(hn=Ur[++Jo]);++Jo<Bo;)hn=tn(hn,Ur[Jo],Jo,Ur);return hn}function Lr(Ur,tn){for(var hn=-1,Hn=Array(Ur);++hn<Ur;)Hn[hn]=tn(hn);return Hn}function Vr(Ur,tn){return Ur==null?void 0:Ur[tn]}function Yr(Ur){var tn=!1;if(Ur!=null&&typeof Ur.toString!="function")try{tn=!!(Ur+"")}catch(hn){}return tn}function Qr(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn,Jo){hn[++tn]=[Jo,Hn]}),hn}function Xr(Ur,tn){return function(hn){return Ur(tn(hn))}}function Hr(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn){hn[++tn]=Hn}),hn}var Zr=Array.prototype,Cr=Function.prototype,Dr=Object.prototype,kr=yr["__core-js_shared__"],$r=function(){var Ur=/[^.]+$/.exec(kr&&kr.keys&&kr.keys.IE_PROTO||"");return Ur?"Symbol(src)_1."+Ur:""}(),Rr=Cr.toString,qr=Dr.hasOwnProperty,nn=Dr.toString,Fr=RegExp("^"+Rr.call(qr).replace(Jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zr=Mr?yr.Buffer:void 0,Ar=yr.Symbol,Sr=yr.Uint8Array,Pr=Xr(Object.getPrototypeOf,Object),Jr=Object.create,Gr=Dr.propertyIsEnumerable,Wr=Zr.splice,xn=Object.getOwnPropertySymbols,ln=zr?zr.isBuffer:void 0,gn=Xr(Object.keys,Object),zn=$n(yr,"DataView"),pn=$n(yr,"Map"),vn=$n(yr,"Promise"),Gn=$n(yr,"Set"),yn=$n(yr,"WeakMap"),Tn=$n(Object,"create"),Jn=fo(zn),mn=fo(pn),Cn=fo(vn),io=fo(Gn),cn=fo(yn),fn=Ar?Ar.prototype:void 0,On=fn?fn.valueOf:void 0;function sn(Ur){var tn=-1,hn=Ur?Ur.length:0;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function Mn(){this.__data__=Tn?Tn(null):{}}function so(Ur){return this.has(Ur)&&delete this.__data__[Ur]}function In(Ur){var tn=this.__data__;if(Tn){var hn=tn[Ur];return hn===mt?void 0:hn}return qr.call(tn,Ur)?tn[Ur]:void 0}function jn(Ur){var tn=this.__data__;return Tn?tn[Ur]!==void 0:qr.call(tn,Ur)}function wo(Ur,tn){var hn=this.__data__;return hn[Ur]=Tn&&tn===void 0?mt:tn,this}sn.prototype.clear=Mn,sn.prototype.delete=so,sn.prototype.get=In,sn.prototype.has=jn,sn.prototype.set=wo;function wn(Ur){var tn=-1,hn=Ur?Ur.length:0;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function Dn(){this.__data__=[]}function Eo(Ur){var tn=this.__data__,hn=yo(tn,Ur);if(hn<0)return!1;var Hn=tn.length-1;return hn==Hn?tn.pop():Wr.call(tn,hn,1),!0}function kn(Ur){var tn=this.__data__,hn=yo(tn,Ur);return hn<0?void 0:tn[hn][1]}function Ln(Ur){return yo(this.__data__,Ur)>-1}function ho(Ur,tn){var hn=this.__data__,Hn=yo(hn,Ur);return Hn<0?hn.push([Ur,tn]):hn[Hn][1]=tn,this}wn.prototype.clear=Dn,wn.prototype.delete=Eo,wn.prototype.get=kn,wn.prototype.has=Ln,wn.prototype.set=ho;function eo(Ur){var tn=-1,hn=Ur?Ur.length:0;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function po(){this.__data__={hash:new sn,map:new(pn||wn),string:new sn}}function uo(Ur){return Yn(this,Ur).delete(Ur)}function Co(Ur){return Yn(this,Ur).get(Ur)}function To(Ur){return Yn(this,Ur).has(Ur)}function Fo(Ur,tn){return Yn(this,Ur).set(Ur,tn),this}eo.prototype.clear=po,eo.prototype.delete=uo,eo.prototype.get=Co,eo.prototype.has=To,eo.prototype.set=Fo;function Vn(Ur){this.__data__=new wn(Ur)}function qn(){this.__data__=new wn}function Qn(Ur){return this.__data__.delete(Ur)}function oo(Ur){return this.__data__.get(Ur)}function bo(Ur){return this.__data__.has(Ur)}function Ro(Ur,tn){var hn=this.__data__;if(hn instanceof wn){var Hn=hn.__data__;if(!pn||Hn.length<ft-1)return Hn.push([Ur,tn]),this;hn=this.__data__=new eo(Hn)}return hn.set(Ur,tn),this}Vn.prototype.clear=qn,Vn.prototype.delete=Qn,Vn.prototype.get=oo,Vn.prototype.has=bo,Vn.prototype.set=Ro;function zo(Ur,tn){var hn=Nn(Ur)||Bs(Ur)?Lr(Ur.length,String):[],Hn=hn.length,Jo=!!Hn;for(var Bo in Ur)(tn||qr.call(Ur,Bo))&&!(Jo&&(Bo=="length"||No(Bo,Hn)))&&hn.push(Bo);return hn}function qo(Ur,tn,hn){var Hn=Ur[tn];(!(qr.call(Ur,tn)&&vs(Hn,hn))||hn===void 0&&!(tn in Ur))&&(Ur[tn]=hn)}function yo(Ur,tn){for(var hn=Ur.length;hn--;)if(vs(Ur[hn][0],tn))return hn;return-1}function mo(Ur,tn){return Ur&&En(tn,Vo(tn),Ur)}function Go(Ur,tn,hn,Hn,Jo,Bo,Ps){var Rs;if(Hn&&(Rs=Bo?Hn(Ur,Jo,Bo,Ps):Hn(Ur)),Rs!==void 0)return Rs;if(!So(Ur))return Ur;var El=Nn(Ur);if(El){if(Rs=Zo(Ur),!tn)return un(Ur,Rs)}else{var Ks=Mo(Ur),xl=Ks==Ft||Ks==Bt;if(Bn(Ur))return $s(Ur,tn);if(Ks==Vt||Ks==vt||xl&&!Bo){if(Yr(Ur))return Bo?Ur:{};if(Rs=Do(xl?{}:Ur),!tn)return Un(Ur,mo(Rs,Ur))}else{if(!ur[Ks])return Bo?Ur:{};Rs=_a(Ur,Ks,Go,tn)}}Ps||(Ps=new Vn);var _l=Ps.get(Ur);if(_l)return _l;if(Ps.set(Ur,Rs),!El)var Cl=hn?_n(Ur):Vo(Ur);return Nr(Cl||Ur,function(Tl,yl){Cl&&(yl=Tl,Tl=Ur[yl]),qo(Rs,yl,Go(Tl,tn,hn,Hn,yl,Ur,Ps))}),Rs}function Wo(Ur){return So(Ur)?Jr(Ur):{}}function Js(Ur,tn,hn){var Hn=tn(Ur);return Nn(Ur)?Hn:Or(Hn,hn(Ur))}function Yo(Ur){return nn.call(Ur)}function Oo(Ur){if(!So(Ur)||xo(Ur))return!1;var tn=Kn(Ur)||Yr(Ur)?Fr:dr;return tn.test(fo(Ur))}function Ko(Ur){if(!vo(Ur))return gn(Ur);var tn=[];for(var hn in Object(Ur))qr.call(Ur,hn)&&hn!="constructor"&&tn.push(hn);return tn}function $s(Ur,tn){if(tn)return Ur.slice();var hn=new Ur.constructor(Ur.length);return Ur.copy(hn),hn}function ps(Ur){var tn=new Ur.constructor(Ur.byteLength);return new Sr(tn).set(new Sr(Ur)),tn}function Lo(Ur,tn){var hn=tn?ps(Ur.buffer):Ur.buffer;return new Ur.constructor(hn,Ur.byteOffset,Ur.byteLength)}function ko(Ur,tn,hn){var Hn=tn?hn(Qr(Ur),!0):Qr(Ur);return jr(Hn,Tr,new Ur.constructor)}function Ho(Ur){var tn=new Ur.constructor(Ur.source,ir.exec(Ur));return tn.lastIndex=Ur.lastIndex,tn}function Fs(Ur,tn,hn){var Hn=tn?hn(Hr(Ur),!0):Hr(Ur);return jr(Hn,xr,new Ur.constructor)}function dn(Ur){return On?Object(On.call(Ur)):{}}function en(Ur,tn){var hn=tn?ps(Ur.buffer):Ur.buffer;return new Ur.constructor(hn,Ur.byteOffset,Ur.length)}function un(Ur,tn){var hn=-1,Hn=Ur.length;for(tn||(tn=Array(Hn));++hn<Hn;)tn[hn]=Ur[hn];return tn}function En(Ur,tn,hn,Hn){hn||(hn={});for(var Jo=-1,Bo=tn.length;++Jo<Bo;){var Ps=tn[Jo],Rs=Hn?Hn(hn[Ps],Ur[Ps],Ps,hn,Ur):void 0;qo(hn,Ps,Rs===void 0?Ur[Ps]:Rs)}return hn}function Un(Ur,tn){return En(Ur,Wn(Ur),tn)}function _n(Ur){return Js(Ur,Vo,Wn)}function Yn(Ur,tn){var hn=Ur.__data__;return Ws(tn)?hn[typeof tn=="string"?"string":"hash"]:hn.map}function $n(Ur,tn){var hn=Vr(Ur,tn);return Oo(hn)?hn:void 0}var Wn=xn?Xr(xn,Object):qs,Mo=Yo;(zn&&Mo(new zn(new ArrayBuffer(1)))!=sr||pn&&Mo(new pn)!=Gt||vn&&Mo(vn.resolve())!=Xt||Gn&&Mo(new Gn)!=nr||yn&&Mo(new yn)!=or)&&(Mo=function(Ur){var tn=nn.call(Ur),hn=tn==Vt?Ur.constructor:void 0,Hn=hn?fo(hn):void 0;if(Hn)switch(Hn){case Jn:return sr;case mn:return Gt;case Cn:return Xt;case io:return nr;case cn:return or}return tn});function Zo(Ur){var tn=Ur.length,hn=Ur.constructor(tn);return tn&&typeof Ur[0]=="string"&&qr.call(Ur,"index")&&(hn.index=Ur.index,hn.input=Ur.input),hn}function Do(Ur){return typeof Ur.constructor=="function"&&!vo(Ur)?Wo(Pr(Ur)):{}}function _a(Ur,tn,hn,Hn){var Jo=Ur.constructor;switch(tn){case ar:return ps(Ur);case _t:case Rt:return new Jo(+Ur);case sr:return Lo(Ur,Hn);case lr:case fr:case gr:case vr:case Ut:case Zt:case Kt:case qt:case Ht:return en(Ur,Hn);case Gt:return ko(Ur,Hn,hn);case Wt:case rr:return new Jo(Ur);case er:return Ho(Ur);case nr:return Fs(Ur,Hn,hn);case tr:return dn(Ur)}}function No(Ur,tn){return tn=tn==null?bt:tn,!!tn&&(typeof Ur=="number"||pr.test(Ur))&&Ur>-1&&Ur%1==0&&Ur<tn}function Ws(Ur){var tn=typeof Ur;return tn=="string"||tn=="number"||tn=="symbol"||tn=="boolean"?Ur!=="__proto__":Ur===null}function xo(Ur){return!!$r&&$r in Ur}function vo(Ur){var tn=Ur&&Ur.constructor,hn=typeof tn=="function"&&tn.prototype||Dr;return Ur===hn}function fo(Ur){if(Ur!=null){try{return Rr.call(Ur)}catch(tn){}try{return Ur+""}catch(tn){}}return""}function Uo(Ur){return Go(Ur,!0,!0)}function vs(Ur,tn){return Ur===tn||Ur!==Ur&&tn!==tn}function Bs(Ur){return An(Ur)&&qr.call(Ur,"callee")&&(!Gr.call(Ur,"callee")||nn.call(Ur)==vt)}var Nn=Array.isArray;function Pn(Ur){return Ur!=null&&Io(Ur.length)&&!Kn(Ur)}function An(Ur){return ga(Ur)&&Pn(Ur)}var Bn=ln||Po;function Kn(Ur){var tn=So(Ur)?nn.call(Ur):"";return tn==Ft||tn==Bt}function Io(Ur){return typeof Ur=="number"&&Ur>-1&&Ur%1==0&&Ur<=bt}function So(Ur){var tn=typeof Ur;return!!Ur&&(tn=="object"||tn=="function")}function ga(Ur){return!!Ur&&typeof Ur=="object"}function Vo(Ur){return Pn(Ur)?zo(Ur):Ko(Ur)}function qs(){return[]}function Po(){return!1}pt.exports=Uo})(lodash_clonedeep,lodash_clonedeep.exports);var lodash_clonedeepExports=lodash_clonedeep.exports,lodash_isequal={exports:{}};lodash_isequal.exports;(function(pt,_e){var ft=200,mt="__lodash_hash_undefined__",bt=1,vt=2,$t=9007199254740991,_t="[object Arguments]",Rt="[object Array]",Pt="[object AsyncFunction]",Ft="[object Boolean]",Bt="[object Date]",Gt="[object Error]",Wt="[object Function]",Vt="[object GeneratorFunction]",Xt="[object Map]",er="[object Number]",nr="[object Null]",rr="[object Object]",tr="[object Promise]",or="[object Proxy]",ar="[object RegExp]",sr="[object Set]",lr="[object String]",fr="[object Symbol]",gr="[object Undefined]",vr="[object WeakMap]",Ut="[object ArrayBuffer]",Zt="[object DataView]",Kt="[object Float32Array]",qt="[object Float64Array]",Ht="[object Int8Array]",Jt="[object Int16Array]",ir="[object Int32Array]",dr="[object Uint8Array]",pr="[object Uint8ClampedArray]",ur="[object Uint16Array]",hr="[object Uint32Array]",mr=/[\\^$.*+?()[\]{}|]/g,yr=/^\[object .+?Constructor\]$/,Er=/^(?:0|[1-9]\d*)$/,Ir={};Ir[Kt]=Ir[qt]=Ir[Ht]=Ir[Jt]=Ir[ir]=Ir[dr]=Ir[pr]=Ir[ur]=Ir[hr]=!0,Ir[_t]=Ir[Rt]=Ir[Ut]=Ir[Ft]=Ir[Zt]=Ir[Bt]=Ir[Gt]=Ir[Wt]=Ir[Xt]=Ir[er]=Ir[rr]=Ir[ar]=Ir[sr]=Ir[lr]=Ir[vr]=!1;var Mr=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Tr=typeof self=="object"&&self&&self.Object===Object&&self,xr=Mr||Tr||Function("return this")(),Nr=_e&&!_e.nodeType&&_e,Or=Nr&&!0&&pt&&!pt.nodeType&&pt,jr=Or&&Or.exports===Nr,Lr=jr&&Mr.process,Vr=function(){try{return Lr&&Lr.binding&&Lr.binding("util")}catch(Ur){}}(),Yr=Vr&&Vr.isTypedArray;function Qr(Ur,tn){for(var hn=-1,Hn=Ur==null?0:Ur.length,Jo=0,Bo=[];++hn<Hn;){var Ps=Ur[hn];tn(Ps,hn,Ur)&&(Bo[Jo++]=Ps)}return Bo}function Xr(Ur,tn){for(var hn=-1,Hn=tn.length,Jo=Ur.length;++hn<Hn;)Ur[Jo+hn]=tn[hn];return Ur}function Hr(Ur,tn){for(var hn=-1,Hn=Ur==null?0:Ur.length;++hn<Hn;)if(tn(Ur[hn],hn,Ur))return!0;return!1}function Zr(Ur,tn){for(var hn=-1,Hn=Array(Ur);++hn<Ur;)Hn[hn]=tn(hn);return Hn}function Cr(Ur){return function(tn){return Ur(tn)}}function Dr(Ur,tn){return Ur.has(tn)}function kr(Ur,tn){return Ur==null?void 0:Ur[tn]}function $r(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn,Jo){hn[++tn]=[Jo,Hn]}),hn}function Rr(Ur,tn){return function(hn){return Ur(tn(hn))}}function qr(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn){hn[++tn]=Hn}),hn}var nn=Array.prototype,Fr=Function.prototype,zr=Object.prototype,Ar=xr["__core-js_shared__"],Sr=Fr.toString,Pr=zr.hasOwnProperty,Jr=function(){var Ur=/[^.]+$/.exec(Ar&&Ar.keys&&Ar.keys.IE_PROTO||"");return Ur?"Symbol(src)_1."+Ur:""}(),Gr=zr.toString,Wr=RegExp("^"+Sr.call(Pr).replace(mr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xn=jr?xr.Buffer:void 0,ln=xr.Symbol,gn=xr.Uint8Array,zn=zr.propertyIsEnumerable,pn=nn.splice,vn=ln?ln.toStringTag:void 0,Gn=Object.getOwnPropertySymbols,yn=xn?xn.isBuffer:void 0,Tn=Rr(Object.keys,Object),Jn=Wn(xr,"DataView"),mn=Wn(xr,"Map"),Cn=Wn(xr,"Promise"),io=Wn(xr,"Set"),cn=Wn(xr,"WeakMap"),fn=Wn(Object,"create"),On=fo(Jn),sn=fo(mn),Mn=fo(Cn),so=fo(io),In=fo(cn),jn=ln?ln.prototype:void 0,wo=jn?jn.valueOf:void 0;function wn(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function Dn(){this.__data__=fn?fn(null):{},this.size=0}function Eo(Ur){var tn=this.has(Ur)&&delete this.__data__[Ur];return this.size-=tn?1:0,tn}function kn(Ur){var tn=this.__data__;if(fn){var hn=tn[Ur];return hn===mt?void 0:hn}return Pr.call(tn,Ur)?tn[Ur]:void 0}function Ln(Ur){var tn=this.__data__;return fn?tn[Ur]!==void 0:Pr.call(tn,Ur)}function ho(Ur,tn){var hn=this.__data__;return this.size+=this.has(Ur)?0:1,hn[Ur]=fn&&tn===void 0?mt:tn,this}wn.prototype.clear=Dn,wn.prototype.delete=Eo,wn.prototype.get=kn,wn.prototype.has=Ln,wn.prototype.set=ho;function eo(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function po(){this.__data__=[],this.size=0}function uo(Ur){var tn=this.__data__,hn=$s(tn,Ur);if(hn<0)return!1;var Hn=tn.length-1;return hn==Hn?tn.pop():pn.call(tn,hn,1),--this.size,!0}function Co(Ur){var tn=this.__data__,hn=$s(tn,Ur);return hn<0?void 0:tn[hn][1]}function To(Ur){return $s(this.__data__,Ur)>-1}function Fo(Ur,tn){var hn=this.__data__,Hn=$s(hn,Ur);return Hn<0?(++this.size,hn.push([Ur,tn])):hn[Hn][1]=tn,this}eo.prototype.clear=po,eo.prototype.delete=uo,eo.prototype.get=Co,eo.prototype.has=To,eo.prototype.set=Fo;function Vn(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function qn(){this.size=0,this.__data__={hash:new wn,map:new(mn||eo),string:new wn}}function Qn(Ur){var tn=$n(this,Ur).delete(Ur);return this.size-=tn?1:0,tn}function oo(Ur){return $n(this,Ur).get(Ur)}function bo(Ur){return $n(this,Ur).has(Ur)}function Ro(Ur,tn){var hn=$n(this,Ur),Hn=hn.size;return hn.set(Ur,tn),this.size+=hn.size==Hn?0:1,this}Vn.prototype.clear=qn,Vn.prototype.delete=Qn,Vn.prototype.get=oo,Vn.prototype.has=bo,Vn.prototype.set=Ro;function zo(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.__data__=new Vn;++tn<hn;)this.add(Ur[tn])}function qo(Ur){return this.__data__.set(Ur,mt),this}function yo(Ur){return this.__data__.has(Ur)}zo.prototype.add=zo.prototype.push=qo,zo.prototype.has=yo;function mo(Ur){var tn=this.__data__=new eo(Ur);this.size=tn.size}function Go(){this.__data__=new eo,this.size=0}function Wo(Ur){var tn=this.__data__,hn=tn.delete(Ur);return this.size=tn.size,hn}function Js(Ur){return this.__data__.get(Ur)}function Yo(Ur){return this.__data__.has(Ur)}function Oo(Ur,tn){var hn=this.__data__;if(hn instanceof eo){var Hn=hn.__data__;if(!mn||Hn.length<ft-1)return Hn.push([Ur,tn]),this.size=++hn.size,this;hn=this.__data__=new Vn(Hn)}return hn.set(Ur,tn),this.size=hn.size,this}mo.prototype.clear=Go,mo.prototype.delete=Wo,mo.prototype.get=Js,mo.prototype.has=Yo,mo.prototype.set=Oo;function Ko(Ur,tn){var hn=Bs(Ur),Hn=!hn&&vs(Ur),Jo=!hn&&!Hn&&Pn(Ur),Bo=!hn&&!Hn&&!Jo&&ga(Ur),Ps=hn||Hn||Jo||Bo,Rs=Ps?Zr(Ur.length,String):[],El=Rs.length;for(var Ks in Ur)(tn||Pr.call(Ur,Ks))&&!(Ps&&(Ks=="length"||Jo&&(Ks=="offset"||Ks=="parent")||Bo&&(Ks=="buffer"||Ks=="byteLength"||Ks=="byteOffset")||_a(Ks,El)))&&Rs.push(Ks);return Rs}function $s(Ur,tn){for(var hn=Ur.length;hn--;)if(Uo(Ur[hn][0],tn))return hn;return-1}function ps(Ur,tn,hn){var Hn=tn(Ur);return Bs(Ur)?Hn:Xr(Hn,hn(Ur))}function Lo(Ur){return Ur==null?Ur===void 0?gr:nr:vn&&vn in Object(Ur)?Mo(Ur):vo(Ur)}function ko(Ur){return So(Ur)&&Lo(Ur)==_t}function Ho(Ur,tn,hn,Hn,Jo){return Ur===tn?!0:Ur==null||tn==null||!So(Ur)&&!So(tn)?Ur!==Ur&&tn!==tn:Fs(Ur,tn,hn,Hn,Ho,Jo)}function Fs(Ur,tn,hn,Hn,Jo,Bo){var Ps=Bs(Ur),Rs=Bs(tn),El=Ps?Rt:Do(Ur),Ks=Rs?Rt:Do(tn);El=El==_t?rr:El,Ks=Ks==_t?rr:Ks;var xl=El==rr,_l=Ks==rr,Cl=El==Ks;if(Cl&&Pn(Ur)){if(!Pn(tn))return!1;Ps=!0,xl=!1}if(Cl&&!xl)return Bo||(Bo=new mo),Ps||ga(Ur)?En(Ur,tn,hn,Hn,Jo,Bo):Un(Ur,tn,El,hn,Hn,Jo,Bo);if(!(hn&bt)){var Tl=xl&&Pr.call(Ur,"__wrapped__"),yl=_l&&Pr.call(tn,"__wrapped__");if(Tl||yl){var ap=Tl?Ur.value():Ur,sp=yl?tn.value():tn;return Bo||(Bo=new mo),Jo(ap,sp,hn,Hn,Bo)}}return Cl?(Bo||(Bo=new mo),_n(Ur,tn,hn,Hn,Jo,Bo)):!1}function dn(Ur){if(!Io(Ur)||Ws(Ur))return!1;var tn=Bn(Ur)?Wr:yr;return tn.test(fo(Ur))}function en(Ur){return So(Ur)&&Kn(Ur.length)&&!!Ir[Lo(Ur)]}function un(Ur){if(!xo(Ur))return Tn(Ur);var tn=[];for(var hn in Object(Ur))Pr.call(Ur,hn)&&hn!="constructor"&&tn.push(hn);return tn}function En(Ur,tn,hn,Hn,Jo,Bo){var Ps=hn&bt,Rs=Ur.length,El=tn.length;if(Rs!=El&&!(Ps&&El>Rs))return!1;var Ks=Bo.get(Ur);if(Ks&&Bo.get(tn))return Ks==tn;var xl=-1,_l=!0,Cl=hn&vt?new zo:void 0;for(Bo.set(Ur,tn),Bo.set(tn,Ur);++xl<Rs;){var Tl=Ur[xl],yl=tn[xl];if(Hn)var ap=Ps?Hn(yl,Tl,xl,tn,Ur,Bo):Hn(Tl,yl,xl,Ur,tn,Bo);if(ap!==void 0){if(ap)continue;_l=!1;break}if(Cl){if(!Hr(tn,function(sp,Jl){if(!Dr(Cl,Jl)&&(Tl===sp||Jo(Tl,sp,hn,Hn,Bo)))return Cl.push(Jl)})){_l=!1;break}}else if(!(Tl===yl||Jo(Tl,yl,hn,Hn,Bo))){_l=!1;break}}return Bo.delete(Ur),Bo.delete(tn),_l}function Un(Ur,tn,hn,Hn,Jo,Bo,Ps){switch(hn){case Zt:if(Ur.byteLength!=tn.byteLength||Ur.byteOffset!=tn.byteOffset)return!1;Ur=Ur.buffer,tn=tn.buffer;case Ut:return!(Ur.byteLength!=tn.byteLength||!Bo(new gn(Ur),new gn(tn)));case Ft:case Bt:case er:return Uo(+Ur,+tn);case Gt:return Ur.name==tn.name&&Ur.message==tn.message;case ar:case lr:return Ur==tn+"";case Xt:var Rs=$r;case sr:var El=Hn&bt;if(Rs||(Rs=qr),Ur.size!=tn.size&&!El)return!1;var Ks=Ps.get(Ur);if(Ks)return Ks==tn;Hn|=vt,Ps.set(Ur,tn);var xl=En(Rs(Ur),Rs(tn),Hn,Jo,Bo,Ps);return Ps.delete(Ur),xl;case fr:if(wo)return wo.call(Ur)==wo.call(tn)}return!1}function _n(Ur,tn,hn,Hn,Jo,Bo){var Ps=hn&bt,Rs=Yn(Ur),El=Rs.length,Ks=Yn(tn),xl=Ks.length;if(El!=xl&&!Ps)return!1;for(var _l=El;_l--;){var Cl=Rs[_l];if(!(Ps?Cl in tn:Pr.call(tn,Cl)))return!1}var Tl=Bo.get(Ur);if(Tl&&Bo.get(tn))return Tl==tn;var yl=!0;Bo.set(Ur,tn),Bo.set(tn,Ur);for(var ap=Ps;++_l<El;){Cl=Rs[_l];var sp=Ur[Cl],Jl=tn[Cl];if(Hn)var Fn=Ps?Hn(Jl,sp,Cl,tn,Ur,Bo):Hn(sp,Jl,Cl,Ur,tn,Bo);if(!(Fn===void 0?sp===Jl||Jo(sp,Jl,hn,Hn,Bo):Fn)){yl=!1;break}ap||(ap=Cl=="constructor")}if(yl&&!ap){var Zn=Ur.constructor,Xn=tn.constructor;Zn!=Xn&&"constructor"in Ur&&"constructor"in tn&&!(typeof Zn=="function"&&Zn instanceof Zn&&typeof Xn=="function"&&Xn instanceof Xn)&&(yl=!1)}return Bo.delete(Ur),Bo.delete(tn),yl}function Yn(Ur){return ps(Ur,Vo,Zo)}function $n(Ur,tn){var hn=Ur.__data__;return No(tn)?hn[typeof tn=="string"?"string":"hash"]:hn.map}function Wn(Ur,tn){var hn=kr(Ur,tn);return dn(hn)?hn:void 0}function Mo(Ur){var tn=Pr.call(Ur,vn),hn=Ur[vn];try{Ur[vn]=void 0;var Hn=!0}catch(Bo){}var Jo=Gr.call(Ur);return Hn&&(tn?Ur[vn]=hn:delete Ur[vn]),Jo}var Zo=Gn?function(Ur){return Ur==null?[]:(Ur=Object(Ur),Qr(Gn(Ur),function(tn){return zn.call(Ur,tn)}))}:qs,Do=Lo;(Jn&&Do(new Jn(new ArrayBuffer(1)))!=Zt||mn&&Do(new mn)!=Xt||Cn&&Do(Cn.resolve())!=tr||io&&Do(new io)!=sr||cn&&Do(new cn)!=vr)&&(Do=function(Ur){var tn=Lo(Ur),hn=tn==rr?Ur.constructor:void 0,Hn=hn?fo(hn):"";if(Hn)switch(Hn){case On:return Zt;case sn:return Xt;case Mn:return tr;case so:return sr;case In:return vr}return tn});function _a(Ur,tn){return tn=tn==null?$t:tn,!!tn&&(typeof Ur=="number"||Er.test(Ur))&&Ur>-1&&Ur%1==0&&Ur<tn}function No(Ur){var tn=typeof Ur;return tn=="string"||tn=="number"||tn=="symbol"||tn=="boolean"?Ur!=="__proto__":Ur===null}function Ws(Ur){return!!Jr&&Jr in Ur}function xo(Ur){var tn=Ur&&Ur.constructor,hn=typeof tn=="function"&&tn.prototype||zr;return Ur===hn}function vo(Ur){return Gr.call(Ur)}function fo(Ur){if(Ur!=null){try{return Sr.call(Ur)}catch(tn){}try{return Ur+""}catch(tn){}}return""}function Uo(Ur,tn){return Ur===tn||Ur!==Ur&&tn!==tn}var vs=ko(function(){return arguments}())?ko:function(Ur){return So(Ur)&&Pr.call(Ur,"callee")&&!zn.call(Ur,"callee")},Bs=Array.isArray;function Nn(Ur){return Ur!=null&&Kn(Ur.length)&&!Bn(Ur)}var Pn=yn||Po;function An(Ur,tn){return Ho(Ur,tn)}function Bn(Ur){if(!Io(Ur))return!1;var tn=Lo(Ur);return tn==Wt||tn==Vt||tn==Pt||tn==or}function Kn(Ur){return typeof Ur=="number"&&Ur>-1&&Ur%1==0&&Ur<=$t}function Io(Ur){var tn=typeof Ur;return Ur!=null&&(tn=="object"||tn=="function")}function So(Ur){return Ur!=null&&typeof Ur=="object"}var ga=Yr?Cr(Yr):en;function Vo(Ur){return Nn(Ur)?Ko(Ur):un(Ur)}function qs(){return[]}function Po(){return!1}pt.exports=An})(lodash_isequal,lodash_isequal.exports);var lodash_isequalExports=lodash_isequal.exports,AttributeMap$1={};Object.defineProperty(AttributeMap$1,"__esModule",{value:!0});const cloneDeep=lodash_clonedeepExports,isEqual=lodash_isequalExports;var AttributeMap;(function(pt){function _e(vt={},$t={},_t=!1){typeof vt!="object"&&(vt={}),typeof $t!="object"&&($t={});let Rt=cloneDeep($t);_t||(Rt=Object.keys(Rt).reduce((Pt,Ft)=>(Rt[Ft]!=null&&(Pt[Ft]=Rt[Ft]),Pt),{}));for(const Pt in vt)vt[Pt]!==void 0&&$t[Pt]===void 0&&(Rt[Pt]=vt[Pt]);return Object.keys(Rt).length>0?Rt:void 0}pt.compose=_e;function ft(vt={},$t={}){typeof vt!="object"&&(vt={}),typeof $t!="object"&&($t={});const _t=Object.keys(vt).concat(Object.keys($t)).reduce((Rt,Pt)=>(isEqual(vt[Pt],$t[Pt])||(Rt[Pt]=$t[Pt]===void 0?null:$t[Pt]),Rt),{});return Object.keys(_t).length>0?_t:void 0}pt.diff=ft;function mt(vt={},$t={}){vt=vt||{};const _t=Object.keys($t).reduce((Rt,Pt)=>($t[Pt]!==vt[Pt]&&vt[Pt]!==void 0&&(Rt[Pt]=$t[Pt]),Rt),{});return Object.keys(vt).reduce((Rt,Pt)=>(vt[Pt]!==$t[Pt]&&$t[Pt]===void 0&&(Rt[Pt]=null),Rt),_t)}pt.invert=mt;function bt(vt,$t,_t=!1){if(typeof vt!="object")return $t;if(typeof $t!="object")return;if(!_t)return $t;const Rt=Object.keys($t).reduce((Pt,Ft)=>(vt[Ft]===void 0&&(Pt[Ft]=$t[Ft]),Pt),{});return Object.keys(Rt).length>0?Rt:void 0}pt.transform=bt})(AttributeMap||(AttributeMap={}));AttributeMap$1.default=AttributeMap;var Op$1={};Object.defineProperty(Op$1,"__esModule",{value:!0});var Op;(function(pt){function _e(ft){return typeof ft.delete=="number"?ft.delete:typeof ft.retain=="number"?ft.retain:typeof ft.retain=="object"&&ft.retain!==null?1:typeof ft.insert=="string"?ft.insert.length:1}pt.length=_e})(Op||(Op={}));Op$1.default=Op;var OpIterator={};Object.defineProperty(OpIterator,"__esModule",{value:!0});const Op_1=Op$1;class Iterator{constructor(_e){this.ops=_e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(_e){_e||(_e=1/0);const ft=this.ops[this.index];if(ft){const mt=this.offset,bt=Op_1.default.length(ft);if(_e>=bt-mt?(_e=bt-mt,this.index+=1,this.offset=0):this.offset+=_e,typeof ft.delete=="number")return{delete:_e};{const vt={};return ft.attributes&&(vt.attributes=ft.attributes),typeof ft.retain=="number"?vt.retain=_e:typeof ft.retain=="object"&&ft.retain!==null?vt.retain=ft.retain:typeof ft.insert=="string"?vt.insert=ft.insert.substr(mt,_e):vt.insert=ft.insert,vt}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?Op_1.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const _e=this.ops[this.index];return _e?typeof _e.delete=="number"?"delete":typeof _e.retain=="number"||typeof _e.retain=="object"&&_e.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const _e=this.offset,ft=this.index,mt=this.next(),bt=this.ops.slice(this.index);return this.offset=_e,this.index=ft,[mt].concat(bt)}}else return[]}}OpIterator.default=Iterator;(function(pt,_e){Object.defineProperty(_e,"__esModule",{value:!0}),_e.AttributeMap=_e.OpIterator=_e.Op=void 0;const ft=diff_1,mt=lodash_clonedeepExports,bt=lodash_isequalExports,vt=AttributeMap$1;_e.AttributeMap=vt.default;const $t=Op$1;_e.Op=$t.default;const _t=OpIterator;_e.OpIterator=_t.default;const Rt=String.fromCharCode(0),Pt=(Bt,Gt)=>{if(typeof Bt!="object"||Bt===null)throw new Error(`cannot retain a ${typeof Bt}`);if(typeof Gt!="object"||Gt===null)throw new Error(`cannot retain a ${typeof Gt}`);const Wt=Object.keys(Bt)[0];if(!Wt||Wt!==Object.keys(Gt)[0])throw new Error(`embed types not matched: ${Wt} != ${Object.keys(Gt)[0]}`);return[Wt,Bt[Wt],Gt[Wt]]};class Ft{constructor(Gt){Array.isArray(Gt)?this.ops=Gt:Gt!=null&&Array.isArray(Gt.ops)?this.ops=Gt.ops:this.ops=[]}static registerEmbed(Gt,Wt){this.handlers[Gt]=Wt}static unregisterEmbed(Gt){delete this.handlers[Gt]}static getHandler(Gt){const Wt=this.handlers[Gt];if(!Wt)throw new Error(`no handlers for embed type "${Gt}"`);return Wt}insert(Gt,Wt){const Vt={};return typeof Gt=="string"&&Gt.length===0?this:(Vt.insert=Gt,Wt!=null&&typeof Wt=="object"&&Object.keys(Wt).length>0&&(Vt.attributes=Wt),this.push(Vt))}delete(Gt){return Gt<=0?this:this.push({delete:Gt})}retain(Gt,Wt){if(typeof Gt=="number"&&Gt<=0)return this;const Vt={retain:Gt};return Wt!=null&&typeof Wt=="object"&&Object.keys(Wt).length>0&&(Vt.attributes=Wt),this.push(Vt)}push(Gt){let Wt=this.ops.length,Vt=this.ops[Wt-1];if(Gt=mt(Gt),typeof Vt=="object"){if(typeof Gt.delete=="number"&&typeof Vt.delete=="number")return this.ops[Wt-1]={delete:Vt.delete+Gt.delete},this;if(typeof Vt.delete=="number"&&Gt.insert!=null&&(Wt-=1,Vt=this.ops[Wt-1],typeof Vt!="object"))return this.ops.unshift(Gt),this;if(bt(Gt.attributes,Vt.attributes)){if(typeof Gt.insert=="string"&&typeof Vt.insert=="string")return this.ops[Wt-1]={insert:Vt.insert+Gt.insert},typeof Gt.attributes=="object"&&(this.ops[Wt-1].attributes=Gt.attributes),this;if(typeof Gt.retain=="number"&&typeof Vt.retain=="number")return this.ops[Wt-1]={retain:Vt.retain+Gt.retain},typeof Gt.attributes=="object"&&(this.ops[Wt-1].attributes=Gt.attributes),this}}return Wt===this.ops.length?this.ops.push(Gt):this.ops.splice(Wt,0,Gt),this}chop(){const Gt=this.ops[this.ops.length-1];return Gt&&typeof Gt.retain=="number"&&!Gt.attributes&&this.ops.pop(),this}filter(Gt){return this.ops.filter(Gt)}forEach(Gt){this.ops.forEach(Gt)}map(Gt){return this.ops.map(Gt)}partition(Gt){const Wt=[],Vt=[];return this.forEach(Xt=>{(Gt(Xt)?Wt:Vt).push(Xt)}),[Wt,Vt]}reduce(Gt,Wt){return this.ops.reduce(Gt,Wt)}changeLength(){return this.reduce((Gt,Wt)=>Wt.insert?Gt+$t.default.length(Wt):Wt.delete?Gt-Wt.delete:Gt,0)}length(){return this.reduce((Gt,Wt)=>Gt+$t.default.length(Wt),0)}slice(Gt=0,Wt=1/0){const Vt=[],Xt=new _t.default(this.ops);let er=0;for(;er<Wt&&Xt.hasNext();){let nr;er<Gt?nr=Xt.next(Gt-er):(nr=Xt.next(Wt-er),Vt.push(nr)),er+=$t.default.length(nr)}return new Ft(Vt)}compose(Gt){const Wt=new _t.default(this.ops),Vt=new _t.default(Gt.ops),Xt=[],er=Vt.peek();if(er!=null&&typeof er.retain=="number"&&er.attributes==null){let rr=er.retain;for(;Wt.peekType()==="insert"&&Wt.peekLength()<=rr;)rr-=Wt.peekLength(),Xt.push(Wt.next());er.retain-rr>0&&Vt.next(er.retain-rr)}const nr=new Ft(Xt);for(;Wt.hasNext()||Vt.hasNext();)if(Vt.peekType()==="insert")nr.push(Vt.next());else if(Wt.peekType()==="delete")nr.push(Wt.next());else{const rr=Math.min(Wt.peekLength(),Vt.peekLength()),tr=Wt.next(rr),or=Vt.next(rr);if(or.retain){const ar={};if(typeof tr.retain=="number")ar.retain=typeof or.retain=="number"?rr:or.retain;else if(typeof or.retain=="number")tr.retain==null?ar.insert=tr.insert:ar.retain=tr.retain;else{const lr=tr.retain==null?"insert":"retain",[fr,gr,vr]=Pt(tr[lr],or.retain),Ut=Ft.getHandler(fr);ar[lr]={[fr]:Ut.compose(gr,vr,lr==="retain")}}const sr=vt.default.compose(tr.attributes,or.attributes,typeof tr.retain=="number");if(sr&&(ar.attributes=sr),nr.push(ar),!Vt.hasNext()&&bt(nr.ops[nr.ops.length-1],ar)){const lr=new Ft(Wt.rest());return nr.concat(lr).chop()}}else typeof or.delete=="number"&&(typeof tr.retain=="number"||typeof tr.retain=="object"&&tr.retain!==null)&&nr.push(or)}return nr.chop()}concat(Gt){const Wt=new Ft(this.ops.slice());return Gt.ops.length>0&&(Wt.push(Gt.ops[0]),Wt.ops=Wt.ops.concat(Gt.ops.slice(1))),Wt}diff(Gt,Wt){if(this.ops===Gt.ops)return new Ft;const Vt=[this,Gt].map(tr=>tr.map(or=>{if(or.insert!=null)return typeof or.insert=="string"?or.insert:Rt;const ar=tr===Gt?"on":"with";throw new Error("diff() called "+ar+" non-document")}).join("")),Xt=new Ft,er=ft(Vt[0],Vt[1],Wt,!0),nr=new _t.default(this.ops),rr=new _t.default(Gt.ops);return er.forEach(tr=>{let or=tr[1].length;for(;or>0;){let ar=0;switch(tr[0]){case ft.INSERT:ar=Math.min(rr.peekLength(),or),Xt.push(rr.next(ar));break;case ft.DELETE:ar=Math.min(or,nr.peekLength()),nr.next(ar),Xt.delete(ar);break;case ft.EQUAL:ar=Math.min(nr.peekLength(),rr.peekLength(),or);const sr=nr.next(ar),lr=rr.next(ar);bt(sr.insert,lr.insert)?Xt.retain(ar,vt.default.diff(sr.attributes,lr.attributes)):Xt.push(lr).delete(ar);break}or-=ar}}),Xt.chop()}eachLine(Gt,Wt=`
812
+ `+Ft:Ft;break;case"event":mt.event=Ft;break;case"id":pt(mt.id=Ft);break;case"retry":const Bt=parseInt(Ft,10);isNaN(Bt)||_e(mt.retry=Bt);break}}}}function h$1(pt,_e){const ft=new Uint8Array(pt.length+_e.length);return ft.set(pt),ft.set(_e,pt.length),ft}function y$1(){return{data:"",event:"",id:"",retry:void 0}}var W$1=Object.defineProperty,j=Object.defineProperties,k$2=Object.getOwnPropertyDescriptors,v$1=Object.getOwnPropertySymbols,A$2=Object.prototype.hasOwnProperty,R$2=Object.prototype.propertyIsEnumerable,I$2=(pt,_e,ft)=>_e in pt?W$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,E=(pt,_e)=>{for(var ft in _e||(_e={}))A$2.call(_e,ft)&&I$2(pt,ft,_e[ft]);if(v$1)for(var ft of v$1(_e))R$2.call(_e,ft)&&I$2(pt,ft,_e[ft]);return pt},$=(pt,_e)=>j(pt,k$2(_e)),q=(pt,_e)=>{var ft={};for(var mt in pt)A$2.call(pt,mt)&&_e.indexOf(mt)<0&&(ft[mt]=pt[mt]);if(pt!=null&&v$1)for(var mt of v$1(pt))_e.indexOf(mt)<0&&R$2.call(pt,mt)&&(ft[mt]=pt[mt]);return ft},B=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const g$2="text/event-stream",J=1e3,D$1="last-event-id";function X(pt,_e){var ft=_e,{signal:mt,headers:bt,onopen:vt,onmessage:$t,onclose:_t,onerror:Rt,openWhenHidden:Pt,fetch:Ft}=ft,Bt=q(ft,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((Gt,Wt)=>{const Vt=E({},bt);Vt.accept||(Vt.accept=g$2);let Xt;function er(){Xt.abort(),document.hidden||sr()}Pt||document.addEventListener("visibilitychange",er);let nr=J,rr=0;function tr(){document.removeEventListener("visibilitychange",er),window.clearTimeout(rr),Xt.abort()}mt==null||mt.addEventListener("abort",()=>{tr(),Gt()});const or=Ft!=null?Ft:window.fetch,ar=vt!=null?vt:K$1;function sr(){return B(this,null,function*(){var lr;Xt=new AbortController;try{const fr=yield or(pt,$(E({},Bt),{headers:Vt,signal:Xt.signal}));yield ar(fr),yield w$1(fr.body,g$3(k$3(gr=>{gr?Vt[D$1]=gr:delete Vt[D$1]},gr=>{nr=gr},$t))),_t==null||_t(),tr(),Gt()}catch(fr){if(!Xt.signal.aborted)try{const gr=(lr=Rt==null?void 0:Rt(fr))!=null?lr:nr;window.clearTimeout(rr),rr=window.setTimeout(sr,gr)}catch(gr){tr(),Wt(gr)}}})}sr()})}function K$1(pt){const _e=pt.headers.get("content-type");if(!(_e!=null&&_e.startsWith(g$2)))throw new Error(`Expected content-type to be ${g$2}, Actual: ${_e}`)}var I$1=Object.defineProperty,A$1=Object.defineProperties,P$1=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,b$2=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,R$1=(pt,_e,ft)=>_e in pt?I$1(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,u$1=(pt,_e)=>{for(var ft in _e||(_e={}))b$2.call(_e,ft)&&R$1(pt,ft,_e[ft]);if(w)for(var ft of w(_e))D.call(_e,ft)&&R$1(pt,ft,_e[ft]);return pt},y=(pt,_e)=>A$1(pt,P$1(_e)),M=(pt,_e,ft)=>(R$1(pt,typeof _e!="symbol"?_e+"":_e,ft),ft),f$1=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const p$2=new t$1("[DialogSession] ");let k$1=class extends ee$1{constructor(_e,ft="",mt,bt,vt,$t){super(_e,ft,mt,bt,vt,$t),M(this,"ctrl",new AbortController)}prepareConnection(){return new Promise(_e=>f$1(this,null,function*(){this._ready=!0,this.event.emit("ready"),this.frozen=!1,_e(!0)}))}postChatV2EventSource(_e,ft,mt,bt,vt,$t){return f$1(this,null,function*(){const _t={code:0,content:"",role:n$6.Robot,sessionId:ft,reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},Rt=y(u$1({},mt),{stream:c$3.stream});X(`${c$3.apiRoot}/chat/v2/chat?applicationId=${_e}&sessionId=${ft}`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:JSON.stringify(Rt),openWhenHidden:!0,signal:bt,onopen(Pt){return Pt.ok&&vt!=null&&vt.onopen&&vt.onopen(),Promise.resolve()},onmessage(Pt){if(!Pt.data.includes('{"code": ')){let Bt={};try{Bt=JSON.parse(Pt.data)}catch(Wt){}(Bt==null?void 0:Bt.mtype)==="search"?_t.searchReference.push(Bt):_t.content=_t.content+Pt.data;const Gt={content:_t.content,role:1,reference:_t.reference,searchReference:_t.searchReference,messageId:_t.messageId,sessionId:ft,messageTime:KM(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(vt==null?void 0:vt.onmessage)&&vt.onmessage(Gt)}const Ft=JSON.parse(Pt.data);if(_t.reference=Ft.data.reference,_t.searchReference=Ft.data.searchReference,_t.messageTime=Ft.data.messageTime,_t.messageId=Ft.data.messageId,_t.llmModel=Ft.data.llmModel,_t.content=Ft.data.content,_t.code=Ft.code,Ft.code===200){const Bt={code:_t.code,content:_t.content,role:1,reference:_t.reference,searchReference:_t.searchReference,messageId:_t.messageId,sessionId:ft,messageTime:_t.messageTime,isReplying:!0};vt!=null&&vt.onmessage&&vt.onmessage(Bt)}else return vt!=null&&vt.onclose&&vt.onclose(_t),$t&&$t({code:_t.code,message:_t.message})},onerror(){vt!=null&&vt.onerror&&vt.onerror()},onclose(){const Pt={code:_t.code,content:_t.content,role:1,reference:_t.reference,searchReference:_t.searchReference,messageId:_t.messageId,sessionId:ft,messageTime:_t.messageTime,comment:{isAgree:0},isReplying:!1,index:-1};vt!=null&&vt.onclose&&vt.onclose(Pt)}})})}postChatV3EventSource(_e,ft,mt,bt,vt,$t){return f$1(this,null,function*(){const _t=this,Rt={code:0,content:"",role:n$6.Robot,sessionId:ft,reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,reasoningContent:"",thinkingSecs:"",thinkingStatus:"",searchingStatus:""},Pt=y(u$1({},mt),{stream:c$3.stream});X(`${c$3.apiRoot}/chat/v3/chat?applicationId=${_e}&sessionId=${ft}`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:JSON.stringify(Pt),openWhenHidden:!0,signal:bt,onopen(Ft){return Ft.ok&&vt!=null&&vt.onopen&&vt.onopen(),Promise.resolve()},onmessage(Ft){if(!Ft.data&&!Ft.event&&!Ft.id&&!Ft.retry)return;let Bt={};try{Bt=JSON.parse(Ft.data)}catch(Gt){console.error("parse eventData to JSON failed. ",Ft.data)}if(Bt.code!==200)return Rt.index=-1,Rt.code=Bt.code,Rt.message=Bt.message,vt!=null&&vt.onmessage&&vt.onmessage(Rt),$t&&$t({code:Bt.code,message:Bt.message});_t.handleStreamAnswer(Bt,Rt),vt!=null&&vt.onmessage&&vt.onmessage(Rt)},onerror(){vt!=null&&vt.onerror&&vt.onerror()},onclose(){const Ft=y(u$1({},Rt),{isReplying:!1});vt!=null&&vt.onclose&&vt.onclose(Ft)}})})}sendQuestion(_e,ft){return f$1(this,null,function*(){const{content:mt,fileIds:bt,oldMessageId:vt,imageContent:$t}=_e,{stream:_t,referenceFirst:Rt}=ft;if(this.active||(yield this.activate()),this._id){const Pt=this.convertKnowledgesToChatFormat(this.knowledges);let Ft={content:mt,fileIds:bt,referenceFirst:Rt,oldMessageId:vt,promptVariables:this.promptVariables.filter(Bt=>Bt.type===k$5.User).reduce((Bt,Gt)=>y(u$1({},Bt),{[Gt.key]:Gt.value}),{}),systemPromptVariables:this.promptVariables.filter(Bt=>Bt.type===k$5.System).reduce((Bt,Gt)=>y(u$1({},Bt),{[Gt.key]:Gt.value}),{}),knowledges:Pt,enableTitleSummary:!0,imageContent:$t};this.ctrl=new AbortController,this.postChatV3EventSource(this._applicationId,this._id,Ft,this.ctrl.signal,{onopen:()=>{p$2.log("open",this.ctrl)},onmessage:Bt=>{if(this._stopAnswer)return;let Gt=this.messages[this.messages.length-1];Gt&&Gt.role===v$6.Robot?(Gt=u$1(u$1({},Gt),Bt),this.messages[this.messages.length-1]=Gt,this.event.emit("message:content",Gt),this.event.emit("message:updated",Gt)):(this.pushMessage(Bt),this.event.emit("message:content",Bt))},onclose:Bt=>f$1(this,null,function*(){this._stopAnswer||(p$2.log(Bt,"onclose"),this.event.emit("answer:finish",Bt))}),onerror:()=>{this._stopAnswer||(this.event.emit("message:error",""),this.frozen=!1)}})}})}stopAnswer(){this.ctrl.abort()}registerMcpFromClientConfig(){return f$1(this,null,function*(){throw new Error("MCP registration is not supported by DialogSession")})}addMcpServers(_e){return f$1(this,null,function*(){throw new Error("MCP registration is not supported by DialogSession")})}listMcpServers(){return f$1(this,null,function*(){throw new Error("MCP registration is not supported by DialogSession")})}convertKnowledgesToChatFormat(_e){return _e?_e.map(ft=>ft!=null&&ft.fileIds?{id:ft.id,fileIds:ft.fileIds}:ft.id):[]}};const e="@glodon-aiot/bot-client-sdk",t="3.23.0-alpha.4",i="glodoncv",s="aiot bot client js sdk",n="module",o=["aiot","bot","bot client","sdk"],l$1=["dist"],p$1="./dist/es/index.mjs",c="./dist/lib/index.js",r="./dist/src/index.d.ts",d$1={".":{import:"./dist/es/index.mjs",require:"./dist/lib/index.js",types:"./dist/src/index.d.ts"}},a="MIT",u={watch:"yarn build --watch",example:"node ./example/server.js",dev:"npm-run-all -p watch example",start:"vite",build:"tsc && vite build --mode prod && yarn build:cdn","build:npm":"tsc && vite build --mode prod","build:cdn":"tsc && vite build --mode prod --config ./vite.config.cdn.ts",preview:"vite preview",check:"yarn prettier --check .",write:"yarn prettier --write .",lint:"eslint --ext .tsx,.ts --fix ./example -c .eslintrc.js"},g$1={"@babel/core":"^7.20.12","@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.6","@types/express":"^4","@types/identity-obj-proxy":"^3","@typescript-eslint/eslint-plugin":"^5.35.1","@typescript-eslint/parser":"^5.35.1","babel-loader":"^8.3.0",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^22.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.0","eslint-plugin-storybook":"^0.6.10",express:"4","http-proxy-middleware":"^3.0.0","identity-obj-proxy":"^3.0.0","npm-run-all":"^4.1.5",prettier:"2.7.1","rollup-plugin-visualizer":"^6.0.1","socket.io":"^4.7.5","ts-node":"^10.9.2",typescript:"*",vite:"^4.1.1","vite-plugin-dts":"^4.3.0","vite-plugin-externalize-deps":"^0.9.0","vite-tsconfig-paths":"^5.1.4"},m$1={access:"public",registry:"https://registry.npmjs.org/"},b$1={"@glodon-aiot/apis":"^3.23.0-alpha.4",axios:"0.24.0",buffer:"^6.0.3",dayjs:"^1.11.13","js-base64":"^3.7.7","socket.io-client":"^4.7.5",uuid:"^11.1.0"},x$1={name:e,version:t,author:i,description:s,type:n,sideEffects:!1,keywords:o,files:l$1,module:p$1,main:c,typings:r,exports:d$1,license:a,scripts:u,devDependencies:g$1,"lint-staged":{"*.{js,css,md,jsx,less,ts,tsx,json}":"prettier --write"},publishConfig:m$1,dependencies:b$1};var k=Object.defineProperty,A=Object.defineProperties,x=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,g=(pt,_e,ft)=>_e in pt?k(pt,_e,{enumerable:!0,configurable:!0,writable:!0,value:ft}):pt[_e]=ft,p=(pt,_e)=>{for(var ft in _e||(_e={}))I.call(_e,ft)&&g(pt,ft,_e[ft]);if(v)for(var ft of v(_e))R.call(_e,ft)&&g(pt,ft,_e[ft]);return pt},f=(pt,_e)=>A(pt,x(_e)),d=(pt,_e,ft)=>(g(pt,typeof _e!="symbol"?_e+"":_e,ft),ft),l=(pt,_e,ft)=>new Promise((mt,bt)=>{var vt=Rt=>{try{_t(ft.next(Rt))}catch(Pt){bt(Pt)}},$t=Rt=>{try{_t(ft.throw(Rt))}catch(Pt){bt(Pt)}},_t=Rt=>Rt.done?mt(Rt.value):Promise.resolve(Rt.value).then(vt,$t);_t((ft=ft.apply(pt,_e)).next())});const b=new t$1("[BotClient] ");class W{constructor(_e,ft,mt=!0,bt={analytics:{enabled:!1}}){if(d(this,"event",new $$1),d(this,"cvforceApi"),d(this,"_applicationId"),d(this,"_application",null),d(this,"_sessions",[]),d(this,"_activeSession"),d(this,"_ready",!1),d(this,"_questionContextMaxLength",4e3),d(this,"_promptVariables",[]),this._token=_e,this.lazyload=mt,this.sdkConfigs=bt,w$3(ft),this._applicationId=c$2(_e).rid||c$3.applicationId,!this._applicationId)throw"token is not vaild";this.cvforceApi=this.getService(),this.loadApplication().then(vt=>{w$3(f(p({},ft),{stream:ft.stream===void 0?(vt==null?void 0:vt.type)===i$7.Dialog||(vt==null?void 0:vt.type)===i$7.Agent:ft.stream})),this.event.emit("ready")})}checkReady(){if(!this.ready)throw Error("client is not ready.")}get ready(){return this._ready}set ready(_e){this._ready=_e}get questionContextMaxLength(){return this.checkReady(),this._questionContextMaxLength}get promptVariables(){return this.checkReady(),this._promptVariables}get knowledges(){var _e;return this.checkReady(),(_e=this._application)==null?void 0:_e.arrange[0].knowledges}get sessions(){return this.checkReady(),this._sessions}set sessions(_e){this.checkReady(),this._sessions=_e,this.event.emit("sessions:updated",_e)}loadApplication(){return l(this,null,function*(){var _e,ft,mt,bt,vt;this._application=yield this.cvforceApi.getApplicationId(this._applicationId,{ui:(_e=this.sdkConfigs.ui)==null?void 0:_e.name,uiVersion:(ft=this.sdkConfigs.ui)==null?void 0:ft.version,sdkVersion:x$1.version}).then(_t=>(typeof _t.arrange[0].recommendQuestionOpen!="boolean"&&(_t.arrange[0].recommendQuestionOpen=!0),typeof _t.arrange[0].thinkingModeOpen!="boolean"&&(_t.arrange[0].thinkingModeOpen=!0),typeof _t.arrange[0].thinkingTextOpen!="boolean"&&(_t.arrange[0].thinkingTextOpen=!0),f(p({},_t),{arrange:[f(p({},_t.arrange[0]),{recommendQuestionOpen:c$3.loadRelatedQuesions&&_t.arrange[0].recommendQuestionOpen})]})));const $t=(vt=(bt=(mt=this._application)==null?void 0:mt.arrange)==null?void 0:bt[0])==null?void 0:vt.llmModel;return $t&&(this._questionContextMaxLength=yield this.cvforceApi.getBaseModel($t).then(_t=>_t.maxModelLength)),this._promptVariables=yield Promise.all([this.cvforceApi.getPrompts(this._applicationId,{type:k$5.User}),this.cvforceApi.getPrompts(this._applicationId,{type:k$5.System})]).then(([_t,Rt])=>[..._t,...Rt]),this._ready=!0,this.event.emit("application:loaded"),this._application})}getService(){return this.cvforceApi?this.cvforceApi:z(c$3.apiRoot,this.token,(_e,ft)=>b.error(ft))}get token(){return this._token}set token(_e){this.checkReady(),this._token=_e,this.ready=!1;const ft=c$2(_e).rid;this._applicationId!==ft&&(this._applicationId=ft,this._application=null,this.loadApplication().then(()=>{this.event.emit("ready")}),this.clean())}get applicationId(){return this._applicationId}get application(){return this.checkReady(),this._application}get activeSession(){var _e;return this.checkReady(),((_e=this._activeSession)==null?void 0:_e.id)||""}set activeSession(_e){this.checkReady(),this.loadSession(_e).then(ft=>{this._activeSession&&this._activeSession.id!==_e&&this._activeSession.inactivate(),this._activeSession=ft})}createSession(_e,ft,mt,bt,vt){return l(this,null,function*(){const $t=this;return new Promise((_t,Rt)=>{const Pt=Ft=>l(this,null,function*(){if(Ft===i$7.Agent)_t(new H(_e,ft,mt,bt,vt,$t));else if(Ft===i$7.Dialog)_t(new k$1(_e,ft,mt,bt,vt,$t));else throw Error(`不支持的应用类型:${Ft}`)});if(this.ready){if(!this._application)throw Error("client is not ready");Pt(this._application.type)}else this.event.on("ready",()=>{if(!this._application)throw Error("_application is null");Pt(this._application.type)},!0)})})}getSessions(_e){return l(this,null,function*(){return new Promise((ft,mt)=>{const bt=()=>this.cvforceApi.listSessions(this._applicationId,_e).then(vt=>l(this,null,function*(){const $t=[];for(const _t of vt){const Rt=this._sessions.find(Pt=>Pt.id===_t.id);if(Rt)Rt.data=_t,this._application?Rt.application=this._application:yield Rt.loadApplicationInfo(),$t.push(Rt);else{const Pt=yield this.createSession(this.token,_t.id,_t,this.lazyload,this._application||void 0);$t.push(Pt)}}if(_e!=null&&_e.pageSize){const _t=[...this._sessions,...$t],Rt=new Map;for(const Pt of _t)Rt.set(Pt.id,Pt);return this.sessions=Array.from(Rt.values()),this.sessions}else return this.sessions=$t,$t}));if(this.ready){if(!this._application)throw Error("_application is null");ft(bt())}else this.event.on("ready",()=>{if(!this._application)throw Error("_application is null");ft(bt())},!0)})})}loadSession(_e="",ft){return l(this,null,function*(){this.checkReady();let mt=this.sessions.find(bt=>bt.id===_e);if(mt||(mt=yield this.createSession(this.token,_e,ft),this._sessions.push(mt)),this._activeSession){if(this._activeSession===mt)return mt;this._activeSession.inactivate()}return mt.id?(this._activeSession=mt,yield mt.activate()):mt.addEventListener("data:loaded",()=>{this._activeSession!==mt&&(mt==null||mt.activate(),this._activeSession=mt)},!0),mt})}reload(){return this.loadApplication().then(()=>l(this,null,function*(){return yield this.getSessions(),this.event.emit("ready"),this}))}reloadSession(_e){return l(this,null,function*(){yield this.reload();let ft=this._sessions.find(mt=>mt.id===_e)||this._activeSession;if(!ft){console.warn("reloadSession session failed.");return}return yield ft.reload(),ft})}setTop(_e,ft,mt="top_time desc, sort_status desc, updated_at desc"){return l(this,null,function*(){let bt=_e?this._sessions.find(vt=>vt.id===_e):this._activeSession;if(!bt){console.warn("setTop session failed.");return}return yield bt.setTop(ft),this.getSessions({order:mt})})}addEventListener(_e,ft,mt=!1){if(typeof ft!="function")throw Error("event listener is not a function");if(mt){this.event.once(_e,ft);return}this.event.on(_e,ft)}removeEventListener(_e,ft){this.event.off(_e,ft)}removeSession(_e,ft){return l(this,null,function*(){this.checkReady();let mt=-1;if(typeof _e=="string"?mt=this._sessions.findIndex(bt=>bt.id===_e):mt=this._sessions.findIndex(bt=>bt.id===_e.id),mt>-1){const bt=this._sessions[mt];ft&&(yield bt.delete()),this._sessions.splice(mt,1)}else console.warn("session delete failed, session is not exist.")})}clean(){this._sessions.forEach(_e=>_e.destroy()),this.sessions=[]}}var isFunction$1=function(pt){return typeof pt=="function"},isString=function(pt){return typeof pt=="string"},isNumber=function(pt){return typeof pt=="number"},isDev=!1;const isDev$1=isDev;function useMemoizedFn(pt){isDev$1&&(isFunction$1(pt)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof pt)));var _e=reactExports.useRef(pt);_e.current=reactExports.useMemo(function(){return pt},[pt]);var ft=reactExports.useRef();return ft.current||(ft.current=function(){for(var mt=[],bt=0;bt<arguments.length;bt++)mt[bt]=arguments[bt];return _e.current.apply(this,mt)}),ft.current}function depsAreSame(pt,_e){if(pt===_e)return!0;for(var ft=0;ft<pt.length;ft++)if(!Object.is(pt[ft],_e[ft]))return!1;return!0}function useLatest(pt){var _e=reactExports.useRef(pt);return _e.current=pt,_e}var useUnmount=function(pt){isDev$1&&(isFunction$1(pt)||console.error("useUnmount expected parameter is a function, got ".concat(typeof pt)));var _e=useLatest(pt);reactExports.useEffect(function(){return function(){_e.current()}},[])};const useUnmount$1=useUnmount;var isBrowser=!!(typeof window!="undefined"&&window.document&&window.document.createElement);const isBrowser$1=isBrowser;function getTargetElement(pt,_e){if(isBrowser$1){if(!pt)return _e;var ft;return isFunction$1(pt)?ft=pt():"current"in pt?ft=pt.current:ft=pt,ft}}var createEffectWithTarget=function(pt){var _e=function(ft,mt,bt){var vt=reactExports.useRef(!1),$t=reactExports.useRef([]),_t=reactExports.useRef([]),Rt=reactExports.useRef();pt(function(){var Pt,Ft=Array.isArray(bt)?bt:[bt],Bt=Ft.map(function(Gt){return getTargetElement(Gt)});if(!vt.current){vt.current=!0,$t.current=Bt,_t.current=mt,Rt.current=ft();return}(Bt.length!==$t.current.length||!depsAreSame($t.current,Bt)||!depsAreSame(_t.current,mt))&&((Pt=Rt.current)===null||Pt===void 0||Pt.call(Rt),$t.current=Bt,_t.current=mt,Rt.current=ft())}),useUnmount$1(function(){var Pt;(Pt=Rt.current)===null||Pt===void 0||Pt.call(Rt),vt.current=!1})};return _e};const createEffectWithTarget$1=createEffectWithTarget;var useEffectWithTarget=createEffectWithTarget$1(reactExports.useEffect);const useEffectWithTarget$1=useEffectWithTarget;var depsEqual=function(pt,_e){return pt===void 0&&(pt=[]),_e===void 0&&(_e=[]),isEqual$4(pt,_e)},useDeepCompareEffectWithTarget=function(pt,_e,ft){var mt=reactExports.useRef(),bt=reactExports.useRef(0);depsEqual(_e,mt.current)||(bt.current+=1),mt.current=_e,useEffectWithTarget$1(pt,[bt.current],ft)};const useDeepCompareEffectWithTarget$1=useDeepCompareEffectWithTarget;var isAppleDevice=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?navigator==null?void 0:navigator.platform:"");const isAppleDevice$1=isAppleDevice;var aliasKeyCodeMap={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:isAppleDevice$1?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},modifierKey={ctrl:function(pt){return pt.ctrlKey},shift:function(pt){return pt.shiftKey},alt:function(pt){return pt.altKey},meta:function(pt){return pt.type==="keyup"?aliasKeyCodeMap.meta.includes(pt.keyCode):pt.metaKey}};function isValidKeyType(pt){return isString(pt)||isNumber(pt)}function countKeyByEvent(pt){var _e=Object.keys(modifierKey).reduce(function(ft,mt){return modifierKey[mt](pt)?ft+1:ft},0);return[16,17,18,91,92].includes(pt.keyCode)?_e:_e+1}function genFilterKey(pt,_e,ft){var mt,bt;if(!pt.key)return!1;if(isNumber(_e))return pt.keyCode===_e?_e:!1;var vt=_e.split("."),$t=0;try{for(var _t=__values(vt),Rt=_t.next();!Rt.done;Rt=_t.next()){var Pt=Rt.value,Ft=modifierKey[Pt],Bt=aliasKeyCodeMap[Pt.toLowerCase()];(Ft&&Ft(pt)||Bt&&Bt===pt.keyCode)&&$t++}}catch(Gt){mt={error:Gt}}finally{try{Rt&&!Rt.done&&(bt=_t.return)&&bt.call(_t)}finally{if(mt)throw mt.error}}return ft?$t===vt.length&&countKeyByEvent(pt)===vt.length?_e:!1:$t===vt.length?_e:!1}function genKeyFormatter(pt,_e){return isFunction$1(pt)?pt:isValidKeyType(pt)?function(ft){return genFilterKey(ft,pt,_e)}:Array.isArray(pt)?function(ft){return pt.find(function(mt){return genFilterKey(ft,mt,_e)})}:function(){return!!pt}}var defaultEvents=["keydown"];function useKeyPress(pt,_e,ft){var mt=ft||{},bt=mt.events,vt=bt===void 0?defaultEvents:bt,$t=mt.target,_t=mt.exactMatch,Rt=_t===void 0?!1:_t,Pt=mt.useCapture,Ft=Pt===void 0?!1:Pt,Bt=useLatest(_e),Gt=useLatest(pt);useDeepCompareEffectWithTarget$1(function(){var Wt,Vt,Xt,er=getTargetElement($t,window);if(er){var nr=function(ar){var sr,lr=genKeyFormatter(Gt.current,Rt),fr=lr(ar),gr=isValidKeyType(fr)?fr:ar.key;if(fr)return(sr=Bt.current)===null||sr===void 0?void 0:sr.call(Bt,ar,gr)};try{for(var rr=__values(vt),tr=rr.next();!tr.done;tr=rr.next()){var or=tr.value;(Xt=er==null?void 0:er.addEventListener)===null||Xt===void 0||Xt.call(er,or,nr,Ft)}}catch(ar){Wt={error:ar}}finally{try{tr&&!tr.done&&(Vt=rr.return)&&Vt.call(rr)}finally{if(Wt)throw Wt.error}}return function(){var ar,sr,lr;try{for(var fr=__values(vt),gr=fr.next();!gr.done;gr=fr.next()){var vr=gr.value;(lr=er==null?void 0:er.removeEventListener)===null||lr===void 0||lr.call(er,vr,nr,Ft)}}catch(Ut){ar={error:Ut}}finally{try{gr&&!gr.done&&(sr=fr.return)&&sr.call(fr)}finally{if(ar)throw ar.error}}}}},[vt],$t)}var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$1=root$1.Symbol;const Symbol$2=Symbol$1;var objectProto$f=Object.prototype,hasOwnProperty$c=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(pt){var _e=hasOwnProperty$c.call(pt,symToStringTag$1),ft=pt[symToStringTag$1];try{pt[symToStringTag$1]=void 0;var mt=!0}catch(vt){}var bt=nativeObjectToString$1.call(pt);return mt&&(_e?pt[symToStringTag$1]=ft:delete pt[symToStringTag$1]),bt}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(pt){return nativeObjectToString.call(pt)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(pt){return pt==null?pt===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(pt)?getRawTag(pt):objectToString(pt)}function isObjectLike(pt){return pt!=null&&typeof pt=="object"}var isArray=Array.isArray;const isArray$1=isArray;function isObject(pt){var _e=typeof pt;return pt!=null&&(_e=="object"||_e=="function")}function identity(pt){return pt}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(pt){if(!isObject(pt))return!1;var _e=baseGetTag(pt);return _e==funcTag$2||_e==genTag$1||_e==asyncTag||_e==proxyTag}var coreJsData=root$1["__core-js_shared__"];const coreJsData$1=coreJsData;var maskSrcKey=function(){var pt=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return pt?"Symbol(src)_1."+pt:""}();function isMasked(pt){return!!maskSrcKey&&maskSrcKey in pt}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(pt){if(pt!=null){try{return funcToString$2.call(pt)}catch(_e){}try{return pt+""}catch(_e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$b=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$b).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(pt){if(!isObject(pt)||isMasked(pt))return!1;var _e=isFunction(pt)?reIsNative:reIsHostCtor;return _e.test(toSource(pt))}function getValue(pt,_e){return pt==null?void 0:pt[_e]}function getNative(pt,_e){var ft=getValue(pt,_e);return baseIsNative(ft)?ft:void 0}var WeakMap$1=getNative(root$1,"WeakMap");const WeakMap$2=WeakMap$1;var objectCreate=Object.create,baseCreate=function(){function pt(){}return function(_e){if(!isObject(_e))return{};if(objectCreate)return objectCreate(_e);pt.prototype=_e;var ft=new pt;return pt.prototype=void 0,ft}}();const baseCreate$1=baseCreate;function apply(pt,_e,ft){switch(ft.length){case 0:return pt.call(_e);case 1:return pt.call(_e,ft[0]);case 2:return pt.call(_e,ft[0],ft[1]);case 3:return pt.call(_e,ft[0],ft[1],ft[2])}return pt.apply(_e,ft)}function copyArray(pt,_e){var ft=-1,mt=pt.length;for(_e||(_e=Array(mt));++ft<mt;)_e[ft]=pt[ft];return _e}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(pt){var _e=0,ft=0;return function(){var mt=nativeNow(),bt=HOT_SPAN-(mt-ft);if(ft=mt,bt>0){if(++_e>=HOT_COUNT)return arguments[0]}else _e=0;return pt.apply(void 0,arguments)}}function constant(pt){return function(){return pt}}var defineProperty=function(){try{var pt=getNative(Object,"defineProperty");return pt({},"",{}),pt}catch(_e){}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(pt,_e){return defineProperty$1(pt,"toString",{configurable:!0,enumerable:!1,value:constant(_e),writable:!0})}:identity;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(pt,_e){for(var ft=-1,mt=pt==null?0:pt.length;++ft<mt&&_e(pt[ft],ft,pt)!==!1;);return pt}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(pt,_e){var ft=typeof pt;return _e=_e==null?MAX_SAFE_INTEGER$1:_e,!!_e&&(ft=="number"||ft!="symbol"&&reIsUint.test(pt))&&pt>-1&&pt%1==0&&pt<_e}function baseAssignValue(pt,_e,ft){_e=="__proto__"&&defineProperty$1?defineProperty$1(pt,_e,{configurable:!0,enumerable:!0,value:ft,writable:!0}):pt[_e]=ft}function eq(pt,_e){return pt===_e||pt!==pt&&_e!==_e}var objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty;function assignValue(pt,_e,ft){var mt=pt[_e];(!(hasOwnProperty$a.call(pt,_e)&&eq(mt,ft))||ft===void 0&&!(_e in pt))&&baseAssignValue(pt,_e,ft)}function copyObject(pt,_e,ft,mt){var bt=!ft;ft||(ft={});for(var vt=-1,$t=_e.length;++vt<$t;){var _t=_e[vt],Rt=mt?mt(ft[_t],pt[_t],_t,ft,pt):void 0;Rt===void 0&&(Rt=pt[_t]),bt?baseAssignValue(ft,_t,Rt):assignValue(ft,_t,Rt)}return ft}var nativeMax=Math.max;function overRest(pt,_e,ft){return _e=nativeMax(_e===void 0?pt.length-1:_e,0),function(){for(var mt=arguments,bt=-1,vt=nativeMax(mt.length-_e,0),$t=Array(vt);++bt<vt;)$t[bt]=mt[_e+bt];bt=-1;for(var _t=Array(_e+1);++bt<_e;)_t[bt]=mt[bt];return _t[_e]=ft($t),apply(pt,this,_t)}}function baseRest(pt,_e){return setToString$1(overRest(pt,_e,identity),pt+"")}var MAX_SAFE_INTEGER=9007199254740991;function isLength(pt){return typeof pt=="number"&&pt>-1&&pt%1==0&&pt<=MAX_SAFE_INTEGER}function isArrayLike(pt){return pt!=null&&isLength(pt.length)&&!isFunction(pt)}function isIterateeCall(pt,_e,ft){if(!isObject(ft))return!1;var mt=typeof _e;return(mt=="number"?isArrayLike(ft)&&isIndex(_e,ft.length):mt=="string"&&_e in ft)?eq(ft[_e],pt):!1}function createAssigner(pt){return baseRest(function(_e,ft){var mt=-1,bt=ft.length,vt=bt>1?ft[bt-1]:void 0,$t=bt>2?ft[2]:void 0;for(vt=pt.length>3&&typeof vt=="function"?(bt--,vt):void 0,$t&&isIterateeCall(ft[0],ft[1],$t)&&(vt=bt<3?void 0:vt,bt=1),_e=Object(_e);++mt<bt;){var _t=ft[mt];_t&&pt(_e,_t,mt,vt)}return _e})}var objectProto$b=Object.prototype;function isPrototype(pt){var _e=pt&&pt.constructor,ft=typeof _e=="function"&&_e.prototype||objectProto$b;return pt===ft}function baseTimes(pt,_e){for(var ft=-1,mt=Array(pt);++ft<pt;)mt[ft]=_e(ft);return mt}var argsTag$3="[object Arguments]";function baseIsArguments(pt){return isObjectLike(pt)&&baseGetTag(pt)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(pt){return isObjectLike(pt)&&hasOwnProperty$9.call(pt,"callee")&&!propertyIsEnumerable$1.call(pt,"callee")};const isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse;const isBuffer$1=isBuffer;var argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(pt){return isObjectLike(pt)&&isLength(pt.length)&&!!typedArrayTags[baseGetTag(pt)]}function baseUnary(pt){return function(_e){return pt(_e)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var pt=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return pt||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(_e){}}();const nodeUtil$1=nodeUtil;var nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;const isTypedArray$1=isTypedArray;var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function arrayLikeKeys(pt,_e){var ft=isArray$1(pt),mt=!ft&&isArguments$1(pt),bt=!ft&&!mt&&isBuffer$1(pt),vt=!ft&&!mt&&!bt&&isTypedArray$1(pt),$t=ft||mt||bt||vt,_t=$t?baseTimes(pt.length,String):[],Rt=_t.length;for(var Pt in pt)(_e||hasOwnProperty$8.call(pt,Pt))&&!($t&&(Pt=="length"||bt&&(Pt=="offset"||Pt=="parent")||vt&&(Pt=="buffer"||Pt=="byteLength"||Pt=="byteOffset")||isIndex(Pt,Rt)))&&_t.push(Pt);return _t}function overArg(pt,_e){return function(ft){return pt(_e(ft))}}var nativeKeys=overArg(Object.keys,Object);const nativeKeys$1=nativeKeys;var objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function baseKeys(pt){if(!isPrototype(pt))return nativeKeys$1(pt);var _e=[];for(var ft in Object(pt))hasOwnProperty$7.call(pt,ft)&&ft!="constructor"&&_e.push(ft);return _e}function keys(pt){return isArrayLike(pt)?arrayLikeKeys(pt):baseKeys(pt)}function nativeKeysIn(pt){var _e=[];if(pt!=null)for(var ft in Object(pt))_e.push(ft);return _e}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeysIn(pt){if(!isObject(pt))return nativeKeysIn(pt);var _e=isPrototype(pt),ft=[];for(var mt in pt)mt=="constructor"&&(_e||!hasOwnProperty$6.call(pt,mt))||ft.push(mt);return ft}function keysIn(pt){return isArrayLike(pt)?arrayLikeKeys(pt,!0):baseKeysIn(pt)}var nativeCreate=getNative(Object,"create");const nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(pt){var _e=this.has(pt)&&delete this.__data__[pt];return this.size-=_e?1:0,_e}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function hashGet(pt){var _e=this.__data__;if(nativeCreate$1){var ft=_e[pt];return ft===HASH_UNDEFINED$2?void 0:ft}return hasOwnProperty$5.call(_e,pt)?_e[pt]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashHas(pt){var _e=this.__data__;return nativeCreate$1?_e[pt]!==void 0:hasOwnProperty$4.call(_e,pt)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(pt,_e){var ft=this.__data__;return this.size+=this.has(pt)?0:1,ft[pt]=nativeCreate$1&&_e===void 0?HASH_UNDEFINED$1:_e,this}function Hash(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.clear();++_e<ft;){var mt=pt[_e];this.set(mt[0],mt[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(pt,_e){for(var ft=pt.length;ft--;)if(eq(pt[ft][0],_e))return ft;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(pt){var _e=this.__data__,ft=assocIndexOf(_e,pt);if(ft<0)return!1;var mt=_e.length-1;return ft==mt?_e.pop():splice.call(_e,ft,1),--this.size,!0}function listCacheGet(pt){var _e=this.__data__,ft=assocIndexOf(_e,pt);return ft<0?void 0:_e[ft][1]}function listCacheHas(pt){return assocIndexOf(this.__data__,pt)>-1}function listCacheSet(pt,_e){var ft=this.__data__,mt=assocIndexOf(ft,pt);return mt<0?(++this.size,ft.push([pt,_e])):ft[mt][1]=_e,this}function ListCache(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.clear();++_e<ft;){var mt=pt[_e];this.set(mt[0],mt[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$1,"Map");const Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(pt){var _e=typeof pt;return _e=="string"||_e=="number"||_e=="symbol"||_e=="boolean"?pt!=="__proto__":pt===null}function getMapData(pt,_e){var ft=pt.__data__;return isKeyable(_e)?ft[typeof _e=="string"?"string":"hash"]:ft.map}function mapCacheDelete(pt){var _e=getMapData(this,pt).delete(pt);return this.size-=_e?1:0,_e}function mapCacheGet(pt){return getMapData(this,pt).get(pt)}function mapCacheHas(pt){return getMapData(this,pt).has(pt)}function mapCacheSet(pt,_e){var ft=getMapData(this,pt),mt=ft.size;return ft.set(pt,_e),this.size+=ft.size==mt?0:1,this}function MapCache(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.clear();++_e<ft;){var mt=pt[_e];this.set(mt[0],mt[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function arrayPush(pt,_e){for(var ft=-1,mt=_e.length,bt=pt.length;++ft<mt;)pt[bt+ft]=_e[ft];return pt}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$3=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject(pt){if(!isObjectLike(pt)||baseGetTag(pt)!=objectTag$3)return!1;var _e=getPrototype$1(pt);if(_e===null)return!0;var ft=hasOwnProperty$3.call(_e,"constructor")&&_e.constructor;return typeof ft=="function"&&ft instanceof ft&&funcToString.call(ft)==objectCtorString}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(pt){var _e=this.__data__,ft=_e.delete(pt);return this.size=_e.size,ft}function stackGet(pt){return this.__data__.get(pt)}function stackHas(pt){return this.__data__.has(pt)}var LARGE_ARRAY_SIZE=200;function stackSet(pt,_e){var ft=this.__data__;if(ft instanceof ListCache){var mt=ft.__data__;if(!Map$2||mt.length<LARGE_ARRAY_SIZE-1)return mt.push([pt,_e]),this.size=++ft.size,this;ft=this.__data__=new MapCache(mt)}return ft.set(pt,_e),this.size=ft.size,this}function Stack(pt){var _e=this.__data__=new ListCache(pt);this.size=_e.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(pt,_e){return pt&&copyObject(_e,keys(_e),pt)}function baseAssignIn(pt,_e){return pt&&copyObject(_e,keysIn(_e),pt)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(pt,_e){if(_e)return pt.slice();var ft=pt.length,mt=allocUnsafe?allocUnsafe(ft):new pt.constructor(ft);return pt.copy(mt),mt}function arrayFilter(pt,_e){for(var ft=-1,mt=pt==null?0:pt.length,bt=0,vt=[];++ft<mt;){var $t=pt[ft];_e($t,ft,pt)&&(vt[bt++]=$t)}return vt}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(pt){return pt==null?[]:(pt=Object(pt),arrayFilter(nativeGetSymbols$1(pt),function(_e){return propertyIsEnumerable.call(pt,_e)}))}:stubArray;const getSymbols$1=getSymbols;function copySymbols(pt,_e){return copyObject(pt,getSymbols$1(pt),_e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(pt){for(var _e=[];pt;)arrayPush(_e,getSymbols$1(pt)),pt=getPrototype$1(pt);return _e}:stubArray;const getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(pt,_e){return copyObject(pt,getSymbolsIn$1(pt),_e)}function baseGetAllKeys(pt,_e,ft){var mt=_e(pt);return isArray$1(pt)?mt:arrayPush(mt,ft(pt))}function getAllKeys(pt){return baseGetAllKeys(pt,keys,getSymbols$1)}function getAllKeysIn(pt){return baseGetAllKeys(pt,keysIn,getSymbolsIn$1)}var DataView$1=getNative(root$1,"DataView");const DataView$2=DataView$1;var Promise$1=getNative(root$1,"Promise");const Promise$2=Promise$1;var Set$1=getNative(root$1,"Set");const Set$2=Set$1;var mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$2),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$2&&getTag(new DataView$2(new ArrayBuffer(1)))!=dataViewTag$3||Map$2&&getTag(new Map$2)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$4||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag$1)&&(getTag=function(pt){var _e=baseGetTag(pt),ft=_e==objectTag$2?pt.constructor:void 0,mt=ft?toSource(ft):"";if(mt)switch(mt){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return _e});const getTag$1=getTag;var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function initCloneArray(pt){var _e=pt.length,ft=new pt.constructor(_e);return _e&&typeof pt[0]=="string"&&hasOwnProperty$2.call(pt,"index")&&(ft.index=pt.index,ft.input=pt.input),ft}var Uint8Array$1=root$1.Uint8Array;const Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(pt){var _e=new pt.constructor(pt.byteLength);return new Uint8Array$2(_e).set(new Uint8Array$2(pt)),_e}function cloneDataView(pt,_e){var ft=_e?cloneArrayBuffer(pt.buffer):pt.buffer;return new pt.constructor(ft,pt.byteOffset,pt.byteLength)}var reFlags=/\w*$/;function cloneRegExp(pt){var _e=new pt.constructor(pt.source,reFlags.exec(pt));return _e.lastIndex=pt.lastIndex,_e}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(pt){return symbolValueOf$1?Object(symbolValueOf$1.call(pt)):{}}function cloneTypedArray(pt,_e){var ft=_e?cloneArrayBuffer(pt.buffer):pt.buffer;return new pt.constructor(ft,pt.byteOffset,pt.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(pt,_e,ft){var mt=pt.constructor;switch(_e){case arrayBufferTag$2:return cloneArrayBuffer(pt);case boolTag$2:case dateTag$2:return new mt(+pt);case dataViewTag$2:return cloneDataView(pt,ft);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(pt,ft);case mapTag$3:return new mt;case numberTag$2:case stringTag$2:return new mt(pt);case regexpTag$2:return cloneRegExp(pt);case setTag$3:return new mt;case symbolTag$2:return cloneSymbol(pt)}}function initCloneObject(pt){return typeof pt.constructor=="function"&&!isPrototype(pt)?baseCreate$1(getPrototype$1(pt)):{}}var mapTag$2="[object Map]";function baseIsMap(pt){return isObjectLike(pt)&&getTag$1(pt)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;const isMap$1=isMap;var setTag$2="[object Set]";function baseIsSet(pt){return isObjectLike(pt)&&getTag$1(pt)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;const isSet$1=isSet;var CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(pt,_e,ft,mt,bt,vt){var $t,_t=_e&CLONE_DEEP_FLAG$1,Rt=_e&CLONE_FLAT_FLAG,Pt=_e&CLONE_SYMBOLS_FLAG$1;if(ft&&($t=bt?ft(pt,mt,bt,vt):ft(pt)),$t!==void 0)return $t;if(!isObject(pt))return pt;var Ft=isArray$1(pt);if(Ft){if($t=initCloneArray(pt),!_t)return copyArray(pt,$t)}else{var Bt=getTag$1(pt),Gt=Bt==funcTag||Bt==genTag;if(isBuffer$1(pt))return cloneBuffer(pt,_t);if(Bt==objectTag$1||Bt==argsTag$1||Gt&&!bt){if($t=Rt||Gt?{}:initCloneObject(pt),!_t)return Rt?copySymbolsIn(pt,baseAssignIn($t,pt)):copySymbols(pt,baseAssign($t,pt))}else{if(!cloneableTags[Bt])return bt?pt:{};$t=initCloneByTag(pt,Bt,_t)}}vt||(vt=new Stack);var Wt=vt.get(pt);if(Wt)return Wt;vt.set(pt,$t),isSet$1(pt)?pt.forEach(function(er){$t.add(baseClone(er,_e,ft,er,pt,vt))}):isMap$1(pt)&&pt.forEach(function(er,nr){$t.set(nr,baseClone(er,_e,ft,nr,pt,vt))});var Vt=Pt?Rt?getAllKeysIn:getAllKeys:Rt?keysIn:keys,Xt=Ft?void 0:Vt(pt);return arrayEach(Xt||pt,function(er,nr){Xt&&(nr=er,er=pt[nr]),assignValue($t,nr,baseClone(er,_e,ft,nr,pt,vt))}),$t}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep$1(pt){return baseClone(pt,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(pt){return this.__data__.set(pt,HASH_UNDEFINED),this}function setCacheHas(pt){return this.__data__.has(pt)}function SetCache(pt){var _e=-1,ft=pt==null?0:pt.length;for(this.__data__=new MapCache;++_e<ft;)this.add(pt[_e])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(pt,_e){for(var ft=-1,mt=pt==null?0:pt.length;++ft<mt;)if(_e(pt[ft],ft,pt))return!0;return!1}function cacheHas(pt,_e){return pt.has(_e)}var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(pt,_e,ft,mt,bt,vt){var $t=ft&COMPARE_PARTIAL_FLAG$3,_t=pt.length,Rt=_e.length;if(_t!=Rt&&!($t&&Rt>_t))return!1;var Pt=vt.get(pt),Ft=vt.get(_e);if(Pt&&Ft)return Pt==_e&&Ft==pt;var Bt=-1,Gt=!0,Wt=ft&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(vt.set(pt,_e),vt.set(_e,pt);++Bt<_t;){var Vt=pt[Bt],Xt=_e[Bt];if(mt)var er=$t?mt(Xt,Vt,Bt,_e,pt,vt):mt(Vt,Xt,Bt,pt,_e,vt);if(er!==void 0){if(er)continue;Gt=!1;break}if(Wt){if(!arraySome(_e,function(nr,rr){if(!cacheHas(Wt,rr)&&(Vt===nr||bt(Vt,nr,ft,mt,vt)))return Wt.push(rr)})){Gt=!1;break}}else if(!(Vt===Xt||bt(Vt,Xt,ft,mt,vt))){Gt=!1;break}}return vt.delete(pt),vt.delete(_e),Gt}function mapToArray(pt){var _e=-1,ft=Array(pt.size);return pt.forEach(function(mt,bt){ft[++_e]=[bt,mt]}),ft}function setToArray(pt){var _e=-1,ft=Array(pt.size);return pt.forEach(function(mt){ft[++_e]=mt}),ft}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(pt,_e,ft,mt,bt,vt,$t){switch(ft){case dataViewTag:if(pt.byteLength!=_e.byteLength||pt.byteOffset!=_e.byteOffset)return!1;pt=pt.buffer,_e=_e.buffer;case arrayBufferTag:return!(pt.byteLength!=_e.byteLength||!vt(new Uint8Array$2(pt),new Uint8Array$2(_e)));case boolTag:case dateTag:case numberTag:return eq(+pt,+_e);case errorTag:return pt.name==_e.name&&pt.message==_e.message;case regexpTag:case stringTag:return pt==_e+"";case mapTag:var _t=mapToArray;case setTag:var Rt=mt&COMPARE_PARTIAL_FLAG$2;if(_t||(_t=setToArray),pt.size!=_e.size&&!Rt)return!1;var Pt=$t.get(pt);if(Pt)return Pt==_e;mt|=COMPARE_UNORDERED_FLAG,$t.set(pt,_e);var Ft=equalArrays(_t(pt),_t(_e),mt,bt,vt,$t);return $t.delete(pt),Ft;case symbolTag:if(symbolValueOf)return symbolValueOf.call(pt)==symbolValueOf.call(_e)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(pt,_e,ft,mt,bt,vt){var $t=ft&COMPARE_PARTIAL_FLAG$1,_t=getAllKeys(pt),Rt=_t.length,Pt=getAllKeys(_e),Ft=Pt.length;if(Rt!=Ft&&!$t)return!1;for(var Bt=Rt;Bt--;){var Gt=_t[Bt];if(!($t?Gt in _e:hasOwnProperty$1.call(_e,Gt)))return!1}var Wt=vt.get(pt),Vt=vt.get(_e);if(Wt&&Vt)return Wt==_e&&Vt==pt;var Xt=!0;vt.set(pt,_e),vt.set(_e,pt);for(var er=$t;++Bt<Rt;){Gt=_t[Bt];var nr=pt[Gt],rr=_e[Gt];if(mt)var tr=$t?mt(rr,nr,Gt,_e,pt,vt):mt(nr,rr,Gt,pt,_e,vt);if(!(tr===void 0?nr===rr||bt(nr,rr,ft,mt,vt):tr)){Xt=!1;break}er||(er=Gt=="constructor")}if(Xt&&!er){var or=pt.constructor,ar=_e.constructor;or!=ar&&"constructor"in pt&&"constructor"in _e&&!(typeof or=="function"&&or instanceof or&&typeof ar=="function"&&ar instanceof ar)&&(Xt=!1)}return vt.delete(pt),vt.delete(_e),Xt}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(pt,_e,ft,mt,bt,vt){var $t=isArray$1(pt),_t=isArray$1(_e),Rt=$t?arrayTag:getTag$1(pt),Pt=_t?arrayTag:getTag$1(_e);Rt=Rt==argsTag?objectTag:Rt,Pt=Pt==argsTag?objectTag:Pt;var Ft=Rt==objectTag,Bt=Pt==objectTag,Gt=Rt==Pt;if(Gt&&isBuffer$1(pt)){if(!isBuffer$1(_e))return!1;$t=!0,Ft=!1}if(Gt&&!Ft)return vt||(vt=new Stack),$t||isTypedArray$1(pt)?equalArrays(pt,_e,ft,mt,bt,vt):equalByTag(pt,_e,Rt,ft,mt,bt,vt);if(!(ft&COMPARE_PARTIAL_FLAG)){var Wt=Ft&&hasOwnProperty.call(pt,"__wrapped__"),Vt=Bt&&hasOwnProperty.call(_e,"__wrapped__");if(Wt||Vt){var Xt=Wt?pt.value():pt,er=Vt?_e.value():_e;return vt||(vt=new Stack),bt(Xt,er,ft,mt,vt)}}return Gt?(vt||(vt=new Stack),equalObjects(pt,_e,ft,mt,bt,vt)):!1}function baseIsEqual(pt,_e,ft,mt,bt){return pt===_e?!0:pt==null||_e==null||!isObjectLike(pt)&&!isObjectLike(_e)?pt!==pt&&_e!==_e:baseIsEqualDeep(pt,_e,ft,mt,baseIsEqual,bt)}function createBaseFor(pt){return function(_e,ft,mt){for(var bt=-1,vt=Object(_e),$t=mt(_e),_t=$t.length;_t--;){var Rt=$t[pt?_t:++bt];if(ft(vt[Rt],Rt,vt)===!1)break}return _e}}var baseFor=createBaseFor();const baseFor$1=baseFor;function assignMergeValue(pt,_e,ft){(ft!==void 0&&!eq(pt[_e],ft)||ft===void 0&&!(_e in pt))&&baseAssignValue(pt,_e,ft)}function isArrayLikeObject(pt){return isObjectLike(pt)&&isArrayLike(pt)}function safeGet(pt,_e){if(!(_e==="constructor"&&typeof pt[_e]=="function")&&_e!="__proto__")return pt[_e]}function toPlainObject(pt){return copyObject(pt,keysIn(pt))}function baseMergeDeep(pt,_e,ft,mt,bt,vt,$t){var _t=safeGet(pt,ft),Rt=safeGet(_e,ft),Pt=$t.get(Rt);if(Pt){assignMergeValue(pt,ft,Pt);return}var Ft=vt?vt(_t,Rt,ft+"",pt,_e,$t):void 0,Bt=Ft===void 0;if(Bt){var Gt=isArray$1(Rt),Wt=!Gt&&isBuffer$1(Rt),Vt=!Gt&&!Wt&&isTypedArray$1(Rt);Ft=Rt,Gt||Wt||Vt?isArray$1(_t)?Ft=_t:isArrayLikeObject(_t)?Ft=copyArray(_t):Wt?(Bt=!1,Ft=cloneBuffer(Rt,!0)):Vt?(Bt=!1,Ft=cloneTypedArray(Rt,!0)):Ft=[]:isPlainObject(Rt)||isArguments$1(Rt)?(Ft=_t,isArguments$1(_t)?Ft=toPlainObject(_t):(!isObject(_t)||isFunction(_t))&&(Ft=initCloneObject(Rt))):Bt=!1}Bt&&($t.set(Rt,Ft),bt(Ft,Rt,mt,vt,$t),$t.delete(Rt)),assignMergeValue(pt,ft,Ft)}function baseMerge(pt,_e,ft,mt,bt){pt!==_e&&baseFor$1(_e,function(vt,$t){if(bt||(bt=new Stack),isObject(vt))baseMergeDeep(pt,_e,$t,ft,baseMerge,mt,bt);else{var _t=mt?mt(safeGet(pt,$t),vt,$t+"",pt,_e,bt):void 0;_t===void 0&&(_t=vt),assignMergeValue(pt,$t,_t)}},keysIn)}function isEqual$2(pt,_e){return baseIsEqual(pt,_e)}var merge=createAssigner(function(pt,_e,ft){baseMerge(pt,_e,ft)});const merge$1=merge;var Scope=(pt=>(pt[pt.TYPE=3]="TYPE",pt[pt.LEVEL=12]="LEVEL",pt[pt.ATTRIBUTE=13]="ATTRIBUTE",pt[pt.BLOT=14]="BLOT",pt[pt.INLINE=7]="INLINE",pt[pt.BLOCK=11]="BLOCK",pt[pt.BLOCK_BLOT=10]="BLOCK_BLOT",pt[pt.INLINE_BLOT=6]="INLINE_BLOT",pt[pt.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",pt[pt.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",pt[pt.ANY=15]="ANY",pt))(Scope||{});class Attributor{constructor(_e,ft,mt={}){this.attrName=_e,this.keyName=ft;const bt=Scope.TYPE&Scope.ATTRIBUTE;this.scope=mt.scope!=null?mt.scope&Scope.LEVEL|bt:Scope.ATTRIBUTE,mt.whitelist!=null&&(this.whitelist=mt.whitelist)}static keys(_e){return Array.from(_e.attributes).map(ft=>ft.name)}add(_e,ft){return this.canAdd(_e,ft)?(_e.setAttribute(this.keyName,ft),!0):!1}canAdd(_e,ft){return this.whitelist==null?!0:typeof ft=="string"?this.whitelist.indexOf(ft.replace(/["']/g,""))>-1:this.whitelist.indexOf(ft)>-1}remove(_e){_e.removeAttribute(this.keyName)}value(_e){const ft=_e.getAttribute(this.keyName);return this.canAdd(_e,ft)&&ft?ft:""}}class ParchmentError extends Error{constructor(_e){_e="[Parchment] "+_e,super(_e),this.message=_e,this.name=this.constructor.name}}const _Registry=class o1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(_e,ft=!1){if(_e==null)return null;if(this.blots.has(_e))return this.blots.get(_e)||null;if(ft){let mt=null;try{mt=_e.parentNode}catch(bt){return null}return this.find(mt,ft)}return null}create(_e,ft,mt){const bt=this.query(ft);if(bt==null)throw new ParchmentError(`Unable to create ${ft} blot`);const vt=bt,$t=ft instanceof Node||ft.nodeType===Node.TEXT_NODE?ft:vt.create(mt),_t=new vt(_e,$t,mt);return o1.blots.set(_t.domNode,_t),_t}find(_e,ft=!1){return o1.find(_e,ft)}query(_e,ft=Scope.ANY){let mt;return typeof _e=="string"?mt=this.types[_e]||this.attributes[_e]:_e instanceof Text||_e.nodeType===Node.TEXT_NODE?mt=this.types.text:typeof _e=="number"?_e&Scope.LEVEL&Scope.BLOCK?mt=this.types.block:_e&Scope.LEVEL&Scope.INLINE&&(mt=this.types.inline):_e instanceof Element&&((_e.getAttribute("class")||"").split(/\s+/).some(bt=>(mt=this.classes[bt],!!mt)),mt=mt||this.tags[_e.tagName]),mt==null?null:"scope"in mt&&ft&Scope.LEVEL&mt.scope&&ft&Scope.TYPE&mt.scope?mt:null}register(..._e){return _e.map(ft=>{const mt="blotName"in ft,bt="attrName"in ft;if(!mt&&!bt)throw new ParchmentError("Invalid definition");if(mt&&ft.blotName==="abstract")throw new ParchmentError("Cannot register abstract class");const vt=mt?ft.blotName:bt?ft.attrName:void 0;return this.types[vt]=ft,bt?typeof ft.keyName=="string"&&(this.attributes[ft.keyName]=ft):mt&&(ft.className&&(this.classes[ft.className]=ft),ft.tagName&&(Array.isArray(ft.tagName)?ft.tagName=ft.tagName.map($t=>$t.toUpperCase()):ft.tagName=ft.tagName.toUpperCase(),(Array.isArray(ft.tagName)?ft.tagName:[ft.tagName]).forEach($t=>{(this.tags[$t]==null||ft.className==null)&&(this.tags[$t]=ft)}))),ft})}};_Registry.blots=new WeakMap;let Registry=_Registry;function match(pt,_e){return(pt.getAttribute("class")||"").split(/\s+/).filter(ft=>ft.indexOf(`${_e}-`)===0)}class ClassAttributor extends Attributor{static keys(_e){return(_e.getAttribute("class")||"").split(/\s+/).map(ft=>ft.split("-").slice(0,-1).join("-"))}add(_e,ft){return this.canAdd(_e,ft)?(this.remove(_e),_e.classList.add(`${this.keyName}-${ft}`),!0):!1}remove(_e){match(_e,this.keyName).forEach(ft=>{_e.classList.remove(ft)}),_e.classList.length===0&&_e.removeAttribute("class")}value(_e){const ft=(match(_e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(_e,ft)?ft:""}}const ClassAttributor$1=ClassAttributor;function camelize(pt){const _e=pt.split("-"),ft=_e.slice(1).map(mt=>mt[0].toUpperCase()+mt.slice(1)).join("");return _e[0]+ft}class StyleAttributor extends Attributor{static keys(_e){return(_e.getAttribute("style")||"").split(";").map(ft=>ft.split(":")[0].trim())}add(_e,ft){return this.canAdd(_e,ft)?(_e.style[camelize(this.keyName)]=ft,!0):!1}remove(_e){_e.style[camelize(this.keyName)]="",_e.getAttribute("style")||_e.removeAttribute("style")}value(_e){const ft=_e.style[camelize(this.keyName)];return this.canAdd(_e,ft)?ft:""}}const StyleAttributor$1=StyleAttributor;class AttributorStore{constructor(_e){this.attributes={},this.domNode=_e,this.build()}attribute(_e,ft){ft?_e.add(this.domNode,ft)&&(_e.value(this.domNode)!=null?this.attributes[_e.attrName]=_e:delete this.attributes[_e.attrName]):(_e.remove(this.domNode),delete this.attributes[_e.attrName])}build(){this.attributes={};const _e=Registry.find(this.domNode);if(_e==null)return;const ft=Attributor.keys(this.domNode),mt=ClassAttributor$1.keys(this.domNode),bt=StyleAttributor$1.keys(this.domNode);ft.concat(mt).concat(bt).forEach(vt=>{const $t=_e.scroll.query(vt,Scope.ATTRIBUTE);$t instanceof Attributor&&(this.attributes[$t.attrName]=$t)})}copy(_e){Object.keys(this.attributes).forEach(ft=>{const mt=this.attributes[ft].value(this.domNode);_e.format(ft,mt)})}move(_e){this.copy(_e),Object.keys(this.attributes).forEach(ft=>{this.attributes[ft].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((_e,ft)=>(_e[ft]=this.attributes[ft].value(this.domNode),_e),{})}}const AttributorStore$1=AttributorStore,_ShadowBlot=class{constructor(_e,ft){this.scroll=_e,this.domNode=ft,Registry.blots.set(ft,this),this.prev=null,this.next=null}static create(_e){if(this.tagName==null)throw new ParchmentError("Blot definition missing tagName");let ft,mt;return Array.isArray(this.tagName)?(typeof _e=="string"?(mt=_e.toUpperCase(),parseInt(mt,10).toString()===mt&&(mt=parseInt(mt,10))):typeof _e=="number"&&(mt=_e),typeof mt=="number"?ft=document.createElement(this.tagName[mt-1]):mt&&this.tagName.indexOf(mt)>-1?ft=document.createElement(mt):ft=document.createElement(this.tagName[0])):ft=document.createElement(this.tagName),this.className&&ft.classList.add(this.className),ft}get statics(){return this.constructor}attach(){}clone(){const _e=this.domNode.cloneNode(!1);return this.scroll.create(_e)}detach(){this.parent!=null&&this.parent.removeChild(this),Registry.blots.delete(this.domNode)}deleteAt(_e,ft){this.isolate(_e,ft).remove()}formatAt(_e,ft,mt,bt){const vt=this.isolate(_e,ft);if(this.scroll.query(mt,Scope.BLOT)!=null&&bt)vt.wrap(mt,bt);else if(this.scroll.query(mt,Scope.ATTRIBUTE)!=null){const $t=this.scroll.create(this.statics.scope);vt.wrap($t),$t.format(mt,bt)}}insertAt(_e,ft,mt){const bt=mt==null?this.scroll.create("text",ft):this.scroll.create(ft,mt),vt=this.split(_e);this.parent.insertBefore(bt,vt||void 0)}isolate(_e,ft){const mt=this.split(_e);if(mt==null)throw new Error("Attempt to isolate at end");return mt.split(ft),mt}length(){return 1}offset(_e=this.parent){return this.parent==null||this===_e?0:this.parent.children.offset(this)+this.parent.offset(_e)}optimize(_e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(_e,ft){const mt=typeof _e=="string"?this.scroll.create(_e,ft):_e;return this.parent!=null&&(this.parent.insertBefore(mt,this.next||void 0),this.remove()),mt}split(_e,ft){return _e===0?this:this.next}update(_e,ft){}wrap(_e,ft){const mt=typeof _e=="string"?this.scroll.create(_e,ft):_e;if(this.parent!=null&&this.parent.insertBefore(mt,this.next||void 0),typeof mt.appendChild!="function")throw new ParchmentError(`Cannot wrap ${_e}`);return mt.appendChild(this),mt}};_ShadowBlot.blotName="abstract";let ShadowBlot=_ShadowBlot;const _LeafBlot=class extends ShadowBlot{static value(_e){return!0}index(_e,ft){return this.domNode===_e||this.domNode.compareDocumentPosition(_e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(ft,1):-1}position(_e,ft){let mt=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return _e>0&&(mt+=1),[this.parent.domNode,mt]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};_LeafBlot.scope=Scope.INLINE_BLOT;let LeafBlot=_LeafBlot;const LeafBlot$1=LeafBlot;class LinkedList{constructor(){this.head=null,this.tail=null,this.length=0}append(..._e){if(this.insertBefore(_e[0],null),_e.length>1){const ft=_e.slice(1);this.append(...ft)}}at(_e){const ft=this.iterator();let mt=ft();for(;mt&&_e>0;)_e-=1,mt=ft();return mt}contains(_e){const ft=this.iterator();let mt=ft();for(;mt;){if(mt===_e)return!0;mt=ft()}return!1}indexOf(_e){const ft=this.iterator();let mt=ft(),bt=0;for(;mt;){if(mt===_e)return bt;bt+=1,mt=ft()}return-1}insertBefore(_e,ft){_e!=null&&(this.remove(_e),_e.next=ft,ft!=null?(_e.prev=ft.prev,ft.prev!=null&&(ft.prev.next=_e),ft.prev=_e,ft===this.head&&(this.head=_e)):this.tail!=null?(this.tail.next=_e,_e.prev=this.tail,this.tail=_e):(_e.prev=null,this.head=this.tail=_e),this.length+=1)}offset(_e){let ft=0,mt=this.head;for(;mt!=null;){if(mt===_e)return ft;ft+=mt.length(),mt=mt.next}return-1}remove(_e){this.contains(_e)&&(_e.prev!=null&&(_e.prev.next=_e.next),_e.next!=null&&(_e.next.prev=_e.prev),_e===this.head&&(this.head=_e.next),_e===this.tail&&(this.tail=_e.prev),this.length-=1)}iterator(_e=this.head){return()=>{const ft=_e;return _e!=null&&(_e=_e.next),ft}}find(_e,ft=!1){const mt=this.iterator();let bt=mt();for(;bt;){const vt=bt.length();if(_e<vt||ft&&_e===vt&&(bt.next==null||bt.next.length()!==0))return[bt,_e];_e-=vt,bt=mt()}return[null,0]}forEach(_e){const ft=this.iterator();let mt=ft();for(;mt;)_e(mt),mt=ft()}forEachAt(_e,ft,mt){if(ft<=0)return;const[bt,vt]=this.find(_e);let $t=_e-vt;const _t=this.iterator(bt);let Rt=_t();for(;Rt&&$t<_e+ft;){const Pt=Rt.length();_e>$t?mt(Rt,_e-$t,Math.min(ft,$t+Pt-_e)):mt(Rt,0,Math.min(Pt,_e+ft-$t)),$t+=Pt,Rt=_t()}}map(_e){return this.reduce((ft,mt)=>(ft.push(_e(mt)),ft),[])}reduce(_e,ft){const mt=this.iterator();let bt=mt();for(;bt;)ft=_e(ft,bt),bt=mt();return ft}}function makeAttachedBlot(pt,_e){const ft=_e.find(pt);if(ft)return ft;try{return _e.create(pt)}catch(mt){const bt=_e.create(Scope.INLINE);return Array.from(pt.childNodes).forEach(vt=>{bt.domNode.appendChild(vt)}),pt.parentNode&&pt.parentNode.replaceChild(bt.domNode,pt),bt.attach(),bt}}const _ParentBlot=class zp extends ShadowBlot{constructor(_e,ft){super(_e,ft),this.uiNode=null,this.build()}appendChild(_e){this.insertBefore(_e)}attach(){super.attach(),this.children.forEach(_e=>{_e.attach()})}attachUI(_e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=_e,zp.uiClass&&this.uiNode.classList.add(zp.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new LinkedList,Array.from(this.domNode.childNodes).filter(_e=>_e!==this.uiNode).reverse().forEach(_e=>{try{const ft=makeAttachedBlot(_e,this.scroll);this.insertBefore(ft,this.children.head||void 0)}catch(ft){if(ft instanceof ParchmentError)return;throw ft}})}deleteAt(_e,ft){if(_e===0&&ft===this.length())return this.remove();this.children.forEachAt(_e,ft,(mt,bt,vt)=>{mt.deleteAt(bt,vt)})}descendant(_e,ft=0){const[mt,bt]=this.children.find(ft);return _e.blotName==null&&_e(mt)||_e.blotName!=null&&mt instanceof _e?[mt,bt]:mt instanceof zp?mt.descendant(_e,bt):[null,-1]}descendants(_e,ft=0,mt=Number.MAX_VALUE){let bt=[],vt=mt;return this.children.forEachAt(ft,mt,($t,_t,Rt)=>{(_e.blotName==null&&_e($t)||_e.blotName!=null&&$t instanceof _e)&&bt.push($t),$t instanceof zp&&(bt=bt.concat($t.descendants(_e,_t,vt))),vt-=Rt}),bt}detach(){this.children.forEach(_e=>{_e.detach()}),super.detach()}enforceAllowedChildren(){let _e=!1;this.children.forEach(ft=>{_e||this.statics.allowedChildren.some(mt=>ft instanceof mt)||(ft.statics.scope===Scope.BLOCK_BLOT?(ft.next!=null&&this.splitAfter(ft),ft.prev!=null&&this.splitAfter(ft.prev),ft.parent.unwrap(),_e=!0):ft instanceof zp?ft.unwrap():ft.remove())})}formatAt(_e,ft,mt,bt){this.children.forEachAt(_e,ft,(vt,$t,_t)=>{vt.formatAt($t,_t,mt,bt)})}insertAt(_e,ft,mt){const[bt,vt]=this.children.find(_e);if(bt)bt.insertAt(vt,ft,mt);else{const $t=mt==null?this.scroll.create("text",ft):this.scroll.create(ft,mt);this.appendChild($t)}}insertBefore(_e,ft){_e.parent!=null&&_e.parent.children.remove(_e);let mt=null;this.children.insertBefore(_e,ft||null),_e.parent=this,ft!=null&&(mt=ft.domNode),(this.domNode.parentNode!==_e.domNode||this.domNode.nextSibling!==mt)&&this.domNode.insertBefore(_e.domNode,mt),_e.attach()}length(){return this.children.reduce((_e,ft)=>_e+ft.length(),0)}moveChildren(_e,ft){this.children.forEach(mt=>{_e.insertBefore(mt,ft)})}optimize(_e){if(super.optimize(_e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const ft=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(ft)}else this.remove()}path(_e,ft=!1){const[mt,bt]=this.children.find(_e,ft),vt=[[this,_e]];return mt instanceof zp?vt.concat(mt.path(bt,ft)):(mt!=null&&vt.push([mt,bt]),vt)}removeChild(_e){this.children.remove(_e)}replaceWith(_e,ft){const mt=typeof _e=="string"?this.scroll.create(_e,ft):_e;return mt instanceof zp&&this.moveChildren(mt),super.replaceWith(mt)}split(_e,ft=!1){if(!ft){if(_e===0)return this;if(_e===this.length())return this.next}const mt=this.clone();return this.parent&&this.parent.insertBefore(mt,this.next||void 0),this.children.forEachAt(_e,this.length(),(bt,vt,$t)=>{const _t=bt.split(vt,ft);_t!=null&&mt.appendChild(_t)}),mt}splitAfter(_e){const ft=this.clone();for(;_e.next!=null;)ft.appendChild(_e.next);return this.parent&&this.parent.insertBefore(ft,this.next||void 0),ft}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(_e,ft){const mt=[],bt=[];_e.forEach(vt=>{vt.target===this.domNode&&vt.type==="childList"&&(mt.push(...vt.addedNodes),bt.push(...vt.removedNodes))}),bt.forEach(vt=>{if(vt.parentNode!=null&&vt.tagName!=="IFRAME"&&document.body.compareDocumentPosition(vt)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const $t=this.scroll.find(vt);$t!=null&&($t.domNode.parentNode==null||$t.domNode.parentNode===this.domNode)&&$t.detach()}),mt.filter(vt=>vt.parentNode===this.domNode&&vt!==this.uiNode).sort((vt,$t)=>vt===$t?0:vt.compareDocumentPosition($t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(vt=>{let $t=null;vt.nextSibling!=null&&($t=this.scroll.find(vt.nextSibling));const _t=makeAttachedBlot(vt,this.scroll);(_t.next!==$t||_t.next==null)&&(_t.parent!=null&&_t.parent.removeChild(this),this.insertBefore(_t,$t||void 0))}),this.enforceAllowedChildren()}};_ParentBlot.uiClass="";let ParentBlot=_ParentBlot;const ParentBlot$1=ParentBlot;function isEqual$1(pt,_e){if(Object.keys(pt).length!==Object.keys(_e).length)return!1;for(const ft in pt)if(pt[ft]!==_e[ft])return!1;return!0}const _InlineBlot=class _f extends ParentBlot$1{static create(_e){return super.create(_e)}static formats(_e,ft){const mt=ft.query(_f.blotName);if(!(mt!=null&&_e.tagName===mt.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return _e.tagName.toLowerCase()}}constructor(_e,ft){super(_e,ft),this.attributes=new AttributorStore$1(this.domNode)}format(_e,ft){if(_e===this.statics.blotName&&!ft)this.children.forEach(mt=>{mt instanceof _f||(mt=mt.wrap(_f.blotName,!0)),this.attributes.copy(mt)}),this.unwrap();else{const mt=this.scroll.query(_e,Scope.INLINE);if(mt==null)return;mt instanceof Attributor?this.attributes.attribute(mt,ft):ft&&(_e!==this.statics.blotName||this.formats()[_e]!==ft)&&this.replaceWith(_e,ft)}}formats(){const _e=this.attributes.values(),ft=this.statics.formats(this.domNode,this.scroll);return ft!=null&&(_e[this.statics.blotName]=ft),_e}formatAt(_e,ft,mt,bt){this.formats()[mt]!=null||this.scroll.query(mt,Scope.ATTRIBUTE)?this.isolate(_e,ft).format(mt,bt):super.formatAt(_e,ft,mt,bt)}optimize(_e){super.optimize(_e);const ft=this.formats();if(Object.keys(ft).length===0)return this.unwrap();const mt=this.next;mt instanceof _f&&mt.prev===this&&isEqual$1(ft,mt.formats())&&(mt.moveChildren(this),mt.remove())}replaceWith(_e,ft){const mt=super.replaceWith(_e,ft);return this.attributes.copy(mt),mt}update(_e,ft){super.update(_e,ft),_e.some(mt=>mt.target===this.domNode&&mt.type==="attributes")&&this.attributes.build()}wrap(_e,ft){const mt=super.wrap(_e,ft);return mt instanceof _f&&this.attributes.move(mt),mt}};_InlineBlot.allowedChildren=[_InlineBlot,LeafBlot$1],_InlineBlot.blotName="inline",_InlineBlot.scope=Scope.INLINE_BLOT,_InlineBlot.tagName="SPAN";let InlineBlot=_InlineBlot;const InlineBlot$1=InlineBlot,_BlockBlot=class a1 extends ParentBlot$1{static create(_e){return super.create(_e)}static formats(_e,ft){const mt=ft.query(a1.blotName);if(!(mt!=null&&_e.tagName===mt.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return _e.tagName.toLowerCase()}}constructor(_e,ft){super(_e,ft),this.attributes=new AttributorStore$1(this.domNode)}format(_e,ft){const mt=this.scroll.query(_e,Scope.BLOCK);mt!=null&&(mt instanceof Attributor?this.attributes.attribute(mt,ft):_e===this.statics.blotName&&!ft?this.replaceWith(a1.blotName):ft&&(_e!==this.statics.blotName||this.formats()[_e]!==ft)&&this.replaceWith(_e,ft))}formats(){const _e=this.attributes.values(),ft=this.statics.formats(this.domNode,this.scroll);return ft!=null&&(_e[this.statics.blotName]=ft),_e}formatAt(_e,ft,mt,bt){this.scroll.query(mt,Scope.BLOCK)!=null?this.format(mt,bt):super.formatAt(_e,ft,mt,bt)}insertAt(_e,ft,mt){if(mt==null||this.scroll.query(ft,Scope.INLINE)!=null)super.insertAt(_e,ft,mt);else{const bt=this.split(_e);if(bt!=null){const vt=this.scroll.create(ft,mt);bt.parent.insertBefore(vt,bt)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(_e,ft){const mt=super.replaceWith(_e,ft);return this.attributes.copy(mt),mt}update(_e,ft){super.update(_e,ft),_e.some(mt=>mt.target===this.domNode&&mt.type==="attributes")&&this.attributes.build()}};_BlockBlot.blotName="block",_BlockBlot.scope=Scope.BLOCK_BLOT,_BlockBlot.tagName="P",_BlockBlot.allowedChildren=[InlineBlot$1,_BlockBlot,LeafBlot$1];let BlockBlot=_BlockBlot;const BlockBlot$1=BlockBlot,_ContainerBlot=class extends ParentBlot$1{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(_e,ft){super.deleteAt(_e,ft),this.enforceAllowedChildren()}formatAt(_e,ft,mt,bt){super.formatAt(_e,ft,mt,bt),this.enforceAllowedChildren()}insertAt(_e,ft,mt){super.insertAt(_e,ft,mt),this.enforceAllowedChildren()}optimize(_e){super.optimize(_e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};_ContainerBlot.blotName="container",_ContainerBlot.scope=Scope.BLOCK_BLOT;let ContainerBlot=_ContainerBlot;const ContainerBlot$1=ContainerBlot;class EmbedBlot extends LeafBlot$1{static formats(_e,ft){}format(_e,ft){super.formatAt(0,this.length(),_e,ft)}formatAt(_e,ft,mt,bt){_e===0&&ft===this.length()?this.format(mt,bt):super.formatAt(_e,ft,mt,bt)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const EmbedBlot$1=EmbedBlot,OBSERVER_CONFIG={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},MAX_OPTIMIZE_ITERATIONS=100,_ScrollBlot=class extends ParentBlot$1{constructor(_e,ft){super(null,ft),this.registry=_e,this.scroll=this,this.build(),this.observer=new MutationObserver(mt=>{this.update(mt)}),this.observer.observe(this.domNode,OBSERVER_CONFIG),this.attach()}create(_e,ft){return this.registry.create(this,_e,ft)}find(_e,ft=!1){const mt=this.registry.find(_e,ft);return mt?mt.scroll===this?mt:ft?this.find(mt.scroll.domNode.parentNode,!0):null:null}query(_e,ft=Scope.ANY){return this.registry.query(_e,ft)}register(..._e){return this.registry.register(..._e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(_e,ft){this.update(),_e===0&&ft===this.length()?this.children.forEach(mt=>{mt.remove()}):super.deleteAt(_e,ft)}formatAt(_e,ft,mt,bt){this.update(),super.formatAt(_e,ft,mt,bt)}insertAt(_e,ft,mt){this.update(),super.insertAt(_e,ft,mt)}optimize(_e=[],ft={}){super.optimize(ft);const mt=ft.mutationsMap||new WeakMap;let bt=Array.from(this.observer.takeRecords());for(;bt.length>0;)_e.push(bt.pop());const vt=(Rt,Pt=!0)=>{Rt==null||Rt===this||Rt.domNode.parentNode!=null&&(mt.has(Rt.domNode)||mt.set(Rt.domNode,[]),Pt&&vt(Rt.parent))},$t=Rt=>{mt.has(Rt.domNode)&&(Rt instanceof ParentBlot$1&&Rt.children.forEach($t),mt.delete(Rt.domNode),Rt.optimize(ft))};let _t=_e;for(let Rt=0;_t.length>0;Rt+=1){if(Rt>=MAX_OPTIMIZE_ITERATIONS)throw new Error("[Parchment] Maximum optimize iterations reached");for(_t.forEach(Pt=>{const Ft=this.find(Pt.target,!0);Ft!=null&&(Ft.domNode===Pt.target&&(Pt.type==="childList"?(vt(this.find(Pt.previousSibling,!1)),Array.from(Pt.addedNodes).forEach(Bt=>{const Gt=this.find(Bt,!1);vt(Gt,!1),Gt instanceof ParentBlot$1&&Gt.children.forEach(Wt=>{vt(Wt,!1)})})):Pt.type==="attributes"&&vt(Ft.prev)),vt(Ft))}),this.children.forEach($t),_t=Array.from(this.observer.takeRecords()),bt=_t.slice();bt.length>0;)_e.push(bt.pop())}}update(_e,ft={}){_e=_e||this.observer.takeRecords();const mt=new WeakMap;_e.map(bt=>{const vt=this.find(bt.target,!0);return vt==null?null:mt.has(vt.domNode)?(mt.get(vt.domNode).push(bt),null):(mt.set(vt.domNode,[bt]),vt)}).forEach(bt=>{bt!=null&&bt!==this&&mt.has(bt.domNode)&&bt.update(mt.get(bt.domNode)||[],ft)}),ft.mutationsMap=mt,mt.has(this.domNode)&&super.update(mt.get(this.domNode),ft),this.optimize(_e,ft)}};_ScrollBlot.blotName="scroll",_ScrollBlot.defaultChild=BlockBlot$1,_ScrollBlot.allowedChildren=[BlockBlot$1,ContainerBlot$1],_ScrollBlot.scope=Scope.BLOCK_BLOT,_ScrollBlot.tagName="DIV";let ScrollBlot=_ScrollBlot;const ScrollBlot$1=ScrollBlot,_TextBlot=class ev extends LeafBlot$1{static create(_e){return document.createTextNode(_e)}static value(_e){return _e.data}constructor(_e,ft){super(_e,ft),this.text=this.statics.value(this.domNode)}deleteAt(_e,ft){this.domNode.data=this.text=this.text.slice(0,_e)+this.text.slice(_e+ft)}index(_e,ft){return this.domNode===_e?ft:-1}insertAt(_e,ft,mt){mt==null?(this.text=this.text.slice(0,_e)+ft+this.text.slice(_e),this.domNode.data=this.text):super.insertAt(_e,ft,mt)}length(){return this.text.length}optimize(_e){super.optimize(_e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof ev&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(_e,ft=!1){return[this.domNode,_e]}split(_e,ft=!1){if(!ft){if(_e===0)return this;if(_e===this.length())return this.next}const mt=this.scroll.create(this.domNode.splitText(_e));return this.parent.insertBefore(mt,this.next||void 0),this.text=this.statics.value(this.domNode),mt}update(_e,ft){_e.some(mt=>mt.type==="characterData"&&mt.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};_TextBlot.blotName="text",_TextBlot.scope=Scope.INLINE_BLOT;let TextBlot=_TextBlot;const TextBlot$1=TextBlot,Parchment=Object.freeze(Object.defineProperty({__proto__:null,Attributor,AttributorStore:AttributorStore$1,BlockBlot:BlockBlot$1,ClassAttributor:ClassAttributor$1,ContainerBlot:ContainerBlot$1,EmbedBlot:EmbedBlot$1,InlineBlot:InlineBlot$1,LeafBlot:LeafBlot$1,ParentBlot:ParentBlot$1,Registry,Scope,ScrollBlot:ScrollBlot$1,StyleAttributor:StyleAttributor$1,TextBlot:TextBlot$1},Symbol.toStringTag,{value:"Module"}));var Delta$1={exports:{}},DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0;function diff_main(pt,_e,ft,mt,bt){if(pt===_e)return pt?[[DIFF_EQUAL,pt]]:[];if(ft!=null){var vt=find_cursor_edit_diff(pt,_e,ft);if(vt)return vt}var $t=diff_commonPrefix(pt,_e),_t=pt.substring(0,$t);pt=pt.substring($t),_e=_e.substring($t),$t=diff_commonSuffix(pt,_e);var Rt=pt.substring(pt.length-$t);pt=pt.substring(0,pt.length-$t),_e=_e.substring(0,_e.length-$t);var Pt=diff_compute_(pt,_e);return _t&&Pt.unshift([DIFF_EQUAL,_t]),Rt&&Pt.push([DIFF_EQUAL,Rt]),diff_cleanupMerge(Pt,bt),mt&&diff_cleanupSemantic(Pt),Pt}function diff_compute_(pt,_e){var ft;if(!pt)return[[DIFF_INSERT,_e]];if(!_e)return[[DIFF_DELETE,pt]];var mt=pt.length>_e.length?pt:_e,bt=pt.length>_e.length?_e:pt,vt=mt.indexOf(bt);if(vt!==-1)return ft=[[DIFF_INSERT,mt.substring(0,vt)],[DIFF_EQUAL,bt],[DIFF_INSERT,mt.substring(vt+bt.length)]],pt.length>_e.length&&(ft[0][0]=ft[2][0]=DIFF_DELETE),ft;if(bt.length===1)return[[DIFF_DELETE,pt],[DIFF_INSERT,_e]];var $t=diff_halfMatch_(pt,_e);if($t){var _t=$t[0],Rt=$t[1],Pt=$t[2],Ft=$t[3],Bt=$t[4],Gt=diff_main(_t,Pt),Wt=diff_main(Rt,Ft);return Gt.concat([[DIFF_EQUAL,Bt]],Wt)}return diff_bisect_(pt,_e)}function diff_bisect_(pt,_e){for(var ft=pt.length,mt=_e.length,bt=Math.ceil((ft+mt)/2),vt=bt,$t=2*bt,_t=new Array($t),Rt=new Array($t),Pt=0;Pt<$t;Pt++)_t[Pt]=-1,Rt[Pt]=-1;_t[vt+1]=0,Rt[vt+1]=0;for(var Ft=ft-mt,Bt=Ft%2!==0,Gt=0,Wt=0,Vt=0,Xt=0,er=0;er<bt;er++){for(var nr=-er+Gt;nr<=er-Wt;nr+=2){var rr=vt+nr,tr;nr===-er||nr!==er&&_t[rr-1]<_t[rr+1]?tr=_t[rr+1]:tr=_t[rr-1]+1;for(var or=tr-nr;tr<ft&&or<mt&&pt.charAt(tr)===_e.charAt(or);)tr++,or++;if(_t[rr]=tr,tr>ft)Wt+=2;else if(or>mt)Gt+=2;else if(Bt){var ar=vt+Ft-nr;if(ar>=0&&ar<$t&&Rt[ar]!==-1){var sr=ft-Rt[ar];if(tr>=sr)return diff_bisectSplit_(pt,_e,tr,or)}}}for(var lr=-er+Vt;lr<=er-Xt;lr+=2){var ar=vt+lr,sr;lr===-er||lr!==er&&Rt[ar-1]<Rt[ar+1]?sr=Rt[ar+1]:sr=Rt[ar-1]+1;for(var fr=sr-lr;sr<ft&&fr<mt&&pt.charAt(ft-sr-1)===_e.charAt(mt-fr-1);)sr++,fr++;if(Rt[ar]=sr,sr>ft)Xt+=2;else if(fr>mt)Vt+=2;else if(!Bt){var rr=vt+Ft-lr;if(rr>=0&&rr<$t&&_t[rr]!==-1){var tr=_t[rr],or=vt+tr-rr;if(sr=ft-sr,tr>=sr)return diff_bisectSplit_(pt,_e,tr,or)}}}}return[[DIFF_DELETE,pt],[DIFF_INSERT,_e]]}function diff_bisectSplit_(pt,_e,ft,mt){var bt=pt.substring(0,ft),vt=_e.substring(0,mt),$t=pt.substring(ft),_t=_e.substring(mt),Rt=diff_main(bt,vt),Pt=diff_main($t,_t);return Rt.concat(Pt)}function diff_commonPrefix(pt,_e){if(!pt||!_e||pt.charAt(0)!==_e.charAt(0))return 0;for(var ft=0,mt=Math.min(pt.length,_e.length),bt=mt,vt=0;ft<bt;)pt.substring(vt,bt)==_e.substring(vt,bt)?(ft=bt,vt=ft):mt=bt,bt=Math.floor((mt-ft)/2+ft);return is_surrogate_pair_start(pt.charCodeAt(bt-1))&&bt--,bt}function diff_commonOverlap_(pt,_e){var ft=pt.length,mt=_e.length;if(ft==0||mt==0)return 0;ft>mt?pt=pt.substring(ft-mt):ft<mt&&(_e=_e.substring(0,ft));var bt=Math.min(ft,mt);if(pt==_e)return bt;for(var vt=0,$t=1;;){var _t=pt.substring(bt-$t),Rt=_e.indexOf(_t);if(Rt==-1)return vt;$t+=Rt,(Rt==0||pt.substring(bt-$t)==_e.substring(0,$t))&&(vt=$t,$t++)}}function diff_commonSuffix(pt,_e){if(!pt||!_e||pt.slice(-1)!==_e.slice(-1))return 0;for(var ft=0,mt=Math.min(pt.length,_e.length),bt=mt,vt=0;ft<bt;)pt.substring(pt.length-bt,pt.length-vt)==_e.substring(_e.length-bt,_e.length-vt)?(ft=bt,vt=ft):mt=bt,bt=Math.floor((mt-ft)/2+ft);return is_surrogate_pair_end(pt.charCodeAt(pt.length-bt))&&bt--,bt}function diff_halfMatch_(pt,_e){var ft=pt.length>_e.length?pt:_e,mt=pt.length>_e.length?_e:pt;if(ft.length<4||mt.length*2<ft.length)return null;function bt(Wt,Vt,Xt){for(var er=Wt.substring(Xt,Xt+Math.floor(Wt.length/4)),nr=-1,rr="",tr,or,ar,sr;(nr=Vt.indexOf(er,nr+1))!==-1;){var lr=diff_commonPrefix(Wt.substring(Xt),Vt.substring(nr)),fr=diff_commonSuffix(Wt.substring(0,Xt),Vt.substring(0,nr));rr.length<fr+lr&&(rr=Vt.substring(nr-fr,nr)+Vt.substring(nr,nr+lr),tr=Wt.substring(0,Xt-fr),or=Wt.substring(Xt+lr),ar=Vt.substring(0,nr-fr),sr=Vt.substring(nr+lr))}return rr.length*2>=Wt.length?[tr,or,ar,sr,rr]:null}var vt=bt(ft,mt,Math.ceil(ft.length/4)),$t=bt(ft,mt,Math.ceil(ft.length/2)),_t;if(!vt&&!$t)return null;$t?vt?_t=vt[4].length>$t[4].length?vt:$t:_t=$t:_t=vt;var Rt,Pt,Ft,Bt;pt.length>_e.length?(Rt=_t[0],Pt=_t[1],Ft=_t[2],Bt=_t[3]):(Ft=_t[0],Bt=_t[1],Rt=_t[2],Pt=_t[3]);var Gt=_t[4];return[Rt,Pt,Ft,Bt,Gt]}function diff_cleanupSemantic(pt){for(var _e=!1,ft=[],mt=0,bt=null,vt=0,$t=0,_t=0,Rt=0,Pt=0;vt<pt.length;)pt[vt][0]==DIFF_EQUAL?(ft[mt++]=vt,$t=Rt,_t=Pt,Rt=0,Pt=0,bt=pt[vt][1]):(pt[vt][0]==DIFF_INSERT?Rt+=pt[vt][1].length:Pt+=pt[vt][1].length,bt&&bt.length<=Math.max($t,_t)&&bt.length<=Math.max(Rt,Pt)&&(pt.splice(ft[mt-1],0,[DIFF_DELETE,bt]),pt[ft[mt-1]+1][0]=DIFF_INSERT,mt--,mt--,vt=mt>0?ft[mt-1]:-1,$t=0,_t=0,Rt=0,Pt=0,bt=null,_e=!0)),vt++;for(_e&&diff_cleanupMerge(pt),diff_cleanupSemanticLossless(pt),vt=1;vt<pt.length;){if(pt[vt-1][0]==DIFF_DELETE&&pt[vt][0]==DIFF_INSERT){var Ft=pt[vt-1][1],Bt=pt[vt][1],Gt=diff_commonOverlap_(Ft,Bt),Wt=diff_commonOverlap_(Bt,Ft);Gt>=Wt?(Gt>=Ft.length/2||Gt>=Bt.length/2)&&(pt.splice(vt,0,[DIFF_EQUAL,Bt.substring(0,Gt)]),pt[vt-1][1]=Ft.substring(0,Ft.length-Gt),pt[vt+1][1]=Bt.substring(Gt),vt++):(Wt>=Ft.length/2||Wt>=Bt.length/2)&&(pt.splice(vt,0,[DIFF_EQUAL,Ft.substring(0,Wt)]),pt[vt-1][0]=DIFF_INSERT,pt[vt-1][1]=Bt.substring(0,Bt.length-Wt),pt[vt+1][0]=DIFF_DELETE,pt[vt+1][1]=Ft.substring(Wt),vt++),vt++}vt++}}var nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,whitespaceRegex_=/\s/,linebreakRegex_=/[\r\n]/,blanklineEndRegex_=/\n\r?\n$/,blanklineStartRegex_=/^\r?\n\r?\n/;function diff_cleanupSemanticLossless(pt){function _e(Wt,Vt){if(!Wt||!Vt)return 6;var Xt=Wt.charAt(Wt.length-1),er=Vt.charAt(0),nr=Xt.match(nonAlphaNumericRegex_),rr=er.match(nonAlphaNumericRegex_),tr=nr&&Xt.match(whitespaceRegex_),or=rr&&er.match(whitespaceRegex_),ar=tr&&Xt.match(linebreakRegex_),sr=or&&er.match(linebreakRegex_),lr=ar&&Wt.match(blanklineEndRegex_),fr=sr&&Vt.match(blanklineStartRegex_);return lr||fr?5:ar||sr?4:nr&&!tr&&or?3:tr||or?2:nr||rr?1:0}for(var ft=1;ft<pt.length-1;){if(pt[ft-1][0]==DIFF_EQUAL&&pt[ft+1][0]==DIFF_EQUAL){var mt=pt[ft-1][1],bt=pt[ft][1],vt=pt[ft+1][1],$t=diff_commonSuffix(mt,bt);if($t){var _t=bt.substring(bt.length-$t);mt=mt.substring(0,mt.length-$t),bt=_t+bt.substring(0,bt.length-$t),vt=_t+vt}for(var Rt=mt,Pt=bt,Ft=vt,Bt=_e(mt,bt)+_e(bt,vt);bt.charAt(0)===vt.charAt(0);){mt+=bt.charAt(0),bt=bt.substring(1)+vt.charAt(0),vt=vt.substring(1);var Gt=_e(mt,bt)+_e(bt,vt);Gt>=Bt&&(Bt=Gt,Rt=mt,Pt=bt,Ft=vt)}pt[ft-1][1]!=Rt&&(Rt?pt[ft-1][1]=Rt:(pt.splice(ft-1,1),ft--),pt[ft][1]=Pt,Ft?pt[ft+1][1]=Ft:(pt.splice(ft+1,1),ft--))}ft++}}function diff_cleanupMerge(pt,_e){pt.push([DIFF_EQUAL,""]);for(var ft=0,mt=0,bt=0,vt="",$t="",_t;ft<pt.length;){if(ft<pt.length-1&&!pt[ft][1]){pt.splice(ft,1);continue}switch(pt[ft][0]){case DIFF_INSERT:bt++,$t+=pt[ft][1],ft++;break;case DIFF_DELETE:mt++,vt+=pt[ft][1],ft++;break;case DIFF_EQUAL:var Rt=ft-bt-mt-1;if(_e){if(Rt>=0&&ends_with_pair_start(pt[Rt][1])){var Pt=pt[Rt][1].slice(-1);if(pt[Rt][1]=pt[Rt][1].slice(0,-1),vt=Pt+vt,$t=Pt+$t,!pt[Rt][1]){pt.splice(Rt,1),ft--;var Ft=Rt-1;pt[Ft]&&pt[Ft][0]===DIFF_INSERT&&(bt++,$t=pt[Ft][1]+$t,Ft--),pt[Ft]&&pt[Ft][0]===DIFF_DELETE&&(mt++,vt=pt[Ft][1]+vt,Ft--),Rt=Ft}}if(starts_with_pair_end(pt[ft][1])){var Pt=pt[ft][1].charAt(0);pt[ft][1]=pt[ft][1].slice(1),vt+=Pt,$t+=Pt}}if(ft<pt.length-1&&!pt[ft][1]){pt.splice(ft,1);break}if(vt.length>0||$t.length>0){vt.length>0&&$t.length>0&&(_t=diff_commonPrefix($t,vt),_t!==0&&(Rt>=0?pt[Rt][1]+=$t.substring(0,_t):(pt.splice(0,0,[DIFF_EQUAL,$t.substring(0,_t)]),ft++),$t=$t.substring(_t),vt=vt.substring(_t)),_t=diff_commonSuffix($t,vt),_t!==0&&(pt[ft][1]=$t.substring($t.length-_t)+pt[ft][1],$t=$t.substring(0,$t.length-_t),vt=vt.substring(0,vt.length-_t)));var Bt=bt+mt;vt.length===0&&$t.length===0?(pt.splice(ft-Bt,Bt),ft=ft-Bt):vt.length===0?(pt.splice(ft-Bt,Bt,[DIFF_INSERT,$t]),ft=ft-Bt+1):$t.length===0?(pt.splice(ft-Bt,Bt,[DIFF_DELETE,vt]),ft=ft-Bt+1):(pt.splice(ft-Bt,Bt,[DIFF_DELETE,vt],[DIFF_INSERT,$t]),ft=ft-Bt+2)}ft!==0&&pt[ft-1][0]===DIFF_EQUAL?(pt[ft-1][1]+=pt[ft][1],pt.splice(ft,1)):ft++,bt=0,mt=0,vt="",$t="";break}}pt[pt.length-1][1]===""&&pt.pop();var Gt=!1;for(ft=1;ft<pt.length-1;)pt[ft-1][0]===DIFF_EQUAL&&pt[ft+1][0]===DIFF_EQUAL&&(pt[ft][1].substring(pt[ft][1].length-pt[ft-1][1].length)===pt[ft-1][1]?(pt[ft][1]=pt[ft-1][1]+pt[ft][1].substring(0,pt[ft][1].length-pt[ft-1][1].length),pt[ft+1][1]=pt[ft-1][1]+pt[ft+1][1],pt.splice(ft-1,1),Gt=!0):pt[ft][1].substring(0,pt[ft+1][1].length)==pt[ft+1][1]&&(pt[ft-1][1]+=pt[ft+1][1],pt[ft][1]=pt[ft][1].substring(pt[ft+1][1].length)+pt[ft+1][1],pt.splice(ft+1,1),Gt=!0)),ft++;Gt&&diff_cleanupMerge(pt,_e)}function is_surrogate_pair_start(pt){return pt>=55296&&pt<=56319}function is_surrogate_pair_end(pt){return pt>=56320&&pt<=57343}function starts_with_pair_end(pt){return is_surrogate_pair_end(pt.charCodeAt(0))}function ends_with_pair_start(pt){return is_surrogate_pair_start(pt.charCodeAt(pt.length-1))}function remove_empty_tuples(pt){for(var _e=[],ft=0;ft<pt.length;ft++)pt[ft][1].length>0&&_e.push(pt[ft]);return _e}function make_edit_splice(pt,_e,ft,mt){return ends_with_pair_start(pt)||starts_with_pair_end(mt)?null:remove_empty_tuples([[DIFF_EQUAL,pt],[DIFF_DELETE,_e],[DIFF_INSERT,ft],[DIFF_EQUAL,mt]])}function find_cursor_edit_diff(pt,_e,ft){var mt=typeof ft=="number"?{index:ft,length:0}:ft.oldRange,bt=typeof ft=="number"?null:ft.newRange,vt=pt.length,$t=_e.length;if(mt.length===0&&(bt===null||bt.length===0)){var _t=mt.index,Rt=pt.slice(0,_t),Pt=pt.slice(_t),Ft=bt?bt.index:null;e:{var Bt=_t+$t-vt;if(Ft!==null&&Ft!==Bt||Bt<0||Bt>$t)break e;var Gt=_e.slice(0,Bt),Wt=_e.slice(Bt);if(Wt!==Pt)break e;var Vt=Math.min(_t,Bt),Xt=Rt.slice(0,Vt),er=Gt.slice(0,Vt);if(Xt!==er)break e;var nr=Rt.slice(Vt),rr=Gt.slice(Vt);return make_edit_splice(Xt,nr,rr,Pt)}e:{if(Ft!==null&&Ft!==_t)break e;var tr=_t,Gt=_e.slice(0,tr),Wt=_e.slice(tr);if(Gt!==Rt)break e;var or=Math.min(vt-tr,$t-tr),ar=Pt.slice(Pt.length-or),sr=Wt.slice(Wt.length-or);if(ar!==sr)break e;var nr=Pt.slice(0,Pt.length-or),rr=Wt.slice(0,Wt.length-or);return make_edit_splice(Rt,nr,rr,ar)}}if(mt.length>0&&bt&&bt.length===0)e:{var Xt=pt.slice(0,mt.index),ar=pt.slice(mt.index+mt.length),Vt=Xt.length,or=ar.length;if($t<Vt+or)break e;var er=_e.slice(0,Vt),sr=_e.slice($t-or);if(Xt!==er||ar!==sr)break e;var nr=pt.slice(Vt,vt-or),rr=_e.slice(Vt,$t-or);return make_edit_splice(Xt,nr,rr,ar)}return null}function diff(pt,_e,ft,mt){return diff_main(pt,_e,ft,mt,!0)}diff.INSERT=DIFF_INSERT;diff.DELETE=DIFF_DELETE;diff.EQUAL=DIFF_EQUAL;var diff_1=diff,lodash_clonedeep={exports:{}};lodash_clonedeep.exports;(function(pt,_e){var ft=200,mt="__lodash_hash_undefined__",bt=9007199254740991,vt="[object Arguments]",$t="[object Array]",_t="[object Boolean]",Rt="[object Date]",Pt="[object Error]",Ft="[object Function]",Bt="[object GeneratorFunction]",Gt="[object Map]",Wt="[object Number]",Vt="[object Object]",Xt="[object Promise]",er="[object RegExp]",nr="[object Set]",rr="[object String]",tr="[object Symbol]",or="[object WeakMap]",ar="[object ArrayBuffer]",sr="[object DataView]",lr="[object Float32Array]",fr="[object Float64Array]",gr="[object Int8Array]",vr="[object Int16Array]",Ut="[object Int32Array]",Zt="[object Uint8Array]",Kt="[object Uint8ClampedArray]",qt="[object Uint16Array]",Ht="[object Uint32Array]",Jt=/[\\^$.*+?()[\]{}|]/g,ir=/\w*$/,dr=/^\[object .+?Constructor\]$/,pr=/^(?:0|[1-9]\d*)$/,ur={};ur[vt]=ur[$t]=ur[ar]=ur[sr]=ur[_t]=ur[Rt]=ur[lr]=ur[fr]=ur[gr]=ur[vr]=ur[Ut]=ur[Gt]=ur[Wt]=ur[Vt]=ur[er]=ur[nr]=ur[rr]=ur[tr]=ur[Zt]=ur[Kt]=ur[qt]=ur[Ht]=!0,ur[Pt]=ur[Ft]=ur[or]=!1;var hr=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,mr=typeof self=="object"&&self&&self.Object===Object&&self,yr=hr||mr||Function("return this")(),Er=_e&&!_e.nodeType&&_e,Ir=Er&&!0&&pt&&!pt.nodeType&&pt,Mr=Ir&&Ir.exports===Er;function Tr(Ur,tn){return Ur.set(tn[0],tn[1]),Ur}function xr(Ur,tn){return Ur.add(tn),Ur}function Nr(Ur,tn){for(var hn=-1,Hn=Ur?Ur.length:0;++hn<Hn&&tn(Ur[hn],hn,Ur)!==!1;);return Ur}function Or(Ur,tn){for(var hn=-1,Hn=tn.length,Jo=Ur.length;++hn<Hn;)Ur[Jo+hn]=tn[hn];return Ur}function jr(Ur,tn,hn,Hn){var Jo=-1,Bo=Ur?Ur.length:0;for(Hn&&Bo&&(hn=Ur[++Jo]);++Jo<Bo;)hn=tn(hn,Ur[Jo],Jo,Ur);return hn}function Lr(Ur,tn){for(var hn=-1,Hn=Array(Ur);++hn<Ur;)Hn[hn]=tn(hn);return Hn}function Vr(Ur,tn){return Ur==null?void 0:Ur[tn]}function Yr(Ur){var tn=!1;if(Ur!=null&&typeof Ur.toString!="function")try{tn=!!(Ur+"")}catch(hn){}return tn}function Qr(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn,Jo){hn[++tn]=[Jo,Hn]}),hn}function Xr(Ur,tn){return function(hn){return Ur(tn(hn))}}function Hr(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn){hn[++tn]=Hn}),hn}var Zr=Array.prototype,Cr=Function.prototype,Dr=Object.prototype,kr=yr["__core-js_shared__"],$r=function(){var Ur=/[^.]+$/.exec(kr&&kr.keys&&kr.keys.IE_PROTO||"");return Ur?"Symbol(src)_1."+Ur:""}(),Rr=Cr.toString,qr=Dr.hasOwnProperty,nn=Dr.toString,Fr=RegExp("^"+Rr.call(qr).replace(Jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zr=Mr?yr.Buffer:void 0,Ar=yr.Symbol,Sr=yr.Uint8Array,Pr=Xr(Object.getPrototypeOf,Object),Jr=Object.create,Gr=Dr.propertyIsEnumerable,Wr=Zr.splice,xn=Object.getOwnPropertySymbols,ln=zr?zr.isBuffer:void 0,gn=Xr(Object.keys,Object),zn=$n(yr,"DataView"),pn=$n(yr,"Map"),vn=$n(yr,"Promise"),Gn=$n(yr,"Set"),yn=$n(yr,"WeakMap"),Tn=$n(Object,"create"),Jn=fo(zn),mn=fo(pn),Cn=fo(vn),io=fo(Gn),cn=fo(yn),fn=Ar?Ar.prototype:void 0,On=fn?fn.valueOf:void 0;function sn(Ur){var tn=-1,hn=Ur?Ur.length:0;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function Mn(){this.__data__=Tn?Tn(null):{}}function so(Ur){return this.has(Ur)&&delete this.__data__[Ur]}function In(Ur){var tn=this.__data__;if(Tn){var hn=tn[Ur];return hn===mt?void 0:hn}return qr.call(tn,Ur)?tn[Ur]:void 0}function jn(Ur){var tn=this.__data__;return Tn?tn[Ur]!==void 0:qr.call(tn,Ur)}function wo(Ur,tn){var hn=this.__data__;return hn[Ur]=Tn&&tn===void 0?mt:tn,this}sn.prototype.clear=Mn,sn.prototype.delete=so,sn.prototype.get=In,sn.prototype.has=jn,sn.prototype.set=wo;function wn(Ur){var tn=-1,hn=Ur?Ur.length:0;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function Dn(){this.__data__=[]}function Eo(Ur){var tn=this.__data__,hn=yo(tn,Ur);if(hn<0)return!1;var Hn=tn.length-1;return hn==Hn?tn.pop():Wr.call(tn,hn,1),!0}function kn(Ur){var tn=this.__data__,hn=yo(tn,Ur);return hn<0?void 0:tn[hn][1]}function Ln(Ur){return yo(this.__data__,Ur)>-1}function ho(Ur,tn){var hn=this.__data__,Hn=yo(hn,Ur);return Hn<0?hn.push([Ur,tn]):hn[Hn][1]=tn,this}wn.prototype.clear=Dn,wn.prototype.delete=Eo,wn.prototype.get=kn,wn.prototype.has=Ln,wn.prototype.set=ho;function eo(Ur){var tn=-1,hn=Ur?Ur.length:0;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function po(){this.__data__={hash:new sn,map:new(pn||wn),string:new sn}}function uo(Ur){return Yn(this,Ur).delete(Ur)}function Co(Ur){return Yn(this,Ur).get(Ur)}function To(Ur){return Yn(this,Ur).has(Ur)}function Fo(Ur,tn){return Yn(this,Ur).set(Ur,tn),this}eo.prototype.clear=po,eo.prototype.delete=uo,eo.prototype.get=Co,eo.prototype.has=To,eo.prototype.set=Fo;function Vn(Ur){this.__data__=new wn(Ur)}function qn(){this.__data__=new wn}function Qn(Ur){return this.__data__.delete(Ur)}function oo(Ur){return this.__data__.get(Ur)}function bo(Ur){return this.__data__.has(Ur)}function Ro(Ur,tn){var hn=this.__data__;if(hn instanceof wn){var Hn=hn.__data__;if(!pn||Hn.length<ft-1)return Hn.push([Ur,tn]),this;hn=this.__data__=new eo(Hn)}return hn.set(Ur,tn),this}Vn.prototype.clear=qn,Vn.prototype.delete=Qn,Vn.prototype.get=oo,Vn.prototype.has=bo,Vn.prototype.set=Ro;function zo(Ur,tn){var hn=Nn(Ur)||Bs(Ur)?Lr(Ur.length,String):[],Hn=hn.length,Jo=!!Hn;for(var Bo in Ur)(tn||qr.call(Ur,Bo))&&!(Jo&&(Bo=="length"||No(Bo,Hn)))&&hn.push(Bo);return hn}function qo(Ur,tn,hn){var Hn=Ur[tn];(!(qr.call(Ur,tn)&&vs(Hn,hn))||hn===void 0&&!(tn in Ur))&&(Ur[tn]=hn)}function yo(Ur,tn){for(var hn=Ur.length;hn--;)if(vs(Ur[hn][0],tn))return hn;return-1}function mo(Ur,tn){return Ur&&En(tn,Vo(tn),Ur)}function Go(Ur,tn,hn,Hn,Jo,Bo,Ps){var Rs;if(Hn&&(Rs=Bo?Hn(Ur,Jo,Bo,Ps):Hn(Ur)),Rs!==void 0)return Rs;if(!So(Ur))return Ur;var El=Nn(Ur);if(El){if(Rs=Zo(Ur),!tn)return un(Ur,Rs)}else{var Ks=Mo(Ur),xl=Ks==Ft||Ks==Bt;if(Bn(Ur))return $s(Ur,tn);if(Ks==Vt||Ks==vt||xl&&!Bo){if(Yr(Ur))return Bo?Ur:{};if(Rs=Do(xl?{}:Ur),!tn)return Un(Ur,mo(Rs,Ur))}else{if(!ur[Ks])return Bo?Ur:{};Rs=_a(Ur,Ks,Go,tn)}}Ps||(Ps=new Vn);var _l=Ps.get(Ur);if(_l)return _l;if(Ps.set(Ur,Rs),!El)var Cl=hn?_n(Ur):Vo(Ur);return Nr(Cl||Ur,function(Tl,yl){Cl&&(yl=Tl,Tl=Ur[yl]),qo(Rs,yl,Go(Tl,tn,hn,Hn,yl,Ur,Ps))}),Rs}function Wo(Ur){return So(Ur)?Jr(Ur):{}}function Js(Ur,tn,hn){var Hn=tn(Ur);return Nn(Ur)?Hn:Or(Hn,hn(Ur))}function Yo(Ur){return nn.call(Ur)}function Oo(Ur){if(!So(Ur)||xo(Ur))return!1;var tn=Kn(Ur)||Yr(Ur)?Fr:dr;return tn.test(fo(Ur))}function Ko(Ur){if(!vo(Ur))return gn(Ur);var tn=[];for(var hn in Object(Ur))qr.call(Ur,hn)&&hn!="constructor"&&tn.push(hn);return tn}function $s(Ur,tn){if(tn)return Ur.slice();var hn=new Ur.constructor(Ur.length);return Ur.copy(hn),hn}function ps(Ur){var tn=new Ur.constructor(Ur.byteLength);return new Sr(tn).set(new Sr(Ur)),tn}function Lo(Ur,tn){var hn=tn?ps(Ur.buffer):Ur.buffer;return new Ur.constructor(hn,Ur.byteOffset,Ur.byteLength)}function ko(Ur,tn,hn){var Hn=tn?hn(Qr(Ur),!0):Qr(Ur);return jr(Hn,Tr,new Ur.constructor)}function Ho(Ur){var tn=new Ur.constructor(Ur.source,ir.exec(Ur));return tn.lastIndex=Ur.lastIndex,tn}function Fs(Ur,tn,hn){var Hn=tn?hn(Hr(Ur),!0):Hr(Ur);return jr(Hn,xr,new Ur.constructor)}function dn(Ur){return On?Object(On.call(Ur)):{}}function en(Ur,tn){var hn=tn?ps(Ur.buffer):Ur.buffer;return new Ur.constructor(hn,Ur.byteOffset,Ur.length)}function un(Ur,tn){var hn=-1,Hn=Ur.length;for(tn||(tn=Array(Hn));++hn<Hn;)tn[hn]=Ur[hn];return tn}function En(Ur,tn,hn,Hn){hn||(hn={});for(var Jo=-1,Bo=tn.length;++Jo<Bo;){var Ps=tn[Jo],Rs=Hn?Hn(hn[Ps],Ur[Ps],Ps,hn,Ur):void 0;qo(hn,Ps,Rs===void 0?Ur[Ps]:Rs)}return hn}function Un(Ur,tn){return En(Ur,Wn(Ur),tn)}function _n(Ur){return Js(Ur,Vo,Wn)}function Yn(Ur,tn){var hn=Ur.__data__;return Ws(tn)?hn[typeof tn=="string"?"string":"hash"]:hn.map}function $n(Ur,tn){var hn=Vr(Ur,tn);return Oo(hn)?hn:void 0}var Wn=xn?Xr(xn,Object):qs,Mo=Yo;(zn&&Mo(new zn(new ArrayBuffer(1)))!=sr||pn&&Mo(new pn)!=Gt||vn&&Mo(vn.resolve())!=Xt||Gn&&Mo(new Gn)!=nr||yn&&Mo(new yn)!=or)&&(Mo=function(Ur){var tn=nn.call(Ur),hn=tn==Vt?Ur.constructor:void 0,Hn=hn?fo(hn):void 0;if(Hn)switch(Hn){case Jn:return sr;case mn:return Gt;case Cn:return Xt;case io:return nr;case cn:return or}return tn});function Zo(Ur){var tn=Ur.length,hn=Ur.constructor(tn);return tn&&typeof Ur[0]=="string"&&qr.call(Ur,"index")&&(hn.index=Ur.index,hn.input=Ur.input),hn}function Do(Ur){return typeof Ur.constructor=="function"&&!vo(Ur)?Wo(Pr(Ur)):{}}function _a(Ur,tn,hn,Hn){var Jo=Ur.constructor;switch(tn){case ar:return ps(Ur);case _t:case Rt:return new Jo(+Ur);case sr:return Lo(Ur,Hn);case lr:case fr:case gr:case vr:case Ut:case Zt:case Kt:case qt:case Ht:return en(Ur,Hn);case Gt:return ko(Ur,Hn,hn);case Wt:case rr:return new Jo(Ur);case er:return Ho(Ur);case nr:return Fs(Ur,Hn,hn);case tr:return dn(Ur)}}function No(Ur,tn){return tn=tn==null?bt:tn,!!tn&&(typeof Ur=="number"||pr.test(Ur))&&Ur>-1&&Ur%1==0&&Ur<tn}function Ws(Ur){var tn=typeof Ur;return tn=="string"||tn=="number"||tn=="symbol"||tn=="boolean"?Ur!=="__proto__":Ur===null}function xo(Ur){return!!$r&&$r in Ur}function vo(Ur){var tn=Ur&&Ur.constructor,hn=typeof tn=="function"&&tn.prototype||Dr;return Ur===hn}function fo(Ur){if(Ur!=null){try{return Rr.call(Ur)}catch(tn){}try{return Ur+""}catch(tn){}}return""}function Uo(Ur){return Go(Ur,!0,!0)}function vs(Ur,tn){return Ur===tn||Ur!==Ur&&tn!==tn}function Bs(Ur){return An(Ur)&&qr.call(Ur,"callee")&&(!Gr.call(Ur,"callee")||nn.call(Ur)==vt)}var Nn=Array.isArray;function Pn(Ur){return Ur!=null&&Io(Ur.length)&&!Kn(Ur)}function An(Ur){return ga(Ur)&&Pn(Ur)}var Bn=ln||Po;function Kn(Ur){var tn=So(Ur)?nn.call(Ur):"";return tn==Ft||tn==Bt}function Io(Ur){return typeof Ur=="number"&&Ur>-1&&Ur%1==0&&Ur<=bt}function So(Ur){var tn=typeof Ur;return!!Ur&&(tn=="object"||tn=="function")}function ga(Ur){return!!Ur&&typeof Ur=="object"}function Vo(Ur){return Pn(Ur)?zo(Ur):Ko(Ur)}function qs(){return[]}function Po(){return!1}pt.exports=Uo})(lodash_clonedeep,lodash_clonedeep.exports);var lodash_clonedeepExports=lodash_clonedeep.exports,lodash_isequal={exports:{}};lodash_isequal.exports;(function(pt,_e){var ft=200,mt="__lodash_hash_undefined__",bt=1,vt=2,$t=9007199254740991,_t="[object Arguments]",Rt="[object Array]",Pt="[object AsyncFunction]",Ft="[object Boolean]",Bt="[object Date]",Gt="[object Error]",Wt="[object Function]",Vt="[object GeneratorFunction]",Xt="[object Map]",er="[object Number]",nr="[object Null]",rr="[object Object]",tr="[object Promise]",or="[object Proxy]",ar="[object RegExp]",sr="[object Set]",lr="[object String]",fr="[object Symbol]",gr="[object Undefined]",vr="[object WeakMap]",Ut="[object ArrayBuffer]",Zt="[object DataView]",Kt="[object Float32Array]",qt="[object Float64Array]",Ht="[object Int8Array]",Jt="[object Int16Array]",ir="[object Int32Array]",dr="[object Uint8Array]",pr="[object Uint8ClampedArray]",ur="[object Uint16Array]",hr="[object Uint32Array]",mr=/[\\^$.*+?()[\]{}|]/g,yr=/^\[object .+?Constructor\]$/,Er=/^(?:0|[1-9]\d*)$/,Ir={};Ir[Kt]=Ir[qt]=Ir[Ht]=Ir[Jt]=Ir[ir]=Ir[dr]=Ir[pr]=Ir[ur]=Ir[hr]=!0,Ir[_t]=Ir[Rt]=Ir[Ut]=Ir[Ft]=Ir[Zt]=Ir[Bt]=Ir[Gt]=Ir[Wt]=Ir[Xt]=Ir[er]=Ir[rr]=Ir[ar]=Ir[sr]=Ir[lr]=Ir[vr]=!1;var Mr=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Tr=typeof self=="object"&&self&&self.Object===Object&&self,xr=Mr||Tr||Function("return this")(),Nr=_e&&!_e.nodeType&&_e,Or=Nr&&!0&&pt&&!pt.nodeType&&pt,jr=Or&&Or.exports===Nr,Lr=jr&&Mr.process,Vr=function(){try{return Lr&&Lr.binding&&Lr.binding("util")}catch(Ur){}}(),Yr=Vr&&Vr.isTypedArray;function Qr(Ur,tn){for(var hn=-1,Hn=Ur==null?0:Ur.length,Jo=0,Bo=[];++hn<Hn;){var Ps=Ur[hn];tn(Ps,hn,Ur)&&(Bo[Jo++]=Ps)}return Bo}function Xr(Ur,tn){for(var hn=-1,Hn=tn.length,Jo=Ur.length;++hn<Hn;)Ur[Jo+hn]=tn[hn];return Ur}function Hr(Ur,tn){for(var hn=-1,Hn=Ur==null?0:Ur.length;++hn<Hn;)if(tn(Ur[hn],hn,Ur))return!0;return!1}function Zr(Ur,tn){for(var hn=-1,Hn=Array(Ur);++hn<Ur;)Hn[hn]=tn(hn);return Hn}function Cr(Ur){return function(tn){return Ur(tn)}}function Dr(Ur,tn){return Ur.has(tn)}function kr(Ur,tn){return Ur==null?void 0:Ur[tn]}function $r(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn,Jo){hn[++tn]=[Jo,Hn]}),hn}function Rr(Ur,tn){return function(hn){return Ur(tn(hn))}}function qr(Ur){var tn=-1,hn=Array(Ur.size);return Ur.forEach(function(Hn){hn[++tn]=Hn}),hn}var nn=Array.prototype,Fr=Function.prototype,zr=Object.prototype,Ar=xr["__core-js_shared__"],Sr=Fr.toString,Pr=zr.hasOwnProperty,Jr=function(){var Ur=/[^.]+$/.exec(Ar&&Ar.keys&&Ar.keys.IE_PROTO||"");return Ur?"Symbol(src)_1."+Ur:""}(),Gr=zr.toString,Wr=RegExp("^"+Sr.call(Pr).replace(mr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xn=jr?xr.Buffer:void 0,ln=xr.Symbol,gn=xr.Uint8Array,zn=zr.propertyIsEnumerable,pn=nn.splice,vn=ln?ln.toStringTag:void 0,Gn=Object.getOwnPropertySymbols,yn=xn?xn.isBuffer:void 0,Tn=Rr(Object.keys,Object),Jn=Wn(xr,"DataView"),mn=Wn(xr,"Map"),Cn=Wn(xr,"Promise"),io=Wn(xr,"Set"),cn=Wn(xr,"WeakMap"),fn=Wn(Object,"create"),On=fo(Jn),sn=fo(mn),Mn=fo(Cn),so=fo(io),In=fo(cn),jn=ln?ln.prototype:void 0,wo=jn?jn.valueOf:void 0;function wn(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function Dn(){this.__data__=fn?fn(null):{},this.size=0}function Eo(Ur){var tn=this.has(Ur)&&delete this.__data__[Ur];return this.size-=tn?1:0,tn}function kn(Ur){var tn=this.__data__;if(fn){var hn=tn[Ur];return hn===mt?void 0:hn}return Pr.call(tn,Ur)?tn[Ur]:void 0}function Ln(Ur){var tn=this.__data__;return fn?tn[Ur]!==void 0:Pr.call(tn,Ur)}function ho(Ur,tn){var hn=this.__data__;return this.size+=this.has(Ur)?0:1,hn[Ur]=fn&&tn===void 0?mt:tn,this}wn.prototype.clear=Dn,wn.prototype.delete=Eo,wn.prototype.get=kn,wn.prototype.has=Ln,wn.prototype.set=ho;function eo(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function po(){this.__data__=[],this.size=0}function uo(Ur){var tn=this.__data__,hn=$s(tn,Ur);if(hn<0)return!1;var Hn=tn.length-1;return hn==Hn?tn.pop():pn.call(tn,hn,1),--this.size,!0}function Co(Ur){var tn=this.__data__,hn=$s(tn,Ur);return hn<0?void 0:tn[hn][1]}function To(Ur){return $s(this.__data__,Ur)>-1}function Fo(Ur,tn){var hn=this.__data__,Hn=$s(hn,Ur);return Hn<0?(++this.size,hn.push([Ur,tn])):hn[Hn][1]=tn,this}eo.prototype.clear=po,eo.prototype.delete=uo,eo.prototype.get=Co,eo.prototype.has=To,eo.prototype.set=Fo;function Vn(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.clear();++tn<hn;){var Hn=Ur[tn];this.set(Hn[0],Hn[1])}}function qn(){this.size=0,this.__data__={hash:new wn,map:new(mn||eo),string:new wn}}function Qn(Ur){var tn=$n(this,Ur).delete(Ur);return this.size-=tn?1:0,tn}function oo(Ur){return $n(this,Ur).get(Ur)}function bo(Ur){return $n(this,Ur).has(Ur)}function Ro(Ur,tn){var hn=$n(this,Ur),Hn=hn.size;return hn.set(Ur,tn),this.size+=hn.size==Hn?0:1,this}Vn.prototype.clear=qn,Vn.prototype.delete=Qn,Vn.prototype.get=oo,Vn.prototype.has=bo,Vn.prototype.set=Ro;function zo(Ur){var tn=-1,hn=Ur==null?0:Ur.length;for(this.__data__=new Vn;++tn<hn;)this.add(Ur[tn])}function qo(Ur){return this.__data__.set(Ur,mt),this}function yo(Ur){return this.__data__.has(Ur)}zo.prototype.add=zo.prototype.push=qo,zo.prototype.has=yo;function mo(Ur){var tn=this.__data__=new eo(Ur);this.size=tn.size}function Go(){this.__data__=new eo,this.size=0}function Wo(Ur){var tn=this.__data__,hn=tn.delete(Ur);return this.size=tn.size,hn}function Js(Ur){return this.__data__.get(Ur)}function Yo(Ur){return this.__data__.has(Ur)}function Oo(Ur,tn){var hn=this.__data__;if(hn instanceof eo){var Hn=hn.__data__;if(!mn||Hn.length<ft-1)return Hn.push([Ur,tn]),this.size=++hn.size,this;hn=this.__data__=new Vn(Hn)}return hn.set(Ur,tn),this.size=hn.size,this}mo.prototype.clear=Go,mo.prototype.delete=Wo,mo.prototype.get=Js,mo.prototype.has=Yo,mo.prototype.set=Oo;function Ko(Ur,tn){var hn=Bs(Ur),Hn=!hn&&vs(Ur),Jo=!hn&&!Hn&&Pn(Ur),Bo=!hn&&!Hn&&!Jo&&ga(Ur),Ps=hn||Hn||Jo||Bo,Rs=Ps?Zr(Ur.length,String):[],El=Rs.length;for(var Ks in Ur)(tn||Pr.call(Ur,Ks))&&!(Ps&&(Ks=="length"||Jo&&(Ks=="offset"||Ks=="parent")||Bo&&(Ks=="buffer"||Ks=="byteLength"||Ks=="byteOffset")||_a(Ks,El)))&&Rs.push(Ks);return Rs}function $s(Ur,tn){for(var hn=Ur.length;hn--;)if(Uo(Ur[hn][0],tn))return hn;return-1}function ps(Ur,tn,hn){var Hn=tn(Ur);return Bs(Ur)?Hn:Xr(Hn,hn(Ur))}function Lo(Ur){return Ur==null?Ur===void 0?gr:nr:vn&&vn in Object(Ur)?Mo(Ur):vo(Ur)}function ko(Ur){return So(Ur)&&Lo(Ur)==_t}function Ho(Ur,tn,hn,Hn,Jo){return Ur===tn?!0:Ur==null||tn==null||!So(Ur)&&!So(tn)?Ur!==Ur&&tn!==tn:Fs(Ur,tn,hn,Hn,Ho,Jo)}function Fs(Ur,tn,hn,Hn,Jo,Bo){var Ps=Bs(Ur),Rs=Bs(tn),El=Ps?Rt:Do(Ur),Ks=Rs?Rt:Do(tn);El=El==_t?rr:El,Ks=Ks==_t?rr:Ks;var xl=El==rr,_l=Ks==rr,Cl=El==Ks;if(Cl&&Pn(Ur)){if(!Pn(tn))return!1;Ps=!0,xl=!1}if(Cl&&!xl)return Bo||(Bo=new mo),Ps||ga(Ur)?En(Ur,tn,hn,Hn,Jo,Bo):Un(Ur,tn,El,hn,Hn,Jo,Bo);if(!(hn&bt)){var Tl=xl&&Pr.call(Ur,"__wrapped__"),yl=_l&&Pr.call(tn,"__wrapped__");if(Tl||yl){var ap=Tl?Ur.value():Ur,sp=yl?tn.value():tn;return Bo||(Bo=new mo),Jo(ap,sp,hn,Hn,Bo)}}return Cl?(Bo||(Bo=new mo),_n(Ur,tn,hn,Hn,Jo,Bo)):!1}function dn(Ur){if(!Io(Ur)||Ws(Ur))return!1;var tn=Bn(Ur)?Wr:yr;return tn.test(fo(Ur))}function en(Ur){return So(Ur)&&Kn(Ur.length)&&!!Ir[Lo(Ur)]}function un(Ur){if(!xo(Ur))return Tn(Ur);var tn=[];for(var hn in Object(Ur))Pr.call(Ur,hn)&&hn!="constructor"&&tn.push(hn);return tn}function En(Ur,tn,hn,Hn,Jo,Bo){var Ps=hn&bt,Rs=Ur.length,El=tn.length;if(Rs!=El&&!(Ps&&El>Rs))return!1;var Ks=Bo.get(Ur);if(Ks&&Bo.get(tn))return Ks==tn;var xl=-1,_l=!0,Cl=hn&vt?new zo:void 0;for(Bo.set(Ur,tn),Bo.set(tn,Ur);++xl<Rs;){var Tl=Ur[xl],yl=tn[xl];if(Hn)var ap=Ps?Hn(yl,Tl,xl,tn,Ur,Bo):Hn(Tl,yl,xl,Ur,tn,Bo);if(ap!==void 0){if(ap)continue;_l=!1;break}if(Cl){if(!Hr(tn,function(sp,Jl){if(!Dr(Cl,Jl)&&(Tl===sp||Jo(Tl,sp,hn,Hn,Bo)))return Cl.push(Jl)})){_l=!1;break}}else if(!(Tl===yl||Jo(Tl,yl,hn,Hn,Bo))){_l=!1;break}}return Bo.delete(Ur),Bo.delete(tn),_l}function Un(Ur,tn,hn,Hn,Jo,Bo,Ps){switch(hn){case Zt:if(Ur.byteLength!=tn.byteLength||Ur.byteOffset!=tn.byteOffset)return!1;Ur=Ur.buffer,tn=tn.buffer;case Ut:return!(Ur.byteLength!=tn.byteLength||!Bo(new gn(Ur),new gn(tn)));case Ft:case Bt:case er:return Uo(+Ur,+tn);case Gt:return Ur.name==tn.name&&Ur.message==tn.message;case ar:case lr:return Ur==tn+"";case Xt:var Rs=$r;case sr:var El=Hn&bt;if(Rs||(Rs=qr),Ur.size!=tn.size&&!El)return!1;var Ks=Ps.get(Ur);if(Ks)return Ks==tn;Hn|=vt,Ps.set(Ur,tn);var xl=En(Rs(Ur),Rs(tn),Hn,Jo,Bo,Ps);return Ps.delete(Ur),xl;case fr:if(wo)return wo.call(Ur)==wo.call(tn)}return!1}function _n(Ur,tn,hn,Hn,Jo,Bo){var Ps=hn&bt,Rs=Yn(Ur),El=Rs.length,Ks=Yn(tn),xl=Ks.length;if(El!=xl&&!Ps)return!1;for(var _l=El;_l--;){var Cl=Rs[_l];if(!(Ps?Cl in tn:Pr.call(tn,Cl)))return!1}var Tl=Bo.get(Ur);if(Tl&&Bo.get(tn))return Tl==tn;var yl=!0;Bo.set(Ur,tn),Bo.set(tn,Ur);for(var ap=Ps;++_l<El;){Cl=Rs[_l];var sp=Ur[Cl],Jl=tn[Cl];if(Hn)var Fn=Ps?Hn(Jl,sp,Cl,tn,Ur,Bo):Hn(sp,Jl,Cl,Ur,tn,Bo);if(!(Fn===void 0?sp===Jl||Jo(sp,Jl,hn,Hn,Bo):Fn)){yl=!1;break}ap||(ap=Cl=="constructor")}if(yl&&!ap){var Zn=Ur.constructor,Xn=tn.constructor;Zn!=Xn&&"constructor"in Ur&&"constructor"in tn&&!(typeof Zn=="function"&&Zn instanceof Zn&&typeof Xn=="function"&&Xn instanceof Xn)&&(yl=!1)}return Bo.delete(Ur),Bo.delete(tn),yl}function Yn(Ur){return ps(Ur,Vo,Zo)}function $n(Ur,tn){var hn=Ur.__data__;return No(tn)?hn[typeof tn=="string"?"string":"hash"]:hn.map}function Wn(Ur,tn){var hn=kr(Ur,tn);return dn(hn)?hn:void 0}function Mo(Ur){var tn=Pr.call(Ur,vn),hn=Ur[vn];try{Ur[vn]=void 0;var Hn=!0}catch(Bo){}var Jo=Gr.call(Ur);return Hn&&(tn?Ur[vn]=hn:delete Ur[vn]),Jo}var Zo=Gn?function(Ur){return Ur==null?[]:(Ur=Object(Ur),Qr(Gn(Ur),function(tn){return zn.call(Ur,tn)}))}:qs,Do=Lo;(Jn&&Do(new Jn(new ArrayBuffer(1)))!=Zt||mn&&Do(new mn)!=Xt||Cn&&Do(Cn.resolve())!=tr||io&&Do(new io)!=sr||cn&&Do(new cn)!=vr)&&(Do=function(Ur){var tn=Lo(Ur),hn=tn==rr?Ur.constructor:void 0,Hn=hn?fo(hn):"";if(Hn)switch(Hn){case On:return Zt;case sn:return Xt;case Mn:return tr;case so:return sr;case In:return vr}return tn});function _a(Ur,tn){return tn=tn==null?$t:tn,!!tn&&(typeof Ur=="number"||Er.test(Ur))&&Ur>-1&&Ur%1==0&&Ur<tn}function No(Ur){var tn=typeof Ur;return tn=="string"||tn=="number"||tn=="symbol"||tn=="boolean"?Ur!=="__proto__":Ur===null}function Ws(Ur){return!!Jr&&Jr in Ur}function xo(Ur){var tn=Ur&&Ur.constructor,hn=typeof tn=="function"&&tn.prototype||zr;return Ur===hn}function vo(Ur){return Gr.call(Ur)}function fo(Ur){if(Ur!=null){try{return Sr.call(Ur)}catch(tn){}try{return Ur+""}catch(tn){}}return""}function Uo(Ur,tn){return Ur===tn||Ur!==Ur&&tn!==tn}var vs=ko(function(){return arguments}())?ko:function(Ur){return So(Ur)&&Pr.call(Ur,"callee")&&!zn.call(Ur,"callee")},Bs=Array.isArray;function Nn(Ur){return Ur!=null&&Kn(Ur.length)&&!Bn(Ur)}var Pn=yn||Po;function An(Ur,tn){return Ho(Ur,tn)}function Bn(Ur){if(!Io(Ur))return!1;var tn=Lo(Ur);return tn==Wt||tn==Vt||tn==Pt||tn==or}function Kn(Ur){return typeof Ur=="number"&&Ur>-1&&Ur%1==0&&Ur<=$t}function Io(Ur){var tn=typeof Ur;return Ur!=null&&(tn=="object"||tn=="function")}function So(Ur){return Ur!=null&&typeof Ur=="object"}var ga=Yr?Cr(Yr):en;function Vo(Ur){return Nn(Ur)?Ko(Ur):un(Ur)}function qs(){return[]}function Po(){return!1}pt.exports=An})(lodash_isequal,lodash_isequal.exports);var lodash_isequalExports=lodash_isequal.exports,AttributeMap$1={};Object.defineProperty(AttributeMap$1,"__esModule",{value:!0});const cloneDeep=lodash_clonedeepExports,isEqual=lodash_isequalExports;var AttributeMap;(function(pt){function _e(vt={},$t={},_t=!1){typeof vt!="object"&&(vt={}),typeof $t!="object"&&($t={});let Rt=cloneDeep($t);_t||(Rt=Object.keys(Rt).reduce((Pt,Ft)=>(Rt[Ft]!=null&&(Pt[Ft]=Rt[Ft]),Pt),{}));for(const Pt in vt)vt[Pt]!==void 0&&$t[Pt]===void 0&&(Rt[Pt]=vt[Pt]);return Object.keys(Rt).length>0?Rt:void 0}pt.compose=_e;function ft(vt={},$t={}){typeof vt!="object"&&(vt={}),typeof $t!="object"&&($t={});const _t=Object.keys(vt).concat(Object.keys($t)).reduce((Rt,Pt)=>(isEqual(vt[Pt],$t[Pt])||(Rt[Pt]=$t[Pt]===void 0?null:$t[Pt]),Rt),{});return Object.keys(_t).length>0?_t:void 0}pt.diff=ft;function mt(vt={},$t={}){vt=vt||{};const _t=Object.keys($t).reduce((Rt,Pt)=>($t[Pt]!==vt[Pt]&&vt[Pt]!==void 0&&(Rt[Pt]=$t[Pt]),Rt),{});return Object.keys(vt).reduce((Rt,Pt)=>(vt[Pt]!==$t[Pt]&&$t[Pt]===void 0&&(Rt[Pt]=null),Rt),_t)}pt.invert=mt;function bt(vt,$t,_t=!1){if(typeof vt!="object")return $t;if(typeof $t!="object")return;if(!_t)return $t;const Rt=Object.keys($t).reduce((Pt,Ft)=>(vt[Ft]===void 0&&(Pt[Ft]=$t[Ft]),Pt),{});return Object.keys(Rt).length>0?Rt:void 0}pt.transform=bt})(AttributeMap||(AttributeMap={}));AttributeMap$1.default=AttributeMap;var Op$1={};Object.defineProperty(Op$1,"__esModule",{value:!0});var Op;(function(pt){function _e(ft){return typeof ft.delete=="number"?ft.delete:typeof ft.retain=="number"?ft.retain:typeof ft.retain=="object"&&ft.retain!==null?1:typeof ft.insert=="string"?ft.insert.length:1}pt.length=_e})(Op||(Op={}));Op$1.default=Op;var OpIterator={};Object.defineProperty(OpIterator,"__esModule",{value:!0});const Op_1=Op$1;class Iterator{constructor(_e){this.ops=_e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(_e){_e||(_e=1/0);const ft=this.ops[this.index];if(ft){const mt=this.offset,bt=Op_1.default.length(ft);if(_e>=bt-mt?(_e=bt-mt,this.index+=1,this.offset=0):this.offset+=_e,typeof ft.delete=="number")return{delete:_e};{const vt={};return ft.attributes&&(vt.attributes=ft.attributes),typeof ft.retain=="number"?vt.retain=_e:typeof ft.retain=="object"&&ft.retain!==null?vt.retain=ft.retain:typeof ft.insert=="string"?vt.insert=ft.insert.substr(mt,_e):vt.insert=ft.insert,vt}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?Op_1.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const _e=this.ops[this.index];return _e?typeof _e.delete=="number"?"delete":typeof _e.retain=="number"||typeof _e.retain=="object"&&_e.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const _e=this.offset,ft=this.index,mt=this.next(),bt=this.ops.slice(this.index);return this.offset=_e,this.index=ft,[mt].concat(bt)}}else return[]}}OpIterator.default=Iterator;(function(pt,_e){Object.defineProperty(_e,"__esModule",{value:!0}),_e.AttributeMap=_e.OpIterator=_e.Op=void 0;const ft=diff_1,mt=lodash_clonedeepExports,bt=lodash_isequalExports,vt=AttributeMap$1;_e.AttributeMap=vt.default;const $t=Op$1;_e.Op=$t.default;const _t=OpIterator;_e.OpIterator=_t.default;const Rt=String.fromCharCode(0),Pt=(Bt,Gt)=>{if(typeof Bt!="object"||Bt===null)throw new Error(`cannot retain a ${typeof Bt}`);if(typeof Gt!="object"||Gt===null)throw new Error(`cannot retain a ${typeof Gt}`);const Wt=Object.keys(Bt)[0];if(!Wt||Wt!==Object.keys(Gt)[0])throw new Error(`embed types not matched: ${Wt} != ${Object.keys(Gt)[0]}`);return[Wt,Bt[Wt],Gt[Wt]]};class Ft{constructor(Gt){Array.isArray(Gt)?this.ops=Gt:Gt!=null&&Array.isArray(Gt.ops)?this.ops=Gt.ops:this.ops=[]}static registerEmbed(Gt,Wt){this.handlers[Gt]=Wt}static unregisterEmbed(Gt){delete this.handlers[Gt]}static getHandler(Gt){const Wt=this.handlers[Gt];if(!Wt)throw new Error(`no handlers for embed type "${Gt}"`);return Wt}insert(Gt,Wt){const Vt={};return typeof Gt=="string"&&Gt.length===0?this:(Vt.insert=Gt,Wt!=null&&typeof Wt=="object"&&Object.keys(Wt).length>0&&(Vt.attributes=Wt),this.push(Vt))}delete(Gt){return Gt<=0?this:this.push({delete:Gt})}retain(Gt,Wt){if(typeof Gt=="number"&&Gt<=0)return this;const Vt={retain:Gt};return Wt!=null&&typeof Wt=="object"&&Object.keys(Wt).length>0&&(Vt.attributes=Wt),this.push(Vt)}push(Gt){let Wt=this.ops.length,Vt=this.ops[Wt-1];if(Gt=mt(Gt),typeof Vt=="object"){if(typeof Gt.delete=="number"&&typeof Vt.delete=="number")return this.ops[Wt-1]={delete:Vt.delete+Gt.delete},this;if(typeof Vt.delete=="number"&&Gt.insert!=null&&(Wt-=1,Vt=this.ops[Wt-1],typeof Vt!="object"))return this.ops.unshift(Gt),this;if(bt(Gt.attributes,Vt.attributes)){if(typeof Gt.insert=="string"&&typeof Vt.insert=="string")return this.ops[Wt-1]={insert:Vt.insert+Gt.insert},typeof Gt.attributes=="object"&&(this.ops[Wt-1].attributes=Gt.attributes),this;if(typeof Gt.retain=="number"&&typeof Vt.retain=="number")return this.ops[Wt-1]={retain:Vt.retain+Gt.retain},typeof Gt.attributes=="object"&&(this.ops[Wt-1].attributes=Gt.attributes),this}}return Wt===this.ops.length?this.ops.push(Gt):this.ops.splice(Wt,0,Gt),this}chop(){const Gt=this.ops[this.ops.length-1];return Gt&&typeof Gt.retain=="number"&&!Gt.attributes&&this.ops.pop(),this}filter(Gt){return this.ops.filter(Gt)}forEach(Gt){this.ops.forEach(Gt)}map(Gt){return this.ops.map(Gt)}partition(Gt){const Wt=[],Vt=[];return this.forEach(Xt=>{(Gt(Xt)?Wt:Vt).push(Xt)}),[Wt,Vt]}reduce(Gt,Wt){return this.ops.reduce(Gt,Wt)}changeLength(){return this.reduce((Gt,Wt)=>Wt.insert?Gt+$t.default.length(Wt):Wt.delete?Gt-Wt.delete:Gt,0)}length(){return this.reduce((Gt,Wt)=>Gt+$t.default.length(Wt),0)}slice(Gt=0,Wt=1/0){const Vt=[],Xt=new _t.default(this.ops);let er=0;for(;er<Wt&&Xt.hasNext();){let nr;er<Gt?nr=Xt.next(Gt-er):(nr=Xt.next(Wt-er),Vt.push(nr)),er+=$t.default.length(nr)}return new Ft(Vt)}compose(Gt){const Wt=new _t.default(this.ops),Vt=new _t.default(Gt.ops),Xt=[],er=Vt.peek();if(er!=null&&typeof er.retain=="number"&&er.attributes==null){let rr=er.retain;for(;Wt.peekType()==="insert"&&Wt.peekLength()<=rr;)rr-=Wt.peekLength(),Xt.push(Wt.next());er.retain-rr>0&&Vt.next(er.retain-rr)}const nr=new Ft(Xt);for(;Wt.hasNext()||Vt.hasNext();)if(Vt.peekType()==="insert")nr.push(Vt.next());else if(Wt.peekType()==="delete")nr.push(Wt.next());else{const rr=Math.min(Wt.peekLength(),Vt.peekLength()),tr=Wt.next(rr),or=Vt.next(rr);if(or.retain){const ar={};if(typeof tr.retain=="number")ar.retain=typeof or.retain=="number"?rr:or.retain;else if(typeof or.retain=="number")tr.retain==null?ar.insert=tr.insert:ar.retain=tr.retain;else{const lr=tr.retain==null?"insert":"retain",[fr,gr,vr]=Pt(tr[lr],or.retain),Ut=Ft.getHandler(fr);ar[lr]={[fr]:Ut.compose(gr,vr,lr==="retain")}}const sr=vt.default.compose(tr.attributes,or.attributes,typeof tr.retain=="number");if(sr&&(ar.attributes=sr),nr.push(ar),!Vt.hasNext()&&bt(nr.ops[nr.ops.length-1],ar)){const lr=new Ft(Wt.rest());return nr.concat(lr).chop()}}else typeof or.delete=="number"&&(typeof tr.retain=="number"||typeof tr.retain=="object"&&tr.retain!==null)&&nr.push(or)}return nr.chop()}concat(Gt){const Wt=new Ft(this.ops.slice());return Gt.ops.length>0&&(Wt.push(Gt.ops[0]),Wt.ops=Wt.ops.concat(Gt.ops.slice(1))),Wt}diff(Gt,Wt){if(this.ops===Gt.ops)return new Ft;const Vt=[this,Gt].map(tr=>tr.map(or=>{if(or.insert!=null)return typeof or.insert=="string"?or.insert:Rt;const ar=tr===Gt?"on":"with";throw new Error("diff() called "+ar+" non-document")}).join("")),Xt=new Ft,er=ft(Vt[0],Vt[1],Wt,!0),nr=new _t.default(this.ops),rr=new _t.default(Gt.ops);return er.forEach(tr=>{let or=tr[1].length;for(;or>0;){let ar=0;switch(tr[0]){case ft.INSERT:ar=Math.min(rr.peekLength(),or),Xt.push(rr.next(ar));break;case ft.DELETE:ar=Math.min(or,nr.peekLength()),nr.next(ar),Xt.delete(ar);break;case ft.EQUAL:ar=Math.min(nr.peekLength(),rr.peekLength(),or);const sr=nr.next(ar),lr=rr.next(ar);bt(sr.insert,lr.insert)?Xt.retain(ar,vt.default.diff(sr.attributes,lr.attributes)):Xt.push(lr).delete(ar);break}or-=ar}}),Xt.chop()}eachLine(Gt,Wt=`
813
813
  `){const Vt=new _t.default(this.ops);let Xt=new Ft,er=0;for(;Vt.hasNext();){if(Vt.peekType()!=="insert")return;const nr=Vt.peek(),rr=$t.default.length(nr)-Vt.peekLength(),tr=typeof nr.insert=="string"?nr.insert.indexOf(Wt,rr)-rr:-1;if(tr<0)Xt.push(Vt.next());else if(tr>0)Xt.push(Vt.next(tr));else{if(Gt(Xt,Vt.next(1).attributes||{},er)===!1)return;er+=1,Xt=new Ft}}Xt.length()>0&&Gt(Xt,{},er)}invert(Gt){const Wt=new Ft;return this.reduce((Vt,Xt)=>{if(Xt.insert)Wt.delete($t.default.length(Xt));else{if(typeof Xt.retain=="number"&&Xt.attributes==null)return Wt.retain(Xt.retain),Vt+Xt.retain;if(Xt.delete||typeof Xt.retain=="number"){const er=Xt.delete||Xt.retain;return Gt.slice(Vt,Vt+er).forEach(rr=>{Xt.delete?Wt.push(rr):Xt.retain&&Xt.attributes&&Wt.retain($t.default.length(rr),vt.default.invert(Xt.attributes,rr.attributes))}),Vt+er}else if(typeof Xt.retain=="object"&&Xt.retain!==null){const er=Gt.slice(Vt,Vt+1),nr=new _t.default(er.ops).next(),[rr,tr,or]=Pt(Xt.retain,nr.insert),ar=Ft.getHandler(rr);return Wt.retain({[rr]:ar.invert(tr,or)},vt.default.invert(Xt.attributes,nr.attributes)),Vt+1}}return Vt},0),Wt.chop()}transform(Gt,Wt=!1){if(Wt=!!Wt,typeof Gt=="number")return this.transformPosition(Gt,Wt);const Vt=Gt,Xt=new _t.default(this.ops),er=new _t.default(Vt.ops),nr=new Ft;for(;Xt.hasNext()||er.hasNext();)if(Xt.peekType()==="insert"&&(Wt||er.peekType()!=="insert"))nr.retain($t.default.length(Xt.next()));else if(er.peekType()==="insert")nr.push(er.next());else{const rr=Math.min(Xt.peekLength(),er.peekLength()),tr=Xt.next(rr),or=er.next(rr);if(tr.delete)continue;if(or.delete)nr.push(or);else{const ar=tr.retain,sr=or.retain;let lr=typeof sr=="object"&&sr!==null?sr:rr;if(typeof ar=="object"&&ar!==null&&typeof sr=="object"&&sr!==null){const fr=Object.keys(ar)[0];if(fr===Object.keys(sr)[0]){const gr=Ft.getHandler(fr);gr&&(lr={[fr]:gr.transform(ar[fr],sr[fr],Wt)})}}nr.retain(lr,vt.default.transform(tr.attributes,or.attributes,Wt))}}return nr.chop()}transformPosition(Gt,Wt=!1){Wt=!!Wt;const Vt=new _t.default(this.ops);let Xt=0;for(;Vt.hasNext()&&Xt<=Gt;){const er=Vt.peekLength(),nr=Vt.peekType();if(Vt.next(),nr==="delete"){Gt-=Math.min(er,Gt-Xt);continue}else nr==="insert"&&(Xt<Gt||!Wt)&&(Gt+=er);Xt+=er}return Gt}}Ft.Op=$t.default,Ft.OpIterator=_t.default,Ft.AttributeMap=vt.default,Ft.handlers={},_e.default=Ft,pt.exports=Ft,pt.exports.default=Ft})(Delta$1,Delta$1.exports);var DeltaExports=Delta$1.exports;const Delta=getDefaultExportFromCjs(DeltaExports);class Break extends EmbedBlot$1{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Break.blotName="break";Break.tagName="BR";let Text$1=class extends TextBlot$1{};const entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function escapeText(pt){return pt.replace(/[&<>"']/g,_e=>entityMap[_e])}const mp=class mp extends InlineBlot$1{static compare(_e,ft){const mt=mp.order.indexOf(_e),bt=mp.order.indexOf(ft);return mt>=0||bt>=0?mt-bt:_e===ft?0:_e<ft?-1:1}formatAt(_e,ft,mt,bt){if(mp.compare(this.statics.blotName,mt)<0&&this.scroll.query(mt,Scope.BLOT)){const vt=this.isolate(_e,ft);bt&&vt.wrap(mt,bt)}else super.formatAt(_e,ft,mt,bt)}optimize(_e){if(super.optimize(_e),this.parent instanceof mp&&mp.compare(this.statics.blotName,this.parent.statics.blotName)>0){const ft=this.parent.isolate(this.offset(),this.length());this.moveChildren(ft),ft.wrap(this)}}};_o(mp,"allowedChildren",[mp,Break,EmbedBlot$1,Text$1]),_o(mp,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let Inline=mp;const NEWLINE_LENGTH=1;class Block extends BlockBlot$1{constructor(){super(...arguments);_o(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=blockDelta(this)),this.cache.delta}deleteAt(ft,mt){super.deleteAt(ft,mt),this.cache={}}formatAt(ft,mt,bt,vt){mt<=0||(this.scroll.query(bt,Scope.BLOCK)?ft+mt===this.length()&&this.format(bt,vt):super.formatAt(ft,Math.min(mt,this.length()-ft-1),bt,vt),this.cache={})}insertAt(ft,mt,bt){if(bt!=null){super.insertAt(ft,mt,bt),this.cache={};return}if(mt.length===0)return;const vt=mt.split(`
814
814
  `),$t=vt.shift();$t.length>0&&(ft<this.length()-1||this.children.tail==null?super.insertAt(Math.min(ft,this.length()-1),$t):this.children.tail.insertAt(this.children.tail.length(),$t),this.cache={});let _t=this;vt.reduce((Rt,Pt)=>(_t=_t.split(Rt,!0),_t.insertAt(0,Pt),Pt.length),ft+$t.length)}insertBefore(ft,mt){const{head:bt}=this.children;super.insertBefore(ft,mt),bt instanceof Break&&bt.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+NEWLINE_LENGTH),this.cache.length}moveChildren(ft,mt){super.moveChildren(ft,mt),this.cache={}}optimize(ft){super.optimize(ft),this.cache={}}path(ft){return super.path(ft,!0)}removeChild(ft){super.removeChild(ft),this.cache={}}split(ft){let mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(mt&&(ft===0||ft>=this.length()-NEWLINE_LENGTH)){const vt=this.clone();return ft===0?(this.parent.insertBefore(vt,this),this):(this.parent.insertBefore(vt,this.next),vt)}const bt=super.split(ft,mt);return this.cache={},bt}}Block.blotName="block";Block.tagName="P";Block.defaultChild=Break;Block.allowedChildren=[Break,Inline,EmbedBlot$1,Text$1];class BlockEmbed extends EmbedBlot$1{attach(){super.attach(),this.attributes=new AttributorStore$1(this.domNode)}delta(){return new Delta().insert(this.value(),lo(lo({},this.formats()),this.attributes.values()))}format(_e,ft){const mt=this.scroll.query(_e,Scope.BLOCK_ATTRIBUTE);mt!=null&&this.attributes.attribute(mt,ft)}formatAt(_e,ft,mt,bt){this.format(mt,bt)}insertAt(_e,ft,mt){if(mt!=null){super.insertAt(_e,ft,mt);return}const bt=ft.split(`
815
815
  `),vt=bt.pop(),$t=bt.map(Rt=>{const Pt=this.scroll.create(Block.blotName);return Pt.insertAt(0,Rt),Pt}),_t=this.split(_e);$t.forEach(Rt=>{this.parent.insertBefore(Rt,_t)}),vt&&this.parent.insertBefore(this.scroll.create("text",vt),_t)}}BlockEmbed.scope=Scope.BLOCK_BLOT;function blockDelta(pt){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return pt.descendants(LeafBlot$1).reduce((ft,mt)=>mt.length()===0?ft:ft.insert(mt.value(),bubbleFormats(mt,{},_e)),new Delta).insert(`
@@ -883,7 +883,7 @@ and limitations under the License.
883
883
  ${bt}`:bt}if(_e&&_e.length>0){const vt=_e.filter(Boolean).map($t=>`![](${$t})`).join(`
884
884
  `);bt=vt?`${vt}
885
885
  ${bt}`:bt}}return bt},VI=pt=>{const _e=Math.floor(pt/3600),ft=Math.floor(pt%3600/60),mt=pt%60,bt=vt=>String(vt).padStart(2,"0");return`${bt(_e)}:${bt(ft)}:${bt(mt)}`},XI=reactExports.forwardRef((pt,_e)=>{var ft,mt,bt,vt,$t,_t,Rt,Pt,Ft,Bt,Gt,Wt,Vt,Xt;const{application:er,docViewerUrl:nr="",currentSession:rr,onCreateSession:tr,embeddingService:or,setCurrentSession:ar,networkStatus:sr,setNetworkStatus:lr}=pt,[fr,gr]=reactExports.useState([]),[vr,Ut]=reactExports.useState(),[Zt,Kt]=reactExports.useState(),qt=reactExports.useRef(null),{service:Ht,agentClient:Jt,depId:ir,footer:dr,transform:pr,defaultInput:ur,onMessage:hr,onHistoryLoad:mr,beforeMessageSend:yr,bodyStyle:Er,disabled:Ir,features:Mr,popupContainer:Tr,icon:xr,sider:Nr,mode:Or,silencedSeconds:jr}=reactExports.useContext($M),[Lr,Vr]=reactExports.useState(!1),Yr=reactExports.useRef(fr),Qr=reactExports.useRef(void 0),Xr=reactExports.useRef(new Set),[Hr,Zr]=reactExports.useState(0),[Cr,Dr]=reactExports.useState([]),[kr,$r]=reactExports.useState([]),[Rr,qr]=reactExports.useState(0),[nn,Fr]=reactExports.useState(!1);reactExports.useEffect(()=>{Fr(Rr>0)},[Rr]);const zr=reactExports.useRef(null),[Ar,Sr]=reactExports.useState([]),[Pr,Jr]=reactExports.useState(!1),[Gr,Wr]=reactExports.useState(!1),[xn,ln]=reactExports.useState(""),[gn,zn]=reactExports.useState(),[pn,vn]=reactExports.useState({}),Gn=reactExports.useRef(null),yn=reactExports.useRef(null),Tn=reactExports.useRef(null),[Jn,mn]=reactExports.useState(!1),[Cn,io]=reactExports.useState([]),[cn,fn]=reactExports.useState(!0),[On,sn]=reactExports.useState(!0),[Mn,so]=reactExports.useState(!1),[In,jn]=reactExports.useState(!1),[wo,wn]=reactExports.useState(!1),[Dn,Eo]=reactExports.useState(typeof(Mr==null?void 0:Mr.promptVariables)=="object"?Mr.promptVariables.default||[]:[]),[kn,Ln]=reactExports.useState(()=>{const Nn=typeof(Mr==null?void 0:Mr.knowledges)=="object"&&Mr.knowledges.default||void 0;if(Nn){if(Array.isArray(Nn)&&Nn.some(Pn=>Array.isArray(Pn.fileIds)&&Pn.fileIds.length===0))throw Error("fileIds cannot be an empty array");if(uj(Nn)>JN)throw Error(`knowledges and fileIds total count cannot exceed ${JN}`)}return Nn}),[ho,eo]=reactExports.useState(!1),[po,uo]=reactExports.useState(!1),[Co,To]=reactExports.useState(typeof(Mr==null?void 0:Mr.connectNetwork)=="object"&&typeof(Mr==null?void 0:Mr.connectNetwork.default)=="boolean"?Mr.connectNetwork.default:!1),[Fo,Vn]=reactExports.useState(!1),[qn,Qn]=reactExports.useState(!1),[oo,bo]=reactExports.useState(null),[Ro,zo]=reactExports.useState(!1),[qo,yo]=reactExports.useState(!1),{isSwitchingToExistingSession:mo,setIsSwitchingToExistingSession:Go}=gt(),Wo=reactExports.useRef(null),[Js,Yo]=reactExports.useState("");reactExports.useEffect(()=>{if(!jr)return;let Nn=VI(jr);Yo(Nn)},[jr]),reactExports.useEffect(()=>{if(bo(rr),rr===null)Qn(!1);else if(rr===void 0)Qn(!0);else{if(oo===null){if(mo){Qn(!0),Go(!1);return}Qn(!1);return}rr.ready?Qn(!1):Qn(!0)}},[rr,rr==null?void 0:rr.ready,mo]),reactExports.useEffect(()=>{var Nn,Pn;rr&&(Yr.current=[]),gr([]);const An=qt.current;if(An&&An.scrollTo({top:0}),!((Nn=rr==null?void 0:rr.data)!=null&&Nn.id))return;if(jn(!1),so(!1),(Pn=rr.messages)!=null&&Pn.length){const Kn=[...rr.messages.filter(Io=>Io==null?void 0:Io.messageId)].reverse();Yr.current=[...Kn],gr([...Kn]),Qn(!1)}const Bn=Kn=>{var Io;(Io=rr==null?void 0:rr.data)!=null&&Io.id&&(Yr.current=[...Kn].reverse(),gr([...Kn].reverse()),!Kn||Kn.length<10?uo(!1):uo(!0),Qn(!1),mr&&mr({applicationId:er.id,sessionId:rr.data.id,histories:Kn}))};return rr.addEventListener("history:loaded",Bn),()=>{Yr.current=[],gr([]),rr==null||rr.removeEventListener("history:loaded",Bn)}},[rr]),reactExports.useEffect(()=>{const Nn=()=>{var Pn;(Pn=rr==null?void 0:rr.data)!=null&&Pn.id&&(rr.promptVariables&&Eo(rr.promptVariables.sort((An,Bn)=>An.key.localeCompare(Bn.key))),rr.knowledges&&Ln(rr.knowledges),lr(rr.netOpen))};return rr==null||rr.addEventListener("data:updated",Nn),()=>{rr==null||rr.removeEventListener("data:updated",Nn)}},[rr]),reactExports.useEffect(()=>{var Nn;if(!((Nn=rr==null?void 0:rr.data)!=null&&Nn.id))return;const Pn=An=>{var Bn;console.error(An.message,An.cause,"e.case"),VM.config({getContainer:()=>(Tr==null?void 0:Tr.current)||document.body,prefixCls:"gbot-notification"}),VM.error({message:((Bn=An.cause)==null?void 0:Bn.message)||An.message}),VM.config({getContainer:void 0,prefixCls:"gbot-notification"})};return rr.addEventListener("error",Pn),()=>{rr==null||rr.removeEventListener("error",Pn)}},[rr]);const Oo=()=>{var Nn;if(!((Nn=rr==null?void 0:rr.data)!=null&&Nn.id)||!(er!=null&&er.id))return;const Pn=rr.data.id,An=fr[fr.length-1];if(An&&An.isContext){ko("success","已开启新话题");return}else rr.clear().then(()=>{const Bn=new de("",Pn,n$6.System);Bn.isContext=!0,gr([Bn,...fr])})};reactExports.useEffect(()=>{er!=null&&er.id&&(Ht==null||Ht.getRecommendQues(er.id).then(Nn=>{Sr(Nn)}))},[ir,er]);const Ko=Nn=>DM(void 0,null,function*(){var Pn,An;if(Ir){ko("error","发送功能被禁用");return}const Bn=Nn||vr;if(!(Bn!=null&&Bn.trim())){ko("error","请输入你想问的");return}if(!(Dn!=null&&Dn.every(qs=>!!(qs!=null&&qs.value))))if(pr!=null&&pr.promptVariables){ko("error","变量值不能为空");return}else console.error("变量值不能为空",Dn==null?void 0:Dn.map(qs=>!!(qs!=null&&qs.value)));if(In){ko("error","正在回复中");return}if(Lr){ko("error","等待初始化");return}if(!cn){ko("error","正在解析文件");return}if(nn){ko("error","正在上传图片");return}Dr([]),$r([]);const Kn=(Pn=rr==null?void 0:rr.data)==null?void 0:Pn.id;if(!Kn){if(Ro)return;zo(!0),tr==null||tr({netOpen:sr?ZN.OPEN:ZN.CLOSE}).then(qs=>{var Po,Ur;eo(!0),lr(!!((Po=qs.data)!=null&&Po.netOpen)),To(!!((Ur=qs.data)!=null&&Ur.enableNetOpen)),$s(qs).then(()=>{ar==null||ar(qs),eo(!1),Kt(Bn)})}).catch(qs=>{zo(!1)});return}if(Ro)return;zo(!0),Vn(!0);const Io=Rj(Bn,kr,pn[Kn],(er==null?void 0:er.type)||0);let So;try{yr?So=yield yr==null?void 0:yr({applicationId:er.id,sessionId:Kn,message:{content:Io,sessionId:Kn,role:v$6.User,files:pn[Kn]}}):So=!0}catch(qs){So=!1}if(Vn(!1),So===!1){zo(!1);return}let ga=Bn;typeof So=="object"&&(ga=So.content||Bn);const Vo=yield(()=>new Promise(qs=>{Eo(Po=>(qs(Po),Po))}))();if(!(yield rr.setPromptVariables(Vo))){zo(!1);return}((An=pn[Kn])==null?void 0:An.length)>0?ps(ga):Lo(ga)}),$s=Nn=>new Promise((Pn,An)=>DM(void 0,null,function*(){const Bn=(Nn==null?void 0:Nn.promptVariables).filter(Kn=>Kn.type?!((Kn.type===k$5.User||Kn.type===void 0)&&Kn.key==="query")&&!((Kn.type===k$5.System||Kn.type===void 0)&&Kn.key==="datetime"):Kn.key!=="query").map(Kn=>{var Io;const So=(Io=Dn.find(ga=>ga.key===Kn.key&&ga.type===Kn.type))==null?void 0:Io.value;return Kn.value=So||"",Kn});Eo(Bn.sort((Kn,Io)=>Kn.key.localeCompare(Io.key))),yield Nn==null?void 0:Nn.setPromptVariables(Bn).catch(Kn=>{console.error(Kn),ko("error",Kn.message)}),Pn()})),ps=Nn=>{var Pn,An,Bn;if(fn(!1),!((Pn=rr==null?void 0:rr.data)!=null&&Pn.id)||!(er!=null&&er.id))return;const Kn=((An=rr.data)==null?void 0:An.id)||"";let Io=[],So=new Set;(Bn=pn[Kn])==null||Bn.forEach(ga=>{So.has(ga.id)||(Io.push(ga),So.add(ga.id))}),fn(!0),Lo(Nn,Io)};reactExports.useEffect(()=>{if(!Zt||!rr)return;const Nn=Zt,Pn=()=>DM(void 0,null,function*(){Vn(!0);const An=Rj(Nn,kr,pn[rr.id],(er==null?void 0:er.type)||0);let Bn;try{yr?Bn=yield yr==null?void 0:yr({applicationId:er.id,sessionId:rr.id,message:{content:An,sessionId:rr.id,role:v$6.User,files:pn[rr.id]}}):Bn=!0}catch(Kn){Bn=!1}if(Vn(!1),Bn===!1){zo(!1);return}Lo(Nn),Kt(void 0)});return rr.ready?Pn():rr.addEventListener("ready",Pn,!0),()=>{rr==null||rr.removeEventListener("ready",Pn)}},[Zt,rr]);const Lo=(Nn,Pn)=>DM(void 0,null,function*(){var An,Bn,Kn;const Io=(An=rr==null?void 0:rr.data)==null?void 0:An.id;if(!Io)return;jn(!0),so(!0);const So=Rj(Nn,kr,Pn,(er==null?void 0:er.type)||0);let ga;if(er.type===i$7.Agent)ga=void 0;else if(er.type===i$7.Dialog&&(Bn=er.arrange)!=null&&Bn.length&&er.arrange[0].visionOpen){const hn=kr&&kr.length?kr.filter(Boolean):[];ga=hn.length?hn:void 0}else ga=void 0;const Vo=new de(So,Io,n$6.User,Pn,ga);Ut(void 0),zn(void 0),Yr.current=[Vo,...fr],gr(Yr.current),er.id&&hr&&hr({applicationId:er.id,sessionId:Io,message:Vo});const qs=new de("",Io,n$6.System);qs.isWaiting=!0,Yr.current=[qs,...Yr.current],gr(Yr.current);const Po=(Pn==null?void 0:Pn.map(hn=>hn.id))||[],Ur={stream:c$3.stream,referenceFirst:!1};if(pr!=null&&pr.promptVariables){const hn=Dn==null?void 0:Dn.reduce((Hn,Jo)=>(Hn[Jo.key]=Jo.value,Hn),{});Ur.formatValues=hn}if(pr!=null&&pr.knowledges){const hn=kn;Ur.knowledges=hn}const tn={text:So,fileIds:Po,files:Pn};ga&&ga.length>0&&(tn.imageContent=ga),rr.ready||(yield new Promise(hn=>{rr.addEventListener("ready",()=>hn(),!0)})),yield rr.send(tn,Ur),vn({[Io]:[]}),(Kn=Gn.current)==null||Kn.update(),Dr([]),$r([]),zo(!1)});reactExports.useEffect(()=>{var Nn;const Pn=(Nn=rr==null?void 0:rr.data)==null?void 0:Nn.id;if(!Pn)return;let An=null,Bn=null;const Kn=()=>{An=null,Bn&&(gr([Bn,...Yr.current]),Bn=null)},Io=()=>{An!==null&&(cancelAnimationFrame(An),An=null,Bn=null)},So=Vo=>{if(!Vo.sessionId||Vo.sessionId&&Vo.sessionId!==Qr.current||Vo.role===n$6.User)return;if(Vo.index===-1&&Vo.code!==200&&Vo.code!==11915&&Vo.code!==11916&&(Io(),so(!1),jn(!1),Yr.current=Yr.current.filter(Ur=>!Ur.isWaiting),gr([...Yr.current]),Yr.current=[...Yr.current],Vo.content)){VM.config({getContainer:()=>(Tr==null?void 0:Tr.current)||document.body,prefixCls:"gbot-notification"}),VM.error({message:Vo.content}),VM.config({getContainer:void 0,prefixCls:"gbot-notification"});return}const qs=Vo.actions||[],Po=new de(Vo.content,Pn,n$6.Robot);if(Po.messageId=Vo.messageId||v4$1(),Po.reasoningContent=Vo.reasoningContent,Po.searchReference=Vo.searchReference,Po.thinkingSecs=Vo.thinkingSecs,Po.thinkingStatus=Vo.thinkingStatus,Po.actions=qs,Po.isLoading=!0,Po.searchingStatus=Vo.searchingStatus,Yr.current=Yr.current.filter(Ur=>!Ur.isWaiting).filter(Ur=>!Ur.isReplying),Vo.index===void 0){Bn=Po,An===null&&(An=requestAnimationFrame(Kn));return}if(Io(),(Vo.code===11915||Vo.code===11916)&&(so(!1),jn(!1),Po.isLoading=!1,Po.content=Vo.code===11916?"尊敬的用户您好,让我们换个话题再聊聊吧。":"请您换个问题问我吧~",Po.isSensitive=!0,gr([Po,...Yr.current])),Vo.index===-2&&(so(!1),jn(!1),Po.isLoading=!1,Po.content="回答已中止~",Po.isSuspend=!0,gr([Po,...Yr.current])),Vo.index===-1&&(so(!1),jn(!1),Po.isLoading=!1,Po.reference=Vo.reference,gr([Po,...Yr.current]),er.id)){const Ur=Po.messageId;Xr.current.has(Ur)||(Xr.current.add(Ur),hr&&hr({applicationId:er.id,sessionId:Pn,message:Po}))}Vo.index===-3&&(so(!1),jn(!1),Po.isLoading=!1,Po.reference=Vo.reference,Po.relatedQuesion=Vo.relatedQuesion,gr([Po,...Yr.current]))},ga=()=>{rr.addEventListener("message:updated",So)};return rr.ready?rr.addEventListener("message:updated",So):rr.addEventListener("ready",ga),()=>{Io(),rr==null||rr.removeEventListener("message:updated",So),rr==null||rr.removeEventListener("ready",ga)}},[rr]),reactExports.useEffect(()=>{if(!rr){Vr(!1);return}const Nn=Pn=>{Vr(Pn)};return Vr(rr.frozen),rr.addEventListener("frozen",Nn),()=>{rr==null||rr.removeEventListener("frozen",Nn)}},[rr]),reactExports.useEffect(()=>{if(!Jt)return;const Nn=Jt.questionContextMaxLength||4e3;Zr(Nn)},[Jt,Ht]),reactExports.useEffect(()=>{ur&&zn(ur.text)},[ur]);const ko=(Nn,Pn,An)=>{sN(Tr,()=>{gN.open({type:Nn,content:Pn,key:An})})},Ho=Nn=>{const Pn=Nn.size;return Pn<=0?(ko("error","该文件为空,请重新上传"),!1):Pn>Pj*gj?(ko("error",`图片须小于${Pj}M`),!1):(Dr(An=>An.length>=Ne?(ko("warning",`图片最多上传${Ne}张`),An):[...An,Nn]),!1)},Fs=()=>{var Nn;return(er.type===i$7.Agent&&(pr==null?void 0:pr.imageUpload)||er.type===i$7.Dialog&&((Nn=er.arrange)==null?void 0:Nn.length)&&!!er.arrange[0].visionOpen&&(pr==null?void 0:pr.imageUpload))&&!Ir},dn=()=>!!or&&(pr==null?void 0:pr.fileUpload)&&(er==null?void 0:er.id)&&!Ir,en=Nn=>{var Pn,An;const Bn=Array.from(Nn||[]).filter(Boolean);if(!Bn.length)return;const Kn=Fs(),Io=dn(),So=[],ga=[];let Vo=0,qs=0,Po=0;Bn.forEach(hn=>{var Hn,Jo,Bo;if((Hn=hn.type)!=null&&Hn.startsWith("image/")||Qi(hn.name)){Kn?So.push(hn):Vo++;return}const Ps=(Bo=(Jo=hn.name)==null?void 0:Jo.split(".").pop())==null?void 0:Bo.toLowerCase();if(ID.includes(hn.type)||["pdf","doc","docx"].includes(Ps||"")){Io?ga.push(hn):qs++;return}Po++});const Ur=[],tn=Vo+qs+Po;if(!Io&&!Kn)tn&&Ur.push(`当前不支持上传文件/图片,已忽略${tn}个文件`);else if(Io&&!Kn){const hn=Vo+Po;hn&&Ur.push(`仅支持上传 .doc/.docx/.pdf 文件,已忽略${hn}个其他类型文件`)}else if(!Io&&Kn){const hn=qs+Po;hn&&Ur.push(`仅支持上传图片(.jpg/.jpeg/.png/.bmp),已忽略${hn}个其他类型文件`)}else Po&&Ur.push(`存在不支持的文件类型,已忽略${Po}个文件`);if(Ur.length&&ko("warning",Ur.join(";"),"precheck-warn"),So.length){const hn=Math.max(0,Ne-Cr.length),Hn=So.slice(0,hn);Hn.forEach(Jo=>Ho(Jo)),So.length>Hn.length&&ko("warning",`最多上传${Ne}张图片`)}ga.length&&((An=(Pn=Gn.current)==null?void 0:Pn.appendFiles)==null||An.call(Pn,ga))},un=Nn=>{var Pn;const An=(Pn=Nn.clipboardData)==null?void 0:Pn.files;An&&An.length&&(Nn.preventDefault(),Nn.stopPropagation(),en(An))},En=Nn=>{Nn.preventDefault()},Un=Nn=>{var Pn;Nn.preventDefault(),Nn.stopPropagation();const An=(Pn=Nn.dataTransfer)==null?void 0:Pn.files;An&&An.length&&en(An)},_n=()=>DM(void 0,null,function*(){var Nn;return(Nn=rr==null?void 0:rr.data)!=null&&Nn.id?rr:(Wo.current||(Wo.current=new Promise((Pn,An)=>{eo(!0),tr==null||tr({netOpen:sr?ZN.OPEN:ZN.CLOSE}).then(Bn=>{var Kn,Io;ar==null||ar(Bn),eo(!1),lr(!!((Kn=Bn.data)!=null&&Kn.netOpen)),To(!!((Io=Bn.data)!=null&&Io.enableNetOpen)),$s(Bn),Pn(Bn)}).catch(Bn=>{Wo.current=null,An(Bn)})})),Wo.current)}),Yn=Nn=>DM(void 0,null,function*(){const Pn=yield _n();return $n(Pn,Nn)}),$n=(Nn,Pn)=>{const An=Qi(Pn.name);return new Promise(Bn=>{var Kn;const Io={files:[`${v4$1()}.${An}`],isv:"minio",knowledgeId:((Kn=Nn.data)==null?void 0:Kn.id)||"",type:1};Ht==null||Ht.postTicket(Io).then(So=>{Ht.uploadMinioFile(So.minio,Pn).then(()=>{var ga,Vo;const qs=(ga=So.minio.endpoints)==null?void 0:ga[0],Po=So.minio.bucket,Ur=(Vo=So.minio.fileKeys)==null?void 0:Vo[0];Bn(`${So.minio.useSSL?"https:":location.protocol}//${qs}/${Po}/${Ur}`)}).catch(()=>{})}).catch(()=>{})})};reactExports.useEffect(()=>{const Nn=qt.current;Nn&&!wo&&Nn.scrollTo({top:Nn.scrollHeight})},[fr]);const Wn=(Nn,Pn)=>new Promise(An=>{if(!Pn.file.url||!(er!=null&&er.id))return An();const Bn=NN(IM({},Pn.file),{type:1});Ht==null||Ht.postApplicationIdSessionKnowledgeSessionFile(er==null?void 0:er.id,Nn,Bn).finally(()=>{var Kn;(Kn=Gn.current)==null||Kn.update().finally(An)})}),Mo=()=>{var Nn;(Nn=rr==null?void 0:rr.data)!=null&&Nn.id&&(so(!1),rr.suspend())},Zo=Nn=>{const Pn=qt.current;Pn&&setTimeout(()=>{Pn.scrollTo({top:Pn.scrollHeight,behavior:Nn==null?void 0:Nn.behavior})},Nn==null?void 0:Nn.ms)},Do=()=>{if(!qt.current)return;const Nn=qt.current.scrollTop<=-80;wn(Nn)},_a=useMemoizedFn(Nn=>{var Pn,An;(Pn=zr.current)==null||Pn.update(Nn),(An=zr.current)==null||An.focus()}),No=useMemoizedFn(Nn=>{Ko(Nn)}),Ws=useMemoizedFn(()=>{var Nn;if(!((Nn=rr==null?void 0:rr.data)!=null&&Nn.id))return;Yr.current=[...fr.slice(1,fr.length)],gr(Yr.current);const Pn=new de("",rr.data.id,n$6.System);Pn.isWaiting=!0,Yr.current=[Pn,...Yr.current],gr(Yr.current),jn(!0),so(!0),rr.answerAgain()});reactExports.useEffect(()=>{var Nn,Pn;Qr.current=(Nn=rr==null?void 0:rr.data)==null?void 0:Nn.id,!ho&&((Pn=Tn.current)==null||Pn.clear())},[rr]);const xo=()=>{var Nn;if(!((Nn=rr==null?void 0:rr.data)!=null&&Nn.id))return;const Pn=fr[fr.length-1].messageTime;rr.fetchMessages({endTime:Pn,pageSize:pi}).then(An=>{const Bn=An||[];if(!Bn||!(Bn!=null&&Bn.length)){uo(!1);return}Bn.length<10?uo(!1):uo(!0),gr([...fr,...Bn.reverse()])})},vo=Nn=>DM(void 0,null,function*(){var Pn,An;if(!((Pn=rr==null?void 0:rr.data)!=null&&Pn.id))lr(Nn);else{if(yield rr.setNetOpen(Nn),!((An=rr.data)!=null&&An.id))return;lr(Nn)}}),fo=()=>DM(void 0,null,function*(){rr?rr.fetchData().then(Nn=>{var Pn;(Pn=rr==null?void 0:rr.data)!=null&&Pn.id&&(lr(Nn.netOpen),To(Nn.enableNetOpen))}):(lr(typeof(Mr==null?void 0:Mr.connectNetwork)=="object"&&typeof(Mr==null?void 0:Mr.connectNetwork.default)=="boolean"?Mr.connectNetwork.default:!1),To(er.arrange[0].enableNetOpen))});reactExports.useEffect(()=>{fo()},[rr]),reactExports.useEffect(()=>{let Nn=null,Pn=null;const An=()=>{var Kn,Io;if(!qt.current)return;const So=document.getElementById("chat-main"),ga=(Kn=qt.current)==null?void 0:Kn.querySelector(".infinite-scroll-component__outerdiv"),Vo=(Io=qt.current)==null?void 0:Io.querySelector(".infinite-scroll-component");if(!ga||!Vo||!So)return;const qs=So.offsetHeight;if(Vo.offsetHeight<=qs){if(ga.style.height==="100%")return;ga.style.height="100%"}else{if(ga.style.height==="auto")return;ga.style.height="auto"}},Bn=()=>{var Kn;if(typeof ResizeObserver=="undefined"||!qt.current)return;const Io=document.getElementById("chat-main"),So=(Kn=qt.current)==null?void 0:Kn.querySelector(".infinite-scroll-component");!So||!Io||(Pn=new ResizeObserver(()=>{An()}),Pn.observe(So),Pn.observe(Io))};return Nn=requestAnimationFrame(()=>{An(),Bn()}),()=>{Nn!==null&&cancelAnimationFrame(Nn),Pn==null||Pn.disconnect()}},[fr]),reactExports.useEffect(()=>{if(rr)return;const Nn=()=>{const Pn=((Jt==null?void 0:Jt.promptVariables)||[]).filter(An=>An.type?!(An.type===k$5.User&&An.key==="query")&&!(An.type===k$5.System&&An.key==="datetime")&&An.status===1:An.key!=="query"&&An.status===1).map((An,Bn)=>{var Kn,Io;let So="";return typeof(Mr==null?void 0:Mr.promptVariables)=="object"&&(So=((Io=(Kn=Mr.promptVariables.default)==null?void 0:Kn.find(ga=>ga.key===An.key&&ga.type===An.type))==null?void 0:Io.value)||""),{id:Bn+"",key:An.key,name:An.name,value:So,type:An.type}});Eo([...Pn].sort((An,Bn)=>An.key.localeCompare(Bn.key)))};return Jt!=null&&Jt.ready?Nn():Jt==null||Jt.addEventListener("ready",Nn),()=>{Jt==null||Jt.removeEventListener("ready",Nn)}},[rr,Jt,Mr==null?void 0:Mr.promptVariables]);const Uo=()=>tr==null?void 0:tr({netOpen:sr?ZN.OPEN:ZN.CLOSE}).then(Nn=>{var Pn,An;return ar==null||ar(Nn),eo(!1),lr(!!((Pn=Nn.data)!=null&&Pn.netOpen)),To(!!((An=Nn.data)!=null&&An.enableNetOpen)),$s(Nn),Nn}),vs=!!fr.length,Bs=reactExports.useMemo(()=>{var Nn;return er.arrange&&(Nn=er.arrange[0])!=null&&Nn.openingContent?jsxRuntimeExports.jsx(gD,{application:er,history:{role:1,content:er.arrange[0].openingContent,code:200,messageId:"opening-message",sessionId:"",reference:[],searchReference:[],messageTime:KM(Date.now()).format("YYYY-MM-DD HH:mm:ss"),actions:[],isLoading:!1},actions:vs,markdown:Mr==null?void 0:Mr.markdown}):null},[er==null?void 0:er.arrange,vs]);return reactExports.useImperativeHandle(_e,()=>({getCurrentInputText:()=>{var Nn;return(Nn=zr.current)==null?void 0:Nn.getCurrentText()}})),reactExports.useEffect(()=>{var Nn;const Pn=(Nn=rr==null?void 0:rr.data)==null?void 0:Nn.id;Pn&&vn(An=>NN(IM({},An),{[Pn]:[]}))},[(ft=rr==null?void 0:rr.data)==null?void 0:ft.id]),jsxRuntimeExports.jsxs("div",{className:"agent-chat",children:[qn?jsxRuntimeExports.jsx("div",{className:"session-loading",children:jsxRuntimeExports.jsx(fN,{})}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[(pr==null?void 0:pr.promptVariables)&&jsxRuntimeExports.jsx(LD,{ref:yn,appId:er.id,currentSession:rr,promptVariables:Dn,setPromptVariables:Eo,setCurrentSession:ar}),jsxRuntimeExports.jsxs("div",{className:"chat-main",id:"chat-main",style:Er,children:[jsxRuntimeExports.jsx("div",{className:"chat-main-wrapper",id:"scrollableDiv",style:{height:"100%",overflowY:"auto",display:"flex",flexDirection:"column-reverse"},ref:qt,onScroll:Do,children:(mt=rr==null?void 0:rr.data)!=null&&mt.id&&fr!=null&&fr.length?jsxRuntimeExports.jsxs(InfiniteScroll,{dataLength:fr.length,next:xo,style:{display:"flex",flexDirection:"column-reverse",overflowX:"hidden"},inverse:!0,endMessage:fr.length>pi&&(bt=qt.current)!=null&&bt.scrollTop&&((vt=qt.current)==null?void 0:vt.scrollTop)<-10?jsxRuntimeExports.jsx(zt,{plain:!0,children:"没有更多数据了"}):null,hasMore:po,loader:jsxRuntimeExports.jsx("div",{style:{height:"50px",textAlign:"center",overflow:"hidden"},children:jsxRuntimeExports.jsx(fN,{})}),scrollableTarget:"scrollableDiv",children:[fr.map((Nn,Pn)=>jsxRuntimeExports.jsx(FI,{application:er,currentSession:rr,history:Nn,docViewerUrl:nr,isLastHistory:Pn===0,onRelatedClick:No,onAgainClick:Ws,onEditClick:_a,markdown:Mr==null?void 0:Mr.markdown},Nn.messageId+Pn)),!po&&Bs]}):jsxRuntimeExports.jsxs("div",{className:"main-empty",children:[(Mr==null?void 0:Mr.greeting)!==!1&&jsxRuntimeExports.jsx(xI,{text:Mr!=null&&Mr.greeting&&typeof Mr.greeting=="object"&&Mr.greeting.text!==void 0?Mr.greeting.text:($t=er.arrange)!=null&&$t.length&&(_t=er.arrange[0])!=null&&_t.greetings?er.arrange[0].greetings:fi.text,icon:Mr===void 0||Mr.greeting===!0||((Rt=Mr.greeting)==null?void 0:Rt.icon)===void 0?xr||fi.icon:Mr.greeting.icon,children:!!Ar.length&&(((Mr==null?void 0:Mr.greeting)===void 0||(Mr==null?void 0:Mr.greeting))===!0||typeof(Mr==null?void 0:Mr.greeting)=="object"&&Mr.greeting.questions!==!1)&&jsxRuntimeExports.jsx(uD,{ref:Tn,sid:(Pt=rr==null?void 0:rr.data)==null?void 0:Pt.id,isRecommendClearing:Pr,data:Ar,layoutBreakpoints:typeof(Mr==null?void 0:Mr.greeting)=="object"?Mr.greeting.layoutBreakpoints:void 0,onItemClick:Nn=>{var Pn,An,Bn;if(Ut(Nn==null?void 0:Nn.question),zn(Nn==null?void 0:Nn.question),Pr)return;Nn!=null&&Nn.id&&Jr(!0);const Kn=(Pn=rr==null?void 0:rr.data)==null?void 0:Pn.id;pr!=null&&pr.fileUpload?(Bn=(An=Gn.current)==null?void 0:An.clear())==null||Bn.then(()=>{var Io,So;Nn!=null&&Nn.id&&(Kn?(Io=Wn(Kn,Nn))==null||Io.finally(()=>{Jr(!1)}):(Jr(!1),eo(!0),(So=Uo())==null||So.then(ga=>{var Vo;(Vo=Wn(ga.id,Nn))==null||Vo.finally(()=>{Jr(!1)})})))}):Kn?Jr(!1):(Jr(!1),eo(!0),Uo())}})}),Bs]})}),Mn&&jsxRuntimeExports.jsx("div",{className:"session-stop",children:jsxRuntimeExports.jsx(Button$1,{type:"primary",style:{background:"white"},ghost:!0,size:"small",icon:jsxRuntimeExports.jsx(uM,{type:"icon-zantinghuida",style:{fontSize:16}}),onClick:()=>Mo(),children:"停止回答"})}),wo&&(fr==null?void 0:fr.length)>0&&jsxRuntimeExports.jsx("div",{className:"back-bottom",children:jsxRuntimeExports.jsx(Button$1,{size:"small",onClick:()=>Zo({behavior:"smooth"}),type:"link",icon:jsxRuntimeExports.jsx(uM,{type:"icon-yijianhuidaodibu",style:{fontSize:24}})})})]}),jsxRuntimeExports.jsx("div",{className:"chat-footer",children:jsxRuntimeExports.jsxs("div",{className:"chat-footer-input",children:[Cr.length>0&&jsxRuntimeExports.jsx("div",{className:"input-files",children:Cr.map((Nn,Pn)=>jsxRuntimeExports.jsx(dI,{className:"thumb-40",file:Nn,actions:{upload:An=>DM(void 0,null,function*(){qr(Bn=>Bn+1);try{return yield Yn(An)}finally{qr(Bn=>Math.max(0,Bn-1))}}),remove:()=>{Dr(An=>An.filter((Bn,Kn)=>Kn!==Pn)),$r(An=>An.filter((Bn,Kn)=>Kn!==Pn))}},onUrlChange:An=>{$r(Bn=>{const Kn=[...Bn];return Kn[Pn]=An,Kn})}},Pn))}),jsxRuntimeExports.jsxs("div",{className:"footer-upload-action-wrapper",children:[jsxRuntimeExports.jsxs(YM,{className:"footer-upload-action",onClick:Nn=>Nn.preventDefault(),children:[jsxRuntimeExports.jsxs(YM,{children:[(er.type===i$7.Agent&&(pr==null?void 0:pr.imageUpload)||er.type===i$7.Dialog&&((Ft=er.arrange)==null?void 0:Ft.length)&&!!er.arrange[0].visionOpen&&(pr==null?void 0:pr.imageUpload))&&jsxRuntimeExports.jsx(Xj,{multiple:!0,disabled:Cr.length>=Ne||Ir,accept:".jpg, .png, .jpeg,.bmp",listType:"picture-card",beforeUpload:Ho,className:"footer-upload-picture",showUploadList:!1,children:Cr.length<Ne?jsxRuntimeExports.jsx(Dt,{placement:"topLeft",overlayClassName:"footer-upload-tooltip",title:jsxRuntimeExports.jsx("div",{children:`支持上传.jpg .png .jpeg
886
- .bmp格式的图片数据,单文件最大${Pj}M,最多${Ne}张`}),children:jsxRuntimeExports.jsx(Button$1,{type:"text",className:"camera-out-btn",style:{width:"22px",position:"relative",bottom:"-2px"},icon:jsxRuntimeExports.jsx(uM,{type:"icon-shangchuantupian",className:"icon-tianjia",style:{fontSize:"22px"}})})}):jsxRuntimeExports.jsx(Button$1,{type:"text",className:"camera-out-btn",style:{width:"22px",position:"relative",bottom:"-2px"},disabled:!0,icon:jsxRuntimeExports.jsx(uM,{type:"icon-shangchuantupian",className:"icon-tianjia",style:{fontSize:"22px"}})})}),or&&pr!=null&&pr.fileUpload&&er!=null&&er.id?jsxRuntimeExports.jsx(sD,{appId:er==null?void 0:er.id,ref:Gn,isFirstSession:ho,docViewerUrl:nr,onStatusChange:Nn=>DM(void 0,null,function*(){Nn!=="process"?(fn(!0),fo()):fn(!1)}),createSession:()=>_n().then(Nn=>{var Pn;return((Pn=Nn.data)==null?void 0:Pn.id)||""}),sid:(Bt=rr==null?void 0:rr.data)==null?void 0:Bt.id,disabled:In||Ir,afterFileAdd:(Nn,Pn)=>{Pn&&vn(An=>{const Bn=An[Pn]||[];return{[Pn]:[...Bn,Nn]}})},afterFileDelete:Nn=>{var Pn;const An=(Pn=rr==null?void 0:rr.data)==null?void 0:Pn.id;An&&vn(Bn=>{const Kn=Bn[An]||[];return{[An]:Kn.filter(Io=>Io.id!==Nn)}})},onFileListChange:Nn=>{io(Nn)},shouldContinue:On,afterFilesClear:()=>{var Nn;const Pn=(Nn=rr==null?void 0:rr.data)==null?void 0:Nn.id;Pn&&(vn({[Pn]:[]}),fo())}}):null,(pr==null?void 0:pr.prompt)&&(er==null?void 0:er.id)&&jsxRuntimeExports.jsx(HI,{appId:er.id,list:[],search:Gr?xn:"",onPromptSelect:Nn=>{zn(Nn.context),Ut(Nn.context)},disabled:Ir})]}),jsxRuntimeExports.jsxs(YM,{children:[(pr==null?void 0:pr.connectNetwork)&&er.type===i$7.Dialog&&((Gt=er.arrange)==null?void 0:Gt.length)&&!!er.arrange[0].enableNetOpen&&jsxRuntimeExports.jsx(PI,{sessionId:(Wt=rr==null?void 0:rr.data)==null?void 0:Wt.id,netStatus:sr,enable:typeof(Mr==null?void 0:Mr.connectNetwork)=="object"&&typeof(Mr==null?void 0:Mr.connectNetwork.diabled)=="boolean"?!(Mr!=null&&Mr.connectNetwork.diabled):Co,disabledTip:rr?void 0:"网络访问已被禁用",onNetStatusChange:Nn=>{vo(Nn)}}),(pr==null?void 0:pr.sessionList)&&jsxRuntimeExports.jsx(bI,{currentSessionId:(Vt=rr==null?void 0:rr.data)==null?void 0:Vt.id,onSessionChange:(Nn,Pn)=>{zn(void 0),Go(!0),ar==null||ar(Pn)},disabled:Ir}),Nr&&Or==="float"&&jsxRuntimeExports.jsx("div",{className:"session-history-drawer-component",children:jsxRuntimeExports.jsx($N,{placement:"topRight",showArrow:!1,overlayClassName:"session-history-overlay",overlayStyle:{padding:"4px"},getPopupContainer:Nn=>Nn.parentNode,content:"会话历史记录",children:jsxRuntimeExports.jsx(Button$1,{className:"history-overlay-action",disabled:Ir,type:"text",icon:jsxRuntimeExports.jsx(uM,{type:"icon-lishijilu",style:{fontSize:24}}),onClick:()=>yo(!0)})})}),(pr==null?void 0:pr.sessionOpen)&&jsxRuntimeExports.jsx(Button$1,{icon:jsxRuntimeExports.jsx(Jz,{}),className:"add-btn",type:"primary",disabled:Mn||!rr||!fr.length||Ir,onClick:()=>{var Nn,Pn;Go(!1),ar==null||ar(null),Wo.current=null,lr(!1),(Nn=yn.current)==null||Nn.clear(),(Pn=Tn.current)==null||Pn.clear()},children:"新会话"})]})]}),!!Js&&jsxRuntimeExports.jsx("div",{className:"remainingSeconds-mark"})]}),jsxRuntimeExports.jsxs("div",{className:"footer-textarea",onPaste:un,onPasteCapture:un,onDrop:Un,onDropCapture:Un,onDragOver:En,onDragOverCapture:En,children:[jsxRuntimeExports.jsx(TD,{ref:zr,maxLength:Hr,text:gn,networkStatus:!1,loading:Fo||Ro,disabled:Lr||nn||Ir||Fo||Ro,onTextSend:Ko,onChange:(Nn,Pn)=>{zn(Nn);const An=Pn.getText().replace(/[\n\s]+$/,"");Ut(An),ln(An),Gr||Wr(!0)},clearAction:jsxRuntimeExports.jsx(YM,{size:0,children:jsxRuntimeExports.jsx(Button$1,{type:"link",disabled:In||Ir,ghost:!0,icon:jsxRuntimeExports.jsx(uM,{style:{fontSize:22},type:"icon-qingchujiyi"}),onClick:()=>Oo()})})}),!!Js&&jsxRuntimeExports.jsxs("div",{className:"remainingSeconds-time",children:["您之前对话触发敏感词拦截,当前处于禁言状态,暂时无法发送消息,剩余禁言时长",Js]})]})]})}),jsxRuntimeExports.jsx(hI,{tips:dr}),Jn&&jsxRuntimeExports.jsx(UI,{isvisible:Jn,files:Cn,sessionId:(Xt=rr==null?void 0:rr.data)==null?void 0:Xt.id,onClose:Nn=>{mn(!1),sn(!1)}})]}),qo&&jsxRuntimeExports.jsx(WI,{currentSession:rr,application:er,networkStatus:sr,setCurrentSession:ar,disabled:Ir,isSessionHistoryVisible:qo,setIsSessionHistoryVisible:yo,onSessionChange:Nn=>{Go(!0)}})]})}),yD=pt=>{const{disabled:_e,checkedValues:ft,currKnowledgeList:mt,selectCount:bt,onSelectChange:vt}=pt,[$t,_t]=reactExports.useState(!1),Rt=jsxRuntimeExports.jsx(oi.Group,{style:{width:"100%"},onChange:vt,value:ft,disabled:_e,children:jsxRuntimeExports.jsx(Row$1,{gutter:[20,12],children:mt==null?void 0:mt.map(Pt=>jsxRuntimeExports.jsx(Col$1,{span:24,children:jsxRuntimeExports.jsx(oi,{value:Pt.id,children:Pt.name})},Pt.id))})});return jsxRuntimeExports.jsx("div",{className:"knowledge-select",style:{borderColor:$t?"#9C24F2":"#84868C"},children:jsxRuntimeExports.jsx($N,{className:"select-popover",placement:"bottomRight",title:null,content:Rt,trigger:"click",overlayStyle:{width:280},onOpenChange:Pt=>{_t(Pt)},getPopupContainer:Pt=>Pt.parentNode,children:jsxRuntimeExports.jsxs("div",{className:"",onClick:Pt=>Pt.preventDefault(),children:[jsxRuntimeExports.jsx(uM,{className:"select-icon",type:"icon-open"}),jsxRuntimeExports.jsx("span",{className:"title",children:"参考知识库"}),jsxRuntimeExports.jsxs("span",{className:"content",children:["已选 ",bt," 个"]})]})})})},$I=pt=>{var _e,ft;const{currentSession:mt,application:bt,setCheckKnowledges:vt}=pt,{mode:$t,transform:_t,features:Rt}=reactExports.useContext($M),[Pt,Ft]=reactExports.useState([]),[Bt,Gt]=reactExports.useState(typeof(Rt==null?void 0:Rt.knowledges)=="object"?((_e=Rt.knowledges.default)==null?void 0:_e.map(rr=>rr.id))||[]:[]),[Wt,Vt]=reactExports.useState(0),[Xt,er]=reactExports.useState(!1);reactExports.useEffect(()=>{if(!(bt!=null&&bt.id))return;const rr=bt.arrange;if(!(rr!=null&&rr.length))return;const tr=rr[0].knowledges||[];Ft(tr);const or=typeof(Rt==null?void 0:Rt.knowledges)=="object"&&Rt.knowledges.default||tr;if(Array.isArray(or)&&or.some(sr=>Array.isArray(sr.fileIds)&&sr.fileIds.length===0))throw Error("fileIds cannot be an empty array");if(uj(or||[])>JN)throw Error(`knowledges and fileIds total count cannot exceed ${JN}`);if(!mt){Gt(or.map(sr=>sr.id)),Vt(or.length),vt==null||vt(or);return}const ar=()=>{const sr=mt.knowledges||or;Vt(sr.length);const lr=sr.map(fr=>fr.id);Gt(lr)};return ar(),mt.addEventListener("data:updated",ar),()=>{mt==null||mt.removeEventListener("data:updated",ar)}},[bt,mt]),reactExports.useEffect(()=>{var rr;if(!Xt||(er(!1),!(bt!=null&&bt.id)))return;const tr=[];Bt==null||Bt.map(or=>{const ar=Pt==null?void 0:Pt.find(sr=>sr.id===or);tr.push(ar)}),(rr=mt==null?void 0:mt.data)!=null&&rr.id&&mt.setKnowledges(tr)},[Xt]);const nr=rr=>{er(!0),Gt(rr);const tr=[];rr==null||rr.map(or=>{const ar=Pt==null?void 0:Pt.find(sr=>sr.id===or);tr.push(ar)}),vt==null||vt(tr),Vt(rr.length)};return jsxRuntimeExports.jsxs("div",{className:"chat-header",children:[jsxRuntimeExports.jsxs(YM,{className:"header-title",children:[$t==="inlay"&&((ft=mt==null?void 0:mt.data)==null?void 0:ft.name),$t==="float"&&(bt==null?void 0:bt.name)]}),(_t==null?void 0:_t.knowledges)&&Pt.length!==0&&jsxRuntimeExports.jsx(yD,{disabled:typeof(Rt==null?void 0:Rt.knowledges)=="object"&&(Rt==null?void 0:Rt.knowledges.diabled)||!1,checkedValues:Bt,currKnowledgeList:Pt,selectCount:Wt,onSelectChange:nr})]})},KI=reactExports.forwardRef((pt,_e)=>{const{sessionId:ft,appId:mt,docViewerUrl:bt}=pt,[vt,$t]=reactExports.useState(),{showHeader:_t,agentClient:Rt,sider:Pt,onSessionLoad:Ft,features:Bt,mode:Gt}=reactExports.useContext($M),[Wt,Vt]=reactExports.useState(),Xt=reactExports.useRef(null),[er,nr]=reactExports.useState(""),[rr,tr]=reactExports.useState(),or=reactExports.useRef(null),[ar,sr]=reactExports.useState(!1);reactExports.useState([]);const{setIsSwitchingToExistingSession:lr}=gt();reactExports.useEffect(()=>{var gr;sr(vt?!!((gr=vt.data)!=null&&gr.netOpen):typeof(Bt==null?void 0:Bt.connectNetwork)=="object"&&typeof(Bt==null?void 0:Bt.connectNetwork.default)=="boolean"?Bt.connectNetwork.default:!1)},[vt]),reactExports.useEffect(()=>{const gr=()=>DM(void 0,null,function*(){const vr=Rt==null?void 0:Rt.application;if(!(vr!=null&&vr.id))return;const Ut=vr==null?void 0:vr.arrange;if(!(Ut!=null&&Ut.length))return;const Zt=Ut[0].embeddingService;nr(Zt),Vt(vr)});if(Rt!=null&&Rt.ready){gr();return}return Rt==null||Rt.addEventListener("ready",()=>gr()),()=>{Rt==null||Rt.removeEventListener("ready",gr)}},[Rt]),reactExports.useEffect(()=>{Rt&&ft&&(Rt.ready?Rt==null||Rt.getSessions().then(gr=>DM(void 0,null,function*(){$t==null||$t(gr.find(vr=>vr.id===ft))})):Rt.addEventListener("ready",()=>DM(void 0,null,function*(){Rt==null||Rt.getSessions().then(gr=>DM(void 0,null,function*(){$t==null||$t(gr.find(vr=>vr.id===ft))}))}),!0))},[Rt,ft]),reactExports.useEffect(()=>{if(!vt){Ft&&Ft({applicationId:mt,sessionId:"",session:null,sessionInstance:null});return}vt.data&&Ft&&Ft({applicationId:mt,sessionId:vt.data.id,session:vt.data,sessionInstance:vt}),vt.addEventListener("data:loaded",()=>{vt!=null&&vt.data&&Ft&&Ft({applicationId:mt,sessionId:vt.data.id,session:vt.data,sessionInstance:vt})},!0)},[vt]);const fr=gr=>{var vr;return(vr=Xt.current)==null?void 0:vr.create(NN(IM({},gr),{knowledges:rr}))};return reactExports.useImperativeHandle(_e,()=>({createSession:gr=>fr(gr),getSessionList:()=>{var gr;const vr=((gr=Xt.current)==null?void 0:gr.list())||[];return Promise.resolve(vr)},getCurrentInputText:()=>{var gr;return(gr=or.current)==null?void 0:gr.getCurrentInputText()}})),jsxRuntimeExports.jsx("div",{className:"dialog",children:jsxRuntimeExports.jsxs("div",{className:"dialog-pannel",children:[jsxRuntimeExports.jsx("div",{className:"dialog-sider",style:{display:Pt&&Gt==="inlay"?"block":"none"},children:jsxRuntimeExports.jsx(Tt,{ref:Xt,appId:mt,networkStatus:ar,currentSession:vt,application:Wt,setCurrentSession:$t,checkKnowledges:rr,setCheckKnowledges:_t?tr:void 0,sessionId:ft,afterSessionClick:gr=>{var vr,Ut;((vr=gr.data)==null?void 0:vr.id)!==((Ut=vt==null?void 0:vt.data)==null?void 0:Ut.id)&&lr(!0)}})}),jsxRuntimeExports.jsx("div",{className:"dialog-content",children:jsxRuntimeExports.jsxs("div",{className:"dialog-chat",children:[_t&&jsxRuntimeExports.jsx("div",{className:"dialog-chat-header",children:jsxRuntimeExports.jsx($I,{setCheckKnowledges:tr,application:Wt,currentSession:vt})}),jsxRuntimeExports.jsx("div",{className:"dialog-chat-content",children:(Wt==null?void 0:Wt.id)&&jsxRuntimeExports.jsx(XI,{setNetworkStatus:sr,networkStatus:ar,application:Wt,currentSession:vt,onCreateSession:fr,docViewerUrl:bt,embeddingService:er,setCurrentSession:$t,ref:or})})]})})]})})}),qI=reactExports.forwardRef((pt,_e)=>{const{className:ft,triggerButton:mt,size:bt,theme:vt,icon:$t,docViewerUrl:_t,token:Rt,debug:Pt,env:Ft,plugins:Bt,mcp:Gt,footer:Wt,defaultInput:Vt,onComment:Xt,onSessionLoad:er,onSessionUnload:nr,onMessage:rr,beforeMessageSend:tr,bodyStyle:or,apiUrl:ar,sessionId:sr,disabled:lr,transform:fr,features:gr,stream:vr,agentClient:Ut,application:Zt}=pt,Kt=reactExports.useRef(null),[qt,Ht]=reactExports.useState(!1),[Jt,ir]=reactExports.useState(),[dr,pr]=reactExports.useState(bt),[ur,hr]=reactExports.useState(pt.open),mr=reactExports.useRef(null);reactExports.useEffect(()=>{Zt&&(console.log("[AgentClientUI] token",Ut,Zt),ir(Zt.id))},[Zt]),ke.config({theme:vt}),reactExports.useEffect(()=>{bt&&pr(bt)},[bt]);const yr=(Er,{element:Ir,size:Mr})=>{pr({width:Number(Mr.width),height:Mr.height})};return reactExports.useImperativeHandle(_e,()=>({createSession:Er=>{var Ir;return(Ir=mr.current)==null?void 0:Ir.createSession(Er)},getSessionList:()=>{var Er;return(Er=mr.current)==null?void 0:Er.getSessionList()},getCurrentInputText:()=>{var Er;return(Er=mr.current)==null?void 0:Er.getCurrentInputText()}})),jsxRuntimeExports.jsx(ke,{locale:eD,children:jsxRuntimeExports.jsxs(iD,{value:NN(IM({},pt),{popupContainer:Kt,agentClient:Ut,footer:Wt,defaultInput:Vt,onComment:Xt,onSessionLoad:er,onSessionUnload:nr,onMessage:rr,beforeMessageSend:tr,bodyStyle:or,disabled:lr,transform:fr,features:gr}),children:[jsxRuntimeExports.jsx(Resizable,{height:(dr==null?void 0:dr.height)||"100%",width:(dr==null?void 0:dr.width)||"100%",maxConstraints:[document.body.clientWidth-45],minConstraints:[Number(bt==null?void 0:bt.minWidth)],onResize:yr,handle:jsxRuntimeExports.jsx("span",{className:"resize-handle-ew"}),resizeHandles:ft=="float"?["w"]:[],children:jsxRuntimeExports.jsxs("div",{id:"dialog-modal",className:`gbot-dialog-modal ${ft} ${ur?"opened":"closed"}`,style:NN(IM({},bt),{width:ft=="float"?dr==null?void 0:dr.width:bt==null?void 0:bt.width,height:ft==="float"?dr==null?void 0:dr.height:bt==null?void 0:bt.height,maxHeight:"100vh"}),ref:Kt,children:[qt?jsxRuntimeExports.jsx("div",{className:"loading",children:jsxRuntimeExports.jsx(fN,{})}):Jt&&Ut?jsxRuntimeExports.jsx(vI,{children:jsxRuntimeExports.jsx(KI,{ref:mr,appId:Jt,docViewerUrl:_t,bodyStyle:or,sessionId:sr})}):null,(mt==null?void 0:mt.visible)&&jsxRuntimeExports.jsx(Button$1,{className:"trigger-btn close-btn",icon:jsxRuntimeExports.jsx("img",{src:$t}),onClick:()=>hr(!1)})]})}),(mt==null?void 0:mt.visible)&&!ur&&jsxRuntimeExports.jsx(Button$1,{className:`${ft}-trigger-btn open-btn`,style:mt.style,icon:jsxRuntimeExports.jsx("img",{src:$t}),onClick:()=>hr(!0)})]})})}),Mg="@glodon-aiot/agent-cli-ui",Ng="3.23.0-alpha.2",eg="./dist/es/index.mjs",jg="./dist/lib/index.js",tg="./dist/src/index.d.ts",ig={import:"./dist/es/index.mjs",require:"./dist/lib/index.js",types:"./dist/src/index.d.ts"},Dg=["dist"],zg="module",Ig="dist/src/index.d.ts",gg={dev:"vite",start:"vite",build:"tsc && node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode prod && yarn build:cdn","build:pre":"tsc && node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode prod","build:cdn":"tsc && vite build --mode prod --config ./vite.config.cdn.ts",preview:"vite preview",check:"yarn prettier --check .",write:"yarn prettier --write .",lint:"eslint --ext .tsx,.ts --fix ./example -c .eslintrc.js",storybook:"start-storybook -p 6006 -s public","build-storybook":"build-storybook -s public",docs:"start-storybook -p 6006",commit:"cz"},Tg={"@ant-design/icons":"^5.3.4","@glodon-aiot/apis":"^3.23.0-alpha.2","@glodon-aiot/bot-client-sdk":"^3.23.0-alpha.2","@glodon-aiot/react-components":"^3.23.0-alpha.2","@matejmazur/react-mathjax":"^0.1.10","@react-pdf-viewer/core":"^3.12.0","@react-pdf-viewer/default-layout":"^3.12.0","@react-pdf-viewer/locales":"^1.0.0","@react-pdf-viewer/toolbar":"^3.12.0",ahooks:"^3.8.5",antd:"^4.24.16",axios:"0.24.0",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.13",lodash:"^4.17.21","pdfjs-dist":"^3.0.279","quill-delta":"^5.1.0",react:">=17.0.0 <19.0.0","react-dom":">=17.0.0 <19.0.0","react-infinite-scroll-component":"^6.1.0","react-quill-new":"^3.6.0","react-resizable":"^3.0.5",uuid:"^11.1.0"},ug={"@babel/core":"^7.20.12","@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-typescript":"^11.1.6","@storybook/addon-actions":"6.3.6","@storybook/addon-essentials":"6.4.9","@storybook/addon-interactions":"^6.5.16","@storybook/addon-links":"6.3.5","@storybook/addon-postcss":"2.0.0","@storybook/builder-vite":"^0.4.0","@storybook/node-logger":"6.4.9","@storybook/react":"6.4.9","@storybook/testing-library":"^0.0.13","@types/lodash":"^4","@types/react":"^18","@types/react-dom":"^18","@typescript-eslint/eslint-plugin":"^5.35.1","@typescript-eslint/parser":"^5.35.1","@vitejs/plugin-react":"^3.1.0",antd:"^4.24.0","babel-loader":"^8.3.0","babel-plugin-import":"^1.13.8",commitizen:"^4.3.0","css-loader":"^6.7.3","cz-conventional-changelog":"^3.3.0","cz-customizable":"^7.0.0",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^22.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.0","eslint-plugin-storybook":"^0.6.10",husky:">=6",less:"^4.1.2","less-loader":"^11.1.0","lint-staged":">=10","postcss-loader":"^7.2.4",prettier:"2.7.1","require-from-string":"^2.0.2","rollup-plugin-visualizer":"^6.0.1","storybook-less-loader":"^0.1.0",typescript:"*",vite:"^4.1.1","vite-plugin-css-injected-by-js":"^3.5.0","vite-plugin-dts":"^4.3.0","vite-plugin-externalize-deps":"^0.9.0"},sg=[">0.2%","not dead","not op_mini all"],Lg=["last 1 chrome version","last 1 firefox version","last 1 safari version"],Ag={commitizen:{path:"node_modules/cz-customizable"},"cz-customizable":{config:".cz-config.cjs"}},ng={access:"public",registry:"https://registry.npmjs.org/"},yg={hooks:{"commit-msg":"validate-commit-msg"}},cg={name:Mg,version:Ng,module:eg,main:jg,typings:tg,exports:ig,files:Dg,type:zg,types:Ig,scripts:gg,dependencies:Tg,devDependencies:ug,"lint-staged":{"*.{js,css,md,jsx,less,ts,tsx,json}":"prettier --write"},production:sg,development:Lg,config:Ag,publishConfig:ng,husky:yg};var cD=(pt=>(pt.dev="https://aiot-dev.glodon.com/api/cvforcepd",pt.test="https://aiot-dev.glodon.com/api/cvforce",pt.prod="https://copilot.glodon.com/api/cvforce",pt.local="http://localhost:3000/api/cvforcepd",pt))(cD||{});//! moment.js
886
+ .bmp格式的图片数据,单文件最大${Pj}M,最多${Ne}张`}),children:jsxRuntimeExports.jsx(Button$1,{type:"text",className:"camera-out-btn",style:{width:"22px",position:"relative",bottom:"-2px"},icon:jsxRuntimeExports.jsx(uM,{type:"icon-shangchuantupian",className:"icon-tianjia",style:{fontSize:"22px"}})})}):jsxRuntimeExports.jsx(Button$1,{type:"text",className:"camera-out-btn",style:{width:"22px",position:"relative",bottom:"-2px"},disabled:!0,icon:jsxRuntimeExports.jsx(uM,{type:"icon-shangchuantupian",className:"icon-tianjia",style:{fontSize:"22px"}})})}),or&&pr!=null&&pr.fileUpload&&er!=null&&er.id?jsxRuntimeExports.jsx(sD,{appId:er==null?void 0:er.id,ref:Gn,isFirstSession:ho,docViewerUrl:nr,onStatusChange:Nn=>DM(void 0,null,function*(){Nn!=="process"?(fn(!0),fo()):fn(!1)}),createSession:()=>_n().then(Nn=>{var Pn;return((Pn=Nn.data)==null?void 0:Pn.id)||""}),sid:(Bt=rr==null?void 0:rr.data)==null?void 0:Bt.id,disabled:In||Ir,afterFileAdd:(Nn,Pn)=>{Pn&&vn(An=>{const Bn=An[Pn]||[];return{[Pn]:[...Bn,Nn]}})},afterFileDelete:Nn=>{var Pn;const An=(Pn=rr==null?void 0:rr.data)==null?void 0:Pn.id;An&&vn(Bn=>{const Kn=Bn[An]||[];return{[An]:Kn.filter(Io=>Io.id!==Nn)}})},onFileListChange:Nn=>{io(Nn)},shouldContinue:On,afterFilesClear:()=>{var Nn;const Pn=(Nn=rr==null?void 0:rr.data)==null?void 0:Nn.id;Pn&&(vn({[Pn]:[]}),fo())}}):null,(pr==null?void 0:pr.prompt)&&(er==null?void 0:er.id)&&jsxRuntimeExports.jsx(HI,{appId:er.id,list:[],search:Gr?xn:"",onPromptSelect:Nn=>{zn(Nn.context),Ut(Nn.context)},disabled:Ir})]}),jsxRuntimeExports.jsxs(YM,{children:[(pr==null?void 0:pr.connectNetwork)&&er.type===i$7.Dialog&&((Gt=er.arrange)==null?void 0:Gt.length)&&!!er.arrange[0].enableNetOpen&&jsxRuntimeExports.jsx(PI,{sessionId:(Wt=rr==null?void 0:rr.data)==null?void 0:Wt.id,netStatus:sr,enable:typeof(Mr==null?void 0:Mr.connectNetwork)=="object"&&typeof(Mr==null?void 0:Mr.connectNetwork.diabled)=="boolean"?!(Mr!=null&&Mr.connectNetwork.diabled):Co,disabledTip:rr?void 0:"网络访问已被禁用",onNetStatusChange:Nn=>{vo(Nn)}}),(pr==null?void 0:pr.sessionList)&&jsxRuntimeExports.jsx(bI,{currentSessionId:(Vt=rr==null?void 0:rr.data)==null?void 0:Vt.id,onSessionChange:(Nn,Pn)=>{zn(void 0),Go(!0),ar==null||ar(Pn)},disabled:Ir}),Nr&&Or==="float"&&jsxRuntimeExports.jsx("div",{className:"session-history-drawer-component",children:jsxRuntimeExports.jsx($N,{placement:"topRight",showArrow:!1,overlayClassName:"session-history-overlay",overlayStyle:{padding:"4px"},getPopupContainer:Nn=>Nn.parentNode,content:"会话历史记录",children:jsxRuntimeExports.jsx(Button$1,{className:"history-overlay-action",disabled:Ir,type:"text",icon:jsxRuntimeExports.jsx(uM,{type:"icon-lishijilu",style:{fontSize:24}}),onClick:()=>yo(!0)})})}),(pr==null?void 0:pr.sessionOpen)&&jsxRuntimeExports.jsx(Button$1,{icon:jsxRuntimeExports.jsx(Jz,{}),className:"add-btn",type:"primary",disabled:Mn||!rr||!fr.length||Ir,onClick:()=>{var Nn,Pn;Go(!1),ar==null||ar(null),Wo.current=null,lr(!1),(Nn=yn.current)==null||Nn.clear(),(Pn=Tn.current)==null||Pn.clear()},children:"新会话"})]})]}),!!Js&&jsxRuntimeExports.jsx("div",{className:"remainingSeconds-mark"})]}),jsxRuntimeExports.jsxs("div",{className:"footer-textarea",onPaste:un,onPasteCapture:un,onDrop:Un,onDropCapture:Un,onDragOver:En,onDragOverCapture:En,children:[jsxRuntimeExports.jsx(TD,{ref:zr,maxLength:Hr,text:gn,networkStatus:!1,loading:Fo||Ro,disabled:Lr||nn||Ir||Fo||Ro,onTextSend:Ko,onChange:(Nn,Pn)=>{zn(Nn);const An=Pn.getText().replace(/[\n\s]+$/,"");Ut(An),ln(An),Gr||Wr(!0)},clearAction:jsxRuntimeExports.jsx(YM,{size:0,children:jsxRuntimeExports.jsx(Button$1,{type:"link",disabled:In||Ir,ghost:!0,icon:jsxRuntimeExports.jsx(uM,{style:{fontSize:22},type:"icon-qingchujiyi"}),onClick:()=>Oo()})})}),!!Js&&jsxRuntimeExports.jsxs("div",{className:"remainingSeconds-time",children:["您之前对话触发敏感词拦截,当前处于禁言状态,暂时无法发送消息,剩余禁言时长",Js]})]})]})}),jsxRuntimeExports.jsx(hI,{tips:dr}),Jn&&jsxRuntimeExports.jsx(UI,{isvisible:Jn,files:Cn,sessionId:(Xt=rr==null?void 0:rr.data)==null?void 0:Xt.id,onClose:Nn=>{mn(!1),sn(!1)}})]}),qo&&jsxRuntimeExports.jsx(WI,{currentSession:rr,application:er,networkStatus:sr,setCurrentSession:ar,disabled:Ir,isSessionHistoryVisible:qo,setIsSessionHistoryVisible:yo,onSessionChange:Nn=>{Go(!0)}})]})}),yD=pt=>{const{disabled:_e,checkedValues:ft,currKnowledgeList:mt,selectCount:bt,onSelectChange:vt}=pt,[$t,_t]=reactExports.useState(!1),Rt=jsxRuntimeExports.jsx(oi.Group,{style:{width:"100%"},onChange:vt,value:ft,disabled:_e,children:jsxRuntimeExports.jsx(Row$1,{gutter:[20,12],children:mt==null?void 0:mt.map(Pt=>jsxRuntimeExports.jsx(Col$1,{span:24,children:jsxRuntimeExports.jsx(oi,{value:Pt.id,children:Pt.name})},Pt.id))})});return jsxRuntimeExports.jsx("div",{className:"knowledge-select",style:{borderColor:$t?"#9C24F2":"#84868C"},children:jsxRuntimeExports.jsx($N,{className:"select-popover",placement:"bottomRight",title:null,content:Rt,trigger:"click",overlayStyle:{width:280},onOpenChange:Pt=>{_t(Pt)},getPopupContainer:Pt=>Pt.parentNode,children:jsxRuntimeExports.jsxs("div",{className:"",onClick:Pt=>Pt.preventDefault(),children:[jsxRuntimeExports.jsx(uM,{className:"select-icon",type:"icon-open"}),jsxRuntimeExports.jsx("span",{className:"title",children:"参考知识库"}),jsxRuntimeExports.jsxs("span",{className:"content",children:["已选 ",bt," 个"]})]})})})},$I=pt=>{var _e,ft;const{currentSession:mt,application:bt,setCheckKnowledges:vt}=pt,{mode:$t,transform:_t,features:Rt}=reactExports.useContext($M),[Pt,Ft]=reactExports.useState([]),[Bt,Gt]=reactExports.useState(typeof(Rt==null?void 0:Rt.knowledges)=="object"?((_e=Rt.knowledges.default)==null?void 0:_e.map(rr=>rr.id))||[]:[]),[Wt,Vt]=reactExports.useState(0),[Xt,er]=reactExports.useState(!1);reactExports.useEffect(()=>{if(!(bt!=null&&bt.id))return;const rr=bt.arrange;if(!(rr!=null&&rr.length))return;const tr=rr[0].knowledges||[];Ft(tr);const or=typeof(Rt==null?void 0:Rt.knowledges)=="object"&&Rt.knowledges.default||tr;if(Array.isArray(or)&&or.some(sr=>Array.isArray(sr.fileIds)&&sr.fileIds.length===0))throw Error("fileIds cannot be an empty array");if(uj(or||[])>JN)throw Error(`knowledges and fileIds total count cannot exceed ${JN}`);if(!mt){Gt(or.map(sr=>sr.id)),Vt(or.length),vt==null||vt(or);return}const ar=()=>{const sr=mt.knowledges||or;Vt(sr.length);const lr=sr.map(fr=>fr.id);Gt(lr)};return ar(),mt.addEventListener("data:updated",ar),()=>{mt==null||mt.removeEventListener("data:updated",ar)}},[bt,mt]),reactExports.useEffect(()=>{var rr;if(!Xt||(er(!1),!(bt!=null&&bt.id)))return;const tr=[];Bt==null||Bt.map(or=>{const ar=Pt==null?void 0:Pt.find(sr=>sr.id===or);tr.push(ar)}),(rr=mt==null?void 0:mt.data)!=null&&rr.id&&mt.setKnowledges(tr)},[Xt]);const nr=rr=>{er(!0),Gt(rr);const tr=[];rr==null||rr.map(or=>{const ar=Pt==null?void 0:Pt.find(sr=>sr.id===or);tr.push(ar)}),vt==null||vt(tr),Vt(rr.length)};return jsxRuntimeExports.jsxs("div",{className:"chat-header",children:[jsxRuntimeExports.jsxs(YM,{className:"header-title",children:[$t==="inlay"&&((ft=mt==null?void 0:mt.data)==null?void 0:ft.name),$t==="float"&&(bt==null?void 0:bt.name)]}),(_t==null?void 0:_t.knowledges)&&Pt.length!==0&&jsxRuntimeExports.jsx(yD,{disabled:typeof(Rt==null?void 0:Rt.knowledges)=="object"&&(Rt==null?void 0:Rt.knowledges.diabled)||!1,checkedValues:Bt,currKnowledgeList:Pt,selectCount:Wt,onSelectChange:nr})]})},KI=reactExports.forwardRef((pt,_e)=>{const{sessionId:ft,appId:mt,docViewerUrl:bt}=pt,[vt,$t]=reactExports.useState(),{showHeader:_t,agentClient:Rt,sider:Pt,onSessionLoad:Ft,features:Bt,mode:Gt}=reactExports.useContext($M),[Wt,Vt]=reactExports.useState(),Xt=reactExports.useRef(null),[er,nr]=reactExports.useState(""),[rr,tr]=reactExports.useState(),or=reactExports.useRef(null),[ar,sr]=reactExports.useState(!1);reactExports.useState([]);const{setIsSwitchingToExistingSession:lr}=gt();reactExports.useEffect(()=>{var gr;sr(vt?!!((gr=vt.data)!=null&&gr.netOpen):typeof(Bt==null?void 0:Bt.connectNetwork)=="object"&&typeof(Bt==null?void 0:Bt.connectNetwork.default)=="boolean"?Bt.connectNetwork.default:!1)},[vt]),reactExports.useEffect(()=>{const gr=()=>DM(void 0,null,function*(){const vr=Rt==null?void 0:Rt.application;if(!(vr!=null&&vr.id))return;const Ut=vr==null?void 0:vr.arrange;if(!(Ut!=null&&Ut.length))return;const Zt=Ut[0].embeddingService;nr(Zt),Vt(vr)});if(Rt!=null&&Rt.ready){gr();return}return Rt==null||Rt.addEventListener("ready",()=>gr()),()=>{Rt==null||Rt.removeEventListener("ready",gr)}},[Rt]),reactExports.useEffect(()=>{Rt&&ft&&(Rt.ready?Rt==null||Rt.getSessions().then(gr=>DM(void 0,null,function*(){$t==null||$t(gr.find(vr=>vr.id===ft))})):Rt.addEventListener("ready",()=>DM(void 0,null,function*(){Rt==null||Rt.getSessions().then(gr=>DM(void 0,null,function*(){$t==null||$t(gr.find(vr=>vr.id===ft))}))}),!0))},[Rt,ft]),reactExports.useEffect(()=>{if(!vt){Ft&&Ft({applicationId:mt,sessionId:"",session:null,sessionInstance:null});return}vt.data&&Ft&&Ft({applicationId:mt,sessionId:vt.data.id,session:vt.data,sessionInstance:vt}),vt.addEventListener("data:loaded",()=>{vt!=null&&vt.data&&Ft&&Ft({applicationId:mt,sessionId:vt.data.id,session:vt.data,sessionInstance:vt})},!0)},[vt]);const fr=gr=>{var vr;return(vr=Xt.current)==null?void 0:vr.create(NN(IM({},gr),{knowledges:rr}))};return reactExports.useImperativeHandle(_e,()=>({createSession:gr=>fr(gr),getSessionList:()=>{var gr;const vr=((gr=Xt.current)==null?void 0:gr.list())||[];return Promise.resolve(vr)},getCurrentInputText:()=>{var gr;return(gr=or.current)==null?void 0:gr.getCurrentInputText()}})),jsxRuntimeExports.jsx("div",{className:"dialog",children:jsxRuntimeExports.jsxs("div",{className:"dialog-pannel",children:[jsxRuntimeExports.jsx("div",{className:"dialog-sider",style:{display:Pt&&Gt==="inlay"?"block":"none"},children:jsxRuntimeExports.jsx(Tt,{ref:Xt,appId:mt,networkStatus:ar,currentSession:vt,application:Wt,setCurrentSession:$t,checkKnowledges:rr,setCheckKnowledges:_t?tr:void 0,sessionId:ft,afterSessionClick:gr=>{var vr,Ut;((vr=gr.data)==null?void 0:vr.id)!==((Ut=vt==null?void 0:vt.data)==null?void 0:Ut.id)&&lr(!0)}})}),jsxRuntimeExports.jsx("div",{className:"dialog-content",children:jsxRuntimeExports.jsxs("div",{className:"dialog-chat",children:[_t&&jsxRuntimeExports.jsx("div",{className:"dialog-chat-header",children:jsxRuntimeExports.jsx($I,{setCheckKnowledges:tr,application:Wt,currentSession:vt})}),jsxRuntimeExports.jsx("div",{className:"dialog-chat-content",children:(Wt==null?void 0:Wt.id)&&jsxRuntimeExports.jsx(XI,{setNetworkStatus:sr,networkStatus:ar,application:Wt,currentSession:vt,onCreateSession:fr,docViewerUrl:bt,embeddingService:er,setCurrentSession:$t,ref:or})})]})})]})})}),qI=reactExports.forwardRef((pt,_e)=>{const{className:ft,triggerButton:mt,size:bt,theme:vt,icon:$t,docViewerUrl:_t,token:Rt,debug:Pt,env:Ft,plugins:Bt,mcp:Gt,footer:Wt,defaultInput:Vt,onComment:Xt,onSessionLoad:er,onSessionUnload:nr,onMessage:rr,beforeMessageSend:tr,bodyStyle:or,apiUrl:ar,sessionId:sr,disabled:lr,transform:fr,features:gr,stream:vr,agentClient:Ut,application:Zt}=pt,Kt=reactExports.useRef(null),[qt,Ht]=reactExports.useState(!1),[Jt,ir]=reactExports.useState(),[dr,pr]=reactExports.useState(bt),[ur,hr]=reactExports.useState(pt.open),mr=reactExports.useRef(null);reactExports.useEffect(()=>{Zt&&(console.log("[AgentClientUI] token",Ut,Zt),ir(Zt.id))},[Zt]),ke.config({theme:vt}),reactExports.useEffect(()=>{bt&&pr(bt)},[bt]);const yr=(Er,{element:Ir,size:Mr})=>{pr({width:Number(Mr.width),height:Mr.height})};return reactExports.useImperativeHandle(_e,()=>({createSession:Er=>{var Ir;return(Ir=mr.current)==null?void 0:Ir.createSession(Er)},getSessionList:()=>{var Er;return(Er=mr.current)==null?void 0:Er.getSessionList()},getCurrentInputText:()=>{var Er;return(Er=mr.current)==null?void 0:Er.getCurrentInputText()}})),jsxRuntimeExports.jsx(ke,{locale:eD,children:jsxRuntimeExports.jsxs(iD,{value:NN(IM({},pt),{popupContainer:Kt,agentClient:Ut,footer:Wt,defaultInput:Vt,onComment:Xt,onSessionLoad:er,onSessionUnload:nr,onMessage:rr,beforeMessageSend:tr,bodyStyle:or,disabled:lr,transform:fr,features:gr}),children:[jsxRuntimeExports.jsx(Resizable,{height:(dr==null?void 0:dr.height)||"100%",width:(dr==null?void 0:dr.width)||"100%",maxConstraints:[document.body.clientWidth-45],minConstraints:[Number(bt==null?void 0:bt.minWidth)],onResize:yr,handle:jsxRuntimeExports.jsx("span",{className:"resize-handle-ew"}),resizeHandles:ft=="float"?["w"]:[],children:jsxRuntimeExports.jsxs("div",{id:"dialog-modal",className:`gbot-dialog-modal ${ft} ${ur?"opened":"closed"}`,style:NN(IM({},bt),{width:ft=="float"?dr==null?void 0:dr.width:bt==null?void 0:bt.width,height:ft==="float"?dr==null?void 0:dr.height:bt==null?void 0:bt.height,maxHeight:"100vh"}),ref:Kt,children:[qt?jsxRuntimeExports.jsx("div",{className:"loading",children:jsxRuntimeExports.jsx(fN,{})}):Jt&&Ut?jsxRuntimeExports.jsx(vI,{children:jsxRuntimeExports.jsx(KI,{ref:mr,appId:Jt,docViewerUrl:_t,bodyStyle:or,sessionId:sr})}):null,(mt==null?void 0:mt.visible)&&jsxRuntimeExports.jsx(Button$1,{className:"trigger-btn close-btn",icon:jsxRuntimeExports.jsx("img",{src:$t}),onClick:()=>hr(!1)})]})}),(mt==null?void 0:mt.visible)&&!ur&&jsxRuntimeExports.jsx(Button$1,{className:`${ft}-trigger-btn open-btn`,style:mt.style,icon:jsxRuntimeExports.jsx("img",{src:$t}),onClick:()=>hr(!0)})]})})}),Mg="@glodon-aiot/agent-cli-ui",Ng="3.23.0-alpha.4",eg="./dist/es/index.mjs",jg="./dist/lib/index.js",tg="./dist/src/index.d.ts",ig={import:"./dist/es/index.mjs",require:"./dist/lib/index.js",types:"./dist/src/index.d.ts"},Dg=["dist"],zg="module",Ig="dist/src/index.d.ts",gg={dev:"vite",start:"vite",build:"tsc && node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode prod && yarn build:cdn","build:pre":"tsc && node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode prod","build:cdn":"tsc && vite build --mode prod --config ./vite.config.cdn.ts",preview:"vite preview",check:"yarn prettier --check .",write:"yarn prettier --write .",lint:"eslint --ext .tsx,.ts --fix ./example -c .eslintrc.js",storybook:"start-storybook -p 6006 -s public","build-storybook":"build-storybook -s public",docs:"start-storybook -p 6006",commit:"cz"},Tg={"@ant-design/icons":"^5.3.4","@glodon-aiot/apis":"^3.23.0-alpha.4","@glodon-aiot/bot-client-sdk":"^3.23.0-alpha.4","@glodon-aiot/react-components":"^3.23.0-alpha.4","@matejmazur/react-mathjax":"^0.1.10","@react-pdf-viewer/core":"^3.12.0","@react-pdf-viewer/default-layout":"^3.12.0","@react-pdf-viewer/locales":"^1.0.0","@react-pdf-viewer/toolbar":"^3.12.0",ahooks:"^3.8.5",antd:"^4.24.16",axios:"0.24.0",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.13",lodash:"^4.17.21","pdfjs-dist":"^3.0.279","quill-delta":"^5.1.0",react:">=17.0.0 <19.0.0","react-dom":">=17.0.0 <19.0.0","react-infinite-scroll-component":"^6.1.0","react-quill-new":"^3.6.0","react-resizable":"^3.0.5",uuid:"^11.1.0"},ug={"@babel/core":"^7.20.12","@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-typescript":"^11.1.6","@storybook/addon-actions":"6.3.6","@storybook/addon-essentials":"6.4.9","@storybook/addon-interactions":"^6.5.16","@storybook/addon-links":"6.3.5","@storybook/addon-postcss":"2.0.0","@storybook/builder-vite":"^0.4.0","@storybook/node-logger":"6.4.9","@storybook/react":"6.4.9","@storybook/testing-library":"^0.0.13","@types/lodash":"^4","@types/react":"^18","@types/react-dom":"^18","@typescript-eslint/eslint-plugin":"^5.35.1","@typescript-eslint/parser":"^5.35.1","@vitejs/plugin-react":"^3.1.0",antd:"^4.24.0","babel-loader":"^8.3.0","babel-plugin-import":"^1.13.8",commitizen:"^4.3.0","css-loader":"^6.7.3","cz-conventional-changelog":"^3.3.0","cz-customizable":"^7.0.0",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^22.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.0","eslint-plugin-storybook":"^0.6.10",husky:">=6",less:"^4.1.2","less-loader":"^11.1.0","lint-staged":">=10","postcss-loader":"^7.2.4",prettier:"2.7.1","require-from-string":"^2.0.2","rollup-plugin-visualizer":"^6.0.1","storybook-less-loader":"^0.1.0",typescript:"*",vite:"^4.1.1","vite-plugin-css-injected-by-js":"^3.5.0","vite-plugin-dts":"^4.3.0","vite-plugin-externalize-deps":"^0.9.0"},sg=[">0.2%","not dead","not op_mini all"],Lg=["last 1 chrome version","last 1 firefox version","last 1 safari version"],Ag={commitizen:{path:"node_modules/cz-customizable"},"cz-customizable":{config:".cz-config.cjs"}},ng={access:"public",registry:"https://registry.npmjs.org/"},yg={hooks:{"commit-msg":"validate-commit-msg"}},cg={name:Mg,version:Ng,module:eg,main:jg,typings:tg,exports:ig,files:Dg,type:zg,types:Ig,scripts:gg,dependencies:Tg,devDependencies:ug,"lint-staged":{"*.{js,css,md,jsx,less,ts,tsx,json}":"prettier --write"},production:sg,development:Lg,config:Ag,publishConfig:ng,husky:yg};var cD=(pt=>(pt.dev="https://aiot-dev.glodon.com/api/cvforcepd",pt.test="https://aiot-dev.glodon.com/api/cvforce",pt.prod="https://copilot.glodon.com/api/cvforce",pt.local="http://localhost:3000/api/cvforcepd",pt))(cD||{});//! moment.js
887
887
  //! version : 2.30.1
888
888
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
889
889
  //! license : MIT